Behavior of nested containers when moving with Manipulator WB

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!
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Behavior of nested containers when moving with Manipulator WB

Post by drmacro »

Not sure this is a Manipulator thing or a Std_Part thing... :?

Start with the following (note the position of the axis cross):
Snip macro screenshot-734604.png
Snip macro screenshot-734604.png (119.13 KiB) Viewed 1801 times
Use transform to get this:
Snip macro screenshot-19b715.png
Snip macro screenshot-19b715.png (122.78 KiB) Viewed 1801 times
Now use Manipulator to put it back together by selecting the top of boss and the bottom of the hole in the pcb (again note the axis cross):
Snip macro screenshot-6b3242.png
Snip macro screenshot-6b3242.png (130.03 KiB) Viewed 1801 times

But, delete the top level Std_Part (Controller With Mount Plate), keeping the contents, perform the same as above the pcb moves as would be expected and drag them all into a new Std_Part and all is good.

What is it about containers? :?

Is this a Manipulator issue?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Behavior of nested containers when moving with Manipulator WB

Post by drmacro »

Sorry for the pings, but, I'm not sure the subject is really making it obvious what this post is about...and not sure how to rephrase it to do so. :oops:

I think this is a combination of idiosyncrasies of nested Std_Part containers or a bug in Manipulator WB handling of nested containers, or some combination, or none of the above...
easyw-fc wrote: pinged by pinger macro
TheMarkster wrote: pinged by pinger macro
edwilliams16 wrote: pinged by pinger macro
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Behavior of nested containers when moving with Manipulator WB

Post by easyw-fc »

drmacro wrote: Mon Nov 29, 2021 1:13 pm Sorry for the pings, but, I'm not sure the subject is really making it obvious what this post is about...and not sure how to rephrase it to do so. :oops:

I think this is a combination of idiosyncrasies of nested Std_Part containers or a bug in Manipulator WB handling of nested containers, or some combination, or none of the above...
easyw-fc wrote: pinged by pinger macro
There is an issue in Manipulator WB... it doesn't handle correctly an alignement when a top level 'Part' container has a non 'zero' placement.
There is a tool in kicadStepUp WB to reset the placement of a 'Part' contained assembly to 'zero', maintaining the actual position:
Image

here the related forum thread:
https://forum.freecadweb.org/viewtopic. ... 17#p515417
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Behavior of nested containers when moving with Manipulator WB

Post by drmacro »

easyw-fc wrote: Mon Nov 29, 2021 3:30 pm ..
There is an issue in Manipulator WB... it doesn't handle correctly an alignement when a top level 'Part' container has a non 'zero' placement.
...
here the related forum thread:
https://forum.freecadweb.org/viewtopic. ... 17#p515417
Hmm...yes I remember that thread. But, in the attached version of the file in the images above, you'll note the container/s are not off origin. And applying the KiCADStepup tool doesn't change the behaviour.

(I had to remove some the other containers to get the file size down to forum allowed. )
Attachments
ControllerPlusMountPlate-min.FCStd
(111.71 KiB) Downloaded 26 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Behavior of nested containers when moving with Manipulator WB

Post by easyw-fc »

drmacro wrote: Mon Nov 29, 2021 4:01 pm Hmm...yes I remember that thread. But, in the attached version of the file in the images above, you'll note the container/s are not off origin. And applying the KiCADStepup tool doesn't change the behaviour.

(I had to remove some the other containers to get the file size down to forum allowed. )
I cannot display anything of your file... I can only see the objects in the combo View, but nothing in the 3D view area
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Behavior of nested containers when moving with Manipulator WB

Post by drmacro »

Interesting.

If I open it in 0.19 I get the same, objects in tree, but nothing in 3D.

Fine in 0.20 though.

:?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Behavior of nested containers when moving with Manipulator WB

Post by easyw-fc »

@drmacro,
unfortunately I cannot see anything in the 3D viewer also with:

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.26498 (Git)
Build type: Release
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Behavior of nested containers when moving with Manipulator WB

Post by drmacro »

It appears any FreeCAD that is using less than 7.6 OCCT won't display the file.

It loads, reports no error. Geometry check of items in the tree show no error or shape content.
:?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
drmacro
Veteran
Posts: 8865
Joined: Sun Mar 02, 2014 4:35 pm

Re: Behavior of nested containers when moving with Manipulator WB

Post by drmacro »

The attached file has only been changed in 0.19 FC with OCCT 7.3.

I did notice the plate is not a 0,0,0. But, the Part containers are. This may be the source of the issue.
Attachments
ControllerPlusMountPlate_min_7p3.FCStd
(106.38 KiB) Downloaded 20 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Behavior of nested containers when moving with Manipulator WB

Post by easyw-fc »

drmacro wrote: Tue Nov 30, 2021 1:16 pm The attached file has only been changed in 0.19 FC with OCCT 7.3.

I did notice the plate is not a 0,0,0. But, the Part containers are. This may be the source of the issue.
I have no issue in aligning parts... would you please post a video/gif of your issue?
Post Reply