19 Commits

Author SHA1 Message Date
Rob McDonald
89f6affc17 Fix some example scripts that haven't kept up with API changes. 2024-02-17 22:00:40 -08:00
justingravett
b894d63900 Fix TestAll Crash with Pods Exactly Aligned
The two Pods were placed directly on top of each other between calls
to Mass Properties and CompGeom. Clearing the model prevents two
surfaces perfectly aligned causing a crash in Triangle.
2021-07-22 12:22:02 -07:00
Rob McDonald
8767085d14 Make errors print by default, silence as an option.
Too many people using the API aren't checking for errors.  This change
makes the ErrorMgr print out errors as they happen by default.

SilenceErrors() will restore the current behavior.
2020-07-24 09:38:12 -07:00
Justin Gravett
c57bc0caea BUGFIX: Updates to TestAll. Still fails to Find Fuselage XSec File!
TestXSec.fs is not being copied to the proper directory
2019-07-07 22:11:03 -07:00
Rob McDonald
ae3a20a348 Reformat all example scripts with AStyle 2017-06-16 21:34:23 -07:00
Nick Brake
8e2528807e Fixes compilation warning in TestAll.vspscript 2017-03-02 13:18:20 -08:00
Nick Brake
e417fbe8e4 Adds error checking for ReadFileXSec AngleScript test 2017-03-02 13:18:20 -08:00
Rob McDonald
47f24c3890 Comment out VarPreset tests as they currently cause a crash. 2016-08-15 14:57:33 -07:00
Rob McDonald
b56e300c26 Update TestAll.vspscript to reflect new top-level Containers 2016-08-15 14:54:52 -07:00
Rob McDonald
83aad9887e Clean up TestAll.vspscript error testing and reporting 2016-08-15 14:51:48 -07:00
Rob McDonald
4440505f04 Clean up tabs to spaces in TestAll.vspscript 2016-08-15 13:43:43 -07:00
Rob McDonald
baf43c5f7f Fix syntax errors in TestVarPreset() 2016-08-13 16:46:32 -07:00
Rob McDonald
9d284f6c5f Remove Awave Slice test from TestAll.vspscript -- was removed in earlier version. 2016-08-13 15:33:52 -07:00
Bryan Schmidt
417f8d265d Add VarPresetMgr to API 2016-06-23 09:19:47 -07:00
Rob McDonald
297ecf3332 Add routines to work with file airfoils to API.
Thanks to Yohann Delannay for noticing this was missing.
2015-05-23 19:10:06 -07:00
Rob McDonald
7b20f1279a Add container routines to API. This will allow access to User Parms.
Thanks to Erik Olson and James Haley for bringing up the need for this.
2015-05-23 19:08:14 -07:00
Rob McDonald
15880e9c46 Make TestAll.vspscript use VSPExit to return error count. 2015-03-12 15:01:15 -07:00
jrgloudemans
d5b5a838ec Add new & update test scripts. 2015-01-22 16:22:52 -08:00
Rob McDonald
7055c33c08 Change *.as file extensions to .vsppart .vspscript as appropriate 2014-10-07 08:17:02 -07:00