## Math Whiz Question

This forum is for requests and queries about machine tool support for Vectric Products

### Math Whiz Question

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
RhoTu
Vectric Craftsman

Posts: 141
Joined: Mon Dec 29, 2008 10:12 pm

### 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
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

Rcnewcomb
Vectric Wizard

Posts: 3552
Joined: Fri Nov 04, 2005 5:54 am
Location: San Jose, California, USA
Model of CNC Machine: GCnC/WinCNC

### 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
RhoTu
Vectric Craftsman

Posts: 141
Joined: Mon Dec 29, 2008 10:12 pm

### 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
+

Vectric Apprentice

Posts: 719
Joined: Sat Jul 27, 2013 10:08 pm
Model of CNC Machine: AXYZ 4008

### 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
RhoTu
Vectric Craftsman

Posts: 141
Joined: Mon Dec 29, 2008 10:12 pm