Model.sphereclipradius#
- Model.sphereclipradius(radius)#
Set the radius for spherical clipping.
- Parameters:
radius (double) – The radius the entities must be within for them to be visible when spherical clipping is enabled.
Example#
Enable spherical clipping at the origin with radius 10.0#import hm import hm.entities as ent model = hm.Model() model.sphereclipcenter(x=0.0, y=0.0, z=0.0) model.setsphereclip(onoff=1) model.sphereclipradius(radius=10.0)
Note
Model.sphereclipcenter()is required to view clipping.Model.setsphereclip()is required to view clipping.