CQ-Editor gets stuck and consumes all memory
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 210
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running the supplied overlapping-circle extrusion in CQ-Editor and compare it with the standalone CadQuery run. Trace the CQ-Editor rendering path for this shape and verify that overlapping circles render without runaway memory use or the process being killed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100