Skip to content

Parse DXF SPLINE entities (control/fit points → curve) #6

Description

@gsdali

Why: curved and revolved part edges (shaft couplings, cylinders in McMaster drawings) are drawn as SPLINE entities. SwiftDXF has no SPLINE case, so those edges are dropped and the profile is incomplete.

Ask: add a DXF.Entity.spline(...) case exposing degree (group 71), control points (group 10/20/30), knots (group 40), weights (group 41) and/or fit points (group 11/21/31), plus the closed flag (group 70) and layer. A flattened polyline approximation of the spline (sampled to a tolerance) would also be welcome as a convenience for consumers that only need geometry, alongside the raw control data. Validate against ezdxf.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions