ExtrudeBoss

Description

The Type utilized in the Bcc.CADOperation function to create a NURB body the specified height in the shape of the input chain which the added to any intersecting NURB bodies with a boolean add operation.

Parameters

In addition to the standard Bcc.CADOperation inputs, the following keys apply specifically to the Type="ExtrudeBoss"

  • ChainList - the list of entities to be used to create the extruded body.  Please see the ChainList topic for more information.
  • PositiveDistance - double value representing the distance the chain will be extruded along the specified direction
  • PositiveDraftAngle - double value representing the angle in which the extrusion will be created.  Value of 0 will be default if this parameter is excluded.
  • NegativeDistance - double value representing the distance the chain will be extruded along the specified direction. Value of 0 will be default if this parameter is excluded.
  • NegativeDraftAngle - double value representing the angle in which the extrusion will be created.  Value of 0 will be default if this parameter is excluded.
  • Direction - defines the direction which the chain will be extruded. Possible values include:
    • AlongNormal - calculates the normal direction of the input chain and extrudes in this direction.  This is the default value when this parameter is excluded.
    • {0,0,1} - specified vector direction

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)


-- Perform an extrude on the user selected chain

entIDList = Bcc.CADOperation({CmdName="My Extrude",Type="ExtrudeBoss",ChainList=selectedIDs,PositiveDistance=25})