Skip to content

Ipe does not support closed spiro splines #596

@Willem3141

Description

@Willem3141

I really like using spiro splines for smooth curves in my drawings. However, I'd often want to use closed spiro splines, which Ipe doesn't support (falls back to a closed B-spline).

As a proof of concept, I tried replacing false by true in the SpiroCPsToBezier2 call on line 796 of ipegeo.cpp. This shows that editing closed spiro splines could in principle work just fine without further changes:

Screencast.From.2026-04-30.14-34-18.mp4

Of course this is not a proper solution: now all non-closed spiro splines are rendered as closed ones! I suppose a backwards-incompatible change of the file format would be necessary, with a new path type for closed spiro splines.

If you agree this would be a useful feature to have, I would be willing to try implementing this properly, and open a pull request if I can get it to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions