Multi-line text engraving g-code generator
20 Jul 2016 14:08 #77720
by cparsons
Replied by cparsons on topic Multi-line text engraving g-code generator
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
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.
- connectable
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 3
18 Feb 2019 11:36 #126712
by connectable
Replied by connectable on topic Multi-line text engraving g-code generator
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.
* 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 or Create an account to join the conversation.
26 Feb 2019 20:51 #127186
by andypugh
Replied by andypugh on topic Multi-line text engraving g-code generator
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.074 seconds