-
Notifications
You must be signed in to change notification settings - Fork 187
Open
Description
Description
There appears to be inconsistent behavior when displaying a Sketch object directly with show_object()
. The function seems to automatically assemble the Sketch before displaying it.
Code to reproduce
import cadquery as cq
line = cq.Sketch().segment((0,0),(0.25,1)).segment((1,2))
line_assemble = line.assemble()
show_object(line) # This shows the assembled version despite 'line' not being assembled
Expected behavior
I would expect show_object(line)
to either show the unassembled Sketch object or require explicit assembly before displaying.
Actual behavior
When calling show_object(line)
, it displays the Sketch as if line_assemble = line.assemble()
had been called first. This automatic conversion happens behind the scenes.
Environment
- CQ-Editor version: 0.5.dev0
Metadata
Metadata
Assignees
Labels
No labels