mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-01 09:49:45 +00:00
Disable texturing taper for intrinsicly closed region paths.
This commit is contained in:
parent
f999a8af67
commit
57320e4435
1 changed files with 1 additions and 1 deletions
|
@ -3066,7 +3066,7 @@ function textured_revolution(
|
||||||
is_vector(tex_size,2)
|
is_vector(tex_size,2)
|
||||||
? max(1,round(angle/360*circumf/tex_size.x))
|
? max(1,round(angle/360*circumf/tex_size.x))
|
||||||
: ceil(6*angle/360*circumf/h),
|
: ceil(6*angle/360*circumf/h),
|
||||||
taper_lup = is_undef(taper)? [[-1,1],[2,1]] :
|
taper_lup = closed || is_undef(taper)? [[-1,1],[2,1]] :
|
||||||
[[-1,0], [0,0], [taper/100+EPSILON,1], [1-taper/100-EPSILON,1], [1,0], [2,0]],
|
[[-1,0], [0,0], [taper/100+EPSILON,1], [1-taper/100-EPSILON,1], [1,0], [2,0]],
|
||||||
full_vnf = vnf_join([
|
full_vnf = vnf_join([
|
||||||
for (rgn = regions) let(
|
for (rgn = regions) let(
|
||||||
|
|
Loading…
Reference in a new issue