|
| |||||||
| Home | Recent Posts | HELP-FORUMS (ask/answer) | Classifieds-free | File Sharing / Documents | Photo Galleries | Polls | Newsletter | Machinetoolhelp.com. |
| Recent CNC File Uploads/Downloads discussion forum Recent File sharing uploads and discussion forum. Files are automatically posted here when the files are uploaded. |
![]() |
| | Bookmark or Share | Thread Tools | Search this Thread | Display Modes |
| |||
|
Here is a number engraving macro I've made. I've used it for a while but not done any official documentation yet. I'll start that here... There is a variable at the beginning of the macro (#101) to scale the numbers. A one in this variable will give numbers about .312" tall, A two, .625" tall, etc.. I use a carbide 90 degree deburr/chamfer tool to engrave the numbers, goes .01" deep. Macro uses the G59 offsets and changes them in order to offset the number's zero point from the chosen offset's zero point. This was so you could call the macro from a part program and engrave a part number anywhere on the part. Macro will engrave up to a six digit number, followed by up to a six digit decimal. (Most controls won't accept a number with 12 digits.) USAGE G65 P20 A H X Y Z A - Number To Engrave (Required) H - Offset To Use (Required) X - Amount To Offset X Y - Amount To Offset Y Z - Amount To Offset Z If X, Y, or Z is not used the number will engrave at the chosen offset's zero. EXAMPLE G65 P20 A45.876 H55. X1. Y2. Z3. Will engrave 45.876 at G55 X - 1." Y - 2." Z - 3.". Any question or comments appreciated. I was thinking of limiting it to 3 place decimals and calling the scale factor from the macro call. Another easy addition would be to throw in a multiplier and make the scaling more 1 to 1". |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | |
| |