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
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

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

Post by xsuper9988 »

When I open the "Placement Panel" press the OK button
Then the color of the Link mirror object will turn black and the mirror will fail

My Ver.

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: Chinese/Taiwan (zh_TW)
Installed mods: 
  * A2plus 0.4.56a
  * Assembly3 0.11.3
  * Assembly4 0.11.12
  * Curves 0.4.4
  * DynamicData 2.46.0
  * ExplodedAssembly
  * fasteners 0.3.43
  * lattice2 1.0.0
  * parts_library
  * pcb
  * sheetmetal 0.2.49
Attachments
LinkScaleColorBlack.FCStd
(21.09 KiB) Downloaded 32 times
LinkScaleColorBlack1.png
LinkScaleColorBlack1.png (118.11 KiB) Viewed 1289 times
LinkScaleColorBlack2.png
LinkScaleColorBlack2.png (117.06 KiB) Viewed 1289 times
Last edited by xsuper9988 on Sun Jul 03, 2022 4:26 am, edited 5 times in total.
User avatar
bambuko
Veteran
Posts: 2161
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 »

To "mirror" using Link scale=-1
you set it here (and no, it doesn't go black):
Screenshot from 2022-06-28 17.37.59.png
Screenshot from 2022-06-28 17.37.59.png (89.69 KiB) Viewed 1259 times

Code: Select all

OS: Ubuntu Core 20 (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 0.21.29333 (Git) Snap 94
Build type: Release
Branch: master
Hash: 0c797ae6a88c226d9fd87df497e40ad1d6048044
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.2
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * DynamicData 2.46.0
  * ToolViewReverse_ToolBar
  * sheetmetal 0.2.49
  * Manipulator 1.4.3
  * Assembly3 0.11.3
  * fasteners 0.3.40
  * ThreadProfile 1.81.0
  * fcgear 1.0.0
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: Tue Jun 28, 2022 4:40 pm To "mirror" using Link scale=-1
you set it here (and no, it doesn't go black):
No
I need mirrored objects on a single axis
User avatar
bambuko
Veteran
Posts: 2161
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 »

xsuper9988 wrote: Tue Jun 28, 2022 11:20 pm No
I need mirrored objects on a single axis
Yes, you use scale=-1 , plus modify placement.
Screenshot from 2022-06-29 06.47.58.png
Screenshot from 2022-06-29 06.47.58.png (101.45 KiB) Viewed 1155 times
and/or adjust position as necessary (notice nothing is black :lol: ):
Screenshot from 2022-06-29 06.52.49.png
Screenshot from 2022-06-29 06.52.49.png (48.56 KiB) Viewed 1155 times

or... perhaps I am guessing wrong what it is that you are trying to achieve???
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 5:34 am or... perhaps I am guessing wrong what it is that you are trying to achieve???
First
Thank you very much for your reply

I'm trying to achieve is to mirror "an assembly group"

Originally using Draft's "mirror"
But it changes color to all white...
(LinkScaleColorBlack22.png)

After opening "Placement Panel" and pressing OK
Your method will still be black
Attachments
LinkScaleColorBlack11.FCStd
(18.96 KiB) Downloaded 21 times
LinkScaleColorBlack1111.png
LinkScaleColorBlack1111.png (69.66 KiB) Viewed 1124 times
LinkScaleColorBlack111.png
LinkScaleColorBlack111.png (76.83 KiB) Viewed 1124 times
LinkScaleColorBlack11.png
LinkScaleColorBlack11.png (73.56 KiB) Viewed 1132 times
LinkScaleColorBlack22.png
LinkScaleColorBlack22.png (74.04 KiB) Viewed 1132 times
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 5:34 am
and/or adjust position as necessary (notice nothing is black :lol: ):
  1. Is the "OK function of the placement panel" making the color black an issue?
  2. If I want to request an update about the "Draft mirror will not turn white" feature, where should I ask it in the forum?
User avatar
bambuko
Veteran
Posts: 2161
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 »

xsuper9988 wrote: Wed Jun 29, 2022 7:43 am I'm trying to achieve is to mirror "an assembly group"...
see my questions/comments below:
LinkScaleColorBlack11.png
LinkScaleColorBlack11.png (74.64 KiB) Viewed 1093 times
LinkScaleColorBlack111.png
LinkScaleColorBlack111.png (105.29 KiB) Viewed 1093 times
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
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 »

xsuper9988 wrote: Tue Jun 28, 2022 3:17 pm Then the color of the Link mirror object will turn black and the mirror will fail
Confirmed, IMO this a bug.
User avatar
bambuko
Veteran
Posts: 2161
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 »

What am I doing differently? :P :?
Screenshot from 2022-06-29 10.32.26.png
Screenshot from 2022-06-29 10.32.26.png (79.57 KiB) Viewed 1076 times
apart from (perhaps?) using different/latest version, see below:

Code: Select all

OS: Ubuntu Core 20 (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 0.21.29333 (Git) Snap 94
Build type: Release
Branch: master
Hash: 0c797ae6a88c226d9fd87df497e40ad1d6048044
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.2
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * DynamicData 2.46.0
  * ToolViewReverse_ToolBar
  * sheetmetal 0.2.49
  * Manipulator 1.4.3
  * Assembly3 0.11.3
  * fasteners 0.3.40
  * ThreadProfile 1.81.0
  * fcgear 1.0.0
and the result (after pressing OK), with no sign of anything black?
Screenshot from 2022-06-29 10.36.09.png
Screenshot from 2022-06-29 10.36.09.png (53.06 KiB) Viewed 1072 times

PS
I have also tried using Euler angle and the same OK result ...
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:35 am

Code: Select all

OS: Ubuntu Core 20 (Pantheon/pantheon)
Word size of FreeCAD: 64-bit
Version: 0.21.29333 (Git) Snap 94
I tested the latest win version (29283)
it still has problems
But don't see the version you are using (29333)
The latest in weekly-builds only (29321)
Could you please test it with (29321)?
https://github.com/FreeCAD/FreeCAD-Bund ... kly-builds

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.21.29283 (Git)
Build type: Release
Branch: master
Hash: 15e3e86c5a683f3b2e5c7b95d4b26cd719ab367a
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: Chinese/Taiwan (zh_TW)
Installed mods: 
  * A2plus 0.4.56a
  * Assembly3 0.11.3
  * Assembly4 0.11.12
  * Curves 0.4.4
  * DynamicData 2.46.0
  * ExplodedAssembly
  * fasteners 0.3.43
  * lattice2 1.0.0
  * parts_library
  * pcb
  * sheetmetal 0.2.49
Attachments
LinkScaleColorBlack11.gif
LinkScaleColorBlack11.gif (330.92 KiB) Viewed 1063 times
Post Reply