chsh2 / nijiGPen

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

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

Open 0pian0 opened 1 month ago

0pian0 commented 1 month 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 month 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 month 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 !