mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-12 11:34:22 +02:00
fixes
This commit is contained in:
@@ -2366,7 +2366,7 @@ function cyl(
|
|||||||
texture=texture, tex_reps=tex_reps, tex_size=tex_size,
|
texture=texture, tex_reps=tex_reps, tex_size=tex_size,
|
||||||
tex_inset=tex_inset, tex_rot=tex_rot,
|
tex_inset=tex_inset, tex_rot=tex_rot,
|
||||||
tex_depth=tex_depth, tex_samples=tex_samples,
|
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
|
_tex_inhibit_y_slicing=true
|
||||||
),
|
),
|
||||||
skmat = down(l/2) *
|
skmat = down(l/2) *
|
||||||
|
@@ -1233,7 +1233,6 @@ function rotate_sweep(
|
|||||||
let(
|
let(
|
||||||
region = is_path(shape) && caps ? [deduplicate([[0,shape[0].y], each shape, [0,last(shape).y]])]
|
region = is_path(shape) && caps ? [deduplicate([[0,shape[0].y], each shape, [0,last(shape).y]])]
|
||||||
: region,
|
: region,
|
||||||
echo(region=region),
|
|
||||||
steps = ceil(segs(max_x) * angle / 360) + (angle<360? 1 : 0),
|
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),
|
skmat = down(min_y) * skew(sxz=shift.x/h, syz=shift.y/h) * up(min_y),
|
||||||
transforms = [
|
transforms = [
|
||||||
|
Reference in New Issue
Block a user