From e1ec2ac66ac3f5c707b4e0fbb25158f0ce22d5d5 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 27 Jan 2020 09:05:20 +0800 Subject: [PATCH] reduce deps --- src/path_extrude.scad | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/path_extrude.scad b/src/path_extrude.scad index 90fefdbe..84a98329 100644 --- a/src/path_extrude.scad +++ b/src/path_extrude.scad @@ -8,9 +8,11 @@ * **/ -include <__comm__/__to3d.scad>; -include <__comm__/__angy_angz.scad>; -include ; +use <__comm__/__to3d.scad>; +use <__comm__/__angy_angz.scad>; +use ; +use ; +use ; module path_extrude(shape_pts, path_pts, triangles = "SOLID", twist = 0, scale = 1.0, closed = false, method = "AXIS_ANGLE") { sh_pts = len(shape_pts[0]) == 3 ? shape_pts : [for(p = shape_pts) __to3d(p)]; @@ -56,7 +58,7 @@ module path_extrude(shape_pts, path_pts, triangles = "SOLID", twist = 0, scale = rot_matrice = [ for(ang_vect = local_ang_vects(len_path_pts - 2)) - __m_rotation(ang_vect[0], ang_vect[1]) + m_rotation(ang_vect[0], ang_vect[1]) ]; leng_rot_matrice = len(rot_matrice);