Intersect a solid with a line:
csi = BRepIntCurveSurface_Inter()
csi.Init(solid, line,TOLERANCE)
intersect = bool(csi.State() == TopAbs_In)
Is a point within a solid?
_class = BRepClass3d_SolidClassifier(solid) # tests a point
_class.Perform(pnt, 1e-12)
_class.State() == TopAbs_IN:
> how to instantiate TopClass_Intersection3d
> require an example
>
>
> regards
> partha
By the way, this is how one barfs to a dog with rabies.
Courtesy does apply to this list.
Thanks,
-jelle
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users