SVG import not correct #63129

Closed
opened 2019-03-30 16:24:45 +01:00 by SERGEY SHAMANAYEV · 9 comments

System Information
Operating system: Windows 10
Graphics card: Not important

Blender Version
Broken: 2.79b, f4dc9f9d68b
Worked:

Short description of error
SVG image when imported, show think cycle instead told

Exact steps for others to reproduce the error
Open file in attachment in blender and in incscape and compare

**System Information** Operating system: Windows 10 Graphics card: Not important **Blender Version** Broken: 2.79b, f4dc9f9d68b Worked: **Short description of error** SVG image when imported, show think cycle instead told **Exact steps for others to reproduce the error** Open file in attachment in blender and in incscape and compare

Added subscriber: @seven

Added subscriber: @seven

File с.svg

File ![с.svg](https://archive.blender.org/developer/F6901413/с.svg)
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Hi @seven, I can import the svg just fine and the path looks like that in Inkscape as well...
Are we talking about the stroke style width? (Not sure what you mean by "show think cycle instead told").

Maybe you can demonstrate this by a screenshot?

Hi @seven, I can import the svg just fine and the path looks like that in Inkscape as well... Are we talking about the stroke style width? (Not sure what you mean by "show think cycle instead told"). Maybe you can demonstrate this by a screenshot?

I open in browser and/or inscape and think it must be look same in blander when i import. Yes, i means width must be same like on image sample
image.png

I open in browser and/or inscape and think it must be look same in blander when i import. Yes, i means width must be same like on image sample ![image.png](https://archive.blender.org/developer/F6904946/image.png)
Sergey Sharybin was assigned by Philipp Oeser 2019-04-01 11:09:04 +02:00
Member

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

Afaict, stroke-width is not really supported when importing SVGs (@Sergey: correct me if I am wrong).
[also not sure how it should be: blenders 2D curve data has an offset value, but that doesnt really represent the equivalent of a stroke-width...]

What you can do is making the stroke [along with its width] a full fledged path in Inkscape [creating a path as the 'outline' of the stroke]:
Path > Stroke To Path

Letting @Sergey decide here as he is the original author I think...

Afaict, `stroke-width` is not really supported when importing SVGs (@Sergey: correct me if I am wrong). [also not sure how it should be: blenders 2D curve data has an offset value, but that doesnt really represent the equivalent of a stroke-width...] What you can do is making the stroke [along with its width] a full fledged path in Inkscape [creating a path as the 'outline' of the stroke]: `Path` > `Stroke To Path` Letting @Sergey decide here as he is the original author I think...

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

The SVG importer we've got is mainly used for some reference images, but it was never a goal to have fully-featured SVG importer since that is a huge project on its own.

So thanks for the report, but this is not really a bug.

The SVG importer we've got is mainly used for some reference images, but it was never a goal to have fully-featured SVG importer since that is a huge project on its own. So thanks for the report, but this is not really a bug.
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 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-addons#63129
No description provided.