Functions | |
def | MakeBoolean |
Perform one of boolean operations on two given shapes. More... | |
def | MakeCommon |
Perform Common boolean operation on two given shapes. More... | |
def | MakeCut |
Perform Cut boolean operation on two given shapes. More... | |
def | MakeFuse |
Perform Fuse boolean operation on two given shapes. More... | |
def | MakeSection |
Perform Section boolean operation on two given shapes. More... | |
def | MakeFuseList |
Perform Fuse boolean operation on the list of shapes. More... | |
def | MakeCommonList |
Perform Common boolean operation on the list of shapes. More... | |
def | MakeCutList |
Perform Cut boolean operation on one object and the list of tools. More... | |
def MakeBoolean | ( | self, | |
theShape1, | |||
theShape2, | |||
theOperation, | |||
checkSelfInte = False , |
|||
theName = None |
|||
) |
Perform one of boolean operations on two given shapes.
theShape1 | First argument for boolean operation. |
theShape2 | Second argument for boolean operation. |
theOperation | Indicates the operation to be done: 1 - Common, 2 - Cut, 3 - Fuse, 4 - Section. |
checkSelfInte | The flag that tells if the arguments should be checked for self-intersection prior to the operation. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.BoolOp, and geomBuilder.RaiseIfFailed().
def MakeCommon | ( | self, | |
theShape1, | |||
theShape2, | |||
checkSelfInte = False , |
|||
theName = None |
|||
) |
Perform Common boolean operation on two given shapes.
theShape1 | First argument for boolean operation. |
theShape2 | Second argument for boolean operation. |
checkSelfInte | The flag that tells if the arguments should be checked for self-intersection prior to the operation. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder.MakeBoolean().
def MakeCut | ( | self, | |
theShape1, | |||
theShape2, | |||
checkSelfInte = False , |
|||
theName = None |
|||
) |
Perform Cut boolean operation on two given shapes.
theShape1 | First argument for boolean operation. |
theShape2 | Second argument for boolean operation. |
checkSelfInte | The flag that tells if the arguments should be checked for self-intersection prior to the operation. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder.MakeBoolean(), geomBuilder.MakeFuse(), and geomBuilder.ManageTransactions().
def MakeFuse | ( | self, | |
theShape1, | |||
theShape2, | |||
checkSelfInte = False , |
|||
rmExtraEdges = False , |
|||
theName = None |
|||
) |
Perform Fuse boolean operation on two given shapes.
theShape1 | First argument for boolean operation. |
theShape2 | Second argument for boolean operation. |
checkSelfInte | The flag that tells if the arguments should be checked for self-intersection prior to the operation. |
rmExtraEdges | The flag that tells if Remove Extra Edges operation should be performed during the operation. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.BoolOp, and geomBuilder.RaiseIfFailed().
def MakeSection | ( | self, | |
theShape1, | |||
theShape2, | |||
checkSelfInte = False , |
|||
theName = None |
|||
) |
Perform Section boolean operation on two given shapes.
theShape1 | First argument for boolean operation. |
theShape2 | Second argument for boolean operation. |
checkSelfInte | The flag that tells if the arguments should be checked for self-intersection prior to the operation. If a self-intersection detected the operation fails. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder.MakeBoolean(), geomBuilder.MakeFuseList(), and geomBuilder.ManageTransactions().
def MakeFuseList | ( | self, | |
theShapesList, | |||
checkSelfInte = False , |
|||
rmExtraEdges = False , |
|||
theName = None |
|||
) |
Perform Fuse boolean operation on the list of shapes.
theShapesList | Shapes to be fused. |
checkSelfInte | The flag that tells if the arguments should be checked for self-intersection prior to the operation. |
rmExtraEdges | The flag that tells if Remove Extra Edges operation should be performed during the operation. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.BoolOp, geomBuilder.ManageTransactions(), and geomBuilder.RaiseIfFailed().
def MakeCommonList | ( | self, | |
theShapesList, | |||
checkSelfInte = False , |
|||
theName = None |
|||
) |
Perform Common boolean operation on the list of shapes.
theShapesList | Shapes for Common operation. |
checkSelfInte | The flag that tells if the arguments should be checked for self-intersection prior to the operation. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.BoolOp, geomBuilder.ManageTransactions(), and geomBuilder.RaiseIfFailed().
def MakeCutList | ( | self, | |
theMainShape, | |||
theShapesList, | |||
checkSelfInte = False , |
|||
theName = None |
|||
) |
Perform Cut boolean operation on one object and the list of tools.
theMainShape | The object of the operation. |
theShapesList | The list of tools of the operation. |
checkSelfInte | The flag that tells if the arguments should be checked for self-intersection prior to the operation. |
theName | Object name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name. |
References geomBuilder._autoPublish(), geomBuilder.BoolOp, geomBuilder.MakePartition(), geomBuilder.ManageTransactions(), and geomBuilder.RaiseIfFailed().