Class MeshedGeomBuildReport
- Namespace
- Hi.NcMech.Workpieces
- Assembly
- HiMech.dll
What the standing meshed geometry was made of, published by WorkpieceService beside the tree (BuiltMeshedGeomReport) and retired with it: the width it was built at, the reference size it records, whether it was read from a file, and – for a stock built from a shape – one row per body with the defect nodes of each, the base first in build order. A stock built from one body is one row; a stock built from several is the largest body built as the tree and every other body united into it by the cube-tree union, each body voxelized on its own, so bodies that overlap are a union and not a defect.
public sealed record MeshedGeomBuildReport : IEquatable<MeshedGeomBuildReport>
- Inheritance
-
MeshedGeomBuildReport
- Implements
- Inherited Members
- Extension Methods
Constructors
MeshedGeomBuildReport(double, double, bool, IReadOnlyList<MeshedGeomBodyReport>, int)
What the standing meshed geometry was made of, published by WorkpieceService beside the tree (BuiltMeshedGeomReport) and retired with it: the width it was built at, the reference size it records, whether it was read from a file, and – for a stock built from a shape – one row per body with the defect nodes of each, the base first in build order. A stock built from one body is one row; a stock built from several is the largest body built as the tree and every other body united into it by the cube-tree union, each body voxelized on its own, so bodies that overlap are a union and not a defect.
public MeshedGeomBuildReport(double Resolution_mm, double ReferenceSize_mm, bool FromFile, IReadOnlyList<MeshedGeomBodyReport> Bodies, int DefectNodes)
Parameters
Resolution_mmdoubleThe tree's built cube width, in mm (the licence's cap may have made it coarser than the workpiece's initial resolution).
ReferenceSize_mmdoubleThe reference size the licence's cap was judged against, in mm: the longest side of the whole geometry the stock was built from (for a union of bodies the whole's, which the base was built to the licensed width of, while the tree itself records the base body's side); the trailer's for a file; 0 when unknown.
FromFileboolTrue for a tree read from a meshed-geometry file; its bodies are then none.
BodiesIReadOnlyList<MeshedGeomBodyReport>The bodies in build order, the base first; empty for a file.
DefectNodesintThe construction defect nodes of the whole build: the sum over the bodies.
Properties
Bodies
The bodies in build order, the base first; empty for a file.
public IReadOnlyList<MeshedGeomBodyReport> Bodies { get; init; }
Property Value
DefectNodes
The construction defect nodes of the whole build: the sum over the bodies.
public int DefectNodes { get; init; }
Property Value
FromFile
True for a tree read from a meshed-geometry file; its bodies are then none.
public bool FromFile { get; init; }
Property Value
ReferenceSize_mm
The reference size the licence's cap was judged against, in mm: the longest side of the whole geometry the stock was built from (for a union of bodies the whole's, which the base was built to the licensed width of, while the tree itself records the base body's side); the trailer's for a file; 0 when unknown.
public double ReferenceSize_mm { get; init; }
Property Value
Resolution_mm
The tree's built cube width, in mm (the licence's cap may have made it coarser than the workpiece's initial resolution).
public double Resolution_mm { get; init; }