Skip to main content

Toolpath Entity Ontology

Additive Manufacturing Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 24 November 2026
Audio Overview
FLOW ALGEBRA — TOOLPATH ENTITY ONTOLOGY
Version: 1.0
Date: 24 November 2026
Authors: Mark Anthony Higgins; Sky — Recursive AI
SOURCE / CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/additive-manufacturing-entities/toolpath-entity-ontology.html
Licence: Open research; attribution and citation required.
Provenance: Published title, category and authors verified. Embedded ontology code not exposed in retrieved page text; proposed companion formalisation.

PURPOSE
Represent planned tool motion, associated process commands, spatial and temporal constraints, execution evidence and traceability in additive manufacturing. Separate nominal path, controller instructions, actual motion and resulting material geometry.

STATE_MODEL
S = (I,R,B,K)
I = typed entities, observations, evidence and current states
R = semantic relationships and inference rules
B = geometric, kinematic, collision, process and qualification boundaries
K = versioned build plans, machine configurations, units, coordinate frames and provenance

ENTITIES
Toolpath: ordered spatial trajectory associated with a manufacturing tool or controlled processing point.
PlannedToolpath: versioned intended trajectory.
ExecutedTrajectory: observed or reconstructed trajectory of a physical tool during an execution event.
PathSegment: scoped portion of a path with defined geometry and ordering.
Waypoint: specified point or pose; may not lie on an interpolated actual path.
ToolPose: position and orientation in a declared coordinate frame.
CoordinateFrame: reference system defining coordinates.
FrameTransform: validated mapping between coordinate frames.
Tool: physical or optical processing element.
ToolCentrePoint: reference point associated with tool geometry and calibration.
MotionCommand: instruction interpreted by a compatible controller.
ProcessCommand: instruction controlling material or energy delivery or other process state.
DepositionSegment: intended material delivery along a path segment.
TravelSegment: intended motion without material delivery.
ScanSegment: intended controlled energy or sensing trajectory.
BuildPlan: versioned description of manufacturing operations.
BuildInstance: particular execution of a manufacturing plan.
PrintLayer: identified manufacturing increment; paths may span multiple increments.
MachineConfiguration: versioned kinematic and geometric machine description.
BuildVolume: admissible manufacturing region under declared configuration.
Obstacle: geometry excluded from tool or machine swept volume.
ParameterSet: scoped motion and process settings with units.
ExecutionEvent: recorded attempt to execute instructions.
TrajectoryObservation: time-stamped measurement or reconstruction with uncertainty.
MaterialAllocation: traceable assignment of feedstock to an operation.
AcceptanceRequirement: scoped criterion with revision and evaluation method.
Deviation: difference between intended and measured behaviour in a declared comparison model.

RELATIONS
PlannedToolpath IS_A Toolpath
ExecutedTrajectory IS_A Toolpath
Toolpath HAS_SEGMENT PathSegment
PathSegment MAY_REFERENCE Waypoint
PathSegment HAS_POSE ToolPose
ToolPose EXPRESSED_IN CoordinateFrame
FrameTransform MAPS CoordinateFrame TO CoordinateFrame
Tool HAS_REFERENCE ToolCentrePoint
BuildPlan SPECIFIES PlannedToolpath
PlannedToolpath MAY_ASSOCIATE_WITH PrintLayer
MotionCommand IMPLEMENTS PathSegment (when verified)
ProcessCommand GOVERNS PathSegment (when scoped)
PathSegment HAS_PARAMETERS ParameterSet
ExecutionEvent PART_OF BuildInstance
ExecutionEvent ATTEMPTS PlannedToolpath
ExecutedTrajectory OBSERVED_DURING ExecutionEvent
TrajectoryObservation OBSERVES ExecutedTrajectory
MachineConfiguration CONSTRAINS PlannedToolpath
BuildVolume CONSTRAINS admissible material regions
Obstacle CONSTRAINS swept geometry
MaterialAllocation ASSIGNS feedstock TO ExecutionEvent
Deviation COMPARES compatible planned and observed geometry
AcceptanceRequirement APPLIES_TO declared scope

PROCESS_SCOPE
Material extrusion: deposition and travel trajectories may be distinct.
Directed energy deposition: coordinated motion, feed and energy commands may follow non-planar paths.
Powder bed fusion: beam scan vectors may constitute toolpaths, distinct from recoater motion.
Binder jetting and material jetting: scanning and droplet placement may use raster or other trajectories.
Vat photopolymerisation: scanned exposure may use a path; full-field exposure need not have a deposition toolpath.
Sheet lamination: cutting, bonding or placement paths may be represented independently.
Do not assume all additive manufacturing requires a moving deposition nozzle or discrete planar layers.

FORMAL_MODEL
Planned identity = (plan_id, revision, path_id).
Segment identity = (path_identity, segment_id).
Execution identity = (build_id, event_id); repeated attempts remain distinct.
For a rectifiable spatial curve r(u), u in [a,b]: L = integral(norm(dr/du), a..b).
For a verified piecewise-linear path in a common Cartesian frame: L = sum(norm(p_(i+1)-p_i)).
For constant positive path speed v over distance L: t_motion = L/v. This excludes dwell and acceleration unless represented.
For variable positive speed v(s): t_motion = integral(1/v(s), 0..L).
For a validated volumetric delivery model: V_commanded = integral(Q(t), t_start..t_end). Commanded material volume is not measured deposited volume.
For a rigid frame transformation: p_B = R_BA*p_A + t_BA, with R_BA a proper orthogonal rotation. Validate units, direction and revision before applying.
SweptVolume = union over t of transformed tool and relevant moving-body geometries. Centreline containment alone does not imply collision clearance.
Geometric clearance requires validated swept geometry and obstacle geometry with applicable uncertainty margins.
For paired observations in a common frame and valid correspondence: d_i = norm(p_observed_i-p_planned_i). Nearest-point distance alone does not establish temporal tracking accuracy.
Measured scalar interval = [m-u,m+u] for declared uncertainty bound u. Under the interval policy, containment within allowed bounds supports pass, disjointness supports fail, partial overlap remains unresolved.

INFERENCE_RULES
R01: PlannedToolpath(p) -> Toolpath(p)
R02: ExecutedTrajectory(p) -> Toolpath(p)
R03: verifiedPlanAssignment(b,p) -> Specifies(b,p)
R04: verifiedSegmentAssignment(p,s) -> HasSegment(p,s)
R05: verifiedSegmentOrder(p,a,b) -> Precedes(a,b,p)
R06: Precedes(a,b,p) AND Precedes(b,c,p) -> Precedes(a,c,p)
R07: verifiedPose(s,q,f) -> PoseInFrame(s,q,f)
R08: validatedTransform(f,g,T) AND PoseInFrame(s,q,f) -> TransformedPose(s,apply(T,q),g)
R09: verifiedLinearGeometry(s,a,b) AND commonCartesianFrame(a,b) -> SegmentLength(s,norm(b-a))
R10: verifiedCompletePolyline(p) -> PathLength(p,sumSegmentLengths(p))
R11: verifiedRectifiableCurve(p) -> PathLength(p,arcLength(p))
R12: verifiedConstantSpeed(s,v) AND SegmentLength(s,L) AND v>0 -> NominalMotionTime(s,L/v)
R13: verifiedFlowSchedule(s,Q) -> CommandedVolume(s,integralFlow(Q))
R14: verifiedDeliveryIntent(s) -> DepositionSegment(s)
R15: verifiedNonDeliveryTravelIntent(s) -> TravelSegment(s)
R16: verifiedScanIntent(s) -> ScanSegment(s)
R17: verifiedCommandMapping(c,s) -> Implements(c,s)
R18: verifiedProcessCommand(c,s) -> Governs(c,s)
R19: verifiedLayerAssociation(p,l) -> AssociatedWith(p,l)
R20: verifiedExecutionAttempt(e,p,b) -> Attempts(e,p,b)
R21: verifiedTrajectoryObservation(o,e,q) -> TrajectoryEvidence(q,e,o)
R22: verifiedParameterAssignment(s,k) -> ParameterEvidence(s,k)
R23: validatedSweptGeometry(p,c,g) -> SweptGeometry(p,c,g)
R24: SweptGeometry(p,c,g) AND verifiedObstacleIntersection(g,o) -> CollisionCandidate(p,o,c)
R25: applicableRequirement(r,o) AND validObservation(o) AND intervalContained(o,r) -> PassEvidence(o,r)
R26: applicableRequirement(r,o) AND validObservation(o) AND intervalDisjoint(o,r) -> FailEvidence(o,r)
R27: applicableRequirement(r,o) AND boundaryOverlap(o,r) -> UnresolvedEvidence(o,r)
R28: conflictingApplicableEvidence(p,r) -> Conflict(p,r)
R29: missingCriticalEvidence(p,r) -> HoldCandidate(p,r)
R30: verifiedMaterialAllocation(e,m) -> MaterialOriginEvidence(e,m)
R31: verifiedCorrespondence(p,q,o) -> DeviationEvidence(p,q,o)
R32: verifiedAuthorisedDisposition(d,p,r) -> RecordedDisposition(p,r,d)

BOUNDARIES
B01: A digital path does not prove physical execution or deposited geometry.
B02: A successful controller acknowledgement is not metrological evidence.
B03: Path identifiers are scoped to plan revision; execution identifiers are independently scoped.
B04: Compare positions only with compatible frames, units and tool reference definitions.
B05: Linear waypoint distance underestimates curved travel unless interpolation is linear.
B06: Orientation, acceleration, jerk and machine kinematics may constrain feasible motion.
B07: Centreline clearance does not prove clearance for the entire machine or tool assembly.
B08: Nominal feed rate is not necessarily realised tool speed or material flow.
B09: Deposition and travel labels express intent, not evidence that material was or was not delivered.
B10: Missing trajectory measurements cannot establish conformity.
B11: Path conformance does not establish whole-part acceptance.
B12: No universal speed, clearance or process threshold is implied; use validated configuration-specific limits.
B13: Motion commands are not portable across arbitrary controllers; preserve dialect, units and modal state.
B14: Inference output is advisory and does not authorise physical machine movement.

MINI_RECURSION_ENGINE
E_t = expand(I_t,R)
V_t = {x in E_t : typed(x) AND provenanceValid(x) AND boundaryValid(x,B,K)}
I_(t+1) = I_t union V_t
Operate on fixed evidence snapshots with versioned rules. Preserve positive and negative evidence separately and derive requirement states after closure. Restrict grounding to finite declared entities and canonical computed attributes; avoid recursively creating new transform or path terms. Stop at fixed point I_(t+1)=I_t, or return PARTIAL with unresolved dependencies when resource bounds are reached.
Candidate selection: argmax P(x|I,R,B,K) only if a calibrated probability model exists; otherwise use explicit evidence ordering and deterministic tie handling. Hard constraints cannot be overridden by ranking. Unknown frame transforms, machine configuration or acceptance limits block dependent conformity conclusions.

CONFIDENCE_MODEL
VERIFIED: direct applicable evidence with checked provenance.
DERIVED: valid conclusion with recorded rule and dependency graph.
CANDIDATE: plausible association awaiting confirmation.
UNKNOWN: insufficient or stale evidence.
CONFLICT: incompatible applicable evidence requiring resolution.
Confidence is not conformity; verified nonconformity remains nonconformity. Do not invent probabilities.

EXECUTION_GUARANTEE
Finite grounding, deterministic rule evaluation and fixed evidence snapshots support reproducible closure. Each inferred assertion retains rule identifier, evidence dependencies and scope. The notation specifies inference semantics rather than a standalone executable implementation. No guarantee of controller compatibility, collision-free operation, physical accuracy, machine safety or final product approval is implied.

VALIDATION_CASES
T01: Linear points (0,0,0), (3,4,0), (3,4,12) in mm -> path length 17 mm.
T02: 20 mm linear segment at constant 5 mm/s -> nominal motion time 4 s, excluding dwell.
T03: Curve represented only by endpoints -> exact arc length UNKNOWN.
T04: Same path ID in two plan revisions -> distinct planned identities.
T05: Controller acknowledgement with no measured trajectory -> actual tracking UNKNOWN.
T06: Centreline inside build volume but tool body intersects fixture -> collision candidate; no clearance inference.
T07: Commanded delivery of 2 mm^3/s for 3 s -> commanded 6 mm^3, not verified deposited volume.
T08: Deviation 0.10 +/- 0.03 mm against allowed [0,0.12] mm -> unresolved under interval policy.
T09: Unknown frame transformation -> comparison blocked.
T10: Full-field exposure without a moving processing point -> no mandatory toolpath inference.
T11: Repeated execution of same path -> separate execution event identities.
T12: Repeated fixed evidence snapshot -> identical closure under declared deterministic semantics.

SEMANTIC_EQUIVALENCE
Toolpath, tool path and processing trajectory may refer to Toolpath when referent and scope agree. Motion command, G-code program, digital slice, scan pattern, actual trajectory and deposited track are not automatically equivalent. Distinguish planned from realised motion and optical processing points from physical tool geometry.

UPDATE_MODEL
Append timestamped execution and observation events. Version plans, interpolation models, controller dialects, coordinate frames, tool offsets, machine configurations and acceptance requirements. Recompute affected conclusions following evidence withdrawal or configuration correction. Preserve historical evaluations and provenance.

CITATION
Higgins, Mark Anthony; Sky — Recursive AI. Toolpath Entity Ontology, Kireth Research, Semantic Library, Additive Manufacturing Entities. Companion Flow Algebra v1.0, 24 November 2026.

FLOW_HASH
SHA-256 (UTF-8 bytes preceding this section): 976190ddf06032b3d098a3519aeb3436e8ae788a2825525f8d10c5f41b9d0361
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ