1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-09-21 03:51:32 +02:00
Files
dotSCAD/docs/lib2-m_scaling.md
Justin Lin ee89119f2f add dir
2019-06-22 14:15:18 +08:00

398 B

m_scaling

Generate a 4x4 transformation matrix which can pass into multmatrix to scale its child elements using the specified vector.

Since: 1.1

Parameters

  • v : Elements will be scaled using the vector.

Examples

include <matrix/m_scaling.scad>;

cube(10);
translate([15, 0, 0]) 
	multmatrix(m_scaling([0.5, 1, 2]))
		cube(10);

m_scaling