. .
Page 1 of 3 123 LastLast
  1. #1
    Wal's Avatar
    Lives in Stockport, United Kingdom. Last Activity: 30-03-2023 Has been a member for 9-10 years. Has a total post count of 491. Received thanks 71 times, giving thanks to others 29 times.
    Vectric's Cut 2D does an admirable job of generating 2D tool-paths, but I'm wondering if there's a bit of G-code that's available to add in which will plunge the cutter to a specified Z depth as it travels to it's halfway point along the 2D path and then retracts the cutter as it travels along the second half of the path. I imagine many of the programs that carve letter-forms into wood use this technique, but is the Z-depth explicitly specified in each line as the G-Code is generated, or is it controlled by a clever bit of programming at machine level?



    Wal.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	GCODE.gif 
Views:	1354 
Size:	5.2 KB 
ID:	14588  

  2. #2
    Fluting Toolpaths
    Vcarve Pro and Aspire have it.




    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	aspire 2.PNG 
Views:	1048 
Size:	47.6 KB 
ID:	14591   Click image for larger version. 

Name:	aspire.PNG 
Views:	1060 
Size:	66.2 KB 
ID:	14592   Click image for larger version. 

Name:	Capture.PNG 
Views:	1017 
Size:	90.0 KB 
ID:	14594  
    Last edited by Boyan Silyavski; 05-02-2015 at 09:36 AM.
    project 1 , 2, Dust Shoe ...

  3. #3
    Wal's Avatar
    Lives in Stockport, United Kingdom. Last Activity: 30-03-2023 Has been a member for 9-10 years. Has a total post count of 491. Received thanks 71 times, giving thanks to others 29 times.
    >Vcarve Pro and Aspire have it.

    Indeed they do, but I'm not using either of 'em... I was after a manual tweak that I could make to my standard profile code. Any chance you could output me some G-code for a fluted straight and a fluted curved line to see how it's being done? (If you could do examples of a linear and a smooth ramp that would be cool!)

    Cheers!

    Wal.
    Last edited by Wal; 05-02-2015 at 11:54 AM.

  4. #4
    Quick answer is that the gcode instruction to cut a straight line (G1) generally has up to three coordinates included. If you are cutting in 2D, then these are the X and Y coordinates to which the tool should move; no Z coordinate so the tool stays at same height. If you want height/depth of cut to vary along the path, then you add a Z coordinate and the motion control software will calculate the tool path so X, Y and Z all vary at the right rate to get to the end point in a straight line. So the answer to your question is that yes, the Z move is part of the generated gcode. Aspire, vCarve, etc, all do this when generating 3D cutting gcode. If you were really keen, I suppose that you could find all straight cutting moves, and edit them to include an intermediate point with lower Z point plus original Z value in the original point. Doesn't sound like an easy job to me! Probably why Cut3D costs rather more than Cut2D...

  5. #5
    flute toolpaths.txt 100 mm OD circle, 100mm line and 100mm/10mm arc

    Hope that will help
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	test fluting 2.PNG 
Views:	949 
Size:	240.0 KB 
ID:	14599   Click image for larger version. 

Name:	test fluting.PNG 
Views:	954 
Size:	22.0 KB 
ID:	14600  
    project 1 , 2, Dust Shoe ...

  6. #6
    Wal's Avatar
    Lives in Stockport, United Kingdom. Last Activity: 30-03-2023 Has been a member for 9-10 years. Has a total post count of 491. Received thanks 71 times, giving thanks to others 29 times.
    Cheers Neale.

    Yeah, I have Cut3D - another excellent piece of software from Vectric - but the way that it generates its cut files isn't exactly practical (and very long-winded) for simply adding a couple of fluted lines to a face.

    Heh - I don't fancy scrolling down through thousands of lines of code and manually adjusting z-depths...

    Perhaps a G19/G18 arc might be worth exploring?

    http://www.cnczone.com/forums/g-code...rc-g-code.html

    Hmm, but thinking about it they're in X/Z or Y/Z so anything other than a straight vertical or horizontal line isn't possible...

  7. #7
    Wal's Avatar
    Lives in Stockport, United Kingdom. Last Activity: 30-03-2023 Has been a member for 9-10 years. Has a total post count of 491. Received thanks 71 times, giving thanks to others 29 times.
    Cheers Boyan. Much appreciated! As Neale said - new z value on each line, which is what I suspected.

    Thanks again!

    Wal.
    Last edited by Wal; 05-02-2015 at 12:21 PM.

  8. #8
    Just out of interest why would you want to arc in and out with the Z?

  9. #9
    Wal's Avatar
    Lives in Stockport, United Kingdom. Last Activity: 30-03-2023 Has been a member for 9-10 years. Has a total post count of 491. Received thanks 71 times, giving thanks to others 29 times.
    Quote Originally Posted by Rufe0 View Post
    Just out of interest why would you want to arc in and out with the Z?
    In my case it was for aesthetics - I was looking at engraving into 3-ply acrylic (black/white/black) with a ball-nose cutter, using this technique would have given me a variation in line thickness along the path. Kinda like this:

    Click image for larger version. 

Name:	spiral.gif 
Views:	408 
Size:	4.0 KB 
ID:	16551

    Wal.

  10. #10
    Ok yeah well if its exactly that shape you want to make (spiral) you should learn some gcode, its very simple to do in gcode. Something like
    Code:
    G0 X10 Y10
    G2 X20 R5 
    G2 X11 R4.5 
    G2 X19 R4 
    G2 X12 R3.5 
    G2 X18 R3 
    G2 X13 R2.5 
    G2 X17 R2 
    G2 X14 R1.5 
    G2 X16 R1
    Then it would be trivial to add your Z depth.

    If you wanted to use code generated by a program its probably going to be 1000s of tiny straight line moves. I could perhaps make a small program for you that will tack on the Z depth but it wouldn't be as good as hand written code.

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Going down the correct path, Amadeal AMD25LV mill conversion to CNC
    By StevenT in forum Milling Machines, Builds & Conversions
    Replies: 6
    Last Post: 20-07-2014, 08:23 AM
  2. Relationship between Guide rail length and ballscrew length
    By CharlieRam in forum Rails, Guideways & Bearings
    Replies: 6
    Last Post: 11-07-2014, 11:37 PM
  3. Romi EZ-Path S Lathe crt replacement
    By Nemo1966 in forum Monitors
    Replies: 5
    Last Post: 07-10-2013, 04:25 PM
  4. Cambium Code Web Tools – Parametric G-code Generation
    By CambiumMachines in forum Manufacturer News
    Replies: 0
    Last Post: 09-01-2013, 04:56 AM
  5. in calculating the tool path
    By Grumpy Mike in forum Programmers Corner
    Replies: 17
    Last Post: 31-07-2010, 10:18 AM

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
  •