Thread: AutoCad 2007
-
04-08-2012 #11
Splines = BAD
Polylines = Good
I use polylines exclusively and Vectric's software works 100% of the time with my drawings.
Say you have a rectangular shape, and you want to start in the middle of the edge.
Here's what I do.
First, draw the rectangle. This will be used as a base for the final part.
Using the polyline tool, use a Midpoint or Nearest snap at the point you want to start. Then, click on the endpoints in the order (direction) you want the tool to go (Use running OSNAPS with Endpoint turned on). After clicking the last endpoint, hit "Enter" to exit the command. Now, delete the original rectangle, which should be visible in the open section of the new , open, rectangle. Then, select the new one, right click and choose polyline edit, and choose close.
Save as .v12 dxf and you should be good to go.
I actually use a macro that I wrote which exports g-code from within AutoCAD.Gerry
______________________________________________
UCCNC 2022 Screenset
Mach3 2010 Screenset
JointCAM - CAM for Woodworking Joints
-
04-08-2012 #12
Well done, most impressed. I baulked at working from within AutoCAD and took a different tack. I read a .dxf file and a .txt file that defines the missing parameters. I drive the mill directly, no G-code at all.
I looked at polylines, figured out how one magic number could define an arc but never wrote the interpreter. I just explode them before I export.
I found the trickiest bit was where the tool was too big to fit in all the little nooks and crannies, meaning I had to discard lots of entities. I did it, nearly, but should a pocket have a constriction below tool diameter I only get half of it. I found picking up on a sub-pocket surprisingly tricky, too easy to get phantoms. Remembering that a subsequent tool might have to do waste removal only on the uncut section was beyond me.Last edited by Robin Hewitt; 04-08-2012 at 10:09 AM.
-
05-08-2012 #13
Thanks.
For me, using polylines means I didn't have to figure out how to join lines and arcs. The downside is that it forces the user to know exactly what he wants to do, as you basically are drawing your toolpaths. It took me about a week to get that magic number (Bulge) into IJ g-code.
I try to avoid as much math as possible. So there's no pocketing, other than circles, which are easy. I rarely do any other pocketing, and if I need to, it only takes a minute or two to draw the pocket toolpaths. (A few offsets, and then trace with a polyline).
I have a test version that let's me assign machining order to entities, and have plans for multiple tools. But I'll probably need to learn VB.net first, as I've found that 64bit AutoCAD does not run VBA code as efficiently as 32bit AutoCAD does.Gerry
______________________________________________
UCCNC 2022 Screenset
Mach3 2010 Screenset
JointCAM - CAM for Woodworking Joints
-
05-08-2012 #14
I probably wouldn't know VBA if it jumped up and bit me in the knee, sounds like AutoCAD will remain a closed door to me.
Perhaps that is why you had problems stitching lines and arcs in to closed loops, it's easy in C#.
I wanted everything defined in the drawing and one easy to edit text file so I could avoid a whole mess of buttons
-
05-08-2012 #15Perhaps that is why you had problems stitching lines and arcsGerry
______________________________________________
UCCNC 2022 Screenset
Mach3 2010 Screenset
JointCAM - CAM for Woodworking Joints
-
05-08-2012 #16
Can't argue with that
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
3d AutoCad CNC machine parts.
By jcb121 in forum Open Source Designs & PlansReplies: 1Last Post: 09-10-2014, 10:18 PM -
Major issue with snapping to circles -Autocad 2013
By craigrobbo in forum AutoCADReplies: 8Last Post: 01-02-2014, 09:33 AM -
FOR SALE: Xyz 560 cnc mini milling machine high spec 2007 - only used occassionally excellent
By WolfPrincess in forum Items For SaleReplies: 0Last Post: 12-11-2013, 11:36 AM -
Concentric reducer in autocad
By Web Goblin in forum Computer SoftwareReplies: 1Last Post: 24-09-2012, 03:58 PM
Bookmarks