mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-14 18:24:36 +02:00
refix
This commit is contained in:
@@ -4541,7 +4541,7 @@ function _textured_revolution(
|
||||
assert(num_defined([tex_aspect, pixel_aspect])<=1, "Cannot give both tex_aspect and pixel_aspect")
|
||||
//assert(num_defined([tex_aspect, pixel_aspect])==0 || is_undef(angle), "Cannot give tex_aspect or pixel_aspect if you give angle")
|
||||
let(
|
||||
inhibit_y_slicing = default(inhibit_y_slicing, is_path(shape) && len(path)==2 ? true : false),
|
||||
inhibit_y_slicing = default(inhibit_y_slicing, is_path(shape) && len(shape)==2 ? true : false),
|
||||
regions = !is_path(shape,2)? region_parts(shape)
|
||||
: closed? region_parts([shape])
|
||||
: let(
|
||||
|
6
vnf.scad
6
vnf.scad
@@ -260,7 +260,7 @@ EMPTY_VNF = [[],[]]; // The standard empty VNF with no vertices or faces.
|
||||
// path3d(
|
||||
// smooth_path(
|
||||
// zrot(ridgeamp*sin(360*z/ridgepd), p=star(11, or=r+ridgeamp, ir=r-ridgeamp)),
|
||||
// relsize=0.6, splinesteps=5, method="corners", closed=true, tex_size=5),
|
||||
// relsize=0.6, splinesteps=5, method="corners", closed=true),
|
||||
// z)
|
||||
// ];
|
||||
// vnf_polyhedron(vnf_vertex_array(polystack, col_wrap=true, caps=true));
|
||||
@@ -278,11 +278,11 @@ EMPTY_VNF = [[],[]]; // The standard empty VNF with no vertices or faces.
|
||||
// path3d(
|
||||
// smooth_path(
|
||||
// zrot(ridgeamp*sin(360*z/ridgepd), p=star(11, or=r+ridgeamp, ir=r-ridgeamp)),
|
||||
// relsize=0.6, splinesteps=5, method="corners", closed=true, tex_size=5),
|
||||
// relsize=0.6, splinesteps=5, method="corners", closed=true),
|
||||
// z)
|
||||
// ];
|
||||
// vnf_polyhedron(vnf_vertex_array(polystack, col_wrap=true, caps=true,
|
||||
// texture="dots", tex_samples=1));
|
||||
// texture="dots", tex_samples=1, tex_size=5));
|
||||
// Example(3D,Med,NoAxes,VPR=[0,0,0],VPD=126.00,VPT=[-0.35,-0.54,4.09]): This point array defines a square region but with a non-uniform grid.
|
||||
// pts = [for(x=[-1:.1:1])
|
||||
// [for(y=[-1:.1:1])
|
||||
|
Reference in New Issue
Block a user