![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Coding Post your Coding for opensource projects here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm writing a bit of code to generate some G-Code for a drag knife I've installed in my cnc router. I can do the straight stuff and turn corners fine (similar to this http://www.summa.be/pages/nfo_tangentialordrag.html). What I am wondering about, is cutting circles and curves. If the knife has an offset, will the cut circle be smaller than the one traced? If so, how do I calculate the compensation amount for the circle? I assume it is a function of the offset and the circle diameter? Thanks, Frank |
|
#2
| |||
| |||
| I think I worked this out... If I keep the knife point on the circle at a tangent, then it is a simple case of using the pythagoras theorem to calculate the compensated radius... compenstated_radius = sqrt( radius ^ 2 + knife_offset ^ 2 ) |
|
#5
| |||
| |||
|
I believe the curve you are looking for is a cycloid. Search google for "brachistochrone". Your method will possibly work for a complete circle, but it will fail if you move from a line to an arc to a line. Think of a truck making a tight 90 degree turn with a long trailer. This is an interesting mathematical problem. |
| Sponsored Links |
|
#6
| |||
| |||
| This is how I see a toolpath for a keyhole would be. Open to corrections. Last edited by Kiwi; 01-21-2009 at 06:34 PM. Reason: correct grammar |
|
#7
| |||
| |||
| Examine this drawing carefully and you will see the error of the arc offset method. A simple arc offset will only approximate the path the centerline of the tool should follow (represented by the points). It may be more than sufficient for the purpose of representing a circle while cutting vinyl, but it also makes for inefficient toolpath. Also open to corrections. |
|
#8
| |||
| |||
| I am unable to duplicate your drawing. I'm sure a trailing blade does not give a perfect shape. I imagine the blade will act like a fish tail in some areas. I guess this goes with the benefits of a trailing blade setup. |
|
#9
| |||
| |||
|
![]() |
| 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 |
| Drag Engraver | Regnar | Benchtop Machines | 8 | 04-22-2011 02:16 AM |
| How to homebrew a drag knife for vinyl cutting | abasir | Printing, Scanners, Vinyl cutting and Plotters | 11 | 11-01-2010 09:58 PM |
| Algorithm? | CNCgr | OpenSource Software | 16 | 12-07-2009 06:23 PM |
| Problem- using the drag command | Claude Boudreau | BobCad-Cam | 4 | 12-07-2008 04:12 PM |
| Home Built Router/Drag Diamond Engraver | DaSigntist | DIY-CNC Router Table Machines | 49 | 01-24-2005 02:02 AM |