1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00
This commit is contained in:
Justin Lin
2021-10-26 10:25:49 +08:00
parent 50621b0306
commit 1cddbc3453
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ use <polyhedra/geom_hexahedron.scad>;
use <polyhedra/geom_octahedron.scad>;
use <polyhedra/geom_dodecahedron.scad>;
use <polyhedra/geom_icosahedron.scad>;
use <experimental/polyhedron_frame.scad>;
use <experimental/wireframe.scad>;
number_of_faces = 8; // [3, 6, 8, 12, 20]
radius = 10;
@@ -29,7 +29,7 @@ module platonic_solid_frame(number_of_faces, radius, deep, outer_thickness, inne
geom = f_polyhedron(radius, detail);
polyhedron_frame(
wireframe(
geom[0],
geom[1],
deep,

View File

@@ -2,7 +2,7 @@ use <convex_offset.scad>;
use <__comm__/_vertex_normals.scad>;
use <util/reverse.scad>;
module polyhedron_frame(points, faces, deep, outer_thickness, inner_thickness = 0, normals = undef) {
module wireframe(points, faces, deep, outer_thickness, inner_thickness = 0, normals = undef) {
function hollow_face(pts, inner_pts) =
let(
leng = len(pts),