precision problem on 0.17 13050

Here's the place for discussion related to CAM/CNC and the development of the Path module.
herbk
Posts: 1989
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

precision problem on 0.17 13050

Postby herbk » Sun Jan 21, 2018 8:11 pm

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
fehler_01.jpg (93.05 KiB) Viewed 506 times
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:

Code: Select all

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'
Gruß Herbert
mlampert
Posts: 1570
Joined: Fri Sep 16, 2016 9:28 pm

Re: precision problem on 0.17 13050

Postby mlampert » Mon Jan 22, 2018 1:28 am

could you attach the model please? I have problems reproducing this issue.
mlampert
Posts: 1570
Joined: Fri Sep 16, 2016 9:28 pm

Re: precision problem on 0.17 13050

Postby mlampert » Mon Jan 22, 2018 1:41 am

Actually, this seems to be an instance of issue #3319 - I'm on it.
User avatar
sliptonic
Posts: 2083
Joined: Tue Oct 25, 2011 10:46 pm
Location: Columbia, Missouri
Contact:

Re: precision problem on 0.17 13050

Postby sliptonic » Mon Jan 22, 2018 2:36 am

mlampert wrote:
Mon Jan 22, 2018 1:41 am
Actually, this seems to be an instance of issue #3319 - I'm on it.
Whew! I'm glad it's a 3319 and not a 2319
mlampert
Posts: 1570
Joined: Fri Sep 16, 2016 9:28 pm

Re: precision problem on 0.17 13050

Postby mlampert » Mon Jan 22, 2018 4:21 am

haha - me too, I don't want no full body shave
chrisb
Posts: 30780
Joined: Tue Mar 17, 2015 9:14 am

Re: precision problem on 0.17 13050

Postby chrisb » Mon Jan 22, 2018 6:44 am

sliptonic wrote:
Mon Jan 22, 2018 2:36 am
Whew! I'm glad it's a 3319 and not a 2319
Thanks for making my day start with :lol: :lol: .
You need at least FreeCAD 0.19.23300 to edit my current sketches.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
herbk
Posts: 1989
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: precision problem on 0.17 13050

Postby herbk » Mon Jan 22, 2018 8:07 am

mlampert wrote:
Mon Jan 22, 2018 1:28 am
could you attach the model please? I have problems reproducing this issue.
Hi Markus,

hm..., i can reproduce the size problem with every simple zylinder, in this case it is 320mm diameter.
zylinder.jpg
zylinder.jpg (74.01 KiB) Viewed 449 times

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)
Attachments
Spulentraeger_2.fcstd
(123.7 KiB) Downloaded 11 times
Gruß Herbert
mlampert
Posts: 1570
Joined: Fri Sep 16, 2016 9:28 pm

Re: precision problem on 0.17 13050

Postby mlampert » Mon Jan 22, 2018 7:10 pm

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

Code: Select all

>>> App.ActiveDocument.Cut001.Shape.BoundBox
BoundBox (17, 15.1349, 0, 323, 320.865, 18)
>>> 
There's not much we can do about it :(
herbk
Posts: 1989
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: precision problem on 0.17 13050

Postby herbk » Mon Jan 22, 2018 7:16 pm

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