plasticity_plan_cohesive_layer_planes
Plan ordered cohesive split planes and interface offsets from a slicer profile hash, layer height, build direction and first interface anchor for interface delamination analysis.
Instructions
Generate ordered cohesive split planes from the selected exact slicer profile hash, its layer height, the caller-supplied first interlayer plane anchor in current CAD millimeters, and a confirmed global print build direction. The profile hash, layer height, layer count, build direction and anchor are caller-supplied; this helper does not fetch or authenticate a Workbench job, read CAD placement, or prove the anchor lies on the Solid. For a completed Workbench slice, call workbench_slicer_interface_heights with every selected interfaceLayerIndex; copy each returned relativeOffsetMm into interfaceOffsetsMm in the same order. You may also pass the complete selected response metadata and interfaces as depositionPathEvidence; the planner checks job/profile/G-code hashes, selected layers, layer count and relative offsets, then preserves each road-direction summary in the analysis record as provenance. To receive candidate material frames for every deposited layer, call workbench_slicer_layer_path_orientations in batches of up to 32 and combine the selected results, including the final layer, as layerPathEvidence with matching job/profile/source/G-code hashes. For solver-mapped frames, retrieve complete coverage evidence (linear moves and XY G2/G3 circular arcs using I/J offsets or signed R radius; up to 256 layers), provide user-confirmed pathFrameMapping.slicerXDirectionGlobal, and explicitly confirm with roadAxisMapping that the exact-process coupon axis 1 represents the dominant deposited-road direction. P multi-turn arcs, malformed or mixed I/J-and-R arcs, non-XY arc planes, absolute I/J center mode, and G5/G5.1 splines or G5.2/G5.3 NURBS blocks remain partial and cannot qualify this solver mapping. The cohesive analysis additionally requires useOrthotropicBulkProperties and the measured single-material tensor. It then applies that one shared tensor with a per-layer local frame in both Mode-I and Turon; it does not create multiple materials or layer-varying property values. Without roadAxisMapping, returned frames remain candidates and do not affect solver input. The same measured, direction-independent cohesive law is repeated at each interface; individual roads, within-layer raster mixtures and direction-dependent adhesion are not modeled. Interface and per-layer evidence, when both supplied, must refer to the same job and artifacts. These relative offsets are in the slicer's build frame; map only their distances onto the confirmed CAD build axis, and do not assume that absolute slicer coordinates equal CAD coordinates. Before cohesive analysis, record both the immutable Workbench profile hash and its layerHeightMm in the measured interface-test process; the analysis rejects absent or mismatched layer heights. Exact plane intersections are checked only when meshing succeeds. A complete stack up to 255 interfaces is fully analyzed; larger stacks may select up to 255 explicitly chosen interfaces and are marked incomplete. Omitted interfaces are not analyzed and no full-stack delamination conclusion is valid. Pass the returned plan as layerPlanePlan and the returned planes as splitPlanes to plasticity_analyze_cohesive_interface; that tool checks the profile hash and layer height against the measured test record and, for orthotropic bulk, checks the direction against the exact coupon frame.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerHeightMm | Yes | ||
| roadAxisMapping | No | ||
| totalLayerCount | Yes | ||
| pathFrameMapping | No | ||
| layerPathEvidence | No | ||
| interfaceOffsetsMm | No | ||
| processProfileHash | Yes | ||
| buildDirectionGlobal | Yes | ||
| firstInterfacePointMm | Yes | ||
| interfaceLayerIndices | Yes | ||
| depositionPathEvidence | No |