Spheres out of Points
Hi Scriptpot community,
I just started using 3DS / MAX scripts, so apologize for being naive.
I have network composed by links and points,
now with Max script, i need to:
1) Create spheres (with different sizes) for each point of the network (around 10000 points)
2) Give a thin solidity to the links, as at moment they are just empty invisible lines. I guess i need to convert them to small cilinders.
is there any script to do this for all the elements?
Tx
Luis
Attachment | Size |
---|---|
screen_shot_2013-07-30_at_4.30.31_pm.png | 80.18 KB |
Comments
Ok let's assume the sphere
Ok let's assume the sphere are instances, so they have equal dimensions,
how the script would look like?
L
.
This will create 100 points in random position and then will create 100 spheres and will place them in the positions of the points:
This will get all splines/lines in the scene and will made them to looks like cylinders. The code above not creates aplines.
Tools and Scripts for Autodesk 3dsMax
Upload a scene(not with 10
Upload a scene(not with 10 000 points).
Placing spheres in the position of points(with different size) is not a problem. 10 000 spheres can take a time, because you want each sphere to have different size, so they can't be instances.
The lines(I assume that you uses lines or editable splines) don't have to be converted to cylinders. You can turn On Enable in renderer and Enable in Viewport and can set the shape(radial or rectangular) and the size.
Tools and Scripts for Autodesk 3dsMax