|
1 | | -## EdytorNC |
2 | | - |
3 | | -This is a [fork](http://sourceforge.net/projects/edytornc/) of EdytorNC, a text editor for CNC programmers. |
4 | | - |
5 | | -### Some features |
6 | | - |
7 | | -* Bolt holes calculation |
8 | | -* Solutions of triangles calculation |
9 | | -* Speed, feed calculation |
10 | | -* Send/receive through serial port with automatic file saving and Serial port file server - possibility to download new CNC program directly from machine. |
11 | | -* Conversion inch/mm, mm/inch. You can write inches in format 1.3/4 1/4 ... |
12 | | -* Find in files |
13 | | -* Simple project management - you can keep links to (almost) all files related to your part program in one place. |
14 | | -* First comment in program is displayed in title bar. In first comment you can write part name. |
15 | | -* Comment with date will be replaced with current date on file save. Comment format: (dd-/.mm-/.yyyy) or ;dd-/.mm-/.yyyy - now system localization settings are used. |
16 | | -* Block renumbering - whole program or selection |
17 | | -* Code colourizing. Now with help function - click on "Help"->"Create cnc tooltips" and put mouse pointer above G, M or other codes - should appear tooltip with short information about pointed code. |
18 | | - |
19 | | - Default tooltips are in file "cnc_tooltips_lang_code.txt" (lang_code = pl_PL - for Polish) in folder with application settings (~.config on Linux. C:\Documents and Settings\USERNAME\Application Data\EdytorNC on Windows). |
20 | | - |
21 | | - You may copy it to folder with cnc programs and customize for your machine. File must be renamed to "cnc_tips.txt". Now this is done by functions in help menu. |
22 | | - |
23 | | - Currently tooltip file contains some information about codes for OKUMA, SINUMERIK 850 and FANUC. |
24 | | - |
25 | | - Code colourizing detects control type by 'in file' file name eg. : $EXAMPLE.MIN% $SUBS.SSB% - OKUMA; :0110 O1234 - FANUC |
26 | | -* Ctrl+; Comments/uncomments selected text with semicolon ; |
27 | | -* Ctrl+9 Comments/uncomments selected text with parentheses () |
28 | | -* Ctrl+2 Adds Block Skip (/) and/or increments it |
29 | | -* Ctrl+3 Adds Block Skip (/) and/or decrements it |
30 | | -* Ctrl+1 Removes Block Skip (/) |
31 | | -* Find/Replace can be used to addition, subtraction, multiplication, division on numbers or highlighting text. |
32 | | - |
33 | | - in Find: Y$$ in Replace $$*2 will multiply by 2 all numbers found with Y |
34 | | - |
35 | | - in Find: Y$100 $10 in Replace $$*2 will multiply by 2 only numbers between 10 and 100 found with Y |
36 | | - |
37 | | - Find can be used also to highlight specific program blocks |
38 | | -* Sessions - to save/restore open file list |
39 | | -* Ctrl+0 or Ctrl+Double Click In line calculator, you can do some math operations directly in editor. You can select address (eg X123.45) before pressing Ctrl+0 (Ctrl+Double Click will do the same), value will be entered in the calc. |
40 | | - |
41 | | - After presing Enter (and if no error) result will be pasted in cursor position. Supported operators: + - * / SIN(x) COS(x) TAN(x) SQRT(x) SQR(x) ABS(x) TRUNC(x) PI |
42 | | - |
43 | | -* Clipboard to store five last texts copied to system clipboard. Later they can be stored permanently (by editing item title). |
44 | | - |
45 | | - |
46 | | -### Experimental features |
47 | | -* macro program - parametric programming. See EXAMPLES dir. |
48 | | -* split file - if file contains more than one program this function tries to split it into separate files. No auto save yet. |
49 | | - |
50 | | - |
51 | | -### Command line options |
52 | | - |
53 | | -- open file -> `edytornc file.nc` |
54 | | -- diff two files -> `edytornc -diff file1.nc file2.nc` |
55 | | - |
56 | | - |
57 | | -### Compile EdytorNC |
58 | | - |
59 | | -#### Ubuntu |
| 1 | +GCodeWorkShop |
| 2 | +============ |
| 3 | + |
| 4 | +This is a fork of [EdytorNC](https://github.com/artur3/EdytorNC), a text editor |
| 5 | +for CNC programmers. |
| 6 | + |
| 7 | + |
| 8 | +Some features |
| 9 | +------------ |
| 10 | + |
| 11 | +* Code colourizing. |
| 12 | +* Sessions - to save/restore open file list |
| 13 | +* Send/receive through serial port with automatic file saving and Serial port |
| 14 | + file server - possibility to download new CNC program directly from machine. |
| 15 | +* Find in files |
| 16 | +* Find/Replace can be used to addition, subtraction, multiplication, division |
| 17 | + on numbers or highlighting text. |
| 18 | + in Find: `Y$$` in Replace `$$*2` will multiply by 2 all numbers found with `Y` |
| 19 | + in Find: `Y$100$10` in Replace `$$*2` will multiply by 2 only numbers between |
| 20 | + `10` and `100` found with `Y` |
| 21 | + Find can be used also to highlight specific program blocks |
| 22 | +* Simple project management - you can keep links to (almost) all files related |
| 23 | + to your part program in one place. |
| 24 | +* First comment in program is displayed in title bar. In first comment you can |
| 25 | + write part name. |
| 26 | +* Comment with date will be replaced with current date on file save. Comment |
| 27 | + format: (dd-/.mm-/.yyyy) or ;dd-/.mm-/.yyyy - now system localization settings are used. |
| 28 | +* Block renumbering - whole program or selection |
| 29 | +* Conversion inch/mm, mm/inch. You can write inches in format `1.3/4` `1/4` ... |
| 30 | +* Speed, feed calculation |
| 31 | +* Bolt holes calculation |
| 32 | +* Solutions of triangles calculation |
| 33 | + |
| 34 | + |
| 35 | +Some shotcuts |
| 36 | +------------ |
| 37 | + |
| 38 | +* `Ctrl+;` Comments/uncomments selected text with semicolon ; |
| 39 | +* `Ctrl+9` Comments/uncomments selected text with parentheses () |
| 40 | +* `Ctrl+2` Adds Block Skip (/) and/or increments it |
| 41 | +* `Ctrl+3` Adds Block Skip (/) and/or decrements it |
| 42 | +* `Ctrl+1` Removes Block Skip (/) |
| 43 | +* `Ctrl+0` or `Ctrl+Double Click` In line calculator, you can do some math |
| 44 | + operations directly in editor. You can select address (eg `X123.45`) before |
| 45 | + pressing `Ctrl+0` (`Ctrl+Double Click` will do the same), value will be |
| 46 | + entered in the calc. |
| 47 | + After presing `Enter` (and if no error) result will be pasted in cursor |
| 48 | + position. Supported operators: `+` `-` `*` `/` `SIN(x)` `COS(x)` `TAN(x)` |
| 49 | + `SQRT(x)` `SQR(x)` `ABS(x)` `TRUNC(x)` `PI` |
| 50 | + |
| 51 | + |
| 52 | +Command line options |
| 53 | +------------------ |
| 54 | + |
| 55 | +- open file -> `gcodeworkshop file.nc` |
| 56 | +- diff two files -> `gcodeworkshop -diff file1.nc file2.nc` |
| 57 | + |
| 58 | + |
| 59 | +Compile GCodeWorkShop |
| 60 | +------------------- |
| 61 | + |
| 62 | + |
| 63 | +### Ubuntu |
60 | 64 |
|
61 | 65 | run terminal |
62 | 66 | ``` |
63 | 67 | sudo apt install qt5-default qtbase5-dev-tools qt5-qmake |
64 | 68 | cd ~ |
65 | | -git clone https://github.com/u-235/edytornc |
66 | | -cd edytornc |
| 69 | +git clone https://github.com/GCodeProjects/GCodeWorkShop |
| 70 | +cd GCodeWorkShop |
67 | 71 | qmake -r [CONFIG+=debug] [PREFIX=/usr/ | PREFIX=~/.local/bin/] |
68 | 72 | make |
| 73 | +make lrelease |
69 | 74 | ``` |
70 | 75 |
|
71 | | -#### Windows |
| 76 | + |
| 77 | +### Windows |
72 | 78 |
|
73 | 79 | - [Install Qt5](http://www.qt.io/download-open-source) |
74 | | -- download latest version of EdytorNC [source files](https://github.com/u-235/edytornc/archive/master.zip) |
| 80 | +- download latest version of GCodeWorkShop [source files](https://github.com/GCodeProjects/GCodeWorkShop/archive/master.zip) |
75 | 81 | - unzip downloaded file |
76 | | -- open edytornc.pro in Qt Creator |
| 82 | +- open gcodeworkshop.pro in Qt Creator |
77 | 83 | - press Ctrl+R |
0 commit comments