Adding drag-knife functionality to CAMBAM!
This will be useful for all of us messing with cutting vinyl, wood veneer, cardboard...
This Python script takes selected polylines and generates new polylines used for the drag-knife tool path.
From the tool path polyline, an engrave MOP must be used to create the actual tool path and G-code.
Extract the file drag_knife.py from the attached ZIP file and save it into your "Scripts" directory.
Without compensation, sharp corners are rounded due to the drag-knife tip offset.
This script adds "corner features" which includes an overcut and swivel arc to the next cut segment.
Also added is a "retract" feature at the corners which retracts during the swivel motion for thick materials.
Note, the blade must be oriented toward the +X direction which allows the first point to be precisely located.
These features are well described at:
www.DonekTools.comAlso featured is support for the knife tip to exactly follow arc paths.
The concept is based on bicycle front/rear wheel paths.
The "front wheel" is driven by the machine engrave path, and the knife tip is the "rear wheel".
The tool offset (distance from the tool centerline to knife tip) correlates to the bike wheelbase.
Formulas for bike wheel path are found at:
http://math.ucsd.edu/~ebender/87/bicycle.pdfThe script works in concept, however the polyline start/end points can create a problem with cut results.
I tested using a modified Cricut holder (with blade auto-spring!), 2mm blade has a very small .009" offset.
I guess my machine has poor resolution, and the tiny arc paths did not orient the blade exit correctly.
This resulted in some start/end corners that were not perfect and did not release free.
Picking the start/end points in the middle of a horizontal section would give better results.
Although CAMBAM does not make it easy to select the polyline start point...
I am now working on Rev 2 which will attempt to find a good start point, and make all cuts CCW.
Also of interest, I will be posting soon my DIY drag-knife tool designs.
Several options should get you going hopefully for under $20.
I have on order two other Roland blade holders for modifications: spring feature and hold in a 1/2" collet.
Also a potential X-Acto drag-knife design which should work well for thicker material like cardboard.
By the way, if anyone is willing to make this into a Plugin, that would be awesome!
Cheers - BillT