From 47aedd9d2515a5cd4defb40a4d81109c6cfe49e6 Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Tue, 5 Oct 2021 17:03:15 -0700 Subject: [PATCH] Added multmatrix(), translate(), rotate(), scale() builtins. --- builtins.scad | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/builtins.scad b/builtins.scad index b1dd295..65af291 100644 --- a/builtins.scad +++ b/builtins.scad @@ -1,8 +1,8 @@ ////////////////////////////////////////////////////////////////////// /// Undocumented LibFile: builtins.scad -// This file has indirect calls to OpenSCAD's builtin functions and modules. +/// This file has indirect calls to OpenSCAD's builtin functions and modules. /// Includes: -// use +/// use ////////////////////////////////////////////////////////////////////// /// Section: Builtin Functions @@ -25,6 +25,9 @@ module _cylinder(h,r1,r2,center,r,d,d1,d2) cylinder(h,r=r,d=d,r1=r1,r2=r2,d1=d1, module _sphere(r,d) sphere(r=r,d=d); - +module _multmatrix(m) multmatrix(m) children(); +module _translate(v) translate(v) children(); +module _rotate(a,v) rotate(a=a,v=v) children(); +module _scale(v) scale(v) children(); // vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap