I've tried running the binder examples in Jupyter Lab for BRepAlgoAPI_Section usages.
However, the slicer and the section examples don't work as expected.
Expectation: the displayed shape has lines where the sections or slices should be.
Actual result: the shapes are displayed as-is, without any intersections or slices.
I've also tried uncommenting the part, where the sections should be displayed in the renderer, e.g.:
for section_ in sections:
rnd.DisplayShape(section_.Shape())
I've added some transparency for the original torus shape in the section example, if the sections are conflicting with the shape itself, but with no results.
For the slicer example, the renderer throws a runtime error:
RuntimeError: Standard_ConstructionErrorBnd_Box is void raised from method ShapeTesselator of class ShapeTesselator
Hello!
I've tried running the binder examples in Jupyter Lab for
BRepAlgoAPI_Section
usages. However, theslicer
and thesection
examples don't work as expected.Expectation: the displayed shape has lines where the sections or slices should be. Actual result: the shapes are displayed as-is, without any intersections or slices.
I've also tried uncommenting the part, where the sections should be displayed in the renderer, e.g.:
I've added some transparency for the original torus shape in the
section
example, if the sections are conflicting with the shape itself, but with no results.For the
slicer
example, the renderer throws a runtime error:What am I doing wrong?