Skip to content

extrude_along_path contains gaps in rotation between first and last point #201

@ChrisCooper

Description

@ChrisCooper

I don't believe this is really a bug in the implementation of extrude_along_path, but it is inconvenient and I would love a way around it. (Or pointers on what I'm doing wrong!)

When using extrude_along_path to make a simple rotation, for example to make a torus, the first and last faces in the path are at the "wrong" rotation. It seems like they just face the direction of the one neighboring point, which leaves a gap in a completed loop. I see this making sense if connect_ends=False, but when connect_ends=True, it seems better to treat the points as a loop rather than a path with geometry connecting the ends.

I modified the "No Scale" example from the examples file to have a lower num_points in the path, which highlights the issue.

connect_ends=False
connect_ends=False

connect_ends=True
connect_ends=True

If this behavior can't be changed due to backwards compatibility concerns, perhaps I could add a simple new function to replicate what rotate_extrude does in OpenSCAD? Having to manually define a circle_points function, then use it extrude, seems like extra work compared to how simple that built-in function is.

Alternatively, if there's something simple I've overlooked to fix this, I'd love to know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions