-
Notifications
You must be signed in to change notification settings - Fork 381
Closed
Labels
Description
Issue by fragmuffin
Saturday May 26, 2018 at 13:28 GMT
Originally opened as dcowden/cadquery#273
displaying objects created in cqparts
using cqparts.cqgi
at the moment involves extracting the cadquery.Workplane
instance from the Component
, and passing it to show_object
.
from cqparts_misc.basic.primatives import Cube
cube = Cube(size=10)
show_object(cube.local_obj)
Problem
Displaying a cqparts.Component
with editable parameters currently requires the workaround described in cqparts/cqparts#95 (comment)
from cqparts_misc.basic.primatives import Cube
g_size = 10
cube = Cube(size=g_size)
show_object(cube.local_obj)
Solution?
The display of a cqparts
component would be much more intuitive with cadquery.cqgi
if the parameters to be modified are picked up from the cqparts.Component
instance itself.