DynFreeCAD - Nodes for managing FreeCAD from Dynamo
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
DynFreeCAD - Nodes for managing FreeCAD from Dynamo
Hello
I started working on a Dynamo package for managing FreeCAD in Dynamo:
https://github.com/infeeeee/DynFreeCAD
Current state is very basic, you can open and save files, read some data from the file, all without the FreeCAD gui. Pull requests are welcomed!
Dynamo 2.7 added support for CPython 3.7, so the FreeCAD api can be called inside Dynamo. Everything should work inside Python nodes. I want to add more common FreeCAD commands as nodes, so graphical programming can get a boost in FreeCAD.
Unfortunately due to a bug in Dynamo 2.7, these nodes are only usable in 2.8 with Python 3.8. But the api can be called from Dynamo 2.7 as well, but you need FreeCAD built with Python 3.7.
I started working on a Dynamo package for managing FreeCAD in Dynamo:
https://github.com/infeeeee/DynFreeCAD
Current state is very basic, you can open and save files, read some data from the file, all without the FreeCAD gui. Pull requests are welcomed!
Dynamo 2.7 added support for CPython 3.7, so the FreeCAD api can be called inside Dynamo. Everything should work inside Python nodes. I want to add more common FreeCAD commands as nodes, so graphical programming can get a boost in FreeCAD.
Unfortunately due to a bug in Dynamo 2.7, these nodes are only usable in 2.8 with Python 3.8. But the api can be called from Dynamo 2.7 as well, but you need FreeCAD built with Python 3.7.
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
It will be nice to use dynamo with FreeCAD thanks
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
Mod edit: moved thread to Open Discussion subforum
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
This is cool as heck!
Is this multi-platform or just Windows ?
Is this multi-platform or just Windows ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
It looks like it is from Autodesk. As far as i now looks it like Autodesk is married with Microsoft for years...
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
Officially you can build Dynamo on *nix with mono: https://github.com/DynamoDS/Dynamo/wiki ... Linux,-Mac
The ui uses WPF and I guess the 3d display is directx, so you can just run dynamo script headless on linux. No official builds though.
I also tried running dynamosandbox.exe with wine on linux, once I successfully started the gui, than it collapsed, and I couldn't reproduce it again, so I gave up, maybe I will retry it in the future.
I have another related unfinished project: https://github.com/infeeeee/dynConvert
With this you can convert dyn files to svg, so they can be viewed in a browser. My long term plan with this is to run dynamo on a headless linux server, and modify the graph in the browser, than maybe output the geometry to freecad or with three.js.
-
- Posts: 594
- Joined: Wed Aug 12, 2020 1:24 am
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
I was searching this for years, could share the dynamo files please and explain us how to do the work?
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
It's not fully usable yet, also it requires dynamo 2.8 which is not stable yet, only nightly builds available. So if you are experienced enough in dynamo and python you should be able to use it with the help of the screenshots, but if you just want to play with nodes only please wait. If it will be in a more user friendly state I will create some tutorials, and share some example files.
- HakanSeven12
- Veteran
- Posts: 1481
- Joined: Wed Feb 06, 2019 10:30 pm
Re: DynFreeCAD - Nodes for managing FreeCAD from Dynamo
You can share newly added nodes often. So everyone can follow the progress of your project.
Support me: Hakan Seven on Patreon
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum
Modern UI: Modern UI on FreeCAD Forum
Trails Workbench: Trails Workbench on FreeCAD Forum