helix-toolkit icon indicating copy to clipboard operation
helix-toolkit copied to clipboard

Unsure the best way to apply transforms to geometry

Open SoggyBottomBoy opened this issue 7 months ago • 0 comments

I am after some help as I am both not overly familiar with the library nor 3D modelling. Basically, I am writing a light wrapper around the HelixToolkit for creating 3D charts specific to my use case. On thing that I want to do is scale the axes based on the bounding box of the chart series added. Because this is a light wrapper I use the HelixToolkit types for defining my chart (i.e. the consumer is expected to add a series as a GeometryModel3D).

What I want to do is combine the bounding box for each series, create a transform to scale each axis (i.e. to end up with a cube), and then apply this transform to each series. I have done the first part (calculating the transform), now do I need to write the code for apply transforms to the various derived types of GeometryModel3D or if there are already helper methods to do this.

Any help much appreciated.

SoggyBottomBoy avatar Jul 16 '24 03:07 SoggyBottomBoy