![]() | |
| 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
| |||
| |||
Im not sure if this is the right place to post this, so feel free to move it if its not. I need to machine some spindles for my street rod model out of aluminum. Im having a very difficult time writing the code by hand since the finishing moves are moving on all three axes at once. I can write the linear motions pretty easily since its from one point to another, but writing the codes for the arcs (the XYZ coordinates for the start point and end point are completely different) is where I'm having troble since they use relative positioning. Any suggestions? I had thought about taking my AutoCAD drawings and importing them into MasterCAM but I have no experience what so ever doing that, so Im stuck there. What would I need to import into MasterCAM, and write it into a G-Code for a Fanuc? Heres a basic wireframe I drew in CAD in 3D, but its not a solid model yet. Can anyone help? Any assistance would be appreciated. |
|
#2
| |||
| |||
| normal gcode can only do arcs in the xy xz and yz planes. xy is by default (g17) G17 – XY plane, X and Y [offsets I, J] [linear Z axis] G18 – ZX plane, X and Z [offsets I, K] [linear Y axis] G19 – ZY plane, Y and Z [offsets J, K] [linear X axis] if your arc are not perfectly allinged to those plane they will have to be converted to short line segments. (can't imagine doing that by hand )sam edit add. You may be able to add the linear movement in the 3rd axis to get what you want (so you would be creating a section of a helical cut) - but I am not sure that would work for what you want. |
|
#3
| ||||
| ||||
| G17 default XY plane G18 is ZX plane cw (G02) and ccw (G03) is looking from the back of the machine to the front. (some controls allow XZ format cw (G02) and ccw (G03) looking from the operators view) G19 is YZ plane.
__________________ Safety - Quality - Production. |
|
#4
| ||||
| ||||
| ". . . is where I'm having troble since they use relative positioning." I assume G91 format. The J, K and/or I, K are the signed distance from the start point to center. (Fanuc style format)(others, rare, from the center to to the start point.) In quarter quadrant format (old NC type controls) the distance is unsigned.
__________________ Safety - Quality - Production. |
|
#5
| |||
| |||
I need this part machined soon, so how hard would it be to take the 3D AutoCAD file in MasterCAM to write the code? I've never used MasterCAM before, I've only opened the software at school to see if it can import dwg's. |
| Sponsored Links |
|
#6
| ||||
| ||||
| You might want to look at the demo of MeshCAM, www.meshcam.com Just export a solid model from AutoCAD as an .stl, and MeshCAM can do it very quickly and easily.
__________________ 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
| ||||
| ||||
__________________ Safety - Quality - Production. |
|
#8
| ||||
| ||||
| GTmike400, If you are familiar with Autocad you might be interested in this: http://www.wjbzone.com/wjbzone-mdt-gcode.html Especially if you have MDT. Bill |
|
#9
| |||
| |||
| In MasterCAM you are going to have to import your autocad dwg, then turn those arcs into a surface feature. The you machine it by using a suface toolpath. MasterCAM's help library is pretty good if you are not afraid to play with it. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |