From 72e3cbbe4c6005f8f9d04c3d4635d6d437432199 Mon Sep 17 00:00:00 2001 From: Revar Desmera Date: Sun, 11 Nov 2018 22:38:34 -0800 Subject: [PATCH] Added debug_polygon() to debug.scad. --- debug.scad | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debug.scad b/debug.scad index 11facdd..2097bca 100644 --- a/debug.scad +++ b/debug.scad @@ -107,5 +107,12 @@ module debug_faces(vertices, faces, size=1, disabled=false) { +module debug_polyhedron(points, faces, convexity=10, txtsize=1, disabled=false) { + debug_faces(vertices=points, faces=faces, size=txtsize, disabled=disabled) { + polyhedron(points=points, faces=faces, convexity=convexity); + } +} + + // vim: noexpandtab tabstop=4 shiftwidth=4 softtabstop=4 nowrap