of.geometry.cut.circle#

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

Remove a geometry in existing geometry using the square method.

Note

There are three rules to follow:

  • rule 1, the object should already exist.

  • rule 2, the region is for the new geometry.

  • rule 3, it only cuts the object into several parts, but the fragments still have the object tag nseg, which is 20 by default.

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 create a circle:

  1. [x, y, rad, nseg]

  2. center [x, y] radius nseg

  3. x value y value rad value nseg value


Example:#

of.geometry.cut.circle [tunnel] [rock] center [0,0] rad 1.0 segments 10
Circle_Cut