Grease Pencil export as SVG or PDF does not export line art when the camera is in orthographic mode #86942

Closed
opened 2021-03-25 14:53:02 +01:00 by Peter Efe · 13 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Blender Version
Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-24 17:47, hash: 9ac7946dd0
Worked: (newest version of Blender that worked as expected)

Short description of error
Grease pencil export as SVG or PDF does not export line art when the camera is in orthographic mode

Exact steps for others to reproduce the error

  • Using the default startup scene change the camera to orthographic mode
  • In the camera view click on the cube, 'shift+A' add grease pencil 'object line art' (this works fine)
  • Go to File - Export - Grease as SVG - (Name your file and leave settings as they are) - Export to SVG.
  • When you open the exported file in Illustrator or Inkscape an empty sheet shows up. In short, no line art exported.

P.s. Thank you for this feature

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71 **Blender Version** Broken: version: 2.93.0 Alpha, branch: master, commit date: 2021-03-24 17:47, hash: `9ac7946dd0` Worked: (newest version of Blender that worked as expected) **Short description of error** Grease pencil export as SVG or PDF does not export line art when the camera is in orthographic mode **Exact steps for others to reproduce the error** - Using the default startup scene change the camera to orthographic mode - In the camera view click on the cube, 'shift+A' add grease pencil 'object line art' (this works fine) - Go to File - Export - Grease as SVG - (Name your file and leave settings as they are) - Export to SVG. - When you open the exported file in Illustrator or Inkscape an empty sheet shows up. In short, no line art exported. P.s. Thank you for this feature
Author

Added subscriber: @PeterEfe

Added subscriber: @PeterEfe

#86930 was marked as duplicate of this issue

#86930 was marked as duplicate of this issue
Member

Added subscriber: @filedescriptor

Added subscriber: @filedescriptor
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

The export currently does not apply any modifiers. So you would have to apply the modifier manually and then export. Try and see if that works.

The export currently does not apply any modifiers. So you would have to apply the modifier manually and then export. Try and see if that works.
Author

Thanks for replying so quickly. I tried applying the modifier and exporting but I still get no export. Inkscape crashed and a blank file shows up on Illustrator, Please see attached video #86942.mp4

Thanks for replying so quickly. I tried applying the modifier and exporting but I still get no export. Inkscape crashed and a blank file shows up on Illustrator, Please see attached video [#86942.mp4](https://archive.blender.org/developer/F9909783/T86942.mp4)
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Member

I can confirm this issue. There seems to be a problem when applying the modifier. As a workaround, you should be able to select the grease pencil object, then in edit mode select all then go to Grease Pencil > Clean Up > Reproject Strokes. Select View. Then try exporting the SVG again.

I can confirm this issue. There seems to be a problem when applying the modifier. As a workaround, you should be able to select the grease pencil object, then in edit mode select all then go to *Grease Pencil* > *Clean Up* > *Reproject Strokes*. Select *View*. Then try exporting the SVG again.
Author

This comment was removed by @PeterEfe

*This comment was removed by @PeterEfe*
Author

Thank you for the workaround, but unfortunately, it does not export after reprojecting strokes to view. Please bare in mind this doesn't work when the camera is in orthographic view. It only works when the camera is in perspective view

Thank you for the workaround, but unfortunately, it does not export after reprojecting strokes to view. Please bare in mind this doesn't work when the camera is in orthographic view. It only works when the camera is in perspective view
Antonio Vazquez self-assigned this 2021-03-26 13:00:49 +01:00

Added subscriber: @pafurijaz-4

Added subscriber: @pafurijaz-4

This issue was referenced by 921d0851b5

This issue was referenced by 921d0851b50d621930e7ecee5f79af0dc259dc98

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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#86942
No description provided.