Page 1 of 1

Elliptical face on a torus

Posted: Tue Sep 10, 2024 3:51 am
by Rene Dubois
Hello,

I need to construct a BRep face on a torus bounded by projection of an ellipse. Any ideas?

Thanks for any help.

Re: Elliptical face on a torus

Posted: Wed Sep 11, 2024 3:14 am
by Paul Sachs
Have a look at the Face sample.

The surface for the face can be created using IStdShape_DG. See the Obj Array sample new Standard Object option.

Wire for the face will have a single edge. Its curve can be created using IUVSurface_DG.GetCurveProjection()

This is super concise. Others may have more. Poke around the samples and docs to figure out the details.