For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages


Anonymous's picture


I have some problems with construction of surfaces. GeomFill_BSplineCurves accepts 2, 3 or 4 Geom_BSplineCurves and creates a Geom_BSplineSurface in one of three styles. I use a CurvedStyle, but the following code doesn´t work:

Type = GeomFill_CurvedStyle;

GeomFill_BSplineCurves aGeomFill3( Handle(Geom_BSplineCurve)::DownCast(Spt->Translated(gp_Vec(20,0,0))), Handle (Geom_BSplineCurve)::DownCast(Spt1->Translated(gp_Vec(20,0,0))), Handle (Geom_BSplineCurve)::DownCast(Spt2->Translated(gp_Vec(20,0,0))), Handle (Geom_BSplineCurve)::DownCast(YLine1->Translated(gp_Vec(20,0,0))),Type); Handle (Geom_BSplineSurface) aBSplineSurface3 = aGeomFill3.Surface();

TopoDS_Face S = BRepBuilderAPI_MakeFace(); Handle(AIS_Shape) S1 = new AIS_Shape (S); myAISContext->Display(S1);

Can anybody give me an example with construction and display of surfaces (Geom_BSplineSurface) ?


Damir J.

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.