Birth of Design456 Workbench
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
Re: Birth of Design456 Workbench
What you describe we use ti call It direct modelling. Yorik has been pushing this approach since long time, and the result is condensed in draft workbench. You can search for that in the forum.
Draft already provides many functions to support direct modelling, like the snapper getPoint function, the DraftWorkingPlane and the draftTrackers to preview the transformations.
A lot can still be improved, but it Is a good starting point IMO.
I suggest you ti go on with your workbench, importing from Draft Just the modules you need and eventually subclass some of the commands that already exist.
If you want i'm available for a jitsy meet to help you get in confidence with Draft code, but not soon, cause im completely out of free time ATM.
Draft already provides many functions to support direct modelling, like the snapper getPoint function, the DraftWorkingPlane and the draftTrackers to preview the transformations.
A lot can still be improved, but it Is a good starting point IMO.
I suggest you ti go on with your workbench, importing from Draft Just the modules you need and eventually subclass some of the commands that already exist.
If you want i'm available for a jitsy meet to help you get in confidence with Draft code, but not soon, cause im completely out of free time ATM.
follow my experiments on BIM modelling for architecture design
Re: Birth of Design456 Workbench
Draft is combined to Design456
Now we have Draft inside Design456.
Next step is to bring commands from PART .. like Boolean operations ..etc.
Please check out the main github as it is updated.
You can do much now just by adding some commands there ..
https://github.com/MariwanJ/Design456
Now we have Draft inside Design456.
Next step is to bring commands from PART .. like Boolean operations ..etc.
Please check out the main github as it is updated.
You can do much now just by adding some commands there ..
https://github.com/MariwanJ/Design456
- Attachments
-
- newInterfaceDesign456.jpg (983.5 KiB) Viewed 2525 times
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
Re: Birth of Design456 Workbench
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: Birth of Design456 Workbench
@mario52, definitely related!
@marja1:
What I did in the PR:
- subclassed the Draft_Move command (draftguitools.gui_move class Move());
- in the __init__, Activated I just pointed with super to the parent object relative methods, but I guess you can just omit their definition;
- then i overwrote the move_subelements(self): method to use the new code instead of the Draft_Move one...
- and I inserted the code to perform the subElementMove;
I think that's all...
Were you able to use it as it was? remember you should check the move subelement checkbox in the taskpanel.
@marja1:
No, I do not know a resource to suggest you...I need to understand what you are doing in each stage.
Do you have or know any PDF that list out the python API as tree?
I couldn't find any.
The API generated from FreeCAD help is not good at all.
What I did in the PR:
- subclassed the Draft_Move command (draftguitools.gui_move class Move());
- in the __init__, Activated I just pointed with super to the parent object relative methods, but I guess you can just omit their definition;
- then i overwrote the move_subelements(self): method to use the new code instead of the Draft_Move one...
- and I inserted the code to perform the subElementMove;
I think that's all...
Were you able to use it as it was? remember you should check the move subelement checkbox in the taskpanel.
follow my experiments on BIM modelling for architecture design
Re: Birth of Design456 Workbench
HI,mario52 wrote: ↑Sun Jan 31, 2021 8:23 pm hi
good, why not add the scale function see experiment on destructive subelement modifier
mario
I added your suggestion .
hide dialog dosent work .. I have to teach me how it works
thanks.
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
Re: Birth of Design456 Workbench
Any one wish to see the progress, I updated the github with many new functions to the workbench.
I will continue to make it better ..
I will continue to make it better ..
- Attachments
-
- 2021-02-08.png (268.71 KiB) Viewed 2244 times
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
Re: Birth of Design456 Workbench
the icons are nice
follow my experiments on BIM modelling for architecture design
Re: Birth of Design456 Workbench
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
Re: Birth of Design456 Workbench
looks cool!
The topological naming fix that realthunder implemented in his branch LinkStage3, I wonder how it would impact this workbench
The topological naming fix that realthunder implemented in his branch LinkStage3, I wonder how it would impact this workbench
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: Birth of Design456 Workbench
What do you mean? I couldn't get it. What is in LinkStage3 that could affect my workbench? So I try to have it suitable for that interface also.
Design456 Direct Modeling. Coin3D GUI Toolkit. Objects get simplified.
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_
https://github.com/MariwanJ/Design456 - https://wiki.freecadweb.org/Design456_Workbench
https://www.youtube.com/watch?v=6agcHPd ... utbTDH93m_