diff --git a/skin.scad b/skin.scad index 78954185..f10f0d75 100644 --- a/skin.scad +++ b/skin.scad @@ -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( diff --git a/vnf.scad b/vnf.scad index 33da16b7..67a2b67b 100644 --- a/vnf.scad +++ b/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])