mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-08-01 12:31:16 +02:00
removed old triangulation.scad
other file name changes
This commit is contained in:
5
vnf.scad
5
vnf.scad
@@ -9,8 +9,6 @@
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
include <triangulation.scad>
|
||||
|
||||
// Creating Polyhedrons with VNF Structures
|
||||
|
||||
// Section: VNF Testing and Access
|
||||
@@ -474,7 +472,8 @@ function vnf_triangulate(vnf) =
|
||||
let(
|
||||
vnf = is_vnf_list(vnf)? vnf_merge(vnf) : vnf,
|
||||
verts = vnf[0],
|
||||
faces = [for (face=vnf[1]) each polygon_triangulate(verts, face)]
|
||||
faces = [for (face=vnf[1]) each len(face)==3 ? [face] :
|
||||
polygon_triangulate(verts, face)]
|
||||
) [verts, faces];
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user