Simulate Early, Simulate Often... In Rhino
A user asked for the ability to output solution values at the location of text dots. I've added to the documentation a script that does that. The script can be viewed at this link.
As an example, the following solution (+ dots):
Outputs to the following text file:
To change the queried value, specify a differerent tag at line 11. Valid tags include:
|Solution Component||Component Tag String|
|Max. Principal Stress||SIG1|
|Mid. Principal Stress||SIG2|
|Min. Principal Stress||SIG3|
|Von Mises Stress||VONM|
|Max. Principal Strain||EPS1|
|Mid. Principal Strain||EPS2|
|Min. Principal Strain||EPS3|
|Danger Level (Von Mises)||DGRVM|
|Danger Level (Shear Stress)||DGRSS|
|Danger Level (Rankine)||DGRRK|
|Danger Level (Coulomb Mohr)||DGRCM|
|Danger Level (Modified Mohr)||DGRMM|
Thanks for this example. I'm new to using Scan&Solve , and having some trouble getting the basic scripted examples working.
I'm able to run the analysis and view the result, but it seems the result is not saved, so the script gives the error "no solution exists, cannot query". Also if I run the analysis, click Done, then run SnS again, the results are no longer there.
I'm currently using build 2016.8.2.0 (the evaluation version), though we do have a license for the full version in the office.
In the evaluation version, the SnS dialog interface does not save solution results on the object. What you can do instead is call Solve(GUID,resolution) inside your script. Documentation:
Calling this will solve the problem and results will become available.
Does this help?
Great - yes that does help. Thank you!
© 2023 Created by Michael Freytag. Powered by