Model.sphereclipcenter#

Model.sphereclipcenter(x, y, z)#

Sets the center for spherical clipping.

Parameters:
  • x (double) – The new x coordinate of the center of spherical clipping.

  • y (double) – The new y coordinate of the center of spherical clipping.

  • z (double) – The new z coordinate of the center of spherical clipping.

Example#

Set the center of the spherical clipping to ( 1.0,2.0,3.0 )#
import hm
import hm.entities as ent

model = hm.Model()

model.sphereclipcenter(x=1.0, y=2.0, z=3.0)

Note

Model.setsphereclip() is required to view clipping.

Model.sphereclipradius() is required to view clipping.