mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Added multmatrix(), translate(), rotate(), scale() builtins.
This commit is contained in:
parent
0f80d544fb
commit
47aedd9d25
1 changed files with 6 additions and 3 deletions
|
@ -1,8 +1,8 @@
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
/// Undocumented LibFile: builtins.scad
|
/// 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:
|
/// Includes:
|
||||||
// use <BOSL2/builtins.scad>
|
/// use <BOSL2/builtins.scad>
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
/// Section: Builtin Functions
|
/// 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 _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
|
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
||||||
|
|
Loading…
Reference in a new issue