how do I split a face parametrically

Is there a way to split a Face using a parametric value?

I would like to get rid of periodic faces by splitting them in either the U or V direction with a PValue that falls in the parametric range of the face. Does anybody know of a class in OCC that will do this?

Timo Roth's picture

If you just want to get rid of periodic faces, you can have a look at ShapeUpgrade_ShapeDivideClosed. It can split a closed surface in several parts. You can define the number of parts but you cannot set exact parametric values.

For splitting a face parametrically, you can use Geom_RectangularTrimmedSurface. It allows to split the underlying surface of a face giving u- and v-parameters.

Larry Kellogg's picture

Thanks, ShapeUpgrade_ShapeDivideClosed is exactly what I was looking for.