Skip to main content

Geometric Feature Ontology

CAD and Digital Model Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 26 November 2026
Audio Overview
FLOW "GeometricFeature" v1.0
AUTHORS: Mark Anthony Higgins — Sky Recursive AI
LICENCE: Open Research — attribution required
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/cad-and-digital-model-entities/geometric-feature-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/engineering-entities/cad-and-digital-model-entities/geometric-feature-ontology.html
LANGUAGE: en-GB
SOURCE_STATUS: Proposed specification; source ontology not independently verified.

PURPOSE
Represent identifiable geometric features in versioned CAD models. Distinguish geometric shape, topological occurrence, feature construction history, manufacturing intent and inspected physical geometry. A recognised cylindrical face alone does not establish a drilled hole.

STATE_MODEL
S_t = (I_t,R,B,K_t)
I_t: typed ground assertions; R: rules; B: fixed evidence and scope; K_t: derivation provenance.
E_t = expand(I_t,R)
V_t = {x in E_t : valid(x,B) and supported(x,I_t,B)}
N_t = V_t minus I_t
If N_t is empty terminate; otherwise select x_t = argmax score(x|I_t,R,B,K_t), breaking ties by canonical assertion ID.
I_(t+1) = I_t union {x_t}; K_(t+1) = K_t union derivation(x_t).

ENTITIES AND PATHWAYS
GeometricFeature --belongsTo--> CADModel : Owning model and exact revision
GeometricFeature --hasType--> FeatureType : Explicit or recognised classification
GeometricFeature --hasGeometry--> GeometricRepresentation : Evaluable shape
GeometricFeature --hasFace--> TopologicalFace : Bounded surface occurrence
GeometricFeature --hasEdge--> TopologicalEdge : Bounded curve occurrence
GeometricFeature --hasVertex--> TopologicalVertex : Topological point occurrence
GeometricFeature --hasSketch--> Sketch : Construction profile
GeometricFeature --hasParameter--> DesignParameter : Typed dimensional input
GeometricFeature --hasConstraint--> GeometricConstraint : Required relationship
GeometricFeature --hasFrame--> CoordinateSystem : Local reference frame
GeometricFeature --hasTransform--> CoordinateTransform : Placement relative to parent
GeometricFeature --hasOperation--> FeatureOperation : Extrude revolve sweep or other construction
GeometricFeature --hasDependency--> ModelDependency : Input to downstream feature
GeometricFeature --hasPattern--> FeaturePattern : Occurrence generation rule
GeometricFeature --hasTolerance--> GeometricTolerance : Specified acceptance limits
GeometricFeature --hasDatum--> DatumReference : Reference for geometric control
GeometricFeature --hasMaterial--> EngineeringMaterial : Applicable body material
GeometricFeature --hasIntent--> DesignIntent : Explicit engineering purpose
GeometricFeature --hasManufacturingPlan--> ManufacturingProcess : Authorised process reference
GeometricFeature --hasRecognition--> FeatureRecognitionRecord : Algorithm and candidate classification
GeometricFeature --hasRegeneration--> RegenerationRecord : Kernel version and execution outcome
GeometricFeature --hasRevision--> ModelRevision : Immutable feature context
GeometricFeature --belongsToBaseline--> ConfigurationBaseline : Approved configuration scope
GeometricFeature --addresses--> EngineeringRequirement : Explicit requirement link
GeometricFeature --hasInspection--> InspectionRecord : Measured physical evidence
GeometricFeature --hasVerification--> VerificationRecord : Conformity evidence
GeometricFeature --hasExchange--> ModelExchangeRecord : Translation provenance
GeometricFeature --hasEvidence--> EvidenceRecord : Source and applicability

INFERENCE_RULES
R01: Require persistent feature identity and exact owning model revision.
R02: Distinguish feature definition from each patterned occurrence.
R03: Resolve geometric references within the declared model and coordinate frame.
R04: Require units and quantity kinds for dimensional parameters.
R05: Reject negative radii and non-positive nominal hole diameters.
R06: Classify a hole only with sufficient geometry and topology evidence; distinguish blind and through holes.
R07: Do not infer machining method from shape alone.
R08: Classify a pocket only when its bounded recess and opening are supported.
R09: Distinguish a boss from a recess using oriented material-side evidence.
R10: Classify a slot using documented shape and extent; do not assume all slots are straight.
R11: Identify fillet geometry separately from the feature operation that created it.
R12: Identify chamfer geometry separately from its manufacturing method.
R13: Resolve datum references before evaluating geometric tolerances.
R14: Require compatible frames before comparing positions or orientations.
R15: Record construction dependencies from producer to consumer.
R16: Flag dependency cycles unless explicitly supported by a coupled solver.
R17: Propagate changed inputs to downstream feature candidates for review.
R18: Record regeneration failures without substituting stale geometry as current.
R19: Resolve topology references after regeneration; ambiguous matches require review.
R20: Require closed valid solid geometry before computing removed volume by Boolean difference.
R21: Do not infer solid volume from an open surface or wireframe.
R22: Record kernel tolerance and approximation method for geometric comparisons.
R23: Distinguish nominal CAD geometry from measured physical geometry.
R24: Require measurement uncertainty and an applicable decision rule for conformity claims.
R25: Do not treat a successful CAD regeneration as physical verification.
R26: Preserve suppressed feature history without treating it as active geometry.
R27: Check pattern occurrence counts against explicit suppression and configuration rules.
R28: Record exchange losses when native feature history is absent from translated geometry.
R29: Require explicit evidence for requirement satisfaction and approval.
R30: Flag conflicting classifications without silently overwriting source assertions.
R31: Recompute affected assertions when evidence or configuration changes.
R32: Preserve derivation provenance for every inferred relationship.

DOMAIN MODELS AND EQUATIONS
Feature identity: F = (model_id, revision_id, feature_id, occurrence_id).
Feature state: active | suppressed | failed | unknown; state is scoped to configuration.
Feature classes: hole, slot, pocket, boss, rib, groove, fillet, chamfer, pattern, other, unknown. Classification may be multi-label where supported.
Rigid placement: p_world = R p_local + t; R^T R = I, det(R)=1.
Distance: d(p,q)=||p-q||_2 in a common frame.
Cylinder: ||(p-a) - ((p-a) dot n)n|| = r, ||n||=1; diameter D=2r.
Ideal cylindrical bore volume: V=pi*r^2*h, only for a complete constant-radius cylinder of depth h; excludes tip and intersection effects.
Ideal straight capsule slot area: A=2*r*L+pi*r^2, L is distance between semicircle centres.
Boolean removal: V_removed=vol(A)-vol(A\B), for valid measurable solids and consistent units.
Chamfer: for a planar right-angle section with setbacks a,b>0, angle to the a direction = atan2(b,a).
Circular fillet curvature: k=1/r for the circular section only.
Constraint system: g(q)=0, h(q)<=0; local equality degrees of freedom = n-rank(J_g) at regular points; active inequalities may restrict feasible motion further.
Sensitivity: delta y approximately J delta q; covariance Sigma_y approximately J Sigma_q J^T for a valid local linearisation.
Geometric deviation: d_H(A,B)=max(sup_a inf_b ||a-b||, sup_b inf_a ||b-a||) for nonempty compact sets in a common frame. Sampling estimates require error bounds.
Size limits: L=N+t_lower; U=N+t_upper. Example conservative acceptance rule: measured interval [m-u,m+u] contained in [L,U]. Use only if authorised; overlap is inconclusive under this rule.
Impact set: reachable descendants of changed feature nodes in producer-to-consumer graph, including changed nodes. Reachability indicates potential impact, not proven failure.
Coverage: verified applicable requirements / total applicable requirements; undefined if denominator zero. Count distinct requirement IDs, report unknowns separately.

CONFIDENCE AND SEMANTIC EQUIVALENCE
Evidence score in [0,1] is a ranking heuristic, not calibrated probability. Prefer exact revision, explicit feature history, validated geometry and authoritative records. Never use score alone to approve a design.
Identity equivalence requires matching scoped IDs or an authoritative alias. Shape equivalence requires a declared metric, tolerance, frame and scope. Equal shape does not imply equal design intent, topology, process or identity.

VALIDATION AND FAILURE MODES
Check units, finite coordinates, frame transforms, positive dimensions, topology reference integrity, kernel validity, dependency cycles, revision applicability and evidence completeness. Quarantine unresolved references, contradictory classifications, failed regeneration, missing tolerances and unverified exchange losses. Use unknown rather than inventing values. A feature recognition result is a candidate until supported.

MINI RECURSION ENGINE (pseudocode)
load fixed evidence snapshot B; validate typed seeds I
repeat:
  candidates = expand(I,R) filtered by validity and support
  new = candidates minus I
  if new empty: return I, provenance, unresolved issues
  choose highest ranked candidate with canonical ID tie-break
  insert candidate and its derivation
No rule may invent unbounded identifiers or continuously generate new numeric assertions. Numeric computations must be grounded in finite declared input records.

TRI-MAPPING
Physical: inspected component feature, measured geometry, manufacturing record.
Digital: CAD feature, face/edge/vertex, parameter, operation, revision.
Semantic: GeometricFeature, hasGeometry, hasParameter, hasInspection, addresses.
Mapping is many-to-many and revision-scoped; physical correspondence requires explicit evidence.

RECURSIVE UPDATE MODEL
On parameter, geometry, revision or evidence change, create a new snapshot. Invalidate dependent derivations and recompute from surviving valid seeds. Preserve historical records and compare snapshots. Never mutate approved baselines silently.

CONDITIONAL EXECUTION GUARANTEE
For a finite ground assertion universe, fixed evidence, terminating rule evaluation and monotonic insertion, each successful iteration adds a new assertion and termination occurs after at most the number of initially absent assertions. This is not a guarantee of geometric solver convergence, factual correctness or engineering safety.

AI SEARCH FLOW
Resolve query intent (feature identity, geometry, dimensions, manufacturing, verification or revision). Retrieve exact model and feature scope. Traverse typed relationships to parameters, topology, dependencies, requirements and evidence. Rank authoritative applicable records above inferred candidates. Return provenance, units, revision, confidence limitations and unresolved conflicts. Do not substitute similar geometry for confirmed identity.

EXAMPLE
A CAD feature H1 in revision R2 has a cylindrical bore with nominal diameter 10 mm and depth 20 mm. If the bore is a complete ideal cylinder, volume = 500*pi mm^3. A measured diameter of 10.02 mm does not establish conformity without applicable tolerance, uncertainty and decision rule. A changed H1 triggers review of dependent pattern and mating features. This is illustrative, not source data.

SOURCE AND IMPLEMENTATION NOTES
The source URL is the canonical backlink supplied by the requester. This is an original proposed Flow Algebra specification, not a verified transcription of the ontology. Runtime execution and engineering validation have not been performed.

FLOW_HASH
SHA-256: 63be9d4cd7c9fc8a4f07d5b771e2855fbb00d8138db992ca6c7c121a64a6ee15
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ