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

CQ-Editor gets stuck and consumes all memory #384

Open
voneiden opened this issue Nov 26, 2022 · 1 comment
Open

CQ-Editor gets stuck and consumes all memory #384

voneiden opened this issue Nov 26, 2022 · 1 comment

Comments

@voneiden
Copy link
Contributor

Similar to CadQuery/cadquery#502 cq-editor gets stuck trying to render an extrusion of two overlapping circles. In a matter of seconds tens of gigabytes of memory are consumed and the process is killed.

import cadquery as cq


result = (
    cq.Workplane()
    .pushPoints([(0, 0), (-50, 0)])
    .circle(30)
    .extrude(4)
)

This runs fine without cq-editor, so I suppose the issue is on the side of rendering. Also it seems to be related to circles as overlapping rectangles appear to work just fine. circle(25) but the output is a bit wonky.

Reproduces with OCP 7.5.3.0 and 7.6.3.alpha.

@lorenzncode
Copy link
Member

If cq-editor is slow to render and/or consumes large memory, try relaxing the 3D Viewer tolerances:

Edit->Preferences->3D Viewer

Increase the value of one or both of these settings:

Deviation
Angular deviation

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

No branches or pull requests

2 participants