Birth of Design456 Workbench

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Birth of Design456 Workbench

Post by carlopav »

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.
follow my experiments on BIM modelling for architecture design
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Birth of Design456 Workbench

Post by mariwan »

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
Attachments
newInterfaceDesign456.jpg
newInterfaceDesign456.jpg (983.5 KiB) Viewed 2485 times
mario52
Veteran
Posts: 4673
Joined: Wed May 16, 2012 2:13 pm

Re: Birth of Design456 Workbench

Post by mario52 »

hi

good, why not add the scale function see experiment on destructive subelement modifier

mario
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.
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Birth of Design456 Workbench

Post by carlopav »

@mario52, definitely related!

@marja1:
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.
No, I do not know a resource to suggest you...
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
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Birth of Design456 Workbench

Post by mariwan »

mario52 wrote: Sun Jan 31, 2021 8:23 pm hi

good, why not add the scale function see experiment on destructive subelement modifier

mario
HI,
I added your suggestion .
hide dialog dosent work .. I have to teach me how it works :oops:
thanks.
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Birth of Design456 Workbench

Post by mariwan »

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 .. :roll:
Attachments
2021-02-08.png
2021-02-08.png (268.71 KiB) Viewed 2204 times
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Birth of Design456 Workbench

Post by carlopav »

the icons are nice
follow my experiments on BIM modelling for architecture design
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Birth of Design456 Workbench

Post by mariwan »

carlopav wrote: Mon Feb 08, 2021 8:45 pm the icons are nice
Thanks
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Birth of Design456 Workbench

Post by Kunda1 »

looks cool!
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
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Birth of Design456 Workbench

Post by mariwan »

Kunda1 wrote: Tue Feb 09, 2021 5:00 pm looks cool!
The topological naming fix that realthunder implemented in his branch LinkStage3, I wonder how it would impact this 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.
Post Reply