Merge pull request #652 from revarbat/revarbat_dev

Added builtins.scad
This commit is contained in:
Revar Desmera 2021-09-16 21:06:45 -07:00 committed by GitHub
commit 9c2d410555
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 3 deletions

View file

@ -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
View 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