chsh2 / nijiGPen

An add-on of Blender focusing on Grease Pencil
GNU General Public License v3.0
290 stars 13 forks source link

IDEA : import svg sequence as grease pencil frames (on a same layer) #38

Closed 0pian0 closed 5 months ago

0pian0 commented 1 year ago

Hi, Thanks for your nijipen, it's very useful and every update adds some welcome new surprises. I'm currently trying to integrate adobe animate into my workflow and i was wondering how difficult it would be to import a sequence of SVGs from animate to be converted to a single grease pencil object (each svg becoming an incremential frame). I already manage to export a grease pencil as a svg sequence ( this was easy) and i got so far as drag and dropping a bunch of SVGs into blender and convert them all at once into multiple grease pencil objects. But i can t fing a way to merge all these n object into a single one with n nulber of frames ... do you know some way to do that and maybe it could be a nice addition to the next release ? Thank you !

chsh2 commented 1 year ago

OK, I will look into this. I also find it inconvenient that each SVG is imported as a new object. In the related add-on functions (e.g. clipboard paste) I just copy all strokes from the new object to the current object and then delete the new object. Maybe I can do the same for multiple frames, but one problem is that Blender creates new GPencil materials for each imported SVG. I need to find a way to merge these materials, otherwise there will be a lot of redundant materials after importing multiple frames.

0pian0 commented 1 year ago

Thanks you so much ! I didn't think about the material issue, i hope there is a way to work around that. Thanks again !

chsh2 commented 10 months ago

The new release v0.10 now has an Append SVG button to import multiple SVG files. They can either be imported as multiple layers or multiple frames in the same object.

0pian0 commented 10 months ago

WOW yes ! thank you so much for this ! it works great so far, i'm gonna test it further and i'll let you know, but it looks so AWESOME !!! you rock ! :D