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

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

Post by xsuper9988 »

Roy_043 wrote: Thu Jun 30, 2022 1:27 pm In your last example you are dealing with a Link array. So I would say it is still most likely Link related.
OK
Maybe "Array_Pattern" is also based on "Link Object"
I know other programming languages
But I haven't spent time on python language
I use Freecad to draw machines
My specialty is programming "automatic mechanical control"

Thank very much for your reply
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

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

Post by xsuper9988 »

Roy_043 wrote: Thu Jun 30, 2022 1:27 pm In your last example you are dealing with a Link array. So I would say it is still most likely Link related.
found another problem
Size will also be affected
After "Place Panel" press OK button the size changes back to 1.0
Attachments
ScaleSize.FCStd
(4.61 KiB) Downloaded 14 times
ScaleSize01.png
ScaleSize01.png (93.09 KiB) Viewed 892 times
ScaleSize02.png
ScaleSize02.png (97.15 KiB) Viewed 892 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 »

Yes, it is obvious that Std_Placement cannot handle Link objects. Please create an issue on GitHub.
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

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

Post by xsuper9988 »

Roy_043 wrote: Sat Jul 02, 2022 4:31 pm Yes, it is obvious that Std_Placement cannot handle Link objects. Please create an issue on GitHub.
ok
Tomorrow I will do other tests and go to github to open a new one
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

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

Post by xsuper9988 »

Roy_043 wrote: Sat Jul 02, 2022 4:31 pm Yes, it is obvious that Std_Placement cannot handle Link objects. Please create an issue on GitHub.
Final result after testing
I am sure there is a problem with the Scale of the Link object
Because in Draft_Clone, Draft_Mirror will not have such a problem

I have changed the post on Github
Thank you very much @Roy_043 for your help and reply
Attachments
ScaleMirror.png
ScaleMirror.png (129.46 KiB) Viewed 825 times
ScaleClone.png
ScaleClone.png (133.1 KiB) Viewed 825 times
User avatar
bambuko
Veteran
Posts: 2161
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

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

Post by bambuko »

xsuper9988 wrote: Sun Jul 03, 2022 4:25 am ...I have changed the post on Github
1.Can you please link Github post here?
2.Have you tested it on Link branch as well?
i.e. is the issue specific to Master branch only?
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 Scale setting -1 (Mirror) make the will turn object's color black?

Post by xsuper9988 »

bambuko wrote: Sun Jul 03, 2022 8:24 am 1.Can you please link Github post here?
https://github.com/FreeCAD/FreeCAD/issues/7113

@realthunder
Can you please help with this issue too?
thank you very much
bambuko wrote: Sun Jul 03, 2022 8:24 am 2.Have you tested it on Link branch as well?
i.e. is the issue specific to Master branch only?
The result of my test
LinkBranch does not have this problem
And I found the result of my another request update

https://forum.freecadweb.org/viewtopic.php?f=23&t=69889
Attachments
LB_ScaleArray.png
LB_ScaleArray.png (104.88 KiB) Viewed 781 times
LB_ScaleLink.png
LB_ScaleLink.png (100.96 KiB) Viewed 781 times
LB_ScaleMirror.png
LB_ScaleMirror.png (105.68 KiB) Viewed 781 times
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

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

Post by realthunder »

Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

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

Post by xsuper9988 »

realthunder wrote: Thu Jul 07, 2022 4:38 am PR submitted https://github.com/FreeCAD/FreeCAD/pull/7143
Thank you very much for your help and reply :D :D :D
Post Reply