選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

13 行
237B

  1. radius = 5;
  2. depth = 2;
  3. diff_h = (pow(radius,2)/depth - depth)/2;
  4. diff_radius = (pow(radius,2)/depth - depth)/2 + depth;
  5. difference(){
  6. translate([0,0,0])
  7. cylinder(r=radius,h=depth);
  8. translate([0,0,diff_radius])
  9. sphere(r=diff_radius);
  10. }