Created cutting library

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Created cutting library

j12t
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.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Created cutting library

Troberg
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/

_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
Reply | Threaded
Open this post in threaded view
|

Re: Created cutting library

j12t
On Apr 15, 2019, at 23:46, Troberg <[hidden email]> 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 ...


Cheers,



Johannes.


_______________________________________________
OpenSCAD mailing list
[hidden email]
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org