It seems like my earlier reply vanished. The problem with hulling
cylinders or toruses for a BOSL2 user is that the resulting object isn't
attachable...unless you go to some extra trouble to make it so by writing
your own special rounded cube module. The torus with minor radius larger
than major radius should be valid. File a bug report if you find an
exception. The module version creates it as a rotate_extrude of a circle
that has it's left side cut off.
So methods to make the desired shape that produce an attachable BOSL2 shape
are rounded_prism() with atype="prismoid", which is the easiest but
roundings are not circles, offset_sweep(), and creating the cuboid and then
using diff() and edge_profile() to add edge treatment (which will produce
more pointy corners than the other approaches). The
convex_offset_extrude() module can also create the shape but geometry data
isn't available so it isn't a real attachable object.
On Mon, Apr 20, 2026 at 1:46 PM Jordan Brown via Discuss <
discuss@lists.openscad.org> wrote:
On 4/19/2026 10:41 AM, Mark Erbaugh via Discuss wrote:
Is it possible with BOSL2 or something else to create a cubed with a different corner radius on the vertical edges versus the horizontal edges?
I expect that BOSL2 has something better and easier, but in bare OpenSCAD
I found that what I needed was to do a hull of eight toruses. The major
radius controls the rounding in one axis; the minor radius controls the
rounding in the other two.
Right now it is hurting my brain trying to figure out what it means if the
minor radius is larger than the major radius. Visualizing, I don't see a
problem with it, but I'm pretty sure the geometry falls apart and that
suggests that there is a problem.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
On 4/20/2026 4:37 PM, Adrian Mariano via Discuss wrote:
The problem with hulling cylinders or toruses for a BOSL2 user is that
the resulting object isn't attachable...
Yes.
The torus with minor radius larger than major radius should be valid.
File a bug report if you find an exception. The module version
creates it as a rotate_extrude of a circle that has it's left side cut
off.
I was visualizing wrong. I was thinking that it would end up having
more than half cut off, and then the transitions would be all wrong -
but to get there, the major radius would need to be negative.