of.geometry.cut.ellipse#

of.geometry.cut.ellipse *new_geometry_tag* <string> *object_geometry_tag* <string> *region* <double, double, double, double, double, int>

Cut a geometry in the object by assigning x, y, maxradius, minradius, theta and segments of the ellipse.

Parameters:

new_geometry_tag: tag of the geometry group cut from the original geometry.

object_geometry_tag: tag of the original geometry group

region: (default nseg 20) There are three methods to define a ellipse:

  1. [x y minradius maxradius theta nseg]

  2. center [x, y] radius [min max] theta nseg

  3. x value, y value, rad value. minradius value, maxradius value, theta value, nseg value


Example:#

of.geometry.cut.ellipse [tunnel] [rock] center [0,0] rad [1.0, 2.0] theta 0 segments 10
Ellipse_Cut