Action:
|
Attaches cellular topology to each lump within each body in the input list.
|
|
Filename:
|
ct/ct_scm/cell_scm.cxx
|
|
APIs:
|
api_ct_attach
|
|
Syntax:
|
(cell:attach entity-list)
|
|
Arg Types:
|
entity-list
|
entity | (entity ...)
|
|
Returns:
|
entity ...
|
|
Description:
|
This extension attaches cellular topology to each lump within each solid or sheet body entity in the given input
entity-list. The created cells may be a sheet body (CELL2D), a solid body (CELL3D), or a combination of both. Returns a list of 2D or 3D cell entities.
|
|
Example:
|
; cell:attach
|
|
; Create a solid block.
|
|
(define block1
|
|
|
(solid:block (position -20 -20 -20)
|
|
|
(position 20 20 20)))
|
|
;; block1
|
|
; Attach the solid block to a cell.
|
|
(define cell1 (cell:attach block1))
|
|
;; cell1
|