Bcc.FilletChainList
Bcc.FilletChainList({ChainList, Radius})
Description
This function is utilized create a fillet along any corners of a chain.
Parameters
The primary input of this function is a Table which can include the following keys:
- ChainList – The input chain to have fillets applied. Can be of types: Polyline, ContourList, ContourChain
- Radius – double value of the radius of the fillet(s) that will be applied to the chain
Return
Returns an array of ContourChain lists
Examples
-- Define a 50mm square in a counterclockwise direction
pnt1 = { -25,-25, 0}
pnt2 = { 25,-25, 0}
pnt3 = { 25, 25, 0}
pnt4 = { -25, 25, 0}
-- Create the chain utilizing the points
chainList = {Type="Polyline", List={pnt1, pnt2, pnt3, pnt4}}
-- Add 10mm fillets to all corners of the chain
-- Store the resulting chain in retList
retList = Bcc.FilletChainList({ChainList=chainList, Radius=10})