Table of Contents

Struct GeomStepAnswer

Namespace
Hi.Machining
Assembly
HiCbtr.dll

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

int

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

vec3d_t

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

vec3d_t

contact_contours_area

The contact contours' area (UnmanagedSubstraction.ContactContoursArea), valid when has_substraction.

public double contact_contours_area

Field Value

double

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

int

contour_count

The number of contact contours.

public int contour_count

Field Value

int

engagement

The native engagement as an integer, borrowed from the products and valid until their delete; 0 when none.

public long engagement

Field Value

long

engagement_bytes

The size of the kind-1 bytes (the LayerMillingEngagement.WriteBin layout); 0 without an engagement.

public int engagement_bytes

Field Value

int

has_engagement

engagement is not 0; 1 / 0.

public int has_engagement

Field Value

int

has_products

The bbox, the width and the MRR are valid (build_products on a subtraction); 1 / 0.

public int has_products

Field Value

int

has_substraction

A subtraction was made (modes 1 and 2); 1 / 0.

public int has_substraction

Field Value

int

is_touched

The cutter touched the workpiece (UnmanagedSubstraction.IsTouched); 1 / 0.

public int is_touched

Field Value

int

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

double

plural_cutting_width_mm

The plural cutting width in mm, valid when has_products.

public double plural_cutting_width_mm

Field Value

double

point_count

The sum of the contours' point counts.

public int point_count

Field Value

int

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

long

substraction_bytes

The size of the kind-0 bytes (the Substraction.WriteBin layout).

public int substraction_bytes

Field Value

int