Merge pull request #1097 from revarbat/revarbat_dev

Fix reorient() for CTR anchors on prismoid/trapezoid geometry.
This commit is contained in:
Revar Desmera 2023-03-26 17:45:57 -07:00 committed by GitHub
commit dbe1155210
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2031,10 +2031,7 @@ function reorient(
orient = default(orient, UP),
region = !is_undef(region)? region :
!is_undef(path)? [path] :
undef
)
(anchor==CENTER && spin==0 && orient==UP && p!=undef)? p :
let(
undef,
geom = is_def(geom)? geom :
attach_geom(
size=size, size2=size2, shift=shift,