View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001566||FreeCAD||Bug||public||2014-05-25 16:18||2017-01-14 21:26|
|Fixed in Version||0.17|
|Summary||0001566: Projection of a helix perpendicular to helix-axis fails|
|Description||The Draft-workbench has the projection to make a 2D-projection of a shape. This fails for a helix. The same function is used in the Drawing-workbench. The Drawing-Workbench function fails too with "Fatal error occured while projecting shape".|
Surprisingly the Draft-Workbench function for making a Drawing-Projection works.
Making a 2D-helix-projection works in FreeCAD 0.13.1828. So it seems to be a regression.
|Steps To Reproduce||Make a helix with height 5-times the pitch in the Part-workbench.|
Make a 2D-Projection in the Draft-workbench.
|Additional Information||raceback (most recent call last):|
File "/home/ulrich/Sourcen/FreeCAD/Build_20140504/Mod/Draft/Draft.py", line 4346, in execute
obj.Shape = self.getProjected(obj,obj.Base.Shape,obj.Projection)
File "/home/ulrich/Sourcen/FreeCAD/Build_20140504/Mod/Draft/Draft.py", line 4268, in getProjected
groups = Drawing.projectEx(shape,direction)
<type 'exceptions.Exception'>: Unknown C++ exception
|Tags||OCC Bug, upstream|
||Apparently this seems to depend on the used OCC version. I got it only working with OCC 6.3 on Win32 but also compiled with the very latest FreeCAD sources.|
When debugging through the OCC code the algorithm inside Update() of the class HLRBRep_Algo fails because it expects a face but there is none.
In a certain way this seems logical because using an HLR (hidden line removal) algorithm for shapes without faces doesn't make too much sense. As replacement for these cases the class BRepProj_Projection could be used.
||I think this is a regression in OCC. Such a function should just check for the existence of a face and if there is none, do not hide any line instead of throwing an exception.|
||Fixed upstream. According to OCC it's fixed in version 7.1 but this case works for me for version 7.0, too.|
|2014-05-25 16:18||ulrich1a||New Issue|
|2014-05-29 17:44||wmayer||Note Added: 0004728|
|2014-05-29 22:13||wmayer||Note Added: 0004730|
|2014-06-19 20:22||ulrich1a||Note Added: 0004758|
|2014-09-29 10:50||shoogen||Relationship added||related to 0001697|
|2014-09-29 10:56||shoogen||Note Added: 0005165|
|2016-12-18 19:34||wmayer||Note Added: 0007531|
|2016-12-18 19:34||wmayer||Status||new => closed|
|2016-12-18 19:34||wmayer||Resolution||open => fixed|
|2016-12-18 19:34||wmayer||Fixed in Version||=> 0.17|
|2017-01-14 21:26||Kunda1||Tag Attached: OCC Bug|
|2017-01-14 21:26||Kunda1||Tag Attached: upstream|