mirror of
https://github.com/BelfrySCAD/BOSL2.git
synced 2025-01-15 08:59:40 +00:00
Compare commits
No commits in common. "bbf4bc38c055e5cb4cd5311a8ee404501b33ec09" and "ab2d3810341ca30036631a6f76f051fbd027d163" have entirely different histories.
bbf4bc38c0
...
ab2d381034
1 changed files with 1 additions and 4 deletions
|
@ -330,7 +330,6 @@ module regular_polyhedron(
|
|||
stellate=stellate,
|
||||
longside=longside, h=h, height=height
|
||||
);
|
||||
assert(len(entry)>0, "No polyhedra meet your specification");
|
||||
scaled_points = entry[0];
|
||||
translation = entry[1];
|
||||
face_triangles = entry[2];
|
||||
|
@ -586,7 +585,6 @@ _stellated_polyhedra_ = [
|
|||
// * `"center"`: center for the polyhedron
|
||||
// * `"type"`: polyhedron type, one of "platonic", "archimedean", "catalan", or "trapezohedron"
|
||||
// * `"name"`: name of selected polyhedron
|
||||
// If you specify an impossible selection of polyhedrons, then `[]` is returned.
|
||||
//
|
||||
// Arguments:
|
||||
// info = Desired information to return for the polyhedron
|
||||
|
@ -659,8 +657,7 @@ function regular_polyhedron_info(
|
|||
]
|
||||
)
|
||||
)
|
||||
len(indexlist)==0 ? []
|
||||
:
|
||||
assert(len(indexlist)>0, "No polyhedra meet your specification")
|
||||
let(validindex = is_undef(index) || (index>=0 && index<len(indexlist)))
|
||||
assert(validindex, str(
|
||||
len(indexlist),
|
||||
|
|
Loading…
Reference in a new issue