sinumerik-highlight

Sinumerik code highlighting and debugging

staniska

413

0

0.3.11

MIT

GitHub

sinumerik-highlight package

Be sure to check the toolpath in a normal debugger, for example in the Sinutrain.

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 ~.pulsar/packages/sinumerik-highlight/userData/ contents.


Press Ctrl + Alt + o to activate highlight 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. CNC type can be selected for translation Sinumerik code to others CNC's using "sinumerik-to-nc" package (beta testing state).

Paths to corresponding snippets can be defined for each machine. See the snippet syntax on https://github.com/staniska/cnc-subroutines/tree/master/snippets/DMG_CTX510. " Alt + Spacebar" - open snippets menu. Navigation through the snippets menu items is carried out using the arrows keys.

Single line debugger 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. Scroll and drag works too

Blank & part contours can be programmed with G-code path & drawed on SingleLineDebug canvas Default names: BLANK.MPF & CONTOUR.MPF

3D viewport of Single line debugger displays toolpath in perspective mode. Slow debug not supported in 3D mode yet. Mouse contols:

The ContourEdit panel can help create roughing cycles , but it is still being tested. The contour must be closed. The calculated intersection points will turn red. Starting elements are highlighted in green, ending elements are highlighted in blue. The result code is inserted into the program when the cursor position changes.

Linear interpolation supported including Ang modifier. Circular interpolation programming is possible through:

Supported futures:

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

Keyboard shortcuts:

A screenshot of your package