-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using an array of shapes in sweep() #6
Comments
sweep() could potentially be hacked to support individual shapes for each
step, but the limitation is that each step needs to have the same number of
vertices. loft() relaxes that requirement. Using loft() should not be a
CGAL problem. The geometry is directly instantiated without any CSG
operations.
…On Wed, May 10, 2017 at 16:59 Jerimon1998 ***@***.***> wrote:
Is there an existing way to use a different shape for each point in
path_transforms, besides using the transformation matrices in
path_transformations? Or is this something yet to be implemented?
I need this to create a special kind of spur gear with teeth that are
pointed at the sides (sort of like the involute curve already on the
teeth). I already have the methods down for creating the individual shapes
for each step in the path (thanks to the hyperbolic worm gear that this
gear mates with).
My initial thought for a workaround is to use some version of loft() with
a large number of these shapes, achieving a reasonable curve, but it may be
quite tedious for CGAL to render.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ADjYAVQW3cbsk9HlCNBTatvT_G9U8I2kks5r4dC_gaJpZM4NWytA>
.
|
Oh yeah, I forgot to mention the vertices. I did assume that a consistent number of points would be needed, and it is actually the default of the method I am using. |
Sounds like skin() would work: https://github.com/openscad/list-comprehension-demos#extrusionscad |
Is there an existing way to use a different shape for each point in path_transforms, besides using the transformation matrices in path_transformations? Or is this something yet to be implemented?
I need this to create a special kind of spur gear with teeth that are pointed at the sides (sort of like the involute curve already on the teeth). I already have the methods down for creating the individual shapes for each step in the path (thanks to the hyperbolic worm gear that this gear mates with).
My initial thought for a workaround is to use some version of loft() with a large number of these shapes, achieving a reasonable curve, but it may be quite tedious for CGAL to render.
The text was updated successfully, but these errors were encountered: