Multi-line text engraving g-code generator

More
10 years 3 months ago #77720 by cparsons
Spot on...I substituted the single quotes for double quotes (on their own) and everything worked as expected.

As I said, this will be run on Linux anyway but at least I have learned something this afternoon <g>

Thanks for the feedback

Chris

Please Log in to join the conversation.

More
7 years 8 months ago #126712 by connectable
Hi, I found all the contributions above very useful. However, I produced a new engraver program that fulfilled my needs more closely:*
* Gcode can be output to either stdout or a file, or both.
* Individual fonts can be used on each separate text line.
* Individual lines can be scaled in both X and Y.
* X and Y start positions for individual line text can be specified,
including a text centreing option.
* Output files contain both a given title and date-time stamp.
* Pre and Postamble code strings can be easily edited to suit
individual CNC software and/or machines

The attached file has the module engraver.py. It includes a main() section demonstrating code use.

Please Log in to join the conversation.

More
7 years 8 months ago #127186 by andypugh
It might be worth putting this in a thread of its own to make it easier to find. (maybe just a new post liking to this post)

Please Log in to join the conversation.

Time to create page: 0.034 seconds
Powered by Kunena Forum