From 3ae3029b57daec2dc4a69a5bf96d369813be0431 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 27 Jan 2020 15:11:40 +0800 Subject: [PATCH] use scad --- src/line2d.scad | 4 ++-- test/test_line2d.scad | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/line2d.scad b/src/line2d.scad index fe2bff94..350797f3 100644 --- a/src/line2d.scad +++ b/src/line2d.scad @@ -8,8 +8,8 @@ * **/ -include <__comm__/__frags.scad>; -include <__comm__/__nearest_multiple_of_4.scad>; +use <__comm__/__frags.scad>; +use <__comm__/__nearest_multiple_of_4.scad>; module line2d(p1, p2, width, p1Style = "CAP_SQUARE", p2Style = "CAP_SQUARE") { half_width = 0.5 * width; diff --git a/test/test_line2d.scad b/test/test_line2d.scad index 3c6be6e7..127d4108 100644 --- a/test/test_line2d.scad +++ b/test/test_line2d.scad @@ -1,5 +1,5 @@ -include ; -include ; +use ; +use ; module test_line2d() { $fn = 24;