Repository navigation
GlossCode 0.1.5
Macro variables
- Lines and words that use macro variables are read and shown instead of being dropped. A line like
#110= -0.035(setting a variable) is one word,X - #101reads asX-#101, andZ#113,F#111andF[#111*3]keep their variable or expression.IF,WHILEandEND1lines are kept whole as written. - Selecting a word that uses a variable shows what it works out to each time the simulation runs that line, for example the four values
X-#103takes in a subprogram called for four rows. - These lines no longer get false "has no number after it" problems, and a move to a variable position doesn't give arc or rapid checks a wrong position.
Okuma lathes (OSP)
- Okuma variables are read:
V1=3,VC2=VC2+1and named variables likeDIA1=1.3are one word each, and a word likeX=DIA1keeps its expression. - Sequence names like
NA1are read as one word (G85 NA1reads LAPRUF SEQA1, and theNA1 G81line is labeled).GOTO N90,G85 NA1andIF [..] N440that point to a name or number missing from the file are flagged, and these N words no longer give a false "address used twice" problem. G50 X Z(orG91 G50 Z…) reads SETCOORD, setting the coordinates, instead of the spindle clamp.G03 X Z L0.062reads L as the arc radius, and the arc checks ask for L on these lathes.G04 F0.2reads as a dwell in seconds.
Simulation
- Macro variables are worked out as the program runs, including through local subprograms (
M97 P1000), so subprograms that cut with variable positions (like concentric slots withG03 X - #103 Y#104 I#101 J - #102) draw correctly. - Drilling cycles: each hole now plunges from R to the bottom and goes back up to R (
G99) or the starting height (G98). The Z-by-line timeline draws this as a vertical line down and back up for each hole. A cycle line withL0stores the cycle without drilling, and the holes come from the lines that follow (often a list of positions in a local subprogram). The cycle stays on untilG80orG00–G03, even across subprogram calls. - The simulation follows jumps and loops:
GOTO N90andIF [V2 GE V1] N440(Okuma),GOTO 100andIF [..] GOTO 100(Fanuc), andWHILE [..] DO1…END1. - Okuma lathes:
G85LAP roughing cuts the contour named on the line (NA1 G81…G80along Z,G82along X) in steps of D, leaving U and W, then follows the contour at that allowance;G87finishing follows the contour. The contour lines are skipped in normal order, as on the control.G74face grooving plunges at the start X and every I until the X on the line. Arcs with an L radius are drawn as arcs. G50 X ZandG91 G50 Z…on a lathe move the zero, so a program that makes several parts from one bar (a loop that shifts Z each time) draws each part in its place.- New G00 button beside the M01 and / buttons (also Simulate › Show rapid moves) hides rapid moves, so the toolpath shows feed moves only, like the control's own graphics screen.
Which file to download
| Windows, installed | GlossCode-0.1.5-windows-x64-setup.exe |
| Windows, portable | GlossCode-0.1.5-windows-x64-portable.zip |
| Debian, Ubuntu | GlossCode-0.1.5-linux-amd64.deb |
| Fedora, openSUSE | GlossCode-0.1.5-linux-x86_64.rpm |
| Linux, portable | GlossCode-0.1.5-linux-x86_64-portable.tar.gz |
| Sample programs | GlossCode-0.1.5-examples.zip |
The Windows files aren't code-signed yet, so Windows may show "Windows protected your PC" the first time. Choose More info, then Run anyway. SHA256SUMS.txt lists the checksum of every file.