dubstar-04 / turningaddon Goto Github PK
View Code? Open in Web Editor NEWFreeCAD Turning Addon
License: GNU Lesser General Public License v2.1
FreeCAD Turning Addon
License: GNU Lesser General Public License v2.1
Getting This error when selecting new Job from Path workbench:
PathJobGui.ERROR: 'Direction' Traceback (most recent call last): File "/usr/lib/freecad/Mod/Path/PathScripts/PathJobGui.py", line 1352, in Create obj.ViewObject.Proxy.editObject(obj.Stock) File "/usr/lib/freecad/Mod/Path/PathScripts/PathJobGui.py", line 199, in editObject return self.openTaskPanel('Stock') File "/usr/lib/freecad/Mod/Path/PathScripts/PathJobGui.py", line 181, in openTaskPanel self.taskPanel.setupUi(activate) File "/usr/lib/freecad/Mod/Path/PathScripts/PathJobGui.py", line 1235, in setupUi self.setupOps.setupUi() File "/usr/lib/freecad/Mod/Path/PathScripts/PathSetupSheetGui.py", line 281, in setupUi op.setupUi() File "/usr/lib/freecad/Mod/Path/PathScripts/PathSetupSheetGui.py", line 174, in setupUi prop = self.prototype.getProperty(name) File "/usr/lib/freecad/Mod/Path/PathScripts/PathSetupSheetOpPrototype.py", line 200, in getProperty return self.properties[name] KeyError: 'Direction'
This is against the latest git version (g68ad4f2f1d) of FreeCAD
Convert freeCAD file units before passing to liblathe and on return from liblathe.
stock to leave property should be used in the roughing operation to define now much stock is left for a finishing pass
the maximum diameter should be populated with the actual maximum radius (not diameter) of the stock by default
Add a stop in the gcode to prevent code been run on a machine
This is to work around PathOp setting the Tool Diameter
also check that they are not the same value
The turning add-on disappears from the menu the second time the path workbench is loaded.
The edge extraction could be made much simpler and more robust.
After installing the Turning Addon and LibLathe, upon launching FreeCAD from either the icon or from a command line, I receive the following:
During initialization the error "No module named 'Path.Log'; 'Path' is not a package" occurred in /home/username/.FreeCAD/Mod/TurningAddon/InitGui.py
and
Please look into the log file for further information
There is nothing in the Path workbench or any menus that suggests turning is available.
What I have tried:
Addon Manager --> Configure --> "https://github.com/dubstar-04/FreeCAD/tree/LibLathe-Integration.git
https://github.com/dubstar-04/TurningAddon.git"
Close, restart Addon Manager
Select LibLathe-Integration, click 'Install/Update Selected'
Workbench successfully installed. Please restart FreeCAD to apply the changes.
Restart FreeCad
Addon Manager --> TurningAddon --> Install/Update Selected
Workbench successfully installed. Please restart FreeCAD to apply the changes.
Restart FreeCad
No error messages, No warnings... and no Lathe or Turning functionality.
(Side note - I have also tried installing both without restarting in between; it makes no difference.)
At this point, ~/.FreeCAD/Mod contains 3 folders:
LibLathe, which contains 6 folders and 121 items, totalling 1.8 MB
LibLathe-Integration, which is empty
TurningAddon, also empty.
Then I performed:
git clone --recurse https://github.com/dubstar-04/TurningAddon.git
TurningAddon now contains 6 folders and 220 items, totalling 2.8 MB
git clone --recurse https://github.com/dubstar-04/LibLathe.git
fails with
fatal: destination path 'LibLathe' already exists and is not an empty directory.
At this point I receive the error messages when launching freecad.
Deleting the LibLathe folder and trying git clone --recurse https://github.com/dubstar-04/LibLathe.git
again will re-create and populate the folder, but the error messages persist.
If I run freecad from the command line with elevated privileges, it will launch without the error messages, but also without any turning functionality. I have tried installing the addons while running with elevated privileges, but it makes no difference... other than no error messages (but also no turning functions) as long as I launch with elevated privileges. As a regular user, I get the error messages. And no functionality.
I'm not sure if this is a failure in the addon manager, or in my ability to follow instructions.
I have searched the entirety of my system, there is no "Path.Log"
Oddly, InitGui.py makes no reference to 'Path.Log'
I would appreciate any help in getting me pointed in the right direction.
Daniel,
I would like to test your work, but I can’t seem to get the add on to appear in the path work bench.
I tried the method adding the https:\ url to the add on work bench, and I’ve tried unzipping in the Freecad/mod directory.
I’ve been following your development for a few years now. If you would like more testers, let me know how I can help.
Thanks,
Darren
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.