Math Whiz Question

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

Math Whiz Question

Postby RhoTu » Wed Mar 20, 2019 6:06 pm

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

Postby Rcnewcomb » Wed Mar 20, 2019 7:18 pm

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
User avatar
Rcnewcomb
Vectric Wizard
 
Posts: 3551
Joined: Fri Nov 04, 2005 5:54 am
Location: San Jose, California, USA
Model of CNC Machine: GCnC/WinCNC

Re: Math Whiz Question

Postby RhoTu » Wed Mar 20, 2019 11:02 pm

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

Postby adze_cnc » Wed Mar 20, 2019 11:53 pm

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
+
User avatar
adze_cnc
Vectric Apprentice
 
Posts: 719
Joined: Sat Jul 27, 2013 10:08 pm
Location: Vancouver, BC, Canada
Model of CNC Machine: AXYZ 4008

Re: Math Whiz Question

Postby RhoTu » Thu Mar 21, 2019 3:15 pm

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
RhoTu
Vectric Craftsman
 
Posts: 141
Joined: Mon Dec 29, 2008 10:12 pm


Return to Post Processors

Who is online

Users browsing this forum: No registered users and 1 guest