Skip to content

Next Gen STEP AP242 Native-ish BREP Geometric Modeling Kernel

3.7 KB
Raw Blame
using Aetheris.Modules;

namespace Aetheris.Surfacing;

public static class SurfacingModule
{
    public static readonly AetherisModuleId Id = new("Aetheris.Surfacing");
    public static readonly ModuleVersion Version = new(0, 3, 0);
    public const string RuledSurfaceCapability = "Surfacing.RuledSurface";
    public const string RuledTransitionCapability = "Surfacing.RuledTransition";
    public const string ParametricSurfaceCapability = "Surfacing.ParametricSurface";
    public const string SectionSurfaceCapability = "Surfacing.SectionSurface";
    public const string BoundaryPatchCapability = "Surfacing.BoundaryPatch";
    public const string PanelCapability = "Surfacing.Panel";
    public const string BoundedSculptingCapability = "Surfacing.BoundedSculpting";
    public const string JudgedBlendCapability = "Surfacing.JudgedBlend";
    public const string SectionChainCapability = "Surfacing.SectionChain";

    public static AetherisModule Definition { get; } = new(
        Id, "Surfacing", Version,
        [new(RuledSurfaceCapability, Id, Version, "Deterministically corresponded ruled surface between line, arc, circle, or non-rational B-spline boundaries."),
         new(RuledTransitionCapability, Id, Version, "Ruled transition preserving section and boundary provenance."),
         new(ParametricSurfaceCapability,Id,Version,"Unit-aware bounded equation surface with automatic derivatives and normals."),
         new(SectionSurfaceCapability,Id,Version,"Ordered-section surface with explicit non-rational materialization evidence."),
         new(BoundaryPatchCapability,Id,Version,"Four-boundary G0 patch preserving boundary intent."),
         new(PanelCapability,Id,Version,"Bounded oriented engineering surface with ordered semantic boundary edges and developability evidence."),
         new(BoundedSculptingCapability,Id,Version,"Immutable single-predecessor BodyState derivation with bounded OffsetRegion and trimmed ReplaceRegion authority, qualified intersection-derived boundaries, face-local pcurves, inner openings, imported-face grafting, mixed G0/G1/G2 contracts, persistent associations, and inspectable GeometricDelta evidence."),
         new(JudgedBlendCapability,Id,Version,"Qualified crown-to-planar-shoulder BlendBoundary with exact polynomial G1/G2 candidates, validity-before-utility fairness judgment, deterministic trace, and rational-free STEP realization."),
         new(SectionChainCapability,Id,Version,"Ordered framed profiles with explicit semantic one-to-one span correspondence, ruled adjacent transitions, shared-section topology, and Cap/Open termination.")],
        ["Surfacing.PanelConcept", "Surfacing.SurfacePatchConcept"], ["Surfacing.RuledCanopyPanel","Surfacing.HyperbolicParaboloid","Surfacing.ParabolicCylinder","Surfacing.EllipticParaboloid","Surfacing.Helicoid"],
        ["Surface construction -> PanelIR -> semantic edges", "Panel edge Interface/Mate -> deterministic G0 evidence", "PanelIR -> bounded BRep-backed STEP export envelope"],
        ["panel-incomplete-boundary", "panel-boundary-orientation-inconsistent","panel-mate-endpoint-mismatch","panel-mate-g0-failure","panel-mate-g1-failure","panel-mate-g1-unknown","panel-mate-g2-failure","panel-mate-g2-unknown","surfacing-panel-thickness-invalid","sculpt-outside-authorized-region","sculpt-preservation-failed","sculpt-self-intersection","surf-boundary-g0-violation","surf-boundary-g1-violation","surf-boundary-g2-violation","surf-blend-g2-unsatisfied","surf-blend-no-eligible-candidates","surf-blend-locality-violation","surf-selector-target-replaced","surf-surface-export-normalization-failed"],
        [new(CoreModule.Id, new(1, 0, 0))], new("docs/development/milestones/modules/surfacing.md"));
}