Common¶
Common feature implements a Boolean operation for extraction of a common part from a set of selected shapes.
To perform a Common operation in the active part:
There are 2 options for creation of a Common:
Simple common part between all selected objects.
Advanced common part for each object between this object and all tools.
Simple¶
Objects contains a list of objects selected in the Object Browser or in the Viewer. If a subshape that belongs to a compsolid/compound was selected, other shapes of this compsolid/compound will be ignored.
Fuzzy Parameter defines the additional tolerance value used to eliminate tiny results.
See preview button shows a result of the operation.
TUI Command:
-
model.
addCommon
(Part_doc, objects, fuzzy)¶ - Parameters
part – The current part object
list – A list of objects.
real – Additional tolerance used to eliminate tiny results (optional).
- Returns
Created object
Result¶
The Result of the operation will be a shape which is a common for all selected shapes:
See Also a sample TUI Script of Create Common operation.
Advanced¶
Objects contains a list of objects selected in the Object Browser or in the Viewer. If a subshape that belongs to a compsolid/compound was selected, other shapes of this compsolid/compound will be cut from other objects (to avoid self-intersection) and added to the result.
Tools contains a list of objects selected in the Object Browser or in the Viewer, which will be intersected with tool objects. If a subshape that belongs to a compsolid/compound was selected, other shapes of this compsolid/compound will be ignored.
Fuzzy Parameter defines the additional tolerance value used to eliminate tiny results.
See preview button shows a result of the operation.
Any kind of shape is supported as an object or a tool of Common. Moreover, constructions planes can be selected as tools.
TUI Command:
-
model.
addCommon
(Part_doc, objects, tools, fuzzy)¶ - Parameters
part – The current part object
list – A list of objects.
list – A list of tools.
real – Additional tolerance used to eliminate tiny results (optional).
- Returns
Created object
Result¶
For each selected object, the common part between this object and all tools will be found:
See Also a sample TUI Script of Create Common operation.