diff --git a/shapes2d.scad b/shapes2d.scad index 2d342075..24832971 100644 --- a/shapes2d.scad +++ b/shapes2d.scad @@ -121,8 +121,8 @@ module stroke( endcap1 = first_defined([endcap1, endcaps, "round"]); endcap2 = first_defined([endcap2, endcaps, "round"]); - assert(is_bool(endcap1) || is_string(endcap1)); - assert(is_bool(endcap2) || is_string(endcap2)); + assert(is_bool(endcap1) || is_string(endcap1) || is_path(endcap1)); + assert(is_bool(endcap2) || is_string(endcap2) || is_path(endcap2)); endcap_width1 = first_defined([endcap_width1, endcap_width, 3.5]); endcap_width2 = first_defined([endcap_width2, endcap_width, 3.5]); diff --git a/version.scad b/version.scad index 821a3b93..c83708e8 100644 --- a/version.scad +++ b/version.scad @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////// -BOSL_VERSION = [2,0,267]; +BOSL_VERSION = [2,0,268]; // Section: BOSL Library Version Functions