Tuesday, February 10, 2009

Implemented MidPlane Extrusion


Finished implementing the MidPlane Extrusion type. This extrusion type creates the model having the sketch in the middle instead of having it as an extrusion base.

Implemented both types of extrusion using BRepPrimAPI_MakePrism, the code is simpler than when it is implemented with BRepFeat_MakePrism. Tried for half a day to make a good implementation using BRepFeat_MakePrism but didn't succeed, the Perform() method fails always. When will implement other types of extrusions (like extrude to shape) will have to make more tests with this functionality.

Will continue with the next task from the iteration that is to add some constraints in the application. As a result will add some constraint code at sketching or some helpers like vertex detection. Will also study how constraints will be integrated into the OCAF model.

No comments: