GPencil: Import SVG files #79875
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#79875
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Status: Import SVG files inside grease pencil drawings.
Team
Commissioner: @antoniov, @mendio, @pepe-school-land
Project leader: @antoniov
Project members: @antoniov, @mendio, @pepe-school-land, @filedescriptor
Description
Big picture: This import will allow to import drawings doen in other softwares to be used in grease pencil.
Use cases:
Design:
NanoSVG
opensource library is required.Engineer plan:
NanoSVG
. https://github.com/memononen/nanosvgAfter looking at several SVG parsers, we have decided to use
NanoSVG
because it's a very small library (only a header file) and covers all requirements. Other libraries are powerful and have a lot of features that we are not going to use never. Also, these other libraries are big and have a lot of dependencies.Relevant links:
NanoSVG
. https://github.com/memononen/nanosvgChanged status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @antoniov, @mendio, @pepe-school-land
Import_SVG_addon.mp4
Added subscriber: @SimplSam
Added subscriber: @Sdack
Sorry to bother you but I'm doing a project which requires svg import and I'm struggling with the standard blender 2.8 branch, from 2.81 through 2.9 - I've been getting confused experimenting with all the eps 2 svg options in Illustrator and hope for a more reliable and simple path (excuse the pun)
This is an awesome feature and I was exited to see development so recently but I'm a bit unfamiliar with the developer site and how to find my way around so I hope you might be kind enough to point me to the most promising branch for svg to grease pencil?
Thanks in advance and Power to you fab folks for your work
@Sdack There isn't a branch with the SVG importer yet. My plan is put the patch for review in the next weeks (I'm waiting for a prerequisite). When the patch is ready, you just can download and test it. Also, I want put the SVG exporter for review.
Thanks Antonio,
I look forward to the patch when it's ready.
One issue I've identified with importing from illustrator files is where there is any shading in the vector. It appears that shading is achieved through many many layers of different colour overlaid on top of each other with only a tiny slice visible to the front view. I can't imagine how your importer may deal with this but I'm praying that it might because it's a pain trying to select and simplify such vector files.
Please find a sample attached. I separated the heads with the gradient effect into a separate file but include the original file too because I'm a novice in Illustrator and can't be sure my export will have worked properly.
Cheers
Nigel{F8809539}
1341 Heads with shaded eyes.ai
Gradients are not supported because there is no way to convert to grease pencil. Here it is the result.
Cleaning the darwing....
Also... @Sdack - I think you could/should clean up the SVG file before you try and import it, as it is not a nice SVG to begin with (with all those fake gradients). But it is pretty OK without them. Tools like Inkscape or Affinity Designer can help to do that.
For fun... I have included a conversion - which went through Affinity Designer and some conversion processes before ending up in Blender. ++ I added some new fakey eyebrow highlights.
Hey guys,
Thanks heaps for your replies. Your results look better than mine. I struggled in Illustrator, which as a veteran VFX jockey, I'm not familiar with at all.
My SVG imports to Blender needed a lot of work moving layers apart and various attempts converting from curves to mesh then to Grease Pencil
I will look at Affinity Designer and Inkscape.
@SimplSam Would you be kind enough to send me the cleaned up blend file? I'd like to see what you did there.
It all looks very promising and I await the release of the patch eagerly. Still have a few weeks to go before I'm finished with this job and I'm thinking you might be the cavalry!
Cheers
Nigel
Does this forum have a Private Message feature?
@SimplSam No, but the blender.chat supports private messages.
@SimplSam I could meet you on Blender chat if that's what you're thinking...
Timing may be tricky, I'm in Byron Bay, the easternmost coastal town in Australia. GMT +10
or my email is nigelhaslam_AT_gmail.com
Cheers
Added subscriber: @winnie-jo
..... prerequisite). When the patch is ready, you just can download and test it.
Also, I want put the SVG exporter for review.
hi Antonio Vazquez
Do you mean make a new 'exporter add on'
or you want to update the line style svg exporter ?
(which would be great)
@winnie-jo I'm developing a totally new exporter to SVG for grease pencil in C++, not an add-on.
Is that for stills or also animations ?
Added subscriber: @JacobMerrill-1
Added subscriber: @SuneejSurendran-Nair
Added subscriber: @filedescriptor
This issue was referenced by blender/blender@a8a92cd15a
Changed status from 'Confirmed' to: 'Resolved'
Added subscriber: @GCreeper00
Removed subscriber: @GCreeper00