MillFace creates a wrong path

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)

MillFace creates a wrong path

Postby herbk » Thu Jan 18, 2018 8:45 am

MillFace doesn't do what it should do...
If i try to use it on a simple cube, i got a path inside the cube with several stepdowns...
millface.jpg
millface.jpg (38.23 KiB) Viewed 304 times
I only select the uper face of the cube, click MillFace and dont change any parameters on the MillFace GUI.
It's made with 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
millface.fcstd
(12.61 KiB) Downloaded 8 times
Gruß Herbert
herbk
Posts: 1989
Joined: Mon Nov 03, 2014 3:45 pm
Location: Windsbach, Bavarya (Germany)

Re: MillFace creates a wrong path

Postby herbk » Sat Jan 20, 2018 7:33 am

On 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)

now dosn't create any path...
Clicking the MillFace button results in "a barrel" of error messages. if I interpret the second line correctly, the link behind the vutton is wrong.

Code: Select all

PathOpGui.INFO: Title: 'MillFace'
Pocketing Select Mode
Traceback (most recent call last):
  File "/tmp/.mount_FreeCAuEvqMa/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_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 108, in setupTaskPanel
    panel.setupUi()
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 882, in setupUi
    self.panelSetFields()
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 859, in panelSetFields
    page.pageSetFields()
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 211, in pageSetFields
    self.setFields(self.obj)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 645, in setFields
    self.updateSelection(obj, FreeCADGui.Selection.getSelectionEx())
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 693, in updateSelection
    if self.selectionZLevel(sel) is not None:
  File "/tmp/.mount_FreeCAuEvqMa/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'
Traceback (most recent call last):
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 164, in updateData
    self.panel.updateData(obj, prop)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 890, in updateData
    page.pageUpdateData(obj, prop)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 665, in pageUpdateData
    self.setFields(obj)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 645, in setFields
    self.updateSelection(obj, FreeCADGui.Selection.getSelectionEx())
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 693, in updateSelection
    if self.selectionZLevel(sel) is not None:
  File "/tmp/.mount_FreeCAuEvqMa/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'
Traceback (most recent call last):
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 164, in updateData
    self.panel.updateData(obj, prop)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 890, in updateData
    page.pageUpdateData(obj, prop)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 665, in pageUpdateData
    self.setFields(obj)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 645, in setFields
    self.updateSelection(obj, FreeCADGui.Selection.getSelectionEx())
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 693, in updateSelection
    if self.selectionZLevel(sel) is not None:
  File "/tmp/.mount_FreeCAuEvqMa/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'
Traceback (most recent call last):
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 164, in updateData
    self.panel.updateData(obj, prop)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 890, in updateData
    page.pageUpdateData(obj, prop)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 665, in pageUpdateData
    self.setFields(obj)
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 645, in setFields
    self.updateSelection(obj, FreeCADGui.Selection.getSelectionEx())
  File "/tmp/.mount_FreeCAuEvqMa/usr/lib/freecad-daily/Mod/Path/PathScripts/PathOpGui.py", line 693, in updateSelection
    if self.selectionZLevel(sel) is not None:
  File "/tmp/.mount_FreeCAuEvqMa/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'
No Tool Controller is selected. We need a tool to build a Path.Free Select
Gruß Herbert