Problem with IVtkOCC_Shape at 7.7.2
BlankuApp opened this issue · 4 comments
BlankuApp commented
When i install the OCP using conda install -c conda-forge -c cadquery ocp
, I cannot run the following code:
vtk_shape = IVtkOCC_Shape(self._ocp)
shape_data = IVtkVTK_ShapeData()
shape_mesher = IVtkOCC_ShapeMesher()
drawer = vtk_shape.Attributes()
drawer.SetUIsoAspect(Prs3d_IsoAspect(Quantity_Color(), Aspect_TOL_SOLID, 1, 0))
drawer.SetVIsoAspect(Prs3d_IsoAspect(Quantity_Color(), Aspect_TOL_SOLID, 1, 0))
drawer.SetFaceBoundaryDraw(True)
shape_mesher.Build(vtk_shape, shape_data)
rv = shape_data.getVtkPolyData()
it returnes rv=None
But when i install the older versions conda install -c conda-forge -c cadquery ocp=7.7.0
the problem is solved.
adam-urbanczyk commented
Use the conda-forge
build: conda install -c conda-forge ocp=7.7.2
.