[Feature request] : ability to suppress (and unsuppress) Features

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
Piero69
Posts: 476
Joined: Thu Jul 04, 2019 1:22 pm
Location: Parma - Italy

[Feature request] : ability to suppress (and unsuppress) Features

Post by Piero69 »

I feel useful the ability to control a model by suppressing features when needed. Features are removed from the model (but not deleted) and disappear from the model view. They should shown in light gray in the design tree. Obviously if the feature has child features, the child features are also suppressed. all that must be reversible by unsupprensing
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by Kunda1 »

Piero69 wrote: Thu Oct 15, 2020 12:51 pm I feel useful the ability to control a model by suppressing features when needed. Features are removed from the model (but not deleted) and disappear from the model view. They should shown in light gray in the design tree. Obviously if the feature has child features, the child features are also suppressed. all that must be reversible by unsupprensing
issue #3398
@realthunder may have a solution for this in his LinkStage3 branch?
OficineRobotica wrote: pinged by pinger macro
@OficineRobotica is that true ?
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
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by OficineRobotica »

Kunda1 wrote: Thu Oct 15, 2020 12:55 pm @OficineRobotica is that true ?
I hope that I got what he means correctly but realthunder has already implemented that in linkstage3 . Right click on a feature in the tree -> suppress if I remember correctly. I'm on mobile
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
User avatar
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by OficineRobotica »

phpBB [video]
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by Kunda1 »

sweet! love that you make these videos and extract the gems hidden in LinkStage3...keep going!

FYI, before you post videos try to run your text through something like codespell, i've seen some spelling mistakes in the text annotations before. ;)
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
OficineRobotica
Posts: 433
Joined: Thu Feb 21, 2019 8:17 am
Contact:

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by OficineRobotica »

Kunda1 wrote: Fri Oct 16, 2020 11:43 am i've seen some spelling mistakes in the text annotations before. ;)
Thank you for letting me know that. I usually do my text in libreoffice with spell checking but , at this point, seems that something has skipped. I'll be allot more careful next time. Let's just keep spreading the word about FreeCAD :D
Check out my Youtube channel at: https://www.youtube.com/@OficineRobotica
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by Kunda1 »

OficineRobotica wrote: Fri Oct 16, 2020 12:20 pm Thank you for letting me know that. I usually do my text in libreoffice with spell checking but , at this point, seems that something has skipped. I'll be allot more careful next time. Let's just keep spreading the word about FreeCAD :D
Off topic: codespell is great. I contribute to it a lot.
codespell -q 3 will find all typos
codespell -i 3 -w will autocorrect them for you.
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
jwatkins672003
Posts: 65
Joined: Thu Nov 05, 2015 11:46 pm

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by jwatkins672003 »

Has the suppress feature been added to FreeCAD yet or will it be added in the next release 0.22?

Because I want to create a short if statement in the equation box for the suppress attribute such that if a feature becomes smaller than x, then this other feature gets suppressed / turned off.

Thanks, Jim. :)
User avatar
NewJoker
Veteran
Posts: 3079
Joined: Sun Oct 11, 2020 7:49 pm

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by NewJoker »

jwatkins672003 wrote: Wed Feb 14, 2024 9:05 pm Has the suppress feature been added to FreeCAD yet or will it be added in the next release 0.22?
It's WIP: https://github.com/FreeCAD/FreeCAD/issues/12361
User avatar
flachyjoe
Veteran
Posts: 1891
Joined: Sat Mar 31, 2012 12:00 pm
Location: Limoges, France

Re: [Feature request] : ability to suppress (and unsuppress) Features

Post by flachyjoe »

FYI since 0.22.0dev.36220, PartDesign features are suppressible by right-click on properties, show all and switch the Suppress property to false.

@jwatkins672003 you can set an expression for the Suppress property, eg.

Code: Select all

Radius < 1 mm ? True : False
Notice:
  • boolean combo box doesn't show the fx icon, expression editor is available throw the contextual menu, Expression…
  • a suppressed feature can raise a TNP if something is based on it
  • with older version a suppressed feature can only be unsuppressed with a document recompute.
- Flachy Joe -
Image
Post Reply