Why is Standard View Fit All too small for assemblies(4)?

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!
freedman
Veteran
Posts: 3441
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Why is Standard View Fit All too small for assemblies(4)?

Post by freedman »

I don't have time to post pics but in the MWE I noticed that I can click fit all once to get a 50% full screen and then click fit all once again and I get 80% full screen, it appears the double zoom is somewhat orientation dependent. Never tried clicking twice before this test.

Edit: It could be that the code fix is just to call zoom fit twice. I'm guessing one call would center the view and the next is a fill screen. Just guess work.



Win 20.289
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Why is Standard View Fit All too small for assemblies(4)?

Post by adrianinsaval »

perhaps LCS affects the bounding box? Or something else? In your problematic example use Std_SelBoundingBox and click each object to check what is giving a bigger bounding box than it should (start with the top level).
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Why is Standard View Fit All too small for assemblies(4)?

Post by Vincent B »

ppemawm wrote: Fri Sep 16, 2022 4:34 pm Is this peculiar to Assembly4?
I think no, I often saw "fit to zoom" give a huge view with a complex object. or just sketcher wb!
User avatar
ppemawm
Veteran
Posts: 1240
Joined: Fri May 17, 2013 3:54 pm
Location: New York NY USA

Re: Why is Standard View Fit All too small for assemblies(4)?

Post by ppemawm »

adrianinsaval wrote: Fri Sep 23, 2022 6:08 pm In your problematic example use Std_SelBoundingBox and click each object to check what is giving a bigger bounding box than it should (start with the top level).
The inner box is the outer steel rim of the wheel. The next is the spoke array. The next, wheel sub-assembly. The largest is the top assembly Model.
So, if the FitAll is based on the bounding box then it is easy to see why the assembly is too small. Now, the question is why is the top assembly bounding box too large?
Capture17.JPG
Capture17.JPG (175.51 KiB) Viewed 456 times
.
This next image shows all of the LCS's and datum in Model. The LCS axes curiously get relatively larger as the the view shrinks. That must set the size of the bounding box.
.
Capture18.JPG
Capture18.JPG (189.34 KiB) Viewed 456 times
"It is a poor workman who blames his tools..." ;)
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Why is Standard View Fit All too small for assemblies(4)?

Post by adrianinsaval »

when you select an LCS, does it have a bounding box?
User avatar
ppemawm
Veteran
Posts: 1240
Joined: Fri May 17, 2013 3:54 pm
Location: New York NY USA

Re: Why is Standard View Fit All too small for assemblies(4)?

Post by ppemawm »

adrianinsaval wrote: Sat Sep 24, 2022 12:22 pm when you select an LCS, does it have a bounding box?
No. Same for any datum line or plane.
"It is a poor workman who blames his tools..." ;)
Post Reply