Sweep

Description

The Type utilized in the Bcc.CADOperation function to create a swept NURB surface from profile chain that is swept along a path.

Parameters

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

  • Profile -  A ContourChain of entities which define the shape to swept along the path
  • Path -  A ContourChain of entities which will define the shape the profile will be swept along
  • AttachmentPnt - a table containing the X,Y,Z position of where the profile should be attached to the start of the path

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="Pipe", Type="PlanarSurface", Profile={}, Path={}, AttachmentPnt={0,0,0}})