ODA Facet Modeler works with faceted B-Rep bodies and 2D contours. You can experiment with many Facet Modeler features easily using the example application available to all ODA members, including trial members.
The ExFMBody example module demonstrates many Facet Modeler features using commands to create and perform operations on Facet Modeler bodies. Facet Modeler bodies are encapsulated in OdDb custom entities, so they can be added to OdDbDatabase, saved to a .dwg file, and so on.
To run Facet Modeler example commands, you need to load the ExFMBody example module in the OdaMfcApp application.
- Launch the OdaMfcApp example application.
- Choose Tools -> Load Applications.
- Click Load, and select the ExFMBody.tx module.
Then it will appear in the list:
Now you can run the example commands:
Running the Boolean Demonstration
Run the FMBooleanDemo command to see Boolean operations on bodies. The initial body is created as the command starts.
To see it, click Zoom Extents. If desired, switch to Shaded render mode to see solid faces, not just the wireframe. And you can rotate the body with the Orbit tool during the demo to see how the model looks from different sides.
At the first step you see an initial blue cylinder:
Press the Enter key to see the next steps. You see the construction of the model:
You can continue exploring the sample commands on your own, or wait for the next article in this series that will show how to use the sample commands to create bodies and perform Boolean operations.