Skip to content

Path:simplify sometimes produces invalid results that cannot be exported #4

Description

@oborozuk1

When using Path:simplify, the resulting path may be incorrect and cannot be exported. Here's a minimal reproducible example:

p = Path("m 0 0 b 562 46 739 39 828 36 878 40 977 48 1026.6 52 1088 0 1212 0 0 0")
p:simplify()
p:export()

This raises the error: attempt to index a nil value

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions