-
Notifications
You must be signed in to change notification settings - Fork 289
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
Simple combination of some ellipses and extrude eats memory and hangs app #1488
Labels
bug
Something isn't working
Comments
Try relaxing the 3D Viewer tolerances: See also duplicate: CadQuery/CQ-editor#384 |
I cannot reproduce. BTW you probably wanted: import cadquery as cq
result2 = (
cq.Workplane("XY")
.ellipse(30, 25).ellipse(27, 22)
.extrude(6)
.faces('>Z')
.ellipse(30, 25).extrude(6)
) |
yes, I have already drawn what I wanted in similar way, but one can press "render" when design syntax "compiles", but has such logical errors, and receive hang or killed app. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
This simple code being ran from CQ-Editor eats about 2Gb of memory (from 3.4 to 5.4Gb), cpu 100% and hangs app for about a minute or so. The app did terminate when I first saw that, but it was the os who killed it because of memory consumption. If I give enough memory, it would finally render the model after about a minute.
Just paste code to CQ-Editor and press render. It happens all of the time.
I have made some experiments and it seems that this is some kind of lucky magic combination or figures, operations and numbers. For example, it won't hang in this way:
also won't hang in this ways:
it would also hang in this way but for much less time:
even less time to hang:
won't hang, but would draw nothing:
The text was updated successfully, but these errors were encountered: