mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2024-12-29 16:29:40 +00:00
Fixed small stellated dodecahedron
This commit is contained in:
parent
21eb644fab
commit
aa963640f6
1 changed files with 2 additions and 2 deletions
|
@ -653,7 +653,7 @@ function regular_polyhedron_info(
|
|||
),
|
||||
faces = faces_normals_vertices[0],
|
||||
faces_vertex_count = [for(face=faces) len(face)],
|
||||
facedown = facedown == true ? entry[facevertices][0] : facedown,
|
||||
facedown = facedown == true ? (stellate==false? entry[facevertices][0] : 3) : facedown,
|
||||
down_direction = facedown == false? [0,0,-1] :
|
||||
faces_normals_vertices[1][search(facedown, faces_vertex_count)[0]],
|
||||
scaled_points = scalefactor * rotate_points3d(faces_normals_vertices[2], from=down_direction, to=[0,0,-1]),
|
||||
|
@ -671,7 +671,7 @@ function regular_polyhedron_info(
|
|||
info == "mid_radius" ? side_length * entry[mid_radius] :
|
||||
info == "out_radius" ? side_length * entry[out_radius] :
|
||||
info == "index set" ? indexlist :
|
||||
info == "face vertices" ? entry[facevertices] :
|
||||
info == "face vertices" ? (stellate==false? entry[facevertices] : [3]) :
|
||||
info == "edge length" ? scalefactor * entry[edgelen] :
|
||||
info == "center" ? translation :
|
||||
info == "type" ? entry[class] :
|
||||
|
|
Loading…
Reference in a new issue