scale

open fun scale(scale: Vector3): Transformation3d

Scales this shape (enlarges or shrinks). Note, you should not scale by zero. Scaling by negative values is also not encouraged, as this may lead the unexpected behaviour. Use mirrorX, mirrorY, mirrorZ or mirror instead of negative scale factors.

As with all FooCAD transformations, this returns a NEW shape, it does not modify this shape.


open fun scale(scale: Double): Transformation3d
open fun scale(x: Double, y: Double, z: Double): Transformation3d