See line 380sliptonic wrote: PathUtils and PathKurveUtils are fine. PathKurve has been removed. I'm not sure why you're seeing it.
https://github.com/sliptonic/FreeCAD/bl ... le.py#L380
See line 380sliptonic wrote: PathUtils and PathKurveUtils are fine. PathKurve has been removed. I'm not sure why you're seeing it.
sgrogan, thanks for the link to source!sliptonic wrote: bill wrote:
This just started popping up! Is this just my installation?
Code: Select all
Sel : Add Selection "blocktest.Pad.Face6(33.750607,31.514822,10.000000)"
Running the Python command 'Path_Profile' failed:
Traceback (most recent call last):
File "C:\Users\user\Desktop\PathImprov6539\FreeCAD_0.16.6539_x86_dev_win\Mod\Path\PathScripts\PathProfile.py", line 380, in Activated
from PathScripts import PathProject, PathUtils, PathKurve, PathKurveUtils
cannot import name PathKurve
PathUtils and PathKurveUtils are fine. PathKurve has been removed. I'm not sure why you're seeing it.
I'm not sure what' is correct but the change wouldn't work for me on my linux mint (17.3) machine. The two return different:cox wrote:The Archlinux installation (folderstructure) is quite sensitive to the use of FreeCAD.getHomePath() vs FreeCAD.getResourceDir().
In Ubuntu i think both return the same value, but in arch the return is different. This leads to issues when the Mod folder is intended to be referenced and FreeCAD.getHomePath() is used.
Code: Select all
>>>
>>> FreeCAD.getHomePath()
u'/usr/lib/freecad/'
>>> FreeCAD.getResourceDir()
u'/usr/share/freecad/'
>>>
Different on Windows as wellsliptonic wrote: cox wrote:
The Archlinux installation (folderstructure) is quite sensitive to the use of FreeCAD.getHomePath() vs FreeCAD.getResourceDir().
In Ubuntu i think both return the same value, but in arch the return is different. This leads to issues when the Mod folder is intended to be referenced and FreeCAD.getHomePath() is used.
I'm not sure what' is correct but the change wouldn't work for me on my linux mint (17.3) machine. The two return different:
Code: Select all
>>> FreeCAD.getHomePath()
u'C:/Program Files/FreeCAD 0.15/'
>>> FreeCAD.getResourceDir()
u'C:/Program Files/FreeCAD 0.15/data/'
No waste of time, I always thought the Win and Ubuntu build directories should be the same, but there not. We should start a new thread, but there's something I don't understand.cox wrote:Thanks @sgrogan and @sliptonic, sorry to waist your time.
Code: Select all
<type 'exceptions.IndexError'>: list index out of range
Code: Select all
G02 I-9.0050000000000008 J0 X35.994999999999997 Y62.5
Yes, for now. I'm working on adding task panels for the operations and the panels will have a way to add/remove geometry to the operation. Then it should be possible to have one operation for multiple holes or profiles.flopsy wrote: but do i have to make a path objekt for every single hole, and chosse the right parameters?
I'm not sure what's going on here. It might be something in libarea or in my implementation. I thought all path commands were formatting output to 4 decimal places.flopsy wrote: -the Box i draw with LibreCAD with the "Cheesy Overcuts" when i than did import the dxf in FreeCAD i got little trouble with this overcuts with the correct rounded values. So i used to do a constrait for every overcut to make it closed. When i than tryed to do a path objekt to cut it out i failed with a 2mm tool:Than 1.99mm tool did it.Code: Select all
<type 'exceptions.IndexError'>: list index out of range
i think is a bit much to accurate...Code: Select all
G02 I-9.0050000000000008 J0 X35.994999999999997 Y62.5
Right click on the profile operation in the tree and 'add holding tag' It should open the draft-snapper tool and let you pick a place on the canvas. You want to pick very close to the edge of the part so it's easiest to set 'top view'. After the point is picked, you can double-click the operation node and edit the tag location if you wish.flopsy wrote: How do i get the tags placed with the mouse and how can i see and change it?
Code: Select all
Sel : Clear selection
Sel : Add Selection "Unnamed.Box.Face6(2.074011,7.102004,10.000000)"
Traceback (most recent call last):
File "/home/kjetil/src/f/sl/build/Mod/Path/PathScripts/PathEngrave.py", line 161, in setEdit
taskd = TaskPanel()
File "/home/kjetil/src/f/sl/build/Mod/Path/PathScripts/PathEngrave.py", line 209, in __init__
self.form = FreeCADGui.PySideUic.loadUi(FreeCAD.getHomePath() + "Mod/Path/EngraveEdit.ui")
File "<string>", line 4, in <module>
<type 'exceptions.RuntimeError'>: Cannot open file