305engineering / Inkscape

Extensions for Inkscape
134 stars 98 forks source link

GCODE File Outputted as TXT File #28

Open Andyboy2 opened 4 years ago

Andyboy2 commented 4 years ago

I downloaded this extension and ran it in Inkscape and tried implementing it into my laser engraver, but found out it wouldn't identify it because it outputted as a .txt file instead of a .gcode file. Am I doing something wrong? Or do I need to convert this in a separate step after running the extension?

JBSchueler commented 4 years ago

Just rename the extension to what you need, it is hardcoded.

See raster2laser_gcode.py line 149.

If you don't want to change the extension all the time, change .txt to .nc at line 149.

Andyboy2 commented 4 years ago

Thanks! This helped a ton! I changed it to ".gcode" and everything is working well for me now.