GeometryModelManipulator

class cee.geo.GeometryModelManipulator()

A GeometryModelManipulator works on a given geometry model to do different tasks.

Constructors


Constructors

constructor

cee.geo.GeometryModelManipulator.constructor(geoModel)

Creates a new GeometryModelManipulator with the given input geometry model

Arguments
Return type

cee.geo.GeometryModelManipulator

Methods

createCrossSectionModel

cee.geo.GeometryModelManipulator.createCrossSectionModel(plane)

Creates a cross section geometry model

Arguments
  • plane (cee.Plane) –

Return type

cee.geo.GeometryModel

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.