Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

1.4 KB
Raw Blame
// fixture-id: inline-step-v2-hole-diameter-pmi-on-canonical-face-emits-in-step
// case: inline-step-v2-hole-diameter-pmi-on-canonical-face-emits-in-step
// category: InlineStep
// syntax-version: FirmamentV2
// validity: valid
// implementation: parser-backed
// expected: valid
// tier: inline-step
// expected-stage: step-verified
// current-stage: step-verified
// feature-area: inline-step-semantic-pmi
// build-command: aetheris build
// roundtrip-required: true
// expected-volume: 461.15044407846124
// expected-topology: advanced_face>0, vertex_point>0
// canonical-input-required: true
// semantic-pmi-required: true
// graphical-pmi-required: false
// input-step: ../../../../testdata/firmament/inline-step/canonical-through-hole.step
// semantic-pmi-evidence: SHAPE_DIMENSION_REPRESENTATION('diameter:importedPart.holeDiameter'), PROPERTY_DEFINITION('diameter:importedPart.holeDiameter')
// notes: INLINE-STEP-X2 attaches semantic diameter PMI to canonical imported cylindrical face #191; cylindrical face type checking is deferred to stronger topology typing.
model InlineStepHoleDiameterPmiOnCanonicalFace {
    units mm

    solid importedPart: InlineStep {
        path: "../../../../testdata/firmament/inline-step/canonical-through-hole.step"
    }

    pmi {
        diameter holeDiameter {
            target: importedPart.face("#191")
            value: 2mm
        }
    }
}