From b22cd9e1d82cf34a0be372a9b6e6524975e719b8 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Sun, 29 Mar 2020 23:44:22 -0700 Subject: [PATCH] vec3 spin values failed assert. --- attachments.scad | 2 +- version.scad | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/attachments.scad b/attachments.scad index fc8be8e..6f992ad 100644 --- a/attachments.scad +++ b/attachments.scad @@ -307,7 +307,7 @@ function attach_geom_size(geom) = // p = If given as a VNF, path, or point, applies the affine3d transformation matrix to it and returns the result. function attach_transform(anchor=CENTER, spin=0, orient=UP, geom, p) = assert(is_string(anchor) || is_vector(anchor)) - assert(is_num(spin)) + assert(is_num(spin) || is_vector(spin,3)) assert(is_vector(orient)) let( two_d = attach_geom_2d(geom), diff --git a/version.scad b/version.scad index 4705c4b..3d106de 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,241]; +BOSL_VERSION = [2,0,242]; // Section: BOSL Library Version Functions