Skip to content

Instantly share code, notes, and snippets.

@chrisvasey
Created March 13, 2020 11:20
Show Gist options
  • Save chrisvasey/17f33048d1ab01014cb13c57289421e4 to your computer and use it in GitHub Desktop.
Save chrisvasey/17f33048d1ab01014cb13c57289421e4 to your computer and use it in GitHub Desktop.
SVG to GCODE, file examples
G17
G90
G0 Z10
G0 X0 Y0
M3
G4 P2000.000000
G00 Z10
G00 X7.0556 Y3.5278
G01 Z0 F10.00
G03 X6.0223 Y6.0223 I-3.5278 J0.0000
G03 X3.5278 Y7.0556 I-2.4945 J-2.4945
G03 X1.0333 Y6.0223 I0.0000 J-3.5278
G03 X0.0000 Y3.5278 I2.4945 J-2.4945
G03 X1.0333 Y1.0333 I3.5278 J-0.0000
G03 X3.5278 Y0.0000 I2.4945 J1.7890
G03 X6.0223 Y1.0333 I0.0000 J5.6444
G03 X7.0556 Y3.5278 I-2.4945 J2.4945
G00 Z10
G00 X6.3500 Y3.5278
G01 Z0 F10.00
G02 X5.5234 Y1.5322 I-2.8222 J0.0000
G02 X3.5278 Y0.7056 I-1.9956 J4.8178
G02 X1.5322 Y1.5322 I0.0000 J2.8222
G02 X0.7056 Y3.5278 I1.9956 J1.9956
G02 X1.5322 Y5.5234 I2.8222 J0.0000
G02 X3.5278 Y6.3500 I1.9956 J-1.9956
G02 X5.5234 Y5.5234 I0.0000 J-2.8222
G02 X6.3500 Y3.5278 I-1.9956 J-1.9956
G00 Z10
G00 X3.5278 Y4.2333
G01 Z0 F10.00
G01 X1.7639 Y4.2333
G01 X1.7639 Y2.8222
G01 X3.5278 Y2.8222
G01 X3.5278 Y1.7639
G01 X5.2917 Y3.5278
G01 X3.5278 Y5.2917
G01 X3.5278 Y4.2333
G0 Z10
M5
M2
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment