View Issue Details

IDProjectCategoryView StatusLast Update
0002010FreeCADBugpublic2015-03-20 18:34
Reporterplgarcia Assigned Toshoogen  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformWindows 7 FrenchOSWindows 7OS VersionPro and
Product Version0.14 
Summary0002010: Import SVG problems
DescriptionThe profile is not correctly loaded.

See the attache file and description
Steps To ReproduceImport the svg file.
2 examples available in attached zip file.
TagsNo tags attached.
FreeCAD Information

Activities

plgarcia

2015-03-20 12:07

reporter  

bugFreecad1.zip (Attachment missing)

shoogen

2015-03-20 15:46

developer   ~0005883

i can't reproduce the problem in 20 ext 0.5 file. (in the current development version)
The Problem with the Ce Shape is reproduce-able in 0.15.4664.
>>> App.ActiveDocument.Ce.Shape.Edges
[<Edge object at 0x10e05a20>, <Edge object at 0x10e1ef90>]
>>> App.ActiveDocument.Ce.Shape.Edges[0].Curve
Circle (Radius : 518.236, Position : (0, 517.95, 0), Direction : (0, -0, -1))
>>> App.ActiveDocument.Ce.Shape.Edges[1].Curve
Circle (Radius : 518.236, Position : (0, -517.95, 0), Direction : (0, 0, -1))

shoogen

2015-03-20 16:15

developer   ~0005884

I think that the path for the "Ce" object is invalid.
It should be "M 40,0 A 40,40 0 0 1 -40,0 40,40 0 0 1 40,0"
But actually the radii are set to 0.664370078737 (instead of 40)

How was this file generated?

plgarcia

2015-03-20 17:15

reporter   ~0005885

Yes your are right for CE path. Sorry for that.
I just tested the 20 ext 0.5 file with the 0.15.4664 and the problem is still there.
But may be is it due to an approximation. When the radii are not exactly what they should be then the consequences are "visible". InkScape may use different algorithms that may be more robust. So it is able to view properly the ce path even with this stupid error, and the 20 ext 0.5 gear too.

I have been searching for others svg problems in the database, and may be some are related.

Thanks anyway.

shoogen

2015-03-20 17:20

developer   ~0005886

regarding the 20 ext 0.5 file. The details are very fine (about 20µm) perhaps you can select the draft workbench and increase the draft workbench precision.
I usually use 6 decimal places.

plgarcia

2015-03-20 17:28

reporter   ~0005887

yes this is it. Set the precision !

Many thanks and sorry for disturbing

shoogen

2015-03-20 18:34

developer   ~0005888

If you are not sure if some behavior is an actual bug, please consider bringing the question up in the forum first.

Issue History

Date Modified Username Field Change
2015-03-20 12:07 plgarcia New Issue
2015-03-20 12:07 plgarcia File Added: bugFreecad1.zip
2015-03-20 15:46 shoogen Note Added: 0005883
2015-03-20 15:46 shoogen Assigned To => shoogen
2015-03-20 15:46 shoogen Status new => assigned
2015-03-20 16:15 shoogen Note Added: 0005884
2015-03-20 16:15 shoogen Status assigned => feedback
2015-03-20 17:15 plgarcia Note Added: 0005885
2015-03-20 17:15 plgarcia Status feedback => assigned
2015-03-20 17:20 shoogen Note Added: 0005886
2015-03-20 17:21 shoogen Status assigned => feedback
2015-03-20 17:28 plgarcia Note Added: 0005887
2015-03-20 17:28 plgarcia Status feedback => assigned
2015-03-20 18:34 shoogen Note Added: 0005888
2015-03-20 18:34 shoogen Status assigned => closed
2015-03-20 18:34 shoogen Resolution open => no change required