SVG as Grease Pencil doesn't display/import well the nodes inside the shape #90796

Closed
opened 2021-08-20 10:52:41 +02:00 by Elisa de Castro Guerra · 12 comments

System Information
Operating system: Gnu/linux Mageia 8
Graphics card: Nvidia GeFore MX150/PCle/SSE2

Blender Version
Blender 2.93.2

Short description of error
In Inkscape i made a path using boolean. Importing it as SVG Grease Pencil, Blender is missing the inside of the path. Only the external "shape" (it's a path) is visible, but not the internal "shape". The nodes are visible but they are fill instead of be "empty". There is no way to get the good shape of the path (well no workaround found yet).

Exact steps for others to reproduce the error
2 files attached. You found the svg initial file imported. And the blend in which the svg is imported as svg grease pencil. The svg contain a round hole in the rectangle path. But in blender we only see the rectangle path and the hole is full instead of "empty". So closed path has to be full to be imported in Blender. For "cut-out animation" is heavy ^^'.

Is it normal ? or is it a bug ? That the question :D
bug-report-svg-grease-pencil.svg
bug-report-svg-grease-pencil.blend

**System Information** Operating system: Gnu/linux Mageia 8 Graphics card: Nvidia GeFore MX150/PCle/SSE2 **Blender Version** Blender 2.93.2 **Short description of error** In Inkscape i made a path using boolean. Importing it as SVG Grease Pencil, Blender is missing the inside of the path. Only the external "shape" (it's a path) is visible, but not the internal "shape". The nodes are visible but they are fill instead of be "empty". There is no way to get the good shape of the path (well no workaround found yet). **Exact steps for others to reproduce the error** 2 files attached. You found the svg initial file imported. And the blend in which the svg is imported as svg grease pencil. The svg contain a round hole in the rectangle path. But in blender we only see the rectangle path and the hole is full instead of "empty". So closed path has to be full to be imported in Blender. For "cut-out animation" is heavy ^^'. Is it normal ? or is it a bug ? That the question :D ![bug-report-svg-grease-pencil.svg](https://archive.blender.org/developer/F10295779/bug-report-svg-grease-pencil.svg) [bug-report-svg-grease-pencil.blend](https://archive.blender.org/developer/F10295780/bug-report-svg-grease-pencil.blend)

Added subscriber: @elisadcg

Added subscriber: @elisadcg
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Added subscriber: @antoniov

Added subscriber: @antoniov

This is a limitation of the system. Actually, Gpencil cannot handle "holes", so when you import the SVG, the stroke with the hole is there, but is not visible.

image.png

This is a limitation of the system. Actually, Gpencil cannot handle "holes", so when you import the SVG, the stroke with the hole is there, but is not visible. ![image.png](https://archive.blender.org/developer/F10295815/image.png)

Added subscriber: @ELisa

Added subscriber: @ELisa

@elisadcg You can use the Holdout material to fix this:

To do it:

  1. Select the inner circle and using Arrange->Bring to Front put the hole in front of the back plane.
  2. Create a Material and set the Stroke and Fill full black and with Holdout selected.

This is an example:

SVG_with_holes.blend

image.png

You can play with the Holdout color and Alpha channel to get different effects.

@elisadcg You can use the Holdout material to fix this: To do it: 1) Select the inner circle and using `Arrange->Bring to Front` put the hole in front of the back plane. 2) Create a Material and set the Stroke and Fill full black and with Holdout selected. This is an example: [SVG_with_holes.blend](https://archive.blender.org/developer/F10295818/SVG_with_holes.blend) ![image.png](https://archive.blender.org/developer/F10295819/image.png) You can play with the Holdout color and Alpha channel to get different effects.

Removed subscriber: @ELisa

Removed subscriber: @ELisa

Many thanks awesome problem solving. Many thanks !

Many thanks awesome problem solving. Many thanks !
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Confirmed' to: 'Archived'

Changed status from 'Confirmed' to: 'Archived'
Member

Since this is not considered a bug, will close.
Thx everyone involved!

Since this is not considered a bug, will close. Thx everyone involved!
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
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
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#90796
No description provided.