mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-08-16 12:24:09 +02:00
Removed the height parameter from linear_extrude
This commit is contained in:
@@ -20,7 +20,7 @@ include <../global_defs.scad>
|
||||
use <../utils/dogbones.scad>
|
||||
|
||||
module dogbones() {
|
||||
#linear_extrude(height = eps)
|
||||
#linear_extrude(eps)
|
||||
dogbone_square([10, 20]);
|
||||
|
||||
#translate([15, 0])
|
||||
|
@@ -20,7 +20,7 @@
|
||||
include <../utils/core/core.scad>
|
||||
|
||||
module globals() {
|
||||
linear_extrude(height = eps) {
|
||||
linear_extrude(eps) {
|
||||
semi_circle(r = 10);
|
||||
|
||||
translate([30, 0])
|
||||
|
@@ -22,7 +22,7 @@ use <../utils/layout.scad>
|
||||
diams = [3, 7, 5, 11];
|
||||
|
||||
module layouts() {
|
||||
linear_extrude(height = eps)
|
||||
linear_extrude(eps)
|
||||
layout(diams, gap = 1)
|
||||
circle(d = diams[$i]);
|
||||
}
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 160 KiB |
@@ -34,7 +34,7 @@ module polyholes() {
|
||||
children();
|
||||
}
|
||||
|
||||
color(pp1_colour) linear_extrude(height = 3, center = true)
|
||||
color(pp1_colour) linear_extrude(3, center = true)
|
||||
difference() {
|
||||
square([100, 27]);
|
||||
|
||||
|
@@ -22,7 +22,7 @@ use <../utils/quadrant.scad>
|
||||
|
||||
|
||||
module quadrants() {
|
||||
linear_extrude(height = eps)
|
||||
linear_extrude(eps)
|
||||
quadrant(10, 4);
|
||||
}
|
||||
|
||||
|
@@ -28,14 +28,14 @@ module shape()
|
||||
}
|
||||
|
||||
module rounds() {
|
||||
linear_extrude(height = eps)
|
||||
linear_extrude(eps)
|
||||
round(or = 4, ir = 2)
|
||||
shape();
|
||||
|
||||
|
||||
translate([50, 0])
|
||||
round_3D(or = 4, ir = 2, chamfer_base = true, $fn = 16)
|
||||
linear_extrude(height = 40, center = true)
|
||||
linear_extrude(40, center = true)
|
||||
shape();
|
||||
}
|
||||
|
||||
|
@@ -22,7 +22,7 @@ use <../utils/rounded_cylinder.scad>
|
||||
|
||||
|
||||
module rounded_cylinders() {
|
||||
linear_extrude(height = eps)
|
||||
linear_extrude(eps)
|
||||
rounded_corner(10, 20, 3, 5);
|
||||
|
||||
translate([30, 10])
|
||||
|
@@ -46,7 +46,7 @@ module rounded_polygons() {
|
||||
length = rounded_polygon_length(profile, tangents);
|
||||
|
||||
rotate([70, 0, 315])
|
||||
linear_extrude(height = eps)
|
||||
linear_extrude(eps)
|
||||
rounded_polygon(profile, tangents);
|
||||
|
||||
translate([0, -10])
|
||||
|
@@ -20,7 +20,7 @@
|
||||
include <../utils/core/core.scad>
|
||||
|
||||
module rounded_rectangles() {
|
||||
linear_extrude(height = eps)
|
||||
linear_extrude(eps)
|
||||
rounded_square([30, 20], 3);
|
||||
|
||||
translate([40, 0])
|
||||
|
@@ -22,7 +22,7 @@ use <../utils/sector.scad>
|
||||
|
||||
|
||||
module sectors() {
|
||||
linear_extrude(height = eps)
|
||||
linear_extrude(eps)
|
||||
sector(50, 45, 180);
|
||||
}
|
||||
|
||||
|
@@ -23,7 +23,7 @@ module teardrops() {
|
||||
color(pp1_colour)
|
||||
rotate([90, 0, -45])
|
||||
difference() {
|
||||
linear_extrude(height = 3) {
|
||||
linear_extrude(3) {
|
||||
difference() {
|
||||
square([80, 40]);
|
||||
|
||||
|
@@ -22,7 +22,7 @@ use <../utils/tube.scad>
|
||||
|
||||
|
||||
module tubes() {
|
||||
linear_extrude(height = eps)
|
||||
linear_extrude(eps)
|
||||
ring(10, 8);
|
||||
|
||||
translate([50, 10])
|
||||
|
@@ -56,7 +56,7 @@ module wires() {
|
||||
|
||||
color(pp1_colour) {
|
||||
rotate([90, 0, 90])
|
||||
linear_extrude(height = thickness)
|
||||
linear_extrude(thickness)
|
||||
difference() {
|
||||
translate([-w / 2, 0])
|
||||
square([w, h]);
|
||||
@@ -65,7 +65,7 @@ module wires() {
|
||||
}
|
||||
|
||||
translate_z(-thickness)
|
||||
linear_extrude(height = thickness)
|
||||
linear_extrude(thickness)
|
||||
difference() {
|
||||
translate([thickness -d, -w / 2])
|
||||
square([d, w]);
|
||||
|
Reference in New Issue
Block a user