mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-31 08:15:53 +02:00
Renamed align to anchor.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
include <BOSL2/std.scad>
|
||||
|
||||
cuboid([60,40,40], fillet=5, edges=EDGES_Z_ALL, align=BOTTOM) {
|
||||
$fn=32;
|
||||
|
||||
cuboid([60,40,40], fillet=5, edges=EDGES_Z_ALL, anchor=BOTTOM) {
|
||||
attach(TOP, BOTTOM) rounded_prismoid([60,40],[20,20], h=50, r1=5, r2=10) {
|
||||
attach(TOP) cylinder(d=20, h=30) {
|
||||
attach(TOP) cylinder(d1=50, d2=30, h=12);
|
||||
|
@@ -2,7 +2,7 @@ include <BOSL2/std.scad>
|
||||
include <BOSL2/debug.scad>
|
||||
|
||||
|
||||
prismoid([60,40], [30,20], h=40) show_connectors();
|
||||
transparent() cylinder(h=30, d1=50, d2=30) show_anchors();
|
||||
|
||||
|
||||
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
@@ -2,7 +2,7 @@ include <BOSL2/std.scad>
|
||||
include <BOSL2/debug.scad>
|
||||
|
||||
|
||||
cylinder(h=30, d=30) show_connectors();
|
||||
transparent() cube(40, center=true) show_anchors();
|
||||
|
||||
|
||||
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
@@ -2,7 +2,7 @@ include <BOSL2/std.scad>
|
||||
include <BOSL2/debug.scad>
|
||||
|
||||
|
||||
cylinder(h=30, d1=50, d2=30) show_connectors();
|
||||
transparent() cylinder(h=30, d=30) show_anchors();
|
||||
|
||||
|
||||
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
8
examples/prismoid_anchors.scad
Normal file
8
examples/prismoid_anchors.scad
Normal file
@@ -0,0 +1,8 @@
|
||||
include <BOSL2/std.scad>
|
||||
include <BOSL2/debug.scad>
|
||||
|
||||
|
||||
transparent() prismoid([60,40], [30,20], h=40) show_anchors();
|
||||
|
||||
|
||||
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
14
examples/screw_anchors.scad
Normal file
14
examples/screw_anchors.scad
Normal file
@@ -0,0 +1,14 @@
|
||||
include <BOSL2/std.scad>
|
||||
include <BOSL2/threading.scad>
|
||||
include <BOSL2/phillips_drive.scad>
|
||||
include <BOSL2/torx_drive.scad>
|
||||
include <BOSL2/metric_screws.scad>
|
||||
include <BOSL2/debug.scad>
|
||||
|
||||
|
||||
transparent()
|
||||
metric_bolt(headtype="oval", size=10, l=15, shank=5, details=true, phillips="#2")
|
||||
show_anchors(5, std=false);
|
||||
|
||||
|
||||
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
@@ -2,7 +2,7 @@ include <BOSL2/std.scad>
|
||||
include <BOSL2/debug.scad>
|
||||
|
||||
|
||||
cube(40, center=true) show_connectors();
|
||||
transparent() sphere(d=30) show_anchors();
|
||||
|
||||
|
||||
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
@@ -1,8 +0,0 @@
|
||||
include <BOSL2/std.scad>
|
||||
include <BOSL2/debug.scad>
|
||||
|
||||
|
||||
sphere(d=30) show_connectors();
|
||||
|
||||
|
||||
// vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap
|
Reference in New Issue
Block a user