Interface IGenStlBodies
A geometry that stands for several closed bodies, each voxelized on its own where one mesh would not
do: a GeomCombination whose items overlap concatenates their triangles into one mesh
(GenStl(IPolarResolution2d)) that is not closed where they overlap, so the stock build unites the
bodies one by one instead (WorkpieceService.GetOrBuildMeshedGeom) and asks for them here. A
nested combination, and a combination under a TransformationGeom, flatten through this interface,
so the bodies answered are always leaves.
public interface IGenStlBodies
- Extension Methods
Methods
GenStlBodies(IPolarResolution2d)
The closed bodies this geometry stands for, in the order the geometry lists them, each with a fresh or
cached mesh at resolution (null: every source's own default resolution, as
GetStl() answers). An item without a mesh contributes nothing. Not cached here: the
leaves cache their own meshes.
IEnumerable<StlBody> GenStlBodies(IPolarResolution2d resolution)
Parameters
resolutionIPolarResolution2dPolar resolution for the meshes that are generated; null for the defaults.
Returns
- IEnumerable<StlBody>
The bodies; empty for a geometry without any.