AB4D Forum
AxesBoxVisual3D font scaling - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9)
+--- Thread: AxesBoxVisual3D font scaling (/showthread.php?tid=4492)



AxesBoxVisual3D font scaling - SLH - 09-01-2025

Hi,

I am drawing a heightmap inside an axesbox.

To make things more visible in the heightmap I apply a scaletransform to increase the apparent height. 

However, if I also apply this to the axesbox then the fonts of the values on the axis get stretched.  Is there a way to avoid this?  I can't find the text visuals objects in the hierarchy.

Thanks in advance!


RE: AxesBoxVisual3D font scaling - abenedik - 09-01-2025

Instead of applying a ScaleTransform, you should just change the Y value in the Size property for the HeightMapVisual3D and also for the AxesBoxVisual3D. This will preserve the appearance of the text.