Struct GeomStepAnswer
Internal Use Only. What one machining_geom_step__run call answers (Run(CubeTree, CbtrPickable, GeomBoolCache, ref GeomStepRequest, double[], double[], double[], out GeomStepAnswer)):
the mirror of mechmachiningmachining_geom_step_out_t (128 bytes). Every field is written on
every call; the flags say which values are valid, the rest are zero. On status 1 the whole answer is
zero. Field for field machining_geom_step_t.h.
public struct GeomStepAnswer
- Inherited Members
- Extension Methods
Fields
attached
The attachment was set on the nodes the cut left without one and its node map shrunk (attachment not 0); 1 / 0.
public int attached
Field Value
bbox_max
The transformed contours' bounding box, max; the reversed pole box (-inf) when there are none. Valid when has_products.
public vec3d_t bbox_max
Field Value
bbox_min
The transformed contours' bounding box, min; the reversed pole box (+inf) when there are none. Valid when has_products.
public vec3d_t bbox_min
Field Value
contact_contours_area
The contact contours' area (UnmanagedSubstraction.ContactContoursArea), valid when has_substraction.
public double contact_contours_area
Field Value
contour_bytes
The size of the kind-2 bytes (the contour buffer); 0 unless the cut answered untouched with contours.
public int contour_bytes
Field Value
contour_count
The number of contact contours.
public int contour_count
Field Value
engagement
The native engagement as an integer, borrowed from the products and valid until their delete; 0 when none.
public long engagement
Field Value
engagement_bytes
The size of the kind-1 bytes (the LayerMillingEngagement.WriteBin layout); 0 without an engagement.
public int engagement_bytes
Field Value
has_engagement
engagement is not 0; 1 / 0.
public int has_engagement
Field Value
has_products
The bbox, the width and the MRR are valid (build_products on a subtraction); 1 / 0.
public int has_products
Field Value
has_substraction
A subtraction was made (modes 1 and 2); 1 / 0.
public int has_substraction
Field Value
is_touched
The cutter touched the workpiece (UnmanagedSubstraction.IsTouched); 1 / 0.
public int is_touched
Field Value
mrr_mm3ds
The MRR in mm³/s (0 when untouched, NaN for a NaN feed), valid when has_products.
public double mrr_mm3ds
Field Value
plural_cutting_width_mm
The plural cutting width in mm, valid when has_products.
public double plural_cutting_width_mm
Field Value
point_count
The sum of the contours' point counts.
public int point_count
Field Value
products
The native products handle as an integer, owned by the shell (GeomStepProducts); 0 when there is nothing to fetch (mode 0, or status 1).
public long products
Field Value
substraction_bytes
The size of the kind-0 bytes (the Substraction.WriteBin layout).
public int substraction_bytes