Skip to content

Plugin for Autodesk 3dsMax that automatically creates a customizable snowflake mesh, written in Maxscript.

License

Notifications You must be signed in to change notification settings

the-other-mariana/snowflaker-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowflaker Plugin for 3dsMax

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.

Specifications

3dsMax Version: Autodesk 3dsMax 2020
Language: MAXScript
Plugin: Current Script

User Interface

The User Interface looks as the image below.

ui

Instructions

Getting Started

  1. Download the Plugin Script.
  2. Open 3dsMax on a new scene.
  3. Go to Scripting > MAXScript Editor.
  4. Once in the editor, open the script from step 1, and then type Ctrl + E to run it.
  5. 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:

screen

  1. Click on the Snowflake button.

General Parameters

  1. The first params are Radius and Height, 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.
  2. 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.

Spikes

  1. 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.
  2. 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.

Sub-spikes

  1. Segments is another integer spinner that determines the number of segments per sub-spike.
  2. In Size param you can specify the length of the sub-spikes.
  3. 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.
  4. Adjust the spinner value of Skip Degree to determine how many empty segments will separate each sub-spike.
  5. 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.
  6. Frequency is a spinner useful when you choose Sinusoidal shape, where the frequency adds waves to the Sinusoidal form of the sub-spikes.
  7. Impact is another spinner for the Sinusoidal shape, which determines the amplitude of the shape wave.
  8. Tick the checkbox Only In Tip if you want the sub-spikes to be placed only in the tip of each spike.
  9. 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.
  10. Now you can perform step 7.

Output

A sample sinusoidal snowflake rendered looks as the image below.

sample render

Process & Logic

If you want to check out the logic process I followed during development, go to the repo: Final Project.

About

Plugin for Autodesk 3dsMax that automatically creates a customizable snowflake mesh, written in Maxscript.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published