ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

CNC Bosch​Rexroth MTX

by deathaxe ST3

CNC BoschRexroth MTX language support for SublimeText

Details

Installs

  • Total 232
  • Win 184
  • Mac 30
  • Linux 18
Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15
Windows 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

CNC BoschRexroth MTX language support

The MIT License

This package provides syntax highlighting support for the BoschRexroth MTX Computerized Numerical Control to the SublimeText 3 Editor.

Screenshot:

screenshot

Features:

  • NC cycles

    • syntax highlighting
    • ISO G-Code
    • CPL high level commands
    • known NC functions and commands
    • symbols for
    • LPS - local sub programs
    • LBL - labels (goto targets)
    • auto completion for the most common DIN/CPL functions
  • Sercos Settings Files (*.scs)

    • syntax highlighting

Installing

Using Package Control

For all Sublime Text 2/3 users install via Package Control is recommended.

  1. Install Package Control if you haven't yet.
  2. Use ctrl+shift+P then Package Control: Install Package
  3. Look for CNC BoschRexroth MTX and install it.

Manual Install

  1. Click the Preferences > Browse Packages… menu
  2. Browse up a folder and then into the Installed Packages/ folder
  3. Download zip package rename it to CNC BoschRexroth MTX.sublime-package and copy it into the Installed Packages/ directory
  4. Restart Sublime Text

Setup

If mtx_npg.sublime-settings or mtx_scs.sublime-settings don't exist in the user folder they will be automatically created to ensure the following essential syntax specific settings:

{
  "ensure_newline_at_eof_on_save": true
  "translate_tabs_to_spaces": true
  "use_tab_stops": false
}

They are all required to ensure NC will read the resulting file correctly. You can override these settings by creating your own syntax specific setting Preferences->Settings - Syntax Specific

License

The code is available at GitHub under MIT licence.