From 7045f436a15df86c107e379f663dc76e8aef88b0 Mon Sep 17 00:00:00 2001
From: Garth Minette <gminette@gmail.com>
Date: Wed, 1 Jul 2020 00:59:32 -0700
Subject: [PATCH] Fixed inverted endcap1 in stroke()

---
 shapes2d.scad | 2 +-
 version.scad  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/shapes2d.scad b/shapes2d.scad
index c79634d..9a71124 100644
--- a/shapes2d.scad
+++ b/shapes2d.scad
@@ -288,7 +288,7 @@ module stroke(
 
             // Endcap1
             translate(path[0]) {
-                multmatrix(rotmats[0]) {
+                multmatrix(rotmats[0] * xrot(180)) {
                     $fn = sides[0];
                     if (is_undef(endcap_angle1)) {
                         rotate_extrude(convexity=convexity) {
diff --git a/version.scad b/version.scad
index 911f2e8..e176f1b 100644
--- a/version.scad
+++ b/version.scad
@@ -8,7 +8,7 @@
 //////////////////////////////////////////////////////////////////////
 
 
-BOSL_VERSION = [2,0,373];
+BOSL_VERSION = [2,0,374];
 
 
 // Section: BOSL Library Version Functions