G-code to engrave numbers on cylinders

More
11 years 9 months ago #55461 by andypugh

Kirk_Wallace wrote: Crud, I tried:
[TRAJ]

AXES = 9
COORDINATES = A B C X Y Z U V W


[DISPLAY] GEOMETRY not [TRAJ] COORDINATES

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

More
11 years 9 months ago #55462 by Kirk_Wallace
UUUUUGGGGHHHH, It's working now. Sorry about that.

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

More
9 years 1 month ago #99634 by Smokeys
Has anyone expanded this to include letters as well as numbers. Seem like this could be a cool generic program to engrave serial numbers or other information on pens and such.

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

More
9 years 1 month ago #99638 by andypugh
I think it would be difficult to modify this code to handle alphabetical characters as it relies on calculating and calling computed subroutines.
I guess it might be possible have subs for each ASCII code, but I don't know how one would pass the strings to the G-code.

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

More
9 years 1 month ago #99642 by Smokeys
I guess I envisioned a sub for each g code.

I could do this is fusion 360, but incrementing the serial number for each one seems better suited to a gcode program. There must be something like this out there already.

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

More
9 years 4 weeks ago #99860 by andypugh
I am pretty sure that you could write a G-code sub to carve sequential alphanumeric strings as serial numbers.
I thought you wanted to carve arbitrary strings. In that scenario the hard part is passing the strings to the G-code.

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

Time to create page: 0.135 seconds
Powered by Kunena Forum