Color Loss - it gets worse - no sheet metal edit!

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
bobH2
Posts: 36
Joined: Wed Feb 09, 2022 6:32 pm

Color Loss - it gets worse - no sheet metal edit!

Post by bobH2 »

Hey!
In viewtopic.php?p=684071#p684071 I presented a sample that lost all Color.
The attached is basically the same sample but demonstrating how a simple save can prevent any further editing of Sheet Metal attachments.

ComboView.png
ComboView.png (9.13 KiB) Viewed 1258 times

Normally, when you right click on a bend, you can edit its attachment position. When the file gets messed up, the edit ability is lost:
Menu.png
Menu.png (26.59 KiB) Viewed 1258 times

This is a horrible bug - all bends have to be deleted and recreated. Is there a workaround? If not, If someone can confirm I will pass this on to GitHub.

Instructions are in the imbedded "Text document". For more info see the link above to p6840071.

I believe the problem is connected somehow with the use of Text Documents. I have found these invaluable for keeping notes and storing coordinates when reimporting step files of other parts that have to evolve. Could use the spreadsheet but the text is faster.

Thanks,
Bob.
Attachments
NoSheetMetalEdit.FCStd
(16.13 KiB) Downloaded 16 times
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: Color Loss - it gets worse - no sheet metal edit!

Post by chrisb »

Did you try with the latest versions of FreeCAD and SheetMetal? Full FreeCAD infos are always welcome.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
bobH2
Posts: 36
Joined: Wed Feb 09, 2022 6:32 pm

Re: Color Loss - it gets worse - no sheet metal edit!

Post by bobH2 »

chrisb,
Yes - both 0.20.2 and 0.21.0 and SheetMetal 0.2.63.

The easy fix for this is likely just have FreeCAD always save any "Text Documents" automatically when the rest of the project is saved. I can't see how someone would want to save a project but not save any text changes. If in doubt, it can be an option in preferences.

Thanks,
Bob.
User avatar
onekk
Veteran
Posts: 6144
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Color Loss - it gets worse - no sheet metal edit!

Post by onekk »

bobH2 wrote: Fri Jun 02, 2023 10:31 pm chrisb,
Yes - both 0.20.2 and 0.21.0 and SheetMetal 0.2.63.
...
Not to be pedantic but here:

http://forum.freecadweb.org/viewtopic.php?f=3&t=2264

You will find the correct way to post Full FreeCAD info that are way too much detailed than the info supplied above.

Sorry for not posting an example but my PC internet connection is not working due to technical works.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Color Loss - it gets worse - no sheet metal edit!

Post by Roy_043 »

Confirmed.
After changing the embedded text document and pressing "X" you are prompted to save the document twice. It is the 2nd save that causes the problems.

The problems can easily be avoided by using Std_Save after changes to the text document. Or by ignoring the 2nd prompt.

Code: Select all

OS: Windows 8 build 9600
Word size of FreeCAD: 64-bit
Version: 0.21.0.33321 (Git)
Build type: Release
Branch: master
Hash: 1d61ed187c9633702818c6cc5d7a1f07dd052ca8
Python 3.10.11, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Dutch/Netherlands (nl_NL)
Installed mods: 
  * sheetmetal 0.2.59
User avatar
bobH2
Posts: 36
Joined: Wed Feb 09, 2022 6:32 pm

Re: Color Loss - it gets worse - no sheet metal edit!

Post by bobH2 »

chrisb, onekk

Code: Select all

OS: Windows Server 2016 Version 1809
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git)
Build type: Release
Branch: (HEAD detached from 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/Canada (en_CA)
Installed mods: 
  * Assembly4 0.50.2
  * Curves 0.6.9
  * fasteners 0.4.56
  * Help 1.0.3
  * MeshRemodel 1.8919.0
  * sheetmetal 0.2.63
  * Trails 2022.1.0

Code: Select all

OS: Windows Server 2016 Version 1809
Word size of FreeCAD: 64-bit
Version: 0.21.0.32552 (Git)
Build type: Release
Branch: master
Hash: e2b3a5d2f791fb78a61daac9bdab374058f682f2
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/Canada (en_CA)
Installed mods: 
  * Assembly4 0.50.2
  * Curves 0.6.9
  * fasteners 0.4.56
  * Help 1.0.3
  * MeshRemodel 1.8919.0
  * sheetmetal 0.2.63
  * Trails 2022.1.0
I'll try to remember to post the versions better in the future.

Roy_043,
Thank you for confirming. And yes, when the project is saved through the menu as you suggest, there doesn't seem to be any problem. Problem is, i don't always remember to do that.

I have posted this in Github: https://github.com/FreeCAD/FreeCAD/issues/9730

Thanks,
Bob.
Post Reply