precision problem on 0.17 13050

Hi,
I have with the AppImage

OS: “openSUSE Leap 42.3”
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13050 (Git)
Build type: None
Branch: master
Hash: 305a567819522a336bd16a6c694772be2f56af47
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)

several problems with the precision which are resulting in several errormessages if i try to crate a path.

First thing i noticed is to see on this pic:
fehler_01.jpg
The part is a ring with 306mm diameter. The Boundbox shows 306mm in lenght but only 305,73mm in with.

With the job for this object, some operations work, some not. E.g.: if i try to get a Path from Edge operation, i got this error messages:

Traceback (most recent call last):
  File "/tmp/.mount_FreeCAVzrO70/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 99, in setEdit
    self.setupTaskPanel(TaskPanel(vobj.Object, self.deleteObjectsOnReject(), page, selection))
  File "/tmp/.mount_FreeCAVzrO70/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 108, in setupTaskPanel
    panel.setupUi()
  File "/tmp/.mount_FreeCAVzrO70/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 882, in setupUi
    self.panelSetFields()
  File "/tmp/.mount_FreeCAVzrO70/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 859, in panelSetFields
    page.pageSetFields()
  File "/tmp/.mount_FreeCAVzrO70/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 211, in pageSetFields
    self.setFields(self.obj)
  File "/tmp/.mount_FreeCAVzrO70/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 645, in setFields
    self.updateSelection(obj, FreeCADGui.Selection.getSelectionEx())
  File "/tmp/.mount_FreeCAVzrO70/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 693, in updateSelection
    if self.selectionZLevel(sel) is not None:
  File "/tmp/.mount_FreeCAVzrO70/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 683, in selectionZLevel
    if PathGeom.isHorizontal(sub):
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'isHorizontal'

could you attach the model please? I have problems reproducing this issue.

Actually, this seems to be an instance of 3319 - I’m on it.

Whew! I’m glad it’s a 3319 and not a 2319

haha - me too, I don’t want no full body shave

Thanks for making my day start with :laughing: :laughing: .

Hi Markus,

hm…, i can reproduce the size problem with every simple zylinder, in this case it is 320mm diameter.
zylinder.jpg
The problem with not working “Profile from Edge” op’s i solved with going back to Appimage

OS: “openSUSE Leap 42.3”
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.12813 +123 (Git)
Build type: None
Branch: LinkStage3
Hash: 8c10ed790417a7f769d6718fd554a821eda7a24e
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: German/Germany (de_DE)
Spulentraeger_2.fcstd (124 KB)

The problem with that is that this is the BoundBox that OCC gives us:

>>> App.ActiveDocument.Cut001.Shape.BoundBox
BoundBox (17, 15.1349, 0, 323, 320.865, 18)
>>>

There’s not much we can do about it :frowning:

Maybe it’s only the boundbox which is to small. If i have milled out the part i will check for the mesurements.