Stardraw Forums

Scaling doesn't change properties

http://forums.stardraw.com/Topic17515.aspx

By JoshMTK - 4/26/2017 7:57:09 PM

After I scale an object, via 'Arrange'-'Scale', the properties of the object don't reflect the scaling.  So a 36" line, scaled 200%, is now 72" long.  But all the properties of the line still have the original dimensions.  Is this correct behavior? See attached pic.  The bottom dimension line was drawn after the top line was scaled.
‌Thanks!

‌ 
By David Snipp - 4/26/2017 9:53:53 PM

JoshMTK - 4/26/2017 7:57:09 PM
After I scale an object, via 'Arrange'-'Scale', the properties of the object don't reflect the scaling.  So a 36" line, scaled 200%, is now 72" long.  But all the properties of the line still have the original dimensions.  Is this correct behavior? See attached pic.  The bottom dimension line was drawn after the top line was scaled.
‌Thanks!

‌ 

Josh,

Yes, this ‌is correct behaviour. A Scale is a type of Transformation. Others include Translation and Rotation. If you Rotated a 36" Line by 90 degrees, it would still be 36" long - The same applies to Translating it.

T‌his is a complicated subject but the coordinates are in child/model space ‌and it has a transformation matrix that transforms the child/model space into world space. After this, there is another View Matrix that transforms the World Space into View Space (related to where on the drawing you are and how far in you are zoomed) and a final one that transforms View Space into Device Space (pixels on your screen).

A‌ll these transformations take place every time you redraw your screen or move about the drawing. The Child co-ordinates and dimensions do not change. This is the behaviour you are seeing. If you want to make the line twice as long, I would recommend typing in the length that you want the line to be from the Property Grid when you have the Line selected.

I‌ hope this makes sense.‌‌
By JoshMTK - 4/27/2017 12:28:06 PM

I get the rough idea of how that works. Now, is there a practical use for the end user to see it that way? I feel a user would want the property grid to represent what they are seeing, not pre-translated data that has no reference to if or how it's being translated.

Thanks!
By David Snipp - 4/27/2017 12:35:11 PM

JoshMTK - 4/27/2017 12:28:06 PM
I get the rough idea of how that works. Now, is there a practical use for the end user to see it that way? I feel a user would want the property grid to represent what they are seeing, not pre-translated data that has no reference to if or how it's being translated.

Thanks!

Josh,
I‌ understand that it might be counter-intuitive, but another example might make it clearer - If you rotate a 20m wide‌‌ by 10m high rectangle by 90 degrees, how wide is it after the rotation?
The Scale Transform is a very powerful and advanced feature that is particularly useful when importing drawings drawn at a different scale.
I‌f you don't want to Scale your Dimension, then you should resize your Dimension by entering in the desired value in the Property Grid.

I‌ trust this clarifies and resolves the issue.