PartDesign Fillet tool
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
- Shalmeneser
- Veteran
- Posts: 9474
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: PartDesign Fillet tool
Each time you add something (edge/face), is there a check made to know if the fillet will work ?
- adrianinsaval
- Veteran
- Posts: 5541
- Joined: Thu Apr 05, 2018 5:15 pm
Re: PartDesign Fillet tool
There is no way to do that AFAIK, the arguments are just passed to occt once you disable Add mode and it attempts to fillet.Shalmeneser wrote: ↑Tue Mar 21, 2023 11:33 pm Each time you add something (edge/face), is there a check made to know if the fillet will work ?
- Shalmeneser
- Veteran
- Posts: 9474
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: PartDesign Fillet tool
I know, but do we need to wait until the end of the action to know if it's ok (someone was speaking of shadowing the result (iterativly ?)).
Re: PartDesign Fillet tool
Actually everytime you add something, the fillet is recomputed. There is even a function that hide the body if it failed :
So we can use this isError() when something is selected.
Code: Select all
void TaskDressUpParameters::hideOnError()
{
App::DocumentObject* dressup = DressUpView->getObject();
if (dressup->isError())
hideObject();
else
showObject();
}
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: PartDesign Fillet tool
PR is ready if you want to try it out : https://github.com/FreeCAD/FreeCAD/pull/8990
Or try with the eyes :
Or try with the eyes :
Support me on Patreon: https://www.patreon.com/FreeCadDevDiary
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
FreeCad Dev Diary channel:[/b] https://www.youtube.com/channel/UCGMTmJ ... NiPSSEhBHA
Re: PartDesign Fillet tool
Big improvement !
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- Shalmeneser
- Veteran
- Posts: 9474
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr