Skip to content

Conversation

@pgilfernandez
Copy link

@pgilfernandez pgilfernandez commented Apr 12, 2025

As requested in #503 I have added some new parameters to control a outline base dash effect:

  • size changes to scale
  • length
  • spacing
  • offset
dash

I did not implemented number of elements as, even if I did some tests it did not work properly as it is difficult to control them because it depends on the path length and size in the canvas. Anyway, it could be controlled with the sup-path effect and animate the complete parameter

@pgilfernandez
Copy link
Author

@rodlie I've seen the dash export to SVG is kind of hard-coded and not applied to all objects (only paths as far as I have seen).
I'm looking for where that dash effect to SVG is done and I'm not able to find it... do you know where it is done? I would like to add proper dash export to SVG, it doesn't seem to be so hard as we "just" need to add 2 attributes to the elements (path, rect, ...):

stroke-dasharray="50 25"
stroke-dashoffset="0"

Any idea?
thanks

@rodlie
Copy link
Member

rodlie commented Apr 13, 2025

I'm not familiar with the dash svg code, so I will have to take a look.

This feature require changes to the project format, so it will have to wait until v1.1.

Issues like this will be resolved when we move to the new project format.

@rodlie rodlie added this to the 1.1.0 milestone Apr 13, 2025
@pgilfernandez
Copy link
Author

Sure!

I commented that this was not going to happen for v1.0 so no rush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants