This commit is contained in:
Adrian Mariano
2025-04-28 23:13:08 -04:00
parent 5d2f5310ea
commit e5aed7a75a
2 changed files with 1 additions and 2 deletions

View File

@@ -2366,7 +2366,7 @@ function cyl(
texture=texture, tex_reps=tex_reps, tex_size=tex_size,
tex_inset=tex_inset, tex_rot=tex_rot,
tex_depth=tex_depth, tex_samples=tex_samples,
tex_taper=tex_taper, style=style, closed=false,
tex_taper=tex_taper, style=style, caps=true,
_tex_inhibit_y_slicing=true
),
skmat = down(l/2) *

View File

@@ -1233,7 +1233,6 @@ function rotate_sweep(
let(
region = is_path(shape) && caps ? [deduplicate([[0,shape[0].y], each shape, [0,last(shape).y]])]
: region,
echo(region=region),
steps = ceil(segs(max_x) * angle / 360) + (angle<360? 1 : 0),
skmat = down(min_y) * skew(sxz=shift.x/h, syz=shift.y/h) * up(min_y),
transforms = [