< Brlcad < How to mged < primitive

The sph (spherical ellipsoid) primitive is used for creating spheres.

Parameters

The following parameters are required:

  • vertex x
  • vertex y
  • vertex z
  • radius

Draw a sphere

# Create a sphere names ball.s of radius 30 centred at the origin
in ball.s sph 0 0 0 30

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.