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

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

Post by mariwan »

After several weeks, and many problems, I have the basic functionality of my new tool. It is yet not perfect and not completed.
But since many of the options are working now, I would like to share it with you and maybe you leave your suggestion, comments here.
Basically it is 4 direction + Rotation of a face - Extrusion. It uses LOFT and the rotation (I am still not finished how to implement).
These might be useful, or useless .. Don't know .. depending on some applications they might be useful. But in general, this tool will get more functionality in the future as I learn and learn more (hopefully :lol: )

It can be also combined with other tools (direct modeling) to achieve other manipulations. It was hard and it wasn't easy.
There are several bugs that needs to be targeted, even in COIN widget. For example I wanted to show the rotation angels in number but the text is misplaced and just not working yet.
Hope you find it useful or at least get you inspired.
Thanks go to Mario for his rotation script which I really needed to make this rotation works better. Depending on that function I will make a better rotation tool soon after this tool.
https://www.youtube.com/watch?v=l4wzVcbrDls
Attachments
ExtractFaceRotate.png
ExtractFaceRotate.png (464.52 KiB) Viewed 2948 times
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

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

Post by Roy_043 »

Just a small heads up: your WB currently cannot be installed with Std_AddonMgr:

Error: Unable to download https://github.com/MariwanJ/Design456/a ... master.zip
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

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

Post by mariwan »

Roy_043 wrote: Mon Oct 11, 2021 8:20 pm Just a small heads up: your WB currently cannot be installed with Std_AddonMgr:

Error: Unable to download https://github.com/MariwanJ/Design456/a ... master.zip
I just downloaded the WB using the Addon Manager.
My version is :

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.25645 (Git)
Build type: Release
Branch: master
Hash: 37d9757399b4c2ec30318eb88d7cd7c508246345
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
But my git has no "Master" branch .. It is called "Main"
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

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

Post by Roy_043 »

Maybe you have git installed? I don't.
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

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

Post by mariwan »

Roy_043 wrote: Mon Oct 11, 2021 8:39 pm Maybe you have git installed? I don't.
Would you please try to download latest build?
https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

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

Post by mariwan »

marja1 wrote: Tue Oct 12, 2021 5:19 am
Roy_043 wrote: Mon Oct 11, 2021 8:39 pm Maybe you have git installed? I don't.
Would you please try to download latest build?
https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds
And try to look at this video?
https://www.youtube.com/watch?v=RomaDFQ1WoA
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

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

Post by Roy_043 »

marja1 wrote: Tue Oct 12, 2021 5:21 am And try to look at this video?
I have worked on the documentation of the Std_AddonMgr command, so I know how it should work. Most (all?) addons can be installed without having git installed. For your addon this is apparently not the case.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of FreeCAD: 64-bit
Version: 0.20.25997 (Git)
Build type: Release
Branch: master
Hash: 77b198048a63f1e9ca15eef64c8042d599a14cf3
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Dutch/Netherlands (nl_NL)
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

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

Post by mariwan »

If you are able to look at the link .. please don't use master --> mine has no master .. It is main branch.
The problem is there.
It works for me so really don't know what to say. Maybe just downloading manually and extracting the zip file at the MOD folder?
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

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

Post by adrianinsaval »

Roy_043 wrote: Mon Oct 11, 2021 8:20 pm Just a small heads up: your WB currently cannot be installed with Std_AddonMgr:

Error: Unable to download https://github.com/MariwanJ/Design456/a ... master.zip
wouldn't that then be a bug in the addon manager that asumes the main branch is called master?
chennes wrote:
could you check it out? I think you've been working with the addon manager lately? sorry to bother if that's not the case.
User avatar
mariwan
Posts: 469
Joined: Wed Jan 06, 2021 2:00 pm

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

Post by mariwan »

I checked the github.
if you write

Code: Select all

https://github.com/MariwanJ/Design456/archive/main.zip
it works.. but not the master ..
It is working for me without changing anything. Don't know why it is not working for you. And regarding the git, FreeCAD uses some executable file which comes with the FreeCAD. You shouldn't be needing git to install the WB
Post Reply