Skip to content
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

free function sweep BRepOffsetAPI_MakePipeShell option to SetMode #1639

Open
lorenzncode opened this issue Jul 27, 2024 · 0 comments
Open

free function sweep BRepOffsetAPI_MakePipeShell option to SetMode #1639

lorenzncode opened this issue Jul 27, 2024 · 0 comments

Comments

@lorenzncode
Copy link
Member

I did not expect this result from the sweep.

import cadquery as cq
from cadquery.occ_impl.shapes import *

path = cq.Wire.makeHelix(2, 6, 4)

e1 = segment((4, 0, 0), (4, 0, 0.5))

res = sweep(e1, path)

image

I got the expected result after changing the sweep function to call builder.SetMode(True) here:

builder = BRepOffsetAPI_MakePipeShell(spine.wrapped)

image

Perhaps this can be set by default, or optionally as a function argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants