Problem: how to cut a part into two.
E.g.:
module MyPart() {
// something
}
Cut in a comb pattern, with defaults:
Comb() {
MyPart();
}
Cut in a zigzag pattern at the defined locations:
ZigZag( y = [ 10, 30 ] ) {
MyPart();
}
Puzzle cut:
Puzzle( y = [ 10, 50, 80 ] ) {
MyPart();
}
Lots of optional parameters.
Or, use your own cutting pattern by passing it in as a 2D shape:
LeftRight( ... ) {
MyPart();
square( size = [ 10, 5 ] );
};
Source: https://github.com/jernst/openscad-cuts
Thanks for the help trying to make children() do what I needed it to do: http://forum.openscad.org/Operator-problem-tp25984p25991.html
Enjoy :-)
Cheers,
Johannes.
Really useful to me as a laser cutter guy, and really neat!
I've been thinking of doing something like this for a while, but haven't got
around to it.
One small note, though: For laser cutting, it'd be nice if there was a small
radius on the corners of the "connecting shapes", as lasers have a tendencey
to over-burn corners slightly, especially in difficult materials, as it
needs to slow down too much when doing sharp corners. You can get around the
overburn by fiddling around with the settings to get precise power ramps,
but it's usually too much work to be practical.
--
Sent from: http://forum.openscad.org/
On Apr 15, 2019, at 23:46, Troberg troberg.anders@gmail.com wrote:
Really useful to me as a laser cutter guy, and really neat!
Glad you like it.
One small note, though: For laser cutting, it'd be nice if there was a small
radius on the corners of the "connecting shapes”,…
I’ve added a “rounded box” example which simply minkovski()’s a box with a circle as the cutting shape. This rounds the front part of the protrusions, but not where they meet the main cutting axis. (as I am lacking inspiration how to do that right now …) I guess it meets about half your requirement ...
https://github.com/jernst/openscad-cuts/blob/master/examples/rounded-box-example.scad https://github.com/jernst/openscad-cuts/blob/master/examples/rounded-box-example.scad
Cheers,
Johannes.