discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

BOSL2: skin(shell2d)?

D
dpa
Thu, Aug 8, 2024 10:55 PM

Hey!

Is it possible to get a 2d shell skinned? If yes, what I'm doing wrong when
I try this
like so (Parser error)?:
skin(
[
shell2d(2, ir=5, or=5+2) square([100,50], center=true),
shell2d(3, ir=5, or=5+3) square([110,55], center=true)
],
z=[0,33]
);

Hey! Is it possible to get a 2d shell skinned? If yes, what I'm doing wrong when I try this like so (Parser error)?: skin( [ shell2d(2, ir=5, or=5+2) square([100,50], center=true), shell2d(3, ir=5, or=5+3) square([110,55], center=true) ], z=[0,33] );
AM
Adrian Mariano
Thu, Aug 8, 2024 11:00 PM

Nope.  Due to limitations of OpenSCAD, it's impossible to support that.
You have to provide a point list rather than geometry as input to skin.
Also, skin() does not work with shapes that have holes.  To do what you are
trying to do you'll need to make the inner shape and outer shape
separately.  You might try using square() to make the coordinate list to
start and then round_corners() to apply the rounding.

On Thu, Aug 8, 2024 at 6:56 PM dpa via Discuss discuss@lists.openscad.org
wrote:

Hey!

Is it possible to get a 2d shell skinned? If yes, what I'm doing wrong
when I try this
like so (Parser error)?:
skin(
[
shell2d(2, ir=5, or=5+2) square([100,50], center=true),
shell2d(3, ir=5, or=5+3) square([110,55], center=true)
],
z=[0,33]
);


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Nope. Due to limitations of OpenSCAD, it's impossible to support that. You have to provide a point list rather than geometry as input to skin. Also, skin() does not work with shapes that have holes. To do what you are trying to do you'll need to make the inner shape and outer shape separately. You might try using square() to make the coordinate list to start and then round_corners() to apply the rounding. On Thu, Aug 8, 2024 at 6:56 PM dpa via Discuss <discuss@lists.openscad.org> wrote: > Hey! > > Is it possible to get a 2d shell skinned? If yes, what I'm doing wrong > when I try this > like so (Parser error)?: > skin( > [ > shell2d(2, ir=5, or=5+2) square([100,50], center=true), > shell2d(3, ir=5, or=5+3) square([110,55], center=true) > ], > z=[0,33] > ); > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >