python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Find, multiply and replace numbers in strings, by line
I'm scaling the Gcode for my CNC laser power output. The laser's "S" value maxes at 225 and the current file scale is 1000. I need to multiply only/all S values by .225, omit S values of 0, ...
Gabriel Heater
Votes: 0
Answers: 1
Algorithm for scaling irregular polygons
A syntax called 'gcode' is used to tell CNC engraving machines how to move.
An example of gcode is as follows :
G00 Z1 F800 (lift z axis by 1mm)
G00 X49.546785 Y-11.48703 F800 (Go to these coordinates...

Richard
Votes: 0
Answers: 1
Applying YACC to GCODE (GRBL)
GCode is language used to tell multi-axis (CNC) robots how to move.
It looks like this :
M3 S5000 (Start Spindle Clockwise at 5000 RPM)
G21 (All units in mm)
G00 Z1.000000 (lift Z axis up by 1mm)
G00 ...

Richard
Votes: 0
Answers: 1