Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Penrose Generator Available via FTP
Posted:
May 5, 1993 11:33 AM
|
|
(Note: You need the PC version 11 or greater of AutoCAD to use this utility)
This is part of the README file from the PENROS.ZIP file.
PENROSE.SCR is an AutoCAD script file for generating Penrose tile arrangements of arbitrary size. You must have AutoCAD release 11 or higher to use it. This material was written by Bradley Austin and is public domain.
To generate a Penrose tile arrangement, make sure the current directory contains the files PENROSE.SCR, TALL.DWG, and SHORT.DWG, and that it does NOT contain a file named PENROSE.DWG. Enter the following command:
acad penrose penrose
This assumes the search path includes the directory containing AutoCAD. If not, replace "acad" with the command you normally use to start AutoCAD.
This will create a new drawing called PENROSE, containing a Penrose tile arrangement consisting of kites and darts. If you prefer the Penrose tiles shaped like rhombuses, turn off layer KITES_AND_DARTS and turn on layer RHOMBUSES. A third layer, CURVES, contains the curved lines often drawn on the kite and dart tiles.
To make a larger or smaller Penrose tile arrangement, edit the file PENROSE.SCR, and look for a series of command blocks in the form:
insert tall[n]=tall 0,0 1 1 0 insert short[n]=short 1,0 1 1 180 rename bl tall0 tall[n+1] rename bl short0 short[n+1] erase c 0,0 0,0 [blank line]
where n increases by one for each subsequent block. To make a larger tile arrangement, add one or more blocks of the same form and following the same pattern to the end of the series. To make a smaller arrangement, delete one or more blocks from the end of the series. Note that the blank lines are significant.
|
|
|
|