moved some functions around and renamed

This commit is contained in:
Adrian Mariano
2021-09-28 19:08:47 -04:00
parent 9b7c3acfd7
commit 60c3a99e90
4 changed files with 61 additions and 74 deletions

View File

@@ -910,8 +910,8 @@ function path_sweep(shape, path, method="incremental", normal, closed=false, twi
: let( rshape = is_path(shape) ? [path3d(shape)]
: [for(s=shape) path3d(s)]
)
regions_equal(apply(transform_list[0], rshape),
apply(transform_list[L], rshape)),
are_regions_equal(apply(transform_list[0], rshape),
apply(transform_list[L], rshape)),
dummy = ends_match ? 0 : echo("WARNING: ***** The points do not match when closing the model *****")
)
transforms ? transform_list : sweep(is_path(shape)?clockwise_polygon(shape):shape, transform_list, closed=false, caps=fullcaps,style=style);