compas-dev/compas_view2

Frame scaling

Opened this issue · 2 comments

This is a question related to scaling of the Frame.
Should the frame edge length be reset after scaling?
Or the Frame could have its own shader, instead being created as a geometry object.

When written:
my_frame.matrix = Scale.from_factors([scale, scale, scale]).matrix

Example: user has a model that is scaled by 0.001, the frames in this situation looks like points:
image

For sure the other way around is to scale the compas frame and do not touch the viewer matrix.
image

Thanks for the suggestion! I think the best way is to integrate the variable 'frame view scale' into the configuration file so the user can set the frame size as they want!

@ZacZhangzhuo
Completely agree, it would be great to have such global attributes that are controlled independently of geometry :)