# hull command flattens result in 2D - circle vs cube

4 messages
Open this post in threaded view
|

## hull command flattens result in 2D - circle vs cube

 This post has NOT been accepted by the mailing list yet. Hi everyone, this is my first post and i hope the question is not dumb. I cannot figure out why the hull command with a circle results in a projection in the xy plane (ie nothing the z direction)? hull(){     translate([10,10,10]) circle(1);     translate([1,1,1]) circle(1);} where as this code, creates the solid in the z direction as expected: hull(){     translate([10,10,10]) cube(1);     translate([1,1,1]) cube(1);} thanks for the help. memsfactory
Open this post in threaded view
|

## Re: hull command flattens result in 2D - circle vs cube

 Administrator memsfactory wrote Hi everyone, this is my first post and i hope the question is not dumb. I cannot figure out why the hull command with a circle results in a projection in the xy plane (ie nothing the z direction)? hull(){     translate([10,10,10]) circle(1);     translate([1,1,1]) circle(1);} where as this code, creates the solid in the z direction as expected: hull(){     translate([10,10,10]) cube(1);     translate([1,1,1]) cube(1);} thanks for the help. memsfactory hull() operates in the dimentionality of the child objects. 1st is feeding it 2x 2D objects (no Z) so hull produces a 2D hull. 2nd is feeding 2x 3D objects (incl. z) so hull produces a 3D hull. Admin - PM me if you need anything, or if I've done something stupid... Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above. The TPP is no simple “trade agreement.” Fight it! http://www.ourfairdeal.org/ time is running out!