mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 13:57:34 +00:00
Correct display_shape on TopoDS_Shape
This commit is contained in:
@@ -86,7 +86,7 @@ def display_shape(shape, clr=None, viewer_handle=None):
|
|||||||
|
|
||||||
if isinstance(shape, shape_tuple):
|
if isinstance(shape, shape_tuple):
|
||||||
shape, representation = shape.geometry, shape
|
shape, representation = shape.geometry, shape
|
||||||
else: representation is None
|
else: representation = None
|
||||||
|
|
||||||
material = OCC.Graphic3d.Graphic3d_MaterialAspect(OCC.Graphic3d.Graphic3d_NOM_PLASTER)
|
material = OCC.Graphic3d.Graphic3d_MaterialAspect(OCC.Graphic3d.Graphic3d_NOM_PLASTER)
|
||||||
material.SetDiffuse(1)
|
material.SetDiffuse(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user