mirror of
https://github.com/nophead/NopSCADlib.git
synced 2025-09-09 06:31:32 +02:00
Removed woven_sheet() from the readme.
Removed redundent code.
This commit is contained in:
@@ -120,8 +120,7 @@ module render_2D_sheet(type, colour = false, colour2 = false, w = undef, d = und
|
||||
children();
|
||||
}
|
||||
|
||||
module woven_sheet(type, thickness, colour, colour2, w, d) {//! Create a woven 2D sheet with specified thickness and colours
|
||||
;
|
||||
module woven_sheet(type, thickness, colour, colour2, w, d) { // Create a woven 2D sheet with specified thickness and colours
|
||||
warp = sheet_warp(type);
|
||||
weft = sheet_weft(type);
|
||||
warp_doublet_count = assert(!is_undef(w) && !is_undef(d), "Must specify the dimensions to render woven sheets") ceil(w / (2 * warp));
|
||||
@@ -133,12 +132,6 @@ module woven_sheet(type, thickness, colour, colour2, w, d) {//! Create a woven 2
|
||||
translate([warp * (2 * x + ((y + odd) % 2)), weft * y])
|
||||
square([warp, weft]);
|
||||
|
||||
module negative()
|
||||
difference() {
|
||||
square(size, center = true);
|
||||
positive();
|
||||
}
|
||||
|
||||
color(colour)
|
||||
linear_extrude(thickness)
|
||||
intersection() {
|
||||
|
Reference in New Issue
Block a user