if(aProfileWire.IsNull())
return;
- //BRepTools::Write( aPathWire, "guideline.brep" );
- //BRepTools::Write( aProfileWire, "profile.brep" );
+ BRepTools::Write( aPathWire, "guideline.brep" );
+ BRepTools::Write( aProfileWire, "profile.brep" );
HYDROData_Canal3dAnd2d aChannelConstructor( aProfileWire, aPathWire );
aChannelConstructor.Create3dPresentation();
SetShape3D( aChannelConstructor.Get3dPresentation() );
SetTopShape( aChannelConstructor.Get2dPresentation() );
- //BRepTools::Write( aPathWire, "guideline.brep" );
- //BRepTools::Write( aProfileWire, "profile.brep" );
- //BRepTools::Write( aChannelConstructor.Get2dPresentation(), "channel2d.brep" );
- //BRepTools::Write( aChannelConstructor.Get3dPresentation(), "channel3d.brep" );
+ BRepTools::Write( aChannelConstructor.Get2dPresentation(), "channel2d.brep" );
+ BRepTools::Write( aChannelConstructor.Get3dPresentation(), "channel3d.brep" );
+
+ TopAbs_ShapeEnum aType = GetTopShape().ShapeType();
// Create groups for channel
TopoDS_Wire aLeftBank = aChannelConstructor.GetLeftBank();