response to TypeError exception:

TypeError: to_x3dfile_string() missing 1 required positional argument:
'shape_id'
This commit is contained in:
Peter Boin
2019-01-05 13:30:47 +11:00
parent b4e4c4dbeb
commit 4fc485f18c

View File

@ -83,7 +83,7 @@ def x3d_display(shape,
mesh_quality)
exporter.compute()
x3d_str = exporter.to_x3dfile_string()
x3d_str = exporter.to_x3dfile_string(shape_id=0)
x3d_str = '\n'.join(x3d_str.splitlines()[N_HEADER_LINES:])
bb = BoundBox._fromTopoDS(shape)