Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature suggestion: Add 'scale' property to Elements? #38

Open
xeolabs opened this issue Jan 7, 2024 · 1 comment
Open

Feature suggestion: Add 'scale' property to Elements? #38

xeolabs opened this issue Jan 7, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@xeolabs
Copy link

xeolabs commented Jan 7, 2024

Hi again, would it be possible to add a scale property on elements as a feature? This way, it would be possible, for example, to reuse the same cube-shaped mesh by elements with various box shapes. I think this feature would be important for when saving a .bim from a model representation that relies on scaling as part of geometry instancing, because otherwise such an application would then need to bake the scale into each instance, then save each instance to .bim as a separate mesh.

@paireks
Copy link
Owner

paireks commented Jan 8, 2024

Hello :)

There is a reason why there is only rotation + position described here, however what I can tell is the lack of it also seems weird in some scenarios. E.g. if platform has rotation, position and scale described already, than there is some unnatural coding required to make .bim file, cause first you have to scale the meshes, and later save rotation and position. So for these cases having scale property for elements would definitely help.

I'm leaving it here to consider it for 1.3.0 version :)

Also it will be good to consider what to do with "ugly" negative scaling scenarios then :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants