cadquery
cadquery copied to clipboard
Freezing With Sweeps
Simple sweeps seem to take a very long time if simple, and seem to freeze indefinitely for even slightly more complicated sweeps such as below. Not sure if this is something fixable or a core limitation of the kernal, but figured I'd share the issue.
To Reproduce
from cadquery import *
pipe_path = Workplane("XZ").spline([(0,0), (20,-20), (50,-20), (50,-30)])
pipe = cq.Workplane("XY").circle(5).sweep(pipe_path, multisection=0, isFrenet=1, clean=False)
Environment
OS: Windows Was CadQuery installed using Conda?: Latest CadQuery packaged with CQ-Editor
Using: CQ-Editor
Your sweep is not that simple (for some reason you want to explicitly use Frenet frame which gives a very weird result in this case):

Try this instead:
from cadquery import *
pipe_path = Workplane("XZ").spline([(0,0), (20,-20), (50,-20), (50,-30)])
pipe = cq.Workplane("XY").circle(5).sweep(pipe_path, multisection=0, isFrenet=False, clean=False)
