mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Added builtins.scad
This commit is contained in:
parent
7feeecd7f6
commit
02c1df75ec
2 changed files with 32 additions and 3 deletions
|
@ -3,6 +3,7 @@ IgnoreFiles:
|
|||
foo.scad
|
||||
std.scad
|
||||
bosl1compat.scad
|
||||
builtins.scad
|
||||
version.scad
|
||||
tmp_*.scad
|
||||
PrioritizeFiles:
|
||||
|
@ -14,6 +15,7 @@ PrioritizeFiles:
|
|||
primitives.scad
|
||||
shapes.scad
|
||||
shapes2d.scad
|
||||
drawing.scad
|
||||
masks.scad
|
||||
math.scad
|
||||
vectors.scad
|
||||
|
@ -29,7 +31,6 @@ PrioritizeFiles:
|
|||
debug.scad
|
||||
common.scad
|
||||
strings.scad
|
||||
errors.scad
|
||||
beziers.scad
|
||||
threading.scad
|
||||
rounding.scad
|
||||
|
@ -40,8 +41,6 @@ PrioritizeFiles:
|
|||
hull.scad
|
||||
triangulation.scad
|
||||
turtle3d.scad
|
||||
stacks.scad
|
||||
queues.scad
|
||||
structs.scad
|
||||
DefineHeader(BulletList): Side Effects
|
||||
DefineHeader(Table:Anchor Name|Position): Extra Anchors
|
||||
|
|
30
builtins.scad
Normal file
30
builtins.scad
Normal file
|
@ -0,0 +1,30 @@
|
|||
//////////////////////////////////////////////////////////////////////
|
||||
/// Undocumented LibFile: builtins.scad
|
||||
// This file has indirect calls to OpenSCAD's builtin functions and modules.
|
||||
/// Includes:
|
||||
// use <BOSL2/builtins.scad>
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
/// Section: Builtin Functions
|
||||
|
||||
/// Section: Builtin Modules
|
||||
module _square(size,center=false) square(size,center=center);
|
||||
|
||||
module _circle(r,d) circle(r=r,d=d);
|
||||
|
||||
module _text(t,size,font,halign,valign,spacing,direction,language,script)
|
||||
text(t, size=size, font=font,
|
||||
halign=halign, valign=valign,
|
||||
spacing=spacing, direction=direction,
|
||||
language=language, script=script
|
||||
;)
|
||||
|
||||
module _cube(size,center) cube(size,center=center);
|
||||
|
||||
module _cylinder(h,r1,r2,center,r,d,d1,d2) cylinder(h,r=r,d=d,r1=r1,r2=r2,d1=d1,d2=d2,center=center);
|
||||
|
||||
module _sphere(r,center,d) sphere(r=r,d=d,center=center);
|
||||
|
||||
|
||||
|
||||
// vim: expandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
Loading…
Reference in a new issue