-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add asymptote-formatted dodecahedron, icosahedron, octahedron and tetrahedron #1345
Conversation
|
||
<dl> | ||
<dt>'Dodecahedron[]' | ||
<dd>a regular dodecahedron centered at the origin with unit edge length. | ||
|
||
<dt>'Dodecahedron[$l$]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is "l" for length. See https://reference.wolfram.com/language/ref/Dodecahedron.html or the "dd" description.
<dt>'Dodecahedron[$l$]' | ||
<dd>a regular dodecahedron centered at the origin with edge length $l$. | ||
|
||
<dt>'Dodecahedron[{$x$, $y$, $z$}, ...]' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. Good. Docstrings have been revised here.
<dd>a regular dodecahedron centered at the origin with edge length $l$. | ||
|
||
<dt>'Dodecahedron[{$x$, $y$, $z$}, ...]' | ||
<dd>a regular dodecahedron centered at {$x$ $y$, $z$}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{$x$,
517b4c8
to
5740dde
Compare
Notice that now the format of the docstrings is checked by the consistency tests. |
1db94c4
to
eb8ca09
Compare
I will be adding octahedron soon. |
526d563
to
4dc7012
Compare
@@ -42,12 +80,21 @@ class Dodecahedron(Builtin): | |||
|
|||
class Icosahedron(Builtin): | |||
""" | |||
<url>:WMA link: | |||
https://reference.wolfram.com/language/ref/Icosahedron.html</url> | |||
<url>:Icosahedron: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still produces a sphere in ASY
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep. This is the last one to do.
Use a less bright light.
split off asymptote polyhedra code
Use a less bright light.
split off asymptote polyhedra code
Add cube
1999ddb
to
b5a8435
Compare
b5a8435
to
cf0513e
Compare
No description provided.