Math Whiz Question

This forum is for requests and queries about machine tool support for Vectric Products
Post Reply
RhoTu
Vectric Craftsman
Posts: 145
Joined: Mon Dec 29, 2008 10:12 pm

Math Whiz Question

Post by RhoTu »

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

User avatar
Rcnewcomb
Vectric Wizard
Posts: 3736
Joined: Fri Nov 04, 2005 5:54 am
Model of CNC Machine: GCnC/WinCNC
Location: San Jose, California, USA
Contact:

Re: Math Whiz Question

Post by Rcnewcomb »

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

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

RhoTu
Vectric Craftsman
Posts: 145
Joined: Mon Dec 29, 2008 10:12 pm

Re: Math Whiz Question

Post by RhoTu »

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

User avatar
adze_cnc
Vectric Apprentice
Posts: 811
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008
Location: Vancouver, BC, Canada

Re: Math Whiz Question

Post by adze_cnc »

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
+

RhoTu
Vectric Craftsman
Posts: 145
Joined: Mon Dec 29, 2008 10:12 pm

Re: Math Whiz Question

Post by RhoTu »

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 :roll:

Should have known that the Vectric staff would have already have taken this into consideration.

Thanks,

RT

Post Reply