Hi, I would like to create a script whereby I use the volume provided by rhino times user defined density to output either to command line or none modal msgbox eg.
_selAll _volume
_-Runscript (Sub Weight
Dim Silver
Dim NineYellow
Dim NineWhite
Dim EighteenYellow
Dim EighteenWhite
Dim Platinum
Silver=0.0105
NineYellow=0.012
NineWhite=0.014
EighteenYellow=0.0155
EighteenWhite=0.0176
Platinum=0.0215
Msgbox()
End Sub Weight )
I should probably use the script editor, any advice would be appreciated
Tags:
You might want to take a look at the attached script - perhaps it will give you some ideas. Just drag & drop on a running Rhino and then run "SolidWeight".
I looked at the script this morning and awesome,really appreciated.Works a treat!
Hi- I am loading up a script I wrote a few years ago - re-written for V5.0. It's a bit more complicated then the one Dale F supplied but has some more functionality and is more 'permanent' in capturing information. You need the data file (pfa.ini) for the program to work. Put the data anywhere you want and select the path to that file in Options->Files->SearchPath.
Please note: This is software provided under the GNU GPL. If you don't know what that means, go here http://www.gnu.org/licenses/gpl.html. Please don't violate the license.
Contact me if you have any questions or comments. paul.finelt at gmail.com
Thanks alot for the help, its been awhile since I looked at code
Hi Paul,
Thank's a lot for your attachments really helpful in Rhino5.
Bernhard
© 2021 Created by McNeel Admin.
Powered by