SVG object x and y Size bug #44996

Closed
opened 2015-06-08 15:22:57 +02:00 by John · 9 comments

I'm using the new inkscape (0.91) and blender (2.74) version. In inkscape, I create a rectangle with this sizes: 17m x 20m, no border. Then, I save it as a svg file. Next, I import it in blender: File > Import > SVG.

The problem here is the size of the object. X is 17 (This is correct) and Y is 19.996 (This is not correct).

When I rotate the rectangle 90 degrees in inkscape and save it as a svg file, I have this problem:

X is 20 (This is correct) and Y is 16.997 (This is not correct).

There must be a problem with Y.

I'm using the new inkscape (0.91) and blender (2.74) version. In inkscape, I create a rectangle with this sizes: 17m x 20m, no border. Then, I save it as a svg file. Next, I import it in blender: File > Import > SVG. The problem here is the size of the object. X is 17 (This is correct) and Y is 19.996 (This is not correct). When I rotate the rectangle 90 degrees in inkscape and save it as a svg file, I have this problem: X is 20 (This is correct) and Y is 16.997 (This is not correct). There must be a problem with Y.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @blenderLight

Added subscriber: @blenderLight

Added subscriber: @mont29

Added subscriber: @mont29

Please always attache need file(s) (the .svg, here) to help reproducing the issue.

In this case, this is most likely floating precision issues… need file to confirm, though.

Please always attache need file(s) (the .svg, here) to help reproducing the issue. In this case, this is most likely floating precision issues… need file to confirm, though.
Author

Here:

testBlender.svg

Here: ![testBlender.svg](https://archive.blender.org/developer/F187549/testBlender.svg)

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Yeah, this looks like classical floating point error… @ideasman42 will let you make final decision here.

Yeah, this looks like classical floating point error… @ideasman42 will let you make final decision here.
Campbell Barton was assigned by Bastien Montagne 2015-06-08 17:05:52 +02:00
Author

I think so, too.

X is correct, but Y not.

Is there a fast solution to fix this?

I think so, too. X is correct, but Y not. Is there a fast solution to fix this?
Member

Closed as duplicate of #45460

Closed as duplicate of #45460
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#44996
No description provided.