モデルの生成(ジェネレータ)

フラクタル地形からのモデル作成

MLCad computes a fractal landscape (build with random triangles) and can generate a model from that.

The options Width/Depth and Height define the dimensions of the fractal landscape being computed, this landscape is displayed on the top right side of the window.

Check the "Base plate" check-box to add a base-plate to the model (show blue in the picture above).

"Max. Brick size" defines which bricks can be used. You can select one out of "1 x 1", "2 x 1", "2 x 2" and "4 x 2". MLCad will use all brick sizes up to the selected one when generating the model.

"Use colors" creates a colored model if check, or a plain gray one if not.

"Use plates" if selected, will cause MLCad to use not only bricks but plates as well, which makes the model finer.

Press "Compute new landscape" to compute a new fractal landscape, and press "Preview model" to preview the model.

Things to know: The bigger you compute the landscape the more bricks are used which makes drawing being a long process! This is also valid when using plates.

画像からモデルを作成

This window allows to create a model from a picture.

Use the "Browse" button to load a true color uncompressed windows bitmap file.

The width and depth (x,z) of the model will correspond to the width and height of the picture. The maximum height of the model can be adjusted. The height depends on the lightness of the image (e.g. white will get the maximum height, while black will have a height of 0). If you move the slider to the most left point a brick will be generated for each point of the picture resulting in a flat model.

"ブロックサイズ" and "プレート使用" defines which lego parts are used when the model is created.

"Color" can be set to "None" which generates a gray image. "Fake" colors the model depending on the height (lightness) at each point, while "Real" will use the nearest lego color to the picture color.

Press the "Preview" button to view the model.

Examples for good results:

Move the Height slider to the left most position and select Real colors. This will generate a model which looks like the picture when viewed from above.

Move the Height slider to any location but not the most left position, use Fake colors and load an height colored image (e.g. a scanned land map) to create a model.

You should not use pictures bigger than 100x100 pixels!

回転曲線からモデルを作成

This generator generates a so called rotation model.

"最大ブロックサイズ" tells the program how big a brick may be. The model will be more compact when using bigger brick sizes.

"プレート使用": If this is checked the model is generated using plates instead of bricks. Changes here are reflected in the edit-grid as well.

"サイズ" click the button to change the size of the edit-grid (ride side of the dialog). Radius can be any number from 2 to 20, and heigth a number from 2 to 60. With this setting you define the maximum size of the model beeing generated.

"消去": Pressing this button clears the edit-grid.

"グリッド": Press this button to turn the green grid on or off

Press the color button to select the color for a new dot in the edit-grid.

"表示" computes the rotated model and displays it in the model preview window.

"OK" takes over the final model into MLCad.

The edit-grid is used to define the curve to be rotated. On the right side a axle is drawn, indicating the rotation axle. In the edit-grid left click on a position to set a dot, and right click to clear a dot. Double clicking will set or clear the whole horizontal line of dot's from the point of clicking to the most right.

When you click the OK button, the program computes the model by interpreting each point as a 1x1 brick or plate, which is rotated 360 over the rotation axle. This process is repeated for every dot you set. The brick get's the color which is assigned to the dot.