Hybrid View
- 
	05-02-2015 #1Vectric'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.
 
- 
	05-02-2015 #2
 
- 
	05-02-2015 #3>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. 
 
- 
	05-02-2015 #4Quick 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... 
 
- 
	05-02-2015 #5flute toolpaths.txt 100 mm OD circle, 100mm line and 100mm/10mm arc 
 
 Hope that will help
 
 
- 
	05-02-2015 #6Cheers 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. 
 
- 
	17-11-2015 #7Just out of interest why would you want to arc in and out with the Z? 
 
- 
	05-02-2015 #8Cheers 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...
 
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
- 
  Going down the correct path, Amadeal AMD25LV mill conversion to CNCBy StevenT in forum Milling Machines, Builds & ConversionsReplies: 6Last Post: 20-07-2014, 08:23 AM
- 
  Relationship between Guide rail length and ballscrew lengthBy CharlieRam in forum Rails, Guideways & BearingsReplies: 6Last Post: 11-07-2014, 11:37 PM
- 
  Romi EZ-Path S Lathe crt replacementBy Nemo1966 in forum MonitorsReplies: 5Last Post: 07-10-2013, 04:25 PM
- 
  Cambium Code Web Tools – Parametric G-code GenerationBy CambiumMachines in forum Manufacturer NewsReplies: 0Last Post: 09-01-2013, 04:56 AM
- 
  in calculating the tool pathBy Grumpy Mike in forum Programmers CornerReplies: 17Last Post: 31-07-2010, 10:18 AM
 
                


 
						
					 
					
						 
		 
		 
 
				
				
				
					 Reply With Quote
  Reply With Quote 
						
					 
					
						 
 
 
						
					
Bookmarks