Multi-line text engraving g-code generator

More
20 Jul 2016 14:08 #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 or Create an account to join the conversation.

More
18 Feb 2019 11:36 #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.
Attachments:
The following user(s) said Thank You: Mike_Eitel, andypugh, tommylight

Please Log in or Create an account to join the conversation.

More
26 Feb 2019 20:51 #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 or Create an account to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum