This is a little arcane but thought I would throw this out there.
I have a CNC lathe where the spindle can be run in a rotary indexer fashion and use it with engraving using inverse time.
I was thinking that, while better done with a mill, how hard would it be to write a post processor that could take the code and calculate the radial movement to engrave on the face of the stock? E.G., put a square on the disk face.
The X and Z coordinates stay the same but the Y would have to be converted to rotate the stock.
Thoughts?
RT
Math Whiz Question
- Rcnewcomb
- Vectric Archimage
- Posts: 5887
- Joined: Fri Nov 04, 2005 5:54 am
- Model of CNC Machine: 24x36 GCnC/WinCNC with ATC
- Location: San Jose, California, USA
- Contact:
Re: Math Whiz Question
That is what the rotary/indexer post processors do. Look at the Mach2_3_Wrap_Y2A_ATC_mm.pp post processor.
Here is a portion of the code
Here is a portion of the code
Code: Select all
POST_NAME = "Mach2/3-WrapY2A ATC(mm)(*.txt)"
FILE_EXTENSION = "txt"
UNITS = "MM"
DIRECT_OUTPUT = "Mach|Mach4.Document"
ROTARY_WRAP_Y = "-A"
- Randall Newcomb
10 fingers in, 10 fingers out, another good day in the shop
10 fingers in, 10 fingers out, another good day in the shop
Re: Math Whiz Question
Sorry I didn't make it clear.
I already use rotary for carving on the sides of stock. What I am suggesting is carving on the end/face. Unless I missed what you were saying (which is always a possibility!)
RT
I already use rotary for carving on the sides of stock. What I am suggesting is carving on the end/face. Unless I missed what you were saying (which is always a possibility!)
RT
- adze_cnc
- Vectric Wizard
- Posts: 4329
- Joined: Sat Jul 27, 2013 10:08 pm
- Model of CNC Machine: AXYZ 4008
- Location: Vancouver, BC, Canada
Re: Math Whiz Question
Perhaps the comments from the fore-mentioned post-processor would help as well:
Code: Select all
+
+ Mach2/3 - Vectric machine output configuration file
+ Wraps Y values around the X axis, values are output as A
+
Re: Math Whiz Question
Ok, color me totally embarased. After re-reading your posts I think I finally got my head wrapped around this, pun intended.
I fired up Aspire this morning and was going to do a test and used the y to a post processor and what did I find? A dialog box asking whether this was for surface or end wrapping
Should have known that the Vectric staff would have already have taken this into consideration.
Thanks,
RT
I fired up Aspire this morning and was going to do a test and used the y to a post processor and what did I find? A dialog box asking whether this was for surface or end wrapping
Should have known that the Vectric staff would have already have taken this into consideration.
Thanks,
RT