Progress thread of New Design456 Workbench - FreeCAD's Direct Modeling workbench

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Progress thread of New Design456 Workbench - FreeCAD's Direct Modeling workbench

Post by mariwan »

Note:
Please don't reply to this thread. This is an announcement thread. I represent my progress in developing of the Design456 WB.
Started 2021-02-21

Many commands are added
-2D: Addition, subtraction, common and surface creation using two lines, curves or edges of two objects.
-Many Primitives objects.
-Face, object extrusion
-Some Part:s functionality.
-Face selection mechanism, face finding, edge finding ..etc.

Known issues:

-FreeCAD fails to remove a mouse-callback. You need to use twice ESC to release some of the Primitives.. I don't know why (Look at the console even when the "remove callback" text appear in the console but the actual action is not happening.
-Some surfaces causes problem for some of the functions I have.
-Undo-Redo is not working at all. You should not experiment dangerous commands on important objects (like fillet, Chamfer ..et). These can destroy the geometry if you don't be careful.
-Good cleanup of the objects might be difficult without been careful what you delete and what you create simple-copy of it.
-Not selecting the correct shape or sub-shape results in disaster .. I tried to avoid getting bad geometry.. but I think it is not working yet.
-MakeArrayFace, Loft On Direction, and Tweak : These functions are from the forum. I tried to change it from Macro to a command to the WB. Not much effort are dedicated to further improve them. But I have them in my mind. They are great if they works.

Future plans:
I wish to have as many as I can commands that are essential for the WB. After that I will try to fix the problems and making further developments for the existing commands.

TEST:
I really don't have so much time left to test. My time is to develop the WB. I hope others in the forum will try the WB and report to the github the problems .. And please might suggest a way to solve it. If not the actual code .. maybe diagram, steps ..etc.

Github:
https://github.com/MariwanJ/Design456

I will try to update you as much as I can..
Thanks for reading.
Last edited by Kunda1 on Thu Mar 04, 2021 2:21 pm, edited 2 times in total.
Reason: Renamed thread title to reflect what this project does
User avatar
bernd
Veteran
Posts: 12849
Joined: Sun Sep 08, 2013 8:07 pm
Location: Zürich, Switzerland
Contact:

Re: Design 456 progress

Post by bernd »

You must have forgoten to add the github link to your wb!
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Design 456 progress

Post by mariwan »

Adding 2d Drawing:
- 3 points to Arc - From Mario macro modified
-Multi-points to line - Open
-Multi-Points to line - Closed
The above functions could be used with Primitives. You can create very complex shapes with Extrude in a very limited time.
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Design 456 progress

Post by mariwan »

Selection mode implemented:
1-Body
2-Face
3-Edge
4-Verticies

Issues:
  • Unfortunately I don't know how to put the buttons inside the 3D view
  • I don't know either how to stop the warning sound .. it is not good to have it
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Design 456 progress

Post by mariwan »

marja1 wrote: Mon Feb 22, 2021 3:40 pm Adding 2d Drawing:
- 3 points to Arc - From Mario macro modified
-Multi-points to line - Open
-Multi-Points to line - Closed
The above functions could be used with Primitives. You can create very complex shapes with Extrude in a very limited time.
New video shows how you can use the new commands. :lol:
phpBB [video]
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Design 456 progress

Post by Kunda1 »

Interesting. I noticed that is was challenging for you as you pixel hunting to get those lines and corners selected. Perhaps increasing your pick radius ?
Preferences > Display > 3D View > Rendering > Pick radius (px)
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: Design 456 progress

Post by mariwan »

New improvement.
Lof on Direction is fixed from all bugs.
Please download the new version ..
Mario had many miscalculation in his Macro.. I fixed them.
I added also debug info in all my classes to get good info when the commands fails to get the line number

New video :
phpBB [video]
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Design 456 progress

Post by mariwan »

Kunda1 wrote: Fri Feb 26, 2021 12:42 am Interesting. I noticed that is was challenging for you as you pixel hunting to get those lines and corners selected. Perhaps increasing your pick radius ?
Preferences > Display > 3D View > Rendering > Pick radius (px)
thanks
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

Re: Design 456 progress

Post by mariwan »

Magnet tool improved. :D
See the video

phpBB [video]
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Design 456 progress

Post by Kunda1 »

nice job!
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
Post Reply