Defeaturing Tools: how to edit a STEP model (parametrically)
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Defeaturing Tools: first attempt
Or Part workbench.
Estudié ingeniería técnica industrial en España y sólo me ha servido para estar en el paro, no me contratan porque no tengo experiencia, y no tengo experiencia porque no me contratan. No debí estudiar esa carrera.
Re: Defeaturing Tools: first attempt
Now the tools are quite usable...
here a video to repair a user STEP model which was a difficult user case.
The solid to be repaired
and the thread related
https://forum.freecadweb.org/viewtopic.php?f=8&t=29453
and here the solid after the 'cure' as STEP model
here a video to repair a user STEP model which was a difficult user case.
The solid to be repaired
and the thread related
https://forum.freecadweb.org/viewtopic.php?f=8&t=29453
and here the solid after the 'cure' as STEP model
Last edited by easyw-fc on Sat Jul 07, 2018 7:47 pm, edited 1 time in total.
-
- Veteran
- Posts: 7791
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
Re: Defeaturing Tools: first attempt
Whow Maurice, very nice that you explored the tools under the hood of FC0.18 and put them together in a "workbench"(?).
Great work, thank you so much.
Please let me know how you closed the holes with faces. Is it the OpenSCAD tool I used in my vid?
I find the tool very nice to delete one or more faces out of a bunch of faces.
Best regards
Wilfried
Great work, thank you so much.
Please let me know how you closed the holes with faces. Is it the OpenSCAD tool I used in my vid?
I find the tool very nice to delete one or more faces out of a bunch of faces.
Best regards
Wilfried
Re: Defeaturing Tools: first attempt
Hi Wilfred,freecad-heini-1 wrote: ↑Mon Jul 02, 2018 4:04 pm Whow Maurice, very nice that you explored the tools under the hood of FC0.18 and put them together in a "workbench"(?).
Great work, thank you so much.
Please let me know how you closed the holes with faces. Is it the OpenSCAD tool I used in my vid?
I find the tool very nice to delete one or more faces out of a bunch of faces.
Best regards
Wilfried
all the operations I did in the video came from the defeaturing macro.
I just added a request to add my new Defeaturing WB to the Addons repo
It is a mainly a Macro ATM, but the macro code is too long to be added with the standard Addons method; moreover it could evolve more (I have some other little ideas )
Please feel free to give feedback here or open any issue at my GH repo.
Maurice
-
- Veteran
- Posts: 7791
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
-
- Veteran
- Posts: 7791
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
Re: Defeaturing Tools: first attempt (how to edit a STEP model)
Hi Maurice,
your defeaturing-wb isn't available over the addon-manager. I hope that it will be added soon.
One question. I tried to close the face on the front side but didn't succeed. Any idea which existing tool work for this case?
Best regards
Wilfried
your defeaturing-wb isn't available over the addon-manager. I hope that it will be added soon.
One question. I tried to close the face on the front side but didn't succeed. Any idea which existing tool work for this case?
Best regards
Wilfried
Re: Defeaturing Tools: first attempt (how to edit a STEP model)
you can just install it as a normal WBfreecad-heini-1 wrote: ↑Tue Jul 03, 2018 9:35 am Hi Maurice,
your defeaturing-wb isn't available over the addon-manager. I hope that it will be added soon.
https://www.freecadweb.org/wiki/Install ... orkbenches
here the Defeaturing WB to download:Installing user-wide
Workbenches installed that way will be availible only to you, and not to the other users of your system. But it will not require any administrator or superuser privileges.
Copy or move the folder containing your workbench to the "Mod" directory that lies inside your FreeCAD user directory. On Windows, it will be something like C:\Users\your_user_name\Application Data\FreeCAD\Mod, on Linux systems it will be ~/.FreeCAD/Mod where ~ is your user's home directory. On Mac OSX the "Mod" directory should be ~/Library/Preferences/FreeCAD/Mod. One way to get to the FreeCAD preferences directory on Mac is to use the Finder menu item Go->Go to Folder... and then enter "~/Library/Preferences/FreeCAD".
https://github.com/easyw/Defeaturing_WB ... master.zip
(Please note that you need to extract it and copy the internal folder [Defeaturing_WB-master] to your Mod folder;
it is better if you rename it to Defeaturing_WB)
would you mind to send the FC file? (PM me if you prefer)freecad-heini-1 wrote: ↑Tue Jul 03, 2018 9:35 am One question. I tried to close the face on the front side but didn't succeed.
Any idea which existing tool work for this case?
Best regards
Wilfried
mainly is based on Part WB basic tools.freecad-heini-1 wrote: ↑Tue Jul 03, 2018 7:08 am But what is behind (inside of your macro), for example to create the face out of the curves?
EDIT: it does work down to FC0.15
Please let me know your testing results.
Re: Defeaturing Tools: first attempt (how to edit a STEP model)
Hi Wilfried,freecad-heini-1 wrote: ↑Tue Jul 03, 2018 9:35 am Hi Maurice,
your defeaturing-wb isn't available over the addon-manager. I hope that it will be added soon.
the Defeaturing WB has been just added
Now you can install it through the FC 'Tools' 'Addons' menu.
(If you had previously installed the WB, please remove it manually and then use FC menu to install it) I added a new feature: Face cleaning which allows to remove internal holes or merge adjacent faces.
-
- Veteran
- Posts: 7791
- Joined: Tue Jan 07, 2014 11:10 am
- Contact:
Re: Defeaturing Tools: first attempt (how to edit a STEP model)
Hi Maurice,
thank you so much. What a great and powerful workbench.
You are a great programer.
Best regards
Wilfried
Looking for a new mission?
A good face selecting tool is missing, from my point of view.
First a rectangel selecting tool that select the faces in front and not behind.
In Freecad exists something similar (the box select tool) to color single faces.
And then a selecting tool with inner and border faces. Imagine you have a part with many faces inside, lets say 138 faces, and outside is a border with just 12 faces.
In Creo you select the shift key to start this operation and first select one inner face, then you unselect the shift key, you press the shift key again and hold it, then you start to select the 12 outer faces. Unselect the shift key and voila all inner faces are selected for a copy or something else.
An easy example a box with one face thickness. Inside you have 5 faces, the border is just one face.
In Creo this tool works parametric. That means if you change the order in the model tree and add faces inside, the selecting tool will add them. It's explained on page 12 and 13 in the quick reference card:
http://www.cad-resources.com/files/Creo ... erence.pdf
By the way a edge chain / set selecting tool is also missing. The path-workbench has such a tool, but it's not working in other workbenches, I don't know why:
https://forum.freecadweb.org/viewtopic. ... 38#p215938
thank you so much. What a great and powerful workbench.
You are a great programer.
Best regards
Wilfried
Looking for a new mission?
A good face selecting tool is missing, from my point of view.
First a rectangel selecting tool that select the faces in front and not behind.
In Freecad exists something similar (the box select tool) to color single faces.
And then a selecting tool with inner and border faces. Imagine you have a part with many faces inside, lets say 138 faces, and outside is a border with just 12 faces.
In Creo you select the shift key to start this operation and first select one inner face, then you unselect the shift key, you press the shift key again and hold it, then you start to select the 12 outer faces. Unselect the shift key and voila all inner faces are selected for a copy or something else.
An easy example a box with one face thickness. Inside you have 5 faces, the border is just one face.
In Creo this tool works parametric. That means if you change the order in the model tree and add faces inside, the selecting tool will add them. It's explained on page 12 and 13 in the quick reference card:
http://www.cad-resources.com/files/Creo ... erence.pdf
By the way a edge chain / set selecting tool is also missing. The path-workbench has such a tool, but it's not working in other workbenches, I don't know why:
https://forum.freecadweb.org/viewtopic. ... 38#p215938