GeometryModelManipulator
- class cee.geo.GeometryModelManipulator()
A GeometryModelManipulator works on a given geometry model to do different tasks.
Constructors
Methods
Constructors
- GeometryModelManipulator.constructor(geoModel)
- Arguments:
geoModel (
GeometryModel
) – None
Creates a new GeometryModelManipulator with the given input geometry model
- Return type:
GeometryModelManipulator
Methods
createCrossSectionModel
- GeometryModelManipulator.createCrossSectionModel(plane)
- Arguments:
plane (
Plane
) – None
Creates a cross section geometry model
Creates a new geometry model where the given plane intersects with the given input geometry model. Intersected triangles will be represented as lines. Part attributes will be preserved, where possible. The customData attribute in the new part is set to the index of the original part. Also includes invisible parts, if any.
Returns a geometry model with the visible and invisible intersected parts.
- Return type:
GeometryModel