theFeature.mapOfShapes(*aSubShapes);
//Insert lateral face : Face from Edge
- theResultBody->loadAndOrientGeneratedShapes(theFeature.makeShape(), theFeature.shape(), EDGE,_LATERAL_TAG, *aSubShapes);
+ theResultBody->loadAndOrientGeneratedShapes(theFeature.makeShape(), theBasis, EDGE,_LATERAL_TAG, *aSubShapes);
//Insert bottom face
boost::shared_ptr<GeomAPI_Shape> aBottomFace = theFeature.firstShape();