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:
[x, y, rad, nseg]
center [x, y] radius nseg
x value y value rad value nseg value
Example:#
of.geometry.cut.circle [tunnel] [rock] center [0,0] rad 1.0 segments 10