![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General CAM Discussion Discuss CAD/CAM software and Design software methods here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
I am trying to roll my own APT to G Code Post processor. What I am having trouble with is determining the direction of an arc. If the arc is parallel to a plane it is not a problem. The problems start when I have arc's at strange angles or crossing more than one quadrant. There is not a whole lot out there on the subject of the APT language. I could probably make it work if I understood it better. This is a few line's from an APT file I am trying to translate. INDIRV/ -0.86603, 0.50000, 0.00000 TLON,GOFWD/ (CIRCLE/ 0.86603, -0.50000, 0.75000,$ 0.12500),ON,2,INTOF,$ (LINE/ 0.86603, -0.50000, 0.75000,$ 0.80353, -0.60825, 0.75000) I can figure out how to get the center and ending cords and build an arc. But determining the direction is really getting me. From what little I understand about the "INDRV" command I think it is sort of a direction vector. If any of you know what this "INDRV" is or can some how figure out the direction of the arc from it please clue me in. |
|
#2
| |||
| |||
| bsharp, You should look at a project called 'postp' on sourceforge for inspiration: http://sourceforge.net/project/platf...group_id=85596 What you want to do has already been done in python. Dan |
|
#3
| ||||
| ||||
| Thank's Dan. But I got the arc problem figured out using Vector calculus. It nearly burnt out both sides of my brain doing it but I did it and it works slick. It will output a 360 deg arc regardless of orientation in the correct direction. I only have it working in the XY plane so far but now that I have one down the other two shouldn't be so painful. |
|
#4
| |||
| |||
this means 'in direction vector'. it's been a long time but i used it quite a bit at mcdonnell douglas now known as boeing. we started using ncl software which will read apt. ncl gave us the graphic image we always wanted that we couldn't get using apt. |
|
#7
| |||
| |||
-TLON MEANS 'TOOL ON' -THE CO-ORDINATES FOLLOWING 'INDIRV' IS THE VECTOR -'GOFWD' MEANS GO FORWARD ALONG THE CIRCLE DEFINED(.125 IS THE RADIUS OR DIA.) ON LINE 2 WHICH BEGINS AT THE (INTOF)INTERSECTION OF THE DEFINED CO-ORDINATES WHICH FOLLOW. HOPE THIS CLARIFIES. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Catia | forrey45 | OneCNC | 3 | 07-16-2007 05:15 PM |
| catia to mastercam...help | stanglou | Mastercam | 3 | 11-20-2006 09:01 AM |
| How to convert DWG to CATIA | CnC_BoY | General CAM Discussion | 17 | 03-30-2006 08:29 AM |
| What is Catia | CNCadmin | General CAM Discussion | 20 | 05-20-2005 04:17 PM |
| Catia | whiteriver | General CAM Discussion | 5 | 07-02-2004 12:14 PM |