Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

10
  • $\begingroup$ I see here. It seems containing some conditions of edgs. $\endgroup$ Commented Nov 3, 2024 at 11:29
  • $\begingroup$ @minhthien_2016 You are right. For example SSSSSSTetrahedron[1, 2, 3, 4, 5, 6] fails as it should. Do you want to include the code for checking edge lengths, so that triangle inequalities hold for all faces? $\endgroup$ Commented Nov 4, 2024 at 2:05
  • $\begingroup$ Yes, I want the code like that. $\endgroup$ Commented Nov 4, 2024 at 6:01
  • $\begingroup$ @minhthien_2016 I edited my answer. Hopefully the code in the appendix would answer your new request. $\endgroup$ Commented Nov 5, 2024 at 2:48
  • 1
    $\begingroup$ @IanFord Thank you for your recommendation. I'm wondering if the current form of my code is useful enough as a resource function. The order of the arguments really matters. For example, SSSSSSTetrahedron[9,6,10,10,8,2] fails but SSSSSSTetrahedron[9,6,10,10,2,8] succeeds. Are general users happy with that? One possible solution would be to provide two forms : SSSSSSTetrahedron[s1,...,s6] cares the order, but SSSSSSTetrahedron[{s1,...,s6}] does not. Any suggestion? $\endgroup$ Commented Nov 6, 2024 at 1:19