Skip to content

Commit

Permalink
AP RP -> interpretator.js
Browse files Browse the repository at this point in the history
DIAMO[NF]
  • Loading branch information
staniska committed Apr 25, 2020
1 parent 1241598 commit 923bae2
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 11 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ v0.0.8
v0.0.12
- working in Windows restored (dir path bug fixed);
- add support for IF - ELSE - ENDIF jumps
- add support for GOTO[BF] without IF jumps
- add support for GOTO[BF] without IF jumps

v0.0.13
- add support polar coordinates (AP, RP, G110-G112)
- DIAMON/DIAMOF interpreter
23 changes: 14 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,27 @@ Siemens Sinumerik highlight.
Package contain many errors. Infinite loop possible.
Please write issues as accurately as possible, with a minimum G-code for clarification.**

Press Ctrl + Alt + o to activate higlight and show right panel.
Backlight colors are set tightly and were not checked in a dark theme.

You can select Lathe or mill type in Machine manager.
Press Ctrl + Alt + o to activate higlight and show right panel <br>.
Backlight colors are set tightly and were not checked in a dark theme.<br>
<br>
You can select Lathe or mill type in Machine manager. <br>
The selected type affects the DIAMON settings (for lather) and the main plane (G17 for mill and G18 for lathe).

Single line debug allows you to see an approximate tool path.
<br>
<br>
Single line debug allows you to see an approximate tool path.<br>
Parsing errors can be seen by clicking on the button "Details" <br>
Clicking on the graphic window allows you to control the view using the arrows as well as + (=) and - buttons

Linear interpolation supported including Ang modifier.
Linear interpolation supported including Ang modifier.<br>
Circular interpolation programming is possible through:
- the end point and center
- the end point and radius CR (including arc > 180 degrees - CR < 0)
- the end point and AR
- the center point and AR
[A]TRANS & [A]ROT supported.

Polar coordinates (AP, RP) supported. <br>
DIAMON / DIAMOF <br>
[A]TRANS & [A]ROT supported. <br>
Subroutines in the same directory as the program can be called along with the parameters. <br>
R-variables supported.<br>
Math SIN COS TAN ASIN ACOS ATAN2 POT SQRT TRUNC ROUND supported.<br>
Expand All @@ -35,4 +40,4 @@ SINUMERIK standart cycles (eg HOLES2, CYCLE81) not supported.**



![A screenshot of your package](https://f.cloud.github.com/assets/69169/2290250/c35d867a-a017-11e3-86be-cd7c5bf3ff9b.gif)
![A screenshot of your package](images/Screenshot_1.png)
Binary file added images/Screenshot_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sinumerik-highlight",
"main": "./lib/sinumerik",
"version": "0.0.12",
"version": "0.0.13",
"description": "Sinumerik highlight",
"keywords": [],
"activationCommands": {
Expand Down

0 comments on commit 923bae2

Please sign in to comment.