![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| DIY-CNC Router Table Machines Discuss the building of home-made CNC Router tables here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I apologize if this is the inappropriate place to post this. The software developer in me always wants a piece of the action. It seems that the real heart of the magic is in the generation of the g-code. Are there any wizards out there that can help me understand how such complicated drawings are converted into such simple X,Y,Z movements? |
|
#2
| |||
| |||
| kcoaks - checkout my "CNC Gantry Painter" thread. I really could use some help.. but it needs to be someone who can learn fast, or else allready knows alot. read the whole thread and you will understand the issue.
__________________ Design & Development My Portfolio: www.robertguyser.com | CAD Blog I Contribute to: http://www.jeffcad.info |
|
#3
| ||||
| ||||
I wrote a simple Autocad macro converter to convert lines into G-code. It's a simple process of just getting the lines x,y,z coordinates and basically just reformatting those coordinates into a g-code file. This is how the .dxf converters work. Mine just does it in AutoCAD without having to export a .dxf. The 3D converters, are a lot more complicated. And they work in a lot of different ways. The simplest ones read .stl files (or 3d .dxf's) and basicallyfigure out the toolpaths based on the models triangular surfaces. Similar to the 2D method I mentioned above, only they read the coordinates of the faces and have the tool travel over those coordinates. The more advanced (and expensive) CAM software can create toolpaths from nurbs surfaces as well. Hope this helps
__________________ 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) |
|
#4
| |||
| |||
| Gerry- What's in my mind are the intricate relief pieces you see (I guess they'd be 3D). There are complicated designs complete with circles, arcs, and freehand draws. Then the CNC comes along and with a single pass, never crossing the same point twice, manages to lift and dip with perfect accuracy. I'm sure it can all be worked out mathematically, I just don't know what the heck that math is! If this doesn't make any sense, don't worry, my brain is often on the wrong plane . |
|
#5
| ||||
| ||||
| Are you saying the cuts are all at the same depth? Just lifting up to start and stop? Or constantly moving up and down while cutting?
__________________ 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) |
| Sponsored Links |
|
#7
| ||||
| ||||
| kcoaks, A basic description: To develop a 3d path from a surface, start by offsetting the surface to be milled by the radius of the ball end mill. (ie program the center of the ball) Then intersect that offset surface with a plane (like your YZ plane) to get a spline (or set of XYZ points) that represents one pass of your cnc program. Hope that helps. Bill |
|
#9
| ||||
| ||||
| Bill, when is your 3D version of g-code out going to be available?
__________________ 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) |
![]() |
| 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 |
| looking for g code 3d from bobcadcam or simmilar for indexer lpt v5 with g code soft | troyswood | Ability Systems - LPT Indexer and G-Code | 2 | 12-24-2006 10:21 PM |
| parametric programming | Karl_T | CamSoft Products | 21 | 05-24-2005 03:58 PM |
| I need sample G code program | bunalmis | G-Code Programing | 1 | 08-24-2004 04:50 AM |
| G Code Generation | robbycar | General Metal Working Machines | 3 | 05-20-2004 08:10 AM |
| Getting The Most Out of CNCzone's Posting Features | CNCadmin | CNCzone.com FAQ | 0 | 03-02-2003 12:08 AM |