View Issue Details

IDProjectCategoryView StatusLast Update
0001612DraftBugpublic2016-11-08 17:29
Reporteryorik Assigned Toyorik  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001612: Projecting arcs to SVG gives wrong results under certain angles
DescriptionSome arcs get a wrong SVG representation when projected with a specific angle.
Additional Informationhttp://forum.freecadweb.org/viewtopic.php?f=3&t=7011
TagsOCC Bug
FreeCAD Information

Relationships

parent of 0001697 closedyorik FreeCAD projection of edges fails 
related to 0001937 closedwandererfan FreeCAD Projections of helix coils are largely disturbed and unusable in technical drawings 
related to 0002383 closedyorik Drawing Drawing lines missing or incorrect 

Activities

yorik

2014-07-14 15:08

administrator  

Test.FCStd (50,274 bytes)

yorik

2014-07-14 15:09

administrator   ~0004791

The attached file (taken from the linked forum thread) shows the problem

yorik

2015-01-22 15:53

administrator   ~0005687

The problem is basically that projected arcs shouldn't be arcs anymore, but ellipses. But while the OCC bug that prevents projecting shapes without faces is there, it will be hard to solve this bug.

Maybe OCC 6.8 fixes the projection bug, I haven't tested yet. In any case, this is probably for after 0.15 release.

shoogen

2015-01-23 10:19

developer   ~0005689

What we might should implement, is the degeneration of a projected circle (or arc) to lines. (If the arc axis has no component in the z direction).
The projection bug in OCCT is scheduled for version 7.1.0

yorik

2015-01-23 13:06

administrator   ~0005690

Good idea, that would already solve many cases. And it's basically just a matter of checking if the angle between the projection vector and the circle's axis = 90°...

Related Changesets

FreeCAD: master 64a7b9e1

2016-11-02 20:06:48

yorik

Details Diff
Draft: Better method to project arcs to SVG - issue 0001612 Affected Issues
0001612
mod - src/Mod/Draft/Draft.py Diff File

FreeCAD: master 00b5dbfa

2016-11-08 18:28:33

yorik

Details Diff
Draft: Discretize projected arcs and ellipses - fixes 0001612 Affected Issues
0001612
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/Resources/ui/preferences-svg.ui Diff File

Issue History

Date Modified Username Field Change
2014-07-14 15:08 yorik New Issue
2014-07-14 15:08 yorik Status new => assigned
2014-07-14 15:08 yorik Assigned To => yorik
2014-07-14 15:08 yorik File Added: Test.FCStd
2014-07-14 15:09 yorik Note Added: 0004791
2014-07-14 15:09 yorik Project FreeCAD => Draft
2015-01-22 15:53 yorik Note Added: 0005687
2015-01-22 15:53 yorik Target Version 0.15 =>
2015-01-23 10:14 shoogen Relationship added parent of 0001697
2015-01-23 10:19 shoogen Note Added: 0005689
2015-01-23 13:06 yorik Note Added: 0005690
2015-01-28 11:02 shoogen Relationship added related to 0001937
2015-12-27 16:02 yorik Tag Attached: OCC Bug
2016-01-03 19:17 yorik Priority normal => low
2016-03-22 15:12 yorik Summary Draft - Projecting arcs to SVG gives wrong results under certain angles => Projecting arcs to SVG gives wrong results under certain angles
2016-08-05 13:27 wandererfan Relationship added related to 0002383
2016-11-02 22:09 yorik Changeset attached => FreeCAD Master master 64a7b9e1
2016-11-08 17:29 yorik Changeset attached => FreeCAD Master master 00b5dbfa
2016-11-08 17:29 yorik Status assigned => closed
2016-11-08 17:29 yorik Resolution open => fixed