Plugin in Maxscript that creates a snowflake mesh in 3dsMax with customizable parameters. The pdf explains the logic and concepts used for the development of this plugin.
3dsMax Version: Autodesk 3dsMax 2020
Language: MAXScript
Plugin: Current Script
The User Interface looks as the image below.
- Download the Plugin Script.
- Open 3dsMax on a new scene.
- Go to
Scripting > MAXScript Editor
. - Once in the editor, open the script from step 1, and then type
Ctrl + E
to run it. - In the scene, go to the Objects menu and in the dropdown choose
Snowflaker Plugin
. After doing this, the menu will look as the picture below:
- Click on the
Snowflake
button.
- The first params are
Radius
andHeight
, and both of them are specififed by clicking and dragging the cursor over the grid horizontally and vertically. Wait to do this until you have specified the below params. - The param
Spikes
determines the number of main spikes the snowflake will have. Click on the small arrows in the spinner to adjust the number.
- In this section, the first param is
Spike Size
where you can click on the spinner arrows to adjust the length of the main spikes. Spike Segments
is a spinner that determines the number of horizontal segments in the main spikes. The more segments, the more sub-spikes you will have.
Segments
is another integer spinner that determines the number of segments per sub-spike.- In
Size
param you can specify the length of the sub-spikes. - Drag the slider cursor of
Size Variation
to determine the range of randomness in each of the sub-spike lengths. By default, it starts in zero, which means there is no size variation and length is equal in all sub-spikes. - Adjust the spinner value of
Skip Degree
to determine how many empty segments will separate each sub-spike. - Choose a dropdown option in the param
Shape
: Decay (default), Growth, Sinusoidal and Constant. Each of these is the figure the sub-spike lengths will follow. Frequency
is a spinner useful when you choose Sinusoidal shape, where the frequency adds waves to the Sinusoidal form of the sub-spikes.Impact
is another spinner for the Sinusoidal shape, which determines the amplitude of the shape wave.- Tick the checkbox
Only In Tip
if you want the sub-spikes to be placed only in the tip of each spike. - Drag the slider cursor of
Angle Variation
to determine the range of randomness in each of the sub-spike angle of creation. By default, it starts in zero, which means there is no angle variation and angles are equal in all sub-spikes. - Now you can perform step 7.
A sample sinusoidal snowflake rendered looks as the image below.
If you want to check out the logic process I followed during development, go to the repo: Final Project.