[OpenSCAD] What's the best way to accomplish splitting these elements?

GZ moneyforidea at gmail.com
Fri Jul 5 19:36:28 EDT 2019


r u trying to do something like Tower of Hanoi?

On 7/5/19, guaranteed_interwoven <kerryhall at gmail.com> wrote:
> Assuming I have:
>
> translate([4, 5, 0])
> cylinder(d1=10, d2=0, h=10);
>
> cylinder(d1=10, d2=0, h=10);
>
> translate([-5, 3, 0])
> cylinder(d1=15, d2=0, h=10);
>
> The result is this:
>
> <http://forum.openscad.org/file/t2594/example_01.png>
>
> This is just a simple example. I need to be able to split this up into
> chunks for 3d printing. (It's for an art project)
>
> Right now, I'm doing 160x160 mm regions (via intersection with cube).
>
> However, this leaves very very ugly inorganic seams.
>
> I would like to be able to do basically "intersections between cones
> extruded along z axis", for lack of a better term.
>
> Where two of the cones intersect, I would like to be able to "cut straight
> down" to the xy plane.
>
> The result for this example would be three separate objects, that get
> "cylinderified" at the points where they intersect.
>
> Does this make sense? I can provide a pencil sketch if that would be
> helpful
> also.
>
> This must be possible, I just am not skilled enough with openscad to
> achieve
> this.
>
> My thought is perhaps create 2d profile shapes from the intersection of the
> cones, projected to an xy plane at z = 0. Then extrude those above the cone
> max heights. Finally, one by one, do intersections of those extruded
> projections with each cone. I'm not exactly sure how to do this though.
>
> (In addition, what is the name of the operation I am trying to accomplish
> here?)
>
> Thank you so much!!
>
>
>
> --
> Sent from: http://forum.openscad.org/
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>



More information about the Discuss mailing list