Skip to content

Commit

Permalink
v0.0.32
Browse files Browse the repository at this point in the history
  • Loading branch information
staniska committed Feb 25, 2021
1 parent 41b7143 commit e258516
Show file tree
Hide file tree
Showing 3 changed files with 115 additions and 99 deletions.
126 changes: 65 additions & 61 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,77 @@
v0.0.8<br>
#### v0.0.8
- add circular interpolation with CR and AR
<br><br>
v0.0.12 <br>
- working in Windows restored (dir path bug fixed); <br>
- add support for IF - ELSE - ENDIF jumps <br>
- add support for GOTO[BF] without IF jumps <br>
<br>
v0.0.13<br>
- add support polar coordinates (AP, RP, G110-G112)<br>
- DIAMON/DIAMOF interpreter<br>
<br>
v0.0.14<br>
- clear console log :)<br>
<br>
v0.0.16<br>
- add third axis in circular intrpolation<br>
- TURN support<br>

#### 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.

#### v0.0.13
- add support polar coordinates (AP, RP, G110-G112).
- DIAMON/DIAMOF interpreter.

#### v0.0.14
- clear console log :)

#### v0.0.16
- add third axis in circular intrpolation
- TURN support

V0.0.17<br>
- 'comment selected lines' function added (Ctrl + Alt + ;)<br>
- RND support between lines<br>
#### v0.0.17
- 'comment selected lines' function added (Ctrl + Alt + ;)
- RND support between lines

V0.0.18<br>
- 1 RND bug fix<br>
#### v0.0.18
- 1 RND bug fix

V0.0.19<br>
- ctrl - alt - r : rewrite function<br>
- REPEAT support added<br>
- RND support between line & arc<br>
- MAXVAL support<br>
- Tool orientation: T101 - 109 accords to $TC_DP2 1 - 9<br>
- Subroutines folder path selection area.<br>
- IC moves parse for AP & RP operators<br>
- DIAM90 mode for lathes<br>
- CHR between lines parser<br>
#### v0.0.19
- ctrl - alt - r : rewrite function
- REPEAT support added
- RND support between line & arc
- MAXVAL support
- Tool orientation: T101 - 109 accords to $TC_DP2 1 - 9
- Subroutines folder path selection area.
- IC moves parse for AP & RP operators
- DIAM90 mode for lathes
- CHR between lines parser

V0.0.22<br>
- coordinate rulers<br>
- different colors for G40/41/42 lines<br>
- check conditions for float fix<br>
- call subroutine with math/R-vars<br>
- smooth rendering for debugging<br>
#### v0.0.22
- coordinate rulers
- different colors for G40/41/42 lines
- check conditions for float fix
- call subroutine with math/R-vars
- smooth rendering for debugging

V0.0.23<br>
#### v0.0.23
- fix subroutines path bug

v0.0.24<br>
- fix float accuracy in comparisons<br>
#### v0.0.24
- fix float accuracy in comparisons
- discarding a comment from string when parsing

v0.0.25<br>
- display MSG in slow debug mode<br>
- fix subroutine call bug<br>
- string parse<br>
- ROUND bug fix<br>
v0.0.26<br>
- fix subroutines path dialog for Win<br>
#### v0.0.25
- display MSG in slow debug mode
- fix subroutine call bug
- string parse
- ROUND bug fix

#### v0.0.26
- fix subroutines path dialog for Win

v0.0.28<br>
- parse variables in subroutine call<br>
- fix "<>" bug in condition parse<br>
- recursive subroutine call<br>
- fix float bug in conditions<br>
- fix 'OR' replacement<br>
- pasing STRING concatenation<br>
#### v0.0.28
- parse variables in subroutine call
- fix "<>" bug in condition parse
- recursive subroutine call
- fix float bug in conditions
- fix 'OR' replacement
- pasing STRING concatenation

#### v0.0.30
- last element with "RND|CHR" drawing bug fixed.
- decrease timeout for short elements in SlowDebug.
- fixed render queue in Slow Debug Mode.


v0.0.30<br>
- last element with "RND|CHR" drawing bug fixed<br>
- decrease timeout for short elements in SlowDebug
- fixed render queue in Slow Debug Mode
- ...
#### v0.0.32
- OFFN support
- individual snippets for machine tools
86 changes: 49 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,63 @@
# sinumerik package
## sinumerik-highlight package

Siemens Sinumerik highlight.

**Be sure to check the toolpath in a normal debugger, for example in the Sinutrain<br>
Package contain many errors. Infinite loop possible.<br>
Please write issues as accurately as possible, with a minimum G-code for clarification.**
**Be sure to check the toolpath in a normal debugger, for example in the Sinutrain.**

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).<br>
**Package contain many errors. Infinite loop possible.**

**Please write issues as accurately as possible, with a minimum G-code for clarification.**

***
**Important! Before update package save ~.atom/packages/sinumerik-highlight/userData/ contents.**

***
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. The selected type affects the DIAMON settings (for lather) and the main plane (G17 for mill and G18 for lathe).
Subroutine folder path can be installed for every machine

<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>
Paths to corresponding snippets can be defined for each machine. See the snippet syntax on the wiki page. Navigation through the snippets menu items is carried out using the arrows keys

Single line debug allows you to see an approximate tool path.
Parsing errors can be seen by clicking on the button "Details".
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.<br>
Linear interpolation supported including Ang modifier.
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

Polar coordinates (AP, RP) supported. <br>
Rounding (RND) between two lines or line and arc supported <br>
Chamfer (only CHR) between lines supported<br>
DIAMON / DIAMOF / DIAM90 <br>
[A]TRANS & [A]ROT supported. <br>
Subroutines can be called from the same directory as the program and subroutine path of active machine with the parameters. <br>
R-variables supported.<br>
'$AA_IW[axis]' supported<br>
Tool orientation $TC_DP2 can be used for tools T101-T109, where the units place corresponds to orientation (there are help image in machine manager)<br>
Math SIN COS TAN ASIN ACOS ATAN2 POT SQRT TRUNC ROUND supported.<br>
User variables definition and call assignment.<br>
GOTO[BF] jumps supported<br>
IF - ELSE - ENDIF supported<br>

**MCALL not supported;<br>
- 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

#### Supported futures:
- Polar coordinates (AP, RP)
- Rounding (RND) between two lines or line and arc
- Chamfer (only CHR) between lines
- DIAMON / DIAMOF / DIAM90
- [A]TRANS & [A]ROT
- Subroutines can be called from the same directory as the program and subroutine path of active machine with the parameters.
- R-variables
- G40/41/42 different colors
- OFFN
- $AA_IW[axis]
- $P_TOOLR equal 0
- Tool orientation $TC_DP2 can be used for tools T101-T109, where the units place corresponds to orientation (there are help image in machine manager)
- Math SIN COS TAN ASIN ACOS ATAN2 POT SQRT TRUNC ROUND
- User variables definition and call assignment.
- GOTO[BF] jumps
- IF - ELSE - ENDIF
- REPEAT

**MCALL not supported yet.
SINUMERIK standart cycles (eg HOLES2, CYCLE81) not supported.**



"Ctrl + Alt + ;" - comment selected lines;<br>
"Ctrl + Alt + R" - draw tool path without changing scale
#### Keyboard shortcuts:
- "Ctrl + Alt + o" - open/close right panel
- "Ctrl + Alt + ;" - comment/uncomment selected lines;<br>
- "Ctrl + Alt + R" - draw tool path without changing scale
- " Alt + Spacebar" - open snippets menu

![A screenshot of your package](images/Screenshot_1.png)
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.31",
"version": "0.0.32",
"description": "Sinumerik highlight",
"keywords": [],
"activationCommands": {
Expand Down

0 comments on commit e258516

Please sign in to comment.