![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
well i've walked myself into a corner that it looks like i need a bit of help getting out of. I'm trying to make an oring groove that wraps around the exterior of a cylinder. My attempts to hand code this have been less than successful so far, and i'm getting a bit pressed for time. So can anyone point me in the right direction here? And for reference this is what i'm trying to produce... |
|
#2
| |||
| |||
| What type of machine are you running? Haas has a command G107 called Cylindrical Mapping, probably other machines have the same. This maps Y axis moves onto the periphery of a part mounted on the A axis. The Y axis is used to position the A axis exactly on the spindle centerline and then the G107 converts Y motion into the appropriate rotation of the A axis based on the diameter of the part. The motion is programmed as if it where a Y axis move.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#4
| ||||
| ||||
| trig it out trig out the circle in the 2d plane so you have a point to point program with X and Y then use the distance from the center of rotation to the center of the ball end mill and half the distance between Y's to calculate the degrees time 2 for A then replace the A moves with the Y moves , so you end up with a program with X and A to form the o-ring grove make sure you changes the signs for the proper A axis reversals |
|
#6
| ||||
| ||||
| Not sure if this supports G2/G3, but you can code it flat and then wrap it around your part. CNCWrapper - Home Page Download the demo and see if it'll work.
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#7
| ||||
| ||||
|
|
#8
| ||||
| ||||
| so...results thus far. tried out that cncwrapping program and it does NOT accept g02 and g03 commands. it's purely an x and y translator. So, I ended up writing an excel file to point several x and y coordinates for the circle that i needed. proceeded to take that code and ran it through the cncwrapping program and this is the result: ![]() it'll work for what I need it for, but it doesn't look like i quite got as much a rotation as it should have. Any ways, thanks for the help guys! |
![]() |
| 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 |
| Problem- Roller cam coding | greybeard | Coding | 6 | 10-23-2010 12:28 PM |
| 5 axis manual coding | themuffinman | General Metal Working Machines | 10 | 06-13-2010 07:48 PM |
| New to G-Coding | Larry Myers | G-Code Programing | 4 | 09-20-2007 09:06 AM |
| G2/G3 Coding | jrobson | G-Code Programing | 24 | 09-02-2006 12:54 PM |
| Coding own CAM program | jonifootbalpl8r | General CAM Discussion | 2 | 04-10-2006 06:43 PM |