New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Face color of PartDesign Body not exported to STEP #6451
Comments
Got same issue. |
@tormyvancool this tells us nothing without your full About info |
@luzpaz sorry, please here my about: OS: Windows 10 Version 2009 <<<< not clue why it tells WIndows 10 since it is Windows 11; but ok perhaps it's fine so. |
@donovaly we should probably try to get this fixed before v0.20 release as well. |
@yorikvanhavre maybe you have time to have a look? |
Looking at it now, the culprit is basically here: |
There is something I don't understand here: |
Ok indeed the body's DiffuseColor is not properly set. And Part_SimpeCopy also does not copy colors over. |
@wwmayer , what do you think? |
It doesn't look like the STEP export function is broken but the Body object hasn't correctly set the colors. If you open the .FCStd file and check IMO the correct way should be to copy the diffuseColor property of the tip to the body object. So, if you want to export Fillet002 set it as tip and then run |
Thanks. |
Let me try to do it today ;) then we ask @wwmayer if I can't 😅 |
Ok I guess I need your help @wwmayer 😅
But no effect, the DiffuseColor is still standard grey after the tip's DiffuseColor has changed (even after touching it). I guess updateData is not the right place to do it, as some GUI-only mechanism probably takes place afterwards... How would you proceed? |
This happens when just loading the test file. However, when you set the new tip via context-menu the correct colors are set.
It is the right place (it should be inside the
It's up to the user to manually change & restore the tip to correct the colors. When saving the project again the correct colors are written to the file. Or we can touch the tip inside |
Thanks @wwmayer ! |
Is there an existing issue for this?
Forums discussion
https://forum.freecadweb.org/viewtopic.php?f=3&t=66604
Version
0.20 (Development)
Full version info
Subproject(s) affected?
Core
Issue description
You can apply a face color to a feature in a PartDesign Body ("Set colors..." context menu option). But this color is not exported to STEP.
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: