Random Mesh Pattern Synthesizer

RandGen User Interface

After a successful installation and loading of the RandGen menu into AutoCAD the user should see a new drop down item: RandGen.

menu drop down for RandGen

Click on the Randgen menu item and then click on: Generate Random. This will pop up the user interface seen below:

dialog for RandGen (before any values entered)

The fields may be empty or they may "remember" the values used in a previous run.

Parameters

Hub Data

Inner Diameter (um)

The inner diameter of the hub.

Thickness (um)

The thickness, "W" of the hub.     I.D. + 2W = O.D.

Spacing Data

Hub Spacing (um)

The center to center spacing of each hub with respect to its 6 neighbors.

Maximum Perturbation (um)

The maximum value of that the hub's center may be moved from the nominal location. This max value is limited to prevent hubs from touching or overlapping.

Pattern Data

While the units for the hub dimensions are in um, the pattern size is in mm for convenience.

Pattern Width (mm)

The desired width of the randomized pattern. Note that the resulting pattern's width will vary a bit since the number of hubs must be an integer.

Pattern Height (mm)

The desired height of the randomized pattern. Note that the resulting pattern's width will vary a bit since the number of hubs must be an integer.


Example

Below you can see some parameters we entered to generate a mesh. Our mesh is 50 x 50 mm in size.

dialog for RandGen (after values entered)

When we hit OK and wait 30 seconds we then see on the screen:

RandGen pattern results

All that is left to do is to SaveAs a DXF file.

In the command window the program reports the precise values to use if you wish to array this pattern to cover a larger area without seams.

step and repeat pitch is reported in the AutoCAD command window.

Stepping or Tiling to Generate a Larger Area

Since this version of RandGen is limited to generating a pattern of about 4 x 4 inches, those needing to cover larger areas may wish to array or step-and-repeat the base pattern.

First, the program insures that the hubs on the outer rows and columns are placed so then when arrayed (allowing a single hub overlap) no visible seam is present. Second, the precise pitch in X and Y is reported by the program.

We don't recommend doing the step and repeat in AutoCAD. It is preferable to convert first to GDSII or Gerber and then use a CAM tool to do the array.

In the sample below I first generated a 5 x 5 mm pattern and then copied it once to the right and once above.

5 x 5 mm pattern.


copied and placed at the correct X and Y pitch.

Any seam you see in the above images is solely due to AutoCAD display artifacts. As soon as you zoom in deeper, the artifacts disappear.