Why does Link object Scale setting -1 (Mirror) make the will turn object's color black?

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!
User avatar
bambuko
Veteran
Posts: 2165
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Why does Link's Scale setting -1 (Mirror) make the object's color black?

Post by bambuko »

You are using windows and I am using linux (hence different version numbers).

My appimage is as below (somewhat behind the latest - I will try download later when I have some time).
I do not have "changing to black" problems with it either...

Code: Select all

OS: elementary OS 6.1 Jólnir (Pantheon/pantheon)
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)
Let's hope there is someone with windows who can help you testing?
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Why does Link's Scale setting -1 (mirror) make the object's color black?

Post by xsuper9988 »

bambuko wrote: Wed Jun 29, 2022 9:19 am "this is not a mirror
is this what are you trying to achieve"
(LinkScaleColorBlack111.png )
Because editing projects sometimes use the "placement panel"
Pressing the OK button will make the color black

My purpose is to mirror an "assembled object"
Then the color of the assembled object after mirroring remains the same
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Why does Link's Scale setting -1 (Mirror) make the object's color black?

Post by xsuper9988 »

bambuko wrote: Wed Jun 29, 2022 10:11 am

Code: Select all

OS: elementary OS 6.1 Jólnir (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Then I think it might be a compiler problem???
Because I originally used it (29177 win)

Thank you very much for your reply
Last edited by xsuper9988 on Wed Jun 29, 2022 10:35 am, edited 1 time in total.
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Why does Link's Scale setting -1 (Mirror) make the object's color black?

Post by xsuper9988 »

Roy_043 wrote: Wed Jun 29, 2022 9:27 am Confirmed, IMO this a bug.
Excuse me ROY
  1. If you are sure this is a "BUG"
    Where do I go to the forum to post?
    (Is the "OK function of the placement panel" making the color black an issue?)
  2. if i have "request update"
    Where do I go to the forum to post?
    and how to post?
    (I want to request an update about the "Draft mirror will not turn white,keep the same color after mirroring" feature)
Thank you very much
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Why does Link's Scale setting -1 (Mirror) make the object's color black?

Post by Roy_043 »

#1: The normals of the faces get flipped. That should not happen. So this is a bug. For information on the correct procedure see: https://forum.freecadweb.org/viewtopic.php?f=3&t=5236.

#2: I cannot reproduce this. Please start a new topic in the Draft forum to address this: https://forum.freecadweb.org/viewforum.php?f=23.
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Why does Link's Scale setting -1 (Mirror) make the object's color black?

Post by xsuper9988 »

Roy_043 wrote: Wed Jun 29, 2022 12:10 pm #1: The normals of the faces get flipped. That should not happen. So this is a bug. For information on the correct procedure see: https://forum.freecadweb.org/viewtopic.php?f=3&t=5236.

#2: I cannot reproduce this. Please start a new topic in the Draft forum to address this: https://forum.freecadweb.org/viewforum.php?f=23.
Thank you very much for your reply
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Why does Link's Scale setting -1 (Mirror) make the object's color black?

Post by Roy_043 »

You can restore the original colors of the Link by changing the scale vector to [1 1 1] and then back to [-1 1 1].
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Why does Link's Scale setting -1 (Mirror) make the object's color black?

Post by xsuper9988 »

Roy_043 wrote: Wed Jun 29, 2022 3:24 pm You can restore the original colors of the Link by changing the scale vector to [1 1 1] and then back to [-1 1 1].
yes
i know this
thank you very much
i wait for update
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Why does Link's Scale setting -1 (Mirror) make the object's color black?

Post by xsuper9988 »

Roy_043 wrote: Wed Jun 29, 2022 3:24 pm You can restore the original colors of the Link by changing the scale vector to [1 1 1] and then back to [-1 1 1].
Hi ROY
I found that the "Scale" of "Arrray_Patten" also turns black
So it shouldn't be a "Link object" problem
Maybe "Scale" in the library has something to do with it?
Attachments
DrafArray.FCStd
(20.93 KiB) Downloaded 13 times
DrafArray1.png
DrafArray1.png (82.83 KiB) Viewed 702 times
DrafArray2.png
DrafArray2.png (82.64 KiB) Viewed 702 times
DrafArray3.png
DrafArray3.png (76.45 KiB) Viewed 702 times
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Why does Scale setting -1 (Mirror) make the will turn object's color black?

Post by Roy_043 »

In your last example you are dealing with a Link array. So I would say it is still most likely Link related.
Post Reply