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=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!
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_pathto 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 ifconnect_ends=False, but whenconnect_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_pointsin the path, which highlights the issue.connect_ends=Falseconnect_ends=TrueIf this behavior can't be changed due to backwards compatibility concerns, perhaps I could add a simple new function to replicate what
rotate_extrudedoes in OpenSCAD? Having to manually define acircle_pointsfunction, 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!