Explanation of creating a rounded shape. Maybe helpful for few here
On a slightly related note.
As part of another project I wrote a module that creates cubes with
arbitrary edge radius, you can even specify 12 different radii, one for
each edge of a cube.
Generating a smooth cube corner where three different radii meet is not
trivial, so I went through several iterations (as can be seen from the
code).
Code is generally optimized for speed
Just linking to it here in case someone finds it interesting.
It's a work-in-progress that has stalled at the current stage so it could
benefit from some cleanup and general improvements.
https://github.com/kharar/AirSense/blob/main/OpenSCAD_files/corner.scad
On Sat, Mar 30, 2024, 02:54 Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
Explanation of creating a rounded shape. Maybe helpful for few here
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Hi Martin,
this sounds very interesting to me.
right now I am creating a "fillet" module in my branch, where I intend to
select certain edges by providing "selection cubes" and round them.
Corners are actually not trivial, this is why I looked into your scad code.
i cant open it from here
see
https://imgur.com/a/s885Bic
corners have different numbers of rounded edges.
right now the selected edges are hardcoded in the program, but i will work
on this next.
On Sat, Mar 30, 2024 at 9:58 PM Martin Axelsen via Discuss <
discuss@lists.openscad.org> wrote:
On a slightly related note.
As part of another project I wrote a module that creates cubes with
arbitrary edge radius, you can even specify 12 different radii, one for
each edge of a cube.
Generating a smooth cube corner where three different radii meet is not
trivial, so I went through several iterations (as can be seen from the
code).
Code is generally optimized for speed
Just linking to it here in case someone finds it interesting.
It's a work-in-progress that has stalled at the current stage so it could
benefit from some cleanup and general improvements.
https://github.com/kharar/AirSense/blob/main/OpenSCAD_files/corner.scad
On Sat, Mar 30, 2024, 02:54 Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
Explanation of creating a rounded shape. Maybe helpful for few here
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Sorry for the confusion. I just realized the repository I linked to earlier
contains sensitive information so instead of making it public I just moved
the OpenSCAD files to its own public repo.
This should help:
https://github.com/kharar/RoundedPrimitives/blob/main/corner.scad
On Sat, 30 Mar 2024 at 22:12, Guenther Sohler guenther.sohler@gmail.com
wrote:
Hi Martin,
this sounds very interesting to me.
right now I am creating a "fillet" module in my branch, where I intend to
select certain edges by providing "selection cubes" and round them.
Corners are actually not trivial, this is why I looked into your scad
code. i cant open it from here
see
https://imgur.com/a/s885Bic
corners have different numbers of rounded edges.
right now the selected edges are hardcoded in the program, but i will work
on this next.
On Sat, Mar 30, 2024 at 9:58 PM Martin Axelsen via Discuss <
discuss@lists.openscad.org> wrote:
On a slightly related note.
As part of another project I wrote a module that creates cubes with
arbitrary edge radius, you can even specify 12 different radii, one for
each edge of a cube.
Generating a smooth cube corner where three different radii meet is not
trivial, so I went through several iterations (as can be seen from the
code).
Code is generally optimized for speed
Just linking to it here in case someone finds it interesting.
It's a work-in-progress that has stalled at the current stage so it could
benefit from some cleanup and general improvements.
https://github.com/kharar/AirSense/blob/main/OpenSCAD_files/corner.scad
On Sat, Mar 30, 2024, 02:54 Sanjeev Prabhakar via Discuss <
discuss@lists.openscad.org> wrote:
Explanation of creating a rounded shape. Maybe helpful for few here
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org