sheetmetal workbench and transparancy

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
thegavs
Posts: 21
Joined: Wed Apr 23, 2014 6:37 am

sheetmetal workbench and transparancy

Post by thegavs »

Hi,

Think I have found a bug in the sheet metal workbench relating to body transparency.

Code: Select all

OS: Linux Mint 20 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United Kingdom (en_GB)

To replicate create a flat part in part design workbench and set the transparency to a high value I used 80%
unbent transparent.png
unbent transparent.png (93.8 KiB) Viewed 809 times
then swap to sheet metal workbench and add a bend to a face.
bent not transpartent.png
bent not transpartent.png (94.83 KiB) Viewed 809 times
The transparency setting seems then to be ignored but not reset. changing the value will bring the transparency back.
bent showing data.png
bent showing data.png (116.57 KiB) Viewed 809 times

Thoughts?

Gavin
Attachments
sheetmetal transparency.FCStd
(14.77 KiB) Downloaded 13 times
User avatar
papyblaise
Veteran
Posts: 7870
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: sheetmetal workbench and transparancy

Post by papyblaise »

indeed, passing through sheetmetal resets the transparency and color parameters to "default", even if they remain modified in the Body
maybe this is due to the move from Partdesign workbench to Sheetmetal which is not an addon
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: sheetmetal workbench and transparancy

Post by Kunda1 »

Hi @shaise any idea what is the chicken and what is the egg here? :lol:
Is this a SheetMetal or PartDesign bug?

Edit: correct mention
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
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: sheetmetal workbench and transparancy

Post by domad »

Greetings to the Community!
Sheet Metal also behaves in the same way with "Part" objects and with objects already folded or modeled with another flow, I don't know if it can be defined as a "bug", perhaps a precise choice (?) of the developer to restore the parameters default "Object Style" or have been deemed of little importance. :?:
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: sheetmetal workbench and transparancy

Post by Syres »

thegavs wrote: Thu Jun 23, 2022 1:28 pm Hi,

Think I have found a bug in the sheet metal workbench relating to body transparency.
I've only submitted a fix to retain overall shape colour and transparency. To retain individual face colours will take some further time and testing but here's the Pull Request https://github.com/shaise/FreeCAD_SheetMetal/pull/246 submitted a short time ago.
User avatar
papyblaise
Veteran
Posts: 7870
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: sheetmetal workbench and transparancy

Post by papyblaise »

a priori it's only with sheetmetal, if you make an Array with DraftWb or an op with Part Wb on a PartDesign object, the color and transparency will also disappear
Syres
Veteran
Posts: 2893
Joined: Thu Aug 09, 2018 11:14 am

Re: sheetmetal workbench and transparancy

Post by Syres »

papyblaise wrote: Thu Aug 04, 2022 10:25 am a priori it's only with sheetmetal, if you make an Array with DraftWb or an op with Part Wb on a PartDesign object, the color and transparency will also disappear
I hope you have not ticked Link array checkbox?
Post Reply