[FIXED] Distances in Projection Group

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Distances in Projection Group

Post by Roy_043 »

But why then don't we see the same issue in the Right-Front-Left row?
Roy_043 wrote: Sun Jun 12, 2022 10:31 am Notice that the Right view seems to have a different height as well.
This is not correct. The Right view just looks lower because it has no "Arc Center Marks". I was looking at the frame only.
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Distances in Projection Group

Post by kaktus »

wandererfan wrote: Sun Jun 12, 2022 2:40 pm
kaktus wrote: Sun Jun 12, 2022 7:29 am The Projection Group panel has options for specifying the position of individual projections among themselves.

The "Spacing X" option works fine for me. However, the "Distance Y" option is a real magic.
Determining the vertical position of individual projections has nothing to do with the declared parameter.
The screen grab shows you have "Auto Distribute" checked. This will position the Views based on the bounding rectangles of the largest View in each row/column. The SpacingX and SpacingY values modify the calculationed positions, generally to more widely space the Views.
Ok I get it.
But if the automatic distribution option is active then the following values should be unavailable and the algorithm should place the projection images in the proper place by itself.

However, when it is disabled, the placement should be based on the specified values.

In my opinion, this is intuitive.

At the moment, when I turn off the automatic distribution option, the fields for determining the distance X, Y are no longer active. It is not possible to enter spacing data. :roll:

This probably should not work this way because it causes confusion. This is, of course, my point of view.

The program either places images automatically or you enter the spacing values based on which the distribution takes place.
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Distances in Projection Group

Post by wandererfan »

Roy_043 wrote: Sun Jun 12, 2022 3:11 pm But why then don't we see the same issue in the Right-Front-Left row?
I don't follow. Does SpacingX not work for you?
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Distances in Projection Group

Post by wandererfan »

kaktus wrote: Sun Jun 12, 2022 3:44 pm But if the automatic distribution option is active then the following values should be unavailable and the algorithm should place the projection images in the proper place by itself.

However, when it is disabled, the placement should be based on the specified values.
Spacing only applies as an adjustment to AutoDistribution. If AutoDistribution is off, then the position of the secondary views is based on the X, Y properties.

Perhaps the names should X Adjustment, Y Adjustment, with the tool tip changed accordingly?
User avatar
kaktus
Veteran
Posts: 1174
Joined: Sun Aug 11, 2019 11:59 am
Location: opolskie
Contact:

Re: Distances in Projection Group

Post by kaktus »

If this is to work as you explained to me, then yes, the names and tooltips need to be corrected. ;)

But I would also like you to think about the actions I wrote about. :P

Rummaging around in parameters is cumbersome if we have nice options available.
Twórca polskiej wersji Wiki dla FreeCAD, współwórca polskiej wersji GUI.
"Cierpliwym być musisz, by wiedzę zgłębiać tajemną, gdyż ciemna strona mocy niszczącą i silną jest".
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Distances in Projection Group

Post by Roy_043 »

wandererfan wrote: Sun Jun 12, 2022 5:38 pm
Roy_043 wrote: Sun Jun 12, 2022 3:11 pm But why then don't we see the same issue in the Right-Front-Left row?
I don't follow. Does SpacingX not work for you?
I should have explained better. In the mentioned row the Front view is the widest. If the size of this view is used to space the other views in the row you would expect more space between f.e. the Right and the Front view. Comparable to what you see in the image between the Front and the Top view.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Distances in Projection Group

Post by wandererfan »

Roy_043 wrote: Sun Jun 12, 2022 8:04 pm In the mentioned row the Front view is the widest. If the size of this view is used to space the other views in the row you would expect more space between f.e. the Right and the Front view. Comparable to what you see in the image between the Front and the Top view.
Something isn't right. The views should be centered on a grid with big row x big column spacing. I'll have a look.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Distances in Projection Group

Post by wandererfan »

Roy_043 wrote: Sun Jun 12, 2022 8:04 pm If the size of this view is used to space the other views in the row you would expect more space between f.e. the Right and the Front view. Comparable to what you see in the image between the Front and the Top view.
Should be fixed by git commit fb1a7af360
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Distances in Projection Group

Post by Roy_043 »

Thank you.
Post Reply