Click or drag to resize
AB4D logo

Slicer Properties

The Slicer type exposes the following members.

Properties
 NameDescription
Public propertyCloseSlicedMeshes Gets or sets a Boolean that specifies if the sliced meshes are closed so that the inner triangles are not visible. Default value is false.
Public propertyCollectIntersectionPoints Gets or sets a Boolean that specified is this Slicer class collects the intersection positions between the 3D model and 3D plane. By default, this value is set to true. This allows calling GetIntersectionPoints(MeshGeometry3D, Boolean), GetProjectedIntersectionPoints(MeshGeometry3D, Boolean, Rect), GetProjectedIntersectionPoints(MeshGeometry3D, Boolean), GetProjectedIntersectionPolylines(MeshGeometry3D, Boolean), GetProjectedIntersectionPolylines(MeshGeometry3D, Boolean, Rect), GetClosedSliceMesh(MeshGeometry3D, Boolean). If those methods are not called, then this property can be set to false to prevent saving intersection positions.
Public propertyFixPolylineOrientation Gets or sets a Boolean that specifies if polygon orientation is fixed so that the outer polygons are defined in clock-wise direction and inner polygons are defined in counter-clockwise direction. This is required to correctly triangulate shapes with holes.
Public propertyHasBrokenIntersectionPolylines Gets a Boolean that is set to true after calling any Slice method when the intersected mesh cannot form a closed polygon and close the mesh.
Public propertyPlane Plane that is used to slice the 3D models.
Public propertyPlaneUpVector PlaneUpVector is a Vector3D that defines the y-axis direction of the plane. This value is automatically calculated from the Plane's normal, but can be set by the user to provide a custom direction.
Public propertyPlaneWidthVector PlaneWidthVector is a Vector3D that defines the x-axis direction of the plane. This value is automatically calculated from the Plane's normal, but can be set by the user to provide a custom direction.
Top
See Also