mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-22 06:13:10 +02:00
fix deps
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
*
|
*
|
||||||
**/
|
**/
|
||||||
|
|
||||||
include <util/__comm__/__reverse.scad>;
|
use <util/reverse.scad>;
|
||||||
include <matrix/__comm__/__m_scaling.scad>;
|
use <matrix/m_scaling.scad>;
|
||||||
|
|
||||||
function path_scaling_sections(shape_pts, edge_path) =
|
function path_scaling_sections(shape_pts, edge_path) =
|
||||||
let(
|
let(
|
||||||
@@ -18,11 +18,11 @@ function path_scaling_sections(shape_pts, edge_path) =
|
|||||||
scaling_matrice = [
|
scaling_matrice = [
|
||||||
for(p = edge_path)
|
for(p = edge_path)
|
||||||
let(s = norm([p[0], p[1], 0]) / base_leng)
|
let(s = norm([p[0], p[1], 0]) / base_leng)
|
||||||
__m_scaling([s, s, 1])
|
m_scaling([s, s, 1])
|
||||||
],
|
],
|
||||||
leng_edge_path = len(edge_path)
|
leng_edge_path = len(edge_path)
|
||||||
)
|
)
|
||||||
__reverse([
|
reverse([
|
||||||
for(i = 0; i < leng_edge_path; i = i + 1)
|
for(i = 0; i < leng_edge_path; i = i + 1)
|
||||||
[
|
[
|
||||||
for(p = shape_pts)
|
for(p = shape_pts)
|
||||||
|
Reference in New Issue
Block a user