Silhouette
Silhouette
Description
The Type utilized in the Bcc.CADOperation function to find the silhouette of an input solid model.
This function supports Brep, Mesh, and Art Model inputs
Parameters
In addition to the standard Bcc.CADOperation inputs, the following keys apply specifically to the Type="4Edges"
- MeshTol - number representing the tolerance value for the mesh generation when the input is a Brep model.
- MergeType -
- DoInternalShapes - boolean value of whether to get internal shapes from the geometry or not
- IsArcFit - boolean value of whether to apply arc fit to the resulting geometry found by silhouette
- ArcFitTol - tolerance to be used by the arc fit algorithm if arc fit is applied
- Direction - table representing a single vector to define the direction along the active coordinate system to get the silhouette
- TransformMatrix - table representing a 4x4 matrix to define the active coordinate system. If this is excluded, then the active UCS will be utilized.
- IDList - entity ID list of the geometry to perform the silhouette model on.
Return
Returns a list of each entity ID for the entities that are created in the BobCAD database.
Example
-- Get the selected entities in the workspace
selectedIDs = Bcc.GetSelectedEntities(true)
-- Get the silhouette of the selected solid model
entIDList = Bcc.CADOperation({CmdName="MySilhouette", Type="Silhouette", MeshTol=0.1, MergeType=1, DoInternalShapes=true, IsArcFit=false, ArcFitTol=0.0127, DirectionZ={0,0,1}, IDList=selectedIDs, Layer="Silhouette Result"})