script doesn't work properly on the first try
im new to scripting, this is my first script for 3dsmax.
and i keep having this problem, everytime that i close and reopen the 3dsMax and reload the script doesn't work on the first try he create a stretch object, if i keep pushing the button he start to create the object properly.
the script is attach to the post.
any ideas of what im doing wrong?
Attachment | Size |
---|---|
popcorn.ms | 3.3 KB |
Comments
now its working perfect, ty
now its working perfect, ty all for the help :D
Branko, your code still
Branko, your code still produces streched popcorns. :)
The problems is in ScaleSelected operations. Replace it with this and everything will be fine:
Tools and Scripts for Autodesk 3dsMax
...
Thanks Kostadin
Streching is not only problem here but also face-overlaping
I corrected below code as you suggested.
bga
...
try this one
I added random position to each popcorn to produce differend form
bga