SVG Importer: circles and rectangles don't get datablocks named after the original objects #51594
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#51594
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
I'm messing around with the SVG importer and I've noticed that rectangle and circle objects that are not converted to paths prior to saving the SVG file in Inkscape don't get names in the datablocks that reflect data in the SVG file.
Regular polygons or spirals do receive names that correspond to the SVG data.
Why that matters to me?
I'm trying to make a script that'll filter and process the imported curves, but to do this - I need to identify them, and with this problem, I need to convert all my circles and rectangles to paths before I will be able to do so, and that's a small problem, because I can mess that up easily.
Here's a little test Inkscape SVG file:
If you compare the importe Blender curve databock names and the original SVG object names, the circle and the rectangle that weren't converted to paths have generic datablock names "CurveXXX" that are not linkable to anything in that SVG file - hence impossible to process.
Changed status to: 'Open'
Added subscriber: @TobiaszunfaKaron
This issue was referenced by
97bf32a8b8
Changed status from 'Open' to: 'Resolved'