2

I want to draw the following solids with asymptote:

Formula of the usual solides using tikz

My first steps

After reading through the asymptote manual I found on p. 156 the solids package. Sadly it isn't very well documented.

I modfied the only example to get the following solid:

import solids;

size(0,100);

revolution r = cylinder(O,1,1,Z);

draw(r);

enter image description here

My questions

  1. How can I get the other solids?
  2. How can I add labels?
  3. How can I draw some of the lines or surfaces in a different color?

Here is the link to the package. (I'm not good at understanding this kind of code.)

0 Answers0