|
Citation information. |
![]() |
Search the CSA site. |
The following routines are included in the CSA acad.lsp file that may be downloaded. You may download the text version of the file you are reading by clicking here and the plain text version of the acad.lsp file by clicking here. (The files are compressed as .zip files, named csalexp.zip and csalisp.zip; the unzipped files will be lispexpl.txt and acad.lsp.) Please note that the illustrations included here will not be included in the downloaded files.
lyfz - a routine to freeze layers selected by the user - The user selects objects on the screen, and the layers those objects are on are frozen. Invoke the command, pick entities from the layers you want frozen, return when finished.
lys - a routine to select the current layer from the screen without worrying with its name - The user selects an object on the screen, and the layer on which it exists is made the current layer.
bgfac - a routine to make a large polygonal surface - The user gives the points which define the vertices of the polygon. The polygonal surface is actually made of a number of triangular surfaces.

ctfac - similar to bgfac, but with a center point from which all triangular surfaces radiate - The user selects the center point first and then the vertices of the overal polygonal surface. Triangles are constructed using the center point and each adjacent pair of edge points. Using this can make the problem illustrated in Fig. 1 easier to deal with; this routine also makes it possible to have the center of the polygonal surface protrude or recess. (The edges of the facets produced with this routine may be hidden or not, as the user prefers.)
mpface - similar to bgfac, but using an existing polyline to define the points of the polygonal surface. The same concern about the order in which points are selected applies.
plfacet - similar to ctfac, but using an existing polyline

dblface - make surfaces between two polylines. The surfaces are quadrilateral surfaces connecting points on the first polyline with points on the second one. The points are selected from each line, starting at the beginning of each line; so the surfaces will connect the first and second points of line A with the first and second points of line B, the second and third points of line A with the second and third points of line B, and so on.
getvrtx.lsp - a routine called by some of the others. It should not be deleted from the file, but it will only be called by other routines.