. .

Thread: AutoCad 2007

Page 2 of 2 FirstFirst 12
  1. #11
    Quote Originally Posted by Web Goblin View Post
    I think it is because you have used polylines and splines to create the parts of the drawing. I havent met a conversion program yet thet will handle them correctly for profiling.
    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

  2. #12
    Quote Originally Posted by Ger21 View Post
    I actually use a macro that I wrote which exports g-code from within AutoCAD.
    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.

  3. #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

  4. #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
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	rcad.jpg 
Views:	260 
Size:	292.9 KB 
ID:	6514  

  5. #15
    Perhaps that is why you had problems stitching lines and arcs
    With polylines, there was no need to attempt it, so no problems.
    Gerry
    ______________________________________________
    UCCNC 2022 Screenset

    Mach3 2010 Screenset

    JointCAM - CAM for Woodworking Joints

  6. #16
    Can't argue with that

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. 3d AutoCad CNC machine parts.
    By jcb121 in forum Open Source Designs & Plans
    Replies: 1
    Last Post: 09-10-2014, 10:18 PM
  2. Replies: 8
    Last Post: 01-02-2014, 09:33 AM
  3. Replies: 0
    Last Post: 12-11-2013, 11:36 AM
  4. Concentric reducer in autocad
    By Web Goblin in forum Computer Software
    Replies: 1
    Last Post: 24-09-2012, 03:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •