diff --git a/src/surface/sf_thicken.scad b/src/surface/sf_thicken.scad index 2ef1b87e..10d384df 100644 --- a/src/surface/sf_thicken.scad +++ b/src/surface/sf_thicken.scad @@ -65,8 +65,9 @@ module sf_thicken(points, thickness, direction = "BOTH") { vertex_normal(points, x, y) ] ]; - half_thickness = thickness / 2; + if(direction == "BOTH") { + half_thickness = thickness / 2; surface_top = points + half_thickness * vertex_normals; surface_bottom = points - half_thickness * vertex_normals; sf_solidify(surface_top, surface_bottom);