Unable to import svg. #70050
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#70050
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?
System Information
Operating system: Windows 10
Graphics card: N/A
Blender Version
Broken: 2.80
(example: 2.79b release)
(example: 2.80, edbf15d3c044, blender2.8, 2018-11-28, as found on the splash screen)
Worked: (optional)
Short description of error
Importing an SVG fails.
I wanted to make my own add-on for blender which would
render latex math formulas in blender using the approach documented here in the first answer:
https://blender.stackexchange.com/questions/72467/use-latex-in-blender
Instead of requiring add-on users to have latex and poppler-utils installed, I figured I could obtain
the SVG using this neat project: https://github.com/uetchy/math-api
However if I try to use the SVGs generated from that site, blender is not able to import them using the standard
svg importing addon.
Here's the traceback:
Here is the svg file's content:
Exact steps for others to reproduce the error
Based on the default startup or an attached .blend file (as simple as possible).
From the default startup import the attached file or any other generated from http://math.now.sh
Added subscriber: @jackeown
Added subscriber: @StephenSwaney
Don't know anything about SVG format, but width="1.294ex" doesn't look like valid Python floating point.
Added subscribers: @Sergey, @mont29
Those are valid SVG units, see the specs… Looks like our importer expects unit-less values here, @Sergey think you are still maintaining that add-on?
This issue was referenced by
cdf56b2fad
Changed status from 'Open' to: 'Resolved'
Wow! You guys are amazing!
Can't believe I just went to bed and woke up the next morning with this fixed!
Keep up the good work!