openvsp package

degen geom parse

parasite drag

surface patches

utilities

vsp

openvsp.vsp.AddAdvLinkInput(int index, string const & parm_id, string const & var_name)
openvsp.vsp.AddAdvLinkOutput(int index, string const & parm_id, string const & var_name)
openvsp.vsp.AddAllToVSPAEROControlSurfaceGroup(int CSGroupIndex)
openvsp.vsp.AddAttributeBool(string const & collID, string const & attributeName, bool value) string
openvsp.vsp.AddAttributeDouble(string const & collID, string const & attributeName, double value) string
openvsp.vsp.AddAttributeDoubleMatrix(string const & collID, string const & attributeName, DoubleVecVec value) string
openvsp.vsp.AddAttributeGroup(string const & collID, string const & attributeName) string
openvsp.vsp.AddAttributeInt(string const & collID, string const & attributeName, int value) string
openvsp.vsp.AddAttributeIntMatrix(string const & collID, string const & attributeName, IntVecVec value) string
openvsp.vsp.AddAttributeParm(string const & collID, string const & attributeName, string const & parmID) string
openvsp.vsp.AddAttributeString(string const & collID, string const & attributeName, string const & value) string
openvsp.vsp.AddAttributeVec3d(string const & collID, string const & attributeName, Vec3dVec value) string
openvsp.vsp.AddBackground3D() string
openvsp.vsp.AddCFDSource(int type, std::string const & geom_id, int surf_index, double l1, double r1, double u1, double w1, double l2=0, double r2=0, double u2=0, double w2=0)
openvsp.vsp.AddDefaultSources()
openvsp.vsp.AddDesignVar(std::string const & parm_id, int type)
openvsp.vsp.AddExcrescence(std::string const & excresName, int const & excresType, double const & excresVal)
openvsp.vsp.AddFeaBC(string const & fea_struct_id, int type=-1) std::string
openvsp.vsp.AddFeaMaterial() std::string
openvsp.vsp.AddFeaPart(std::string const & geom_id, int fea_struct_ind, int type) std::string
openvsp.vsp.AddFeaProperty(int property_type=0) std::string
openvsp.vsp.AddFeaStruct(std::string const & geom_id, bool init_skin=True, int surfindex=0) int
openvsp.vsp.AddFeaSubSurf(std::string const & geom_id, int fea_struct_ind, int type) std::string
openvsp.vsp.AddGeom(std::string const & type, std::string const & parent=std::string()) std::string
openvsp.vsp.AddMaterial(string const & name, vec3d ambient, vec3d diffuse, vec3d specular, vec3d emissive, double const & alpha, double const & shininess)
openvsp.vsp.AddProbe(string const & geomid, int surfindx, double u, double w, string const & name) string
openvsp.vsp.AddRoutingPt(string const & routing_id, string const & geom_id, int surf_index) string
openvsp.vsp.AddRuler(string const & startgeomid, int startsurfindx, double startu, double startw, string const & endgeomid, int endsurfindx, double endu, double endw, string const & name) string
openvsp.vsp.AddSelectedToCSGroup(IntVector selected, int CSGroupIndex)
openvsp.vsp.AddSubSurf(std::string const & geom_id, int type, int surfindex=0) std::string
openvsp.vsp.AddUserParm(int type, string const & name, string const & group) string
openvsp.vsp.AddVarPresetGroup(std::string const & group_name) string
openvsp.vsp.AddVarPresetParm(std::string const & group_id, std::string const & parm_id)
openvsp.vsp.AddVarPresetSetting(std::string const & group_id, std::string const & setting_name) string
openvsp.vsp.AddVec3D(Vec3dVec INOUT, double x, double y, double z)
openvsp.vsp.ApplyModeSettings(string const & mid)
openvsp.vsp.ApplyVarPresetSetting(std::string const & group_id, std::string const & setting_id)
openvsp.vsp.ApproximateAllPropellerPCurves(std::string const & geom_id)
openvsp.vsp.AutoGroupVSPAEROControlSurfaces()
openvsp.vsp.AxisProjPnt01(std::string const & geom_id, int const & surf_indx, int const & iaxis, vec3d pt) double
openvsp.vsp.AxisProjPnt01Guess(std::string const & geom_id, int const & surf_indx, int const & iaxis, vec3d pt, double const & u0, double const & w0) double
openvsp.vsp.AxisProjPnt01I(std::string const & geom_id, int const & iaxis, vec3d pt) double
openvsp.vsp.AxisProjVecPnt01(std::string const & geom_id, int const & surf_indx, int const & iaxis, Vec3dVec pts)
openvsp.vsp.AxisProjVecPnt01Guess(std::string const & geom_id, int const & surf_indx, int const & iaxis, Vec3dVec pts, DoubleVector u0s, DoubleVector w0s)
openvsp.vsp.BarycentricWeights(vec3d v0, vec3d v1, vec3d v2, vec3d p) vec3d
openvsp.vsp.BilinearWeights(vec3d p0, vec3d p1, vec3d p, DoubleVector weights)
class openvsp.vsp.BoolVector(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

openvsp.vsp.BuildAdvLinkScript(int index) bool
openvsp.vsp.CalcAtmosphere(double const & alt, double const & delta_temp, int const & atmos_type)
openvsp.vsp.ChangeBORXSecShape(string const & bor_id, int type)
openvsp.vsp.ChangeXSecShape(std::string const & xsec_surf_id, int xsec_index, int type)
openvsp.vsp.CheckForVSPAERO(std::string const & path) bool
openvsp.vsp.CheckForVSPHelp(std::string const & path) bool
openvsp.vsp.ClearVSPModel()
openvsp.vsp.CompCurvature01(std::string const & geom_id, int const & surf_indx, double const & u, double const & w)
openvsp.vsp.CompNorm01(std::string const & geom_id, int const & surf_indx, double const & u, double const & w) vec3d
openvsp.vsp.CompPnt01(std::string const & geom_id, int const & surf_indx, double const & u, double const & w) vec3d
openvsp.vsp.CompPntRST(std::string const & geom_id, int const & surf_indx, double const & r, double const & s, double const & t) vec3d
openvsp.vsp.CompTanU01(std::string const & geom_id, int const & surf_indx, double const & u, double const & w) vec3d
openvsp.vsp.CompTanW01(std::string const & geom_id, int const & surf_indx, double const & u, double const & w) vec3d
openvsp.vsp.CompVecCurvature01(std::string const & geom_id, int const & surf_indx, DoubleVector us, DoubleVector ws)
openvsp.vsp.CompVecDegenPnt01(std::string const & geom_id, int const & surf_indx, int const & degen_type, DoubleVector u_in_vec, DoubleVector w_in_vec) Vec3dVec
openvsp.vsp.CompVecNorm01(std::string const & geom_id, int const & surf_indx, DoubleVector us, DoubleVector ws) Vec3dVec
openvsp.vsp.CompVecPnt01(std::string const & geom_id, int const & surf_indx, DoubleVector u_in_vec, DoubleVector w_in_vec) Vec3dVec
openvsp.vsp.CompVecPntRST(std::string const & geom_id, int const & surf_indx, DoubleVector r_in_vec, DoubleVector s_in_vec, DoubleVector t_in_vec) Vec3dVec
openvsp.vsp.ComputeBORXSecPnt(std::string const & bor_id, double fract) vec3d
openvsp.vsp.ComputeBORXSecTan(std::string const & bor_id, double fract) vec3d
openvsp.vsp.ComputeCFDMesh(int set, int degenset, int file_export_types)
openvsp.vsp.ComputeCompGeom(int set, bool half_mesh, int file_export_types) std::string
openvsp.vsp.ComputeDegenGeom(int set, int file_export_types)
openvsp.vsp.ComputeFeaMesh(std::string const & geom_id, int fea_struct_ind, int file_type)
openvsp.vsp.ComputeFeaMesh(std::string const & struct_id, int file_type) None
openvsp.vsp.ComputeMassProps(int set, int num_slices, int idir) std::string
openvsp.vsp.ComputeMinClearanceDistance(std::string const & geom_id, int set=SET_ALL, bool useMode=False, string const & modeID=std::string()) double
openvsp.vsp.ComputePlaneSlice(int set, int num_slices, vec3d norm, bool auto_bnd, double start_bnd=0, double end_bnd=0, bool measureduct=False) std::string
openvsp.vsp.ComputeXSecPnt(std::string const & xsec_id, double fract) vec3d
openvsp.vsp.ComputeXSecTan(std::string const & xsec_id, double fract) vec3d
openvsp.vsp.ConvertEtatoU(std::string const & geom_id, double const & eta)
openvsp.vsp.ConvertLMNtoRST(std::string const & geom_id, int const & surf_indx, double const & l, double const & m, double const & n)
openvsp.vsp.ConvertLMNtoRSTVec(std::string const & geom_id, int const & surf_indx, DoubleVector l_vec, DoubleVector m_vec, DoubleVector n_vec)
openvsp.vsp.ConvertLtoR(std::string const & geom_id, int const & surf_indx, double const & l)
openvsp.vsp.ConvertRSTtoLMN(std::string const & geom_id, int const & surf_indx, double const & r, double const & s, double const & t)
openvsp.vsp.ConvertRSTtoLMNVec(std::string const & geom_id, int const & surf_indx, DoubleVector r_vec, DoubleVector s_vec, DoubleVector t_vec)
openvsp.vsp.ConvertRtoL(std::string const & geom_id, int const & surf_indx, double const & r)
openvsp.vsp.ConvertUtoEta(std::string const & geom_id, double const & u)
openvsp.vsp.ConvertXSecToEdit(std::string const & geom_id, int const & indx=0)
openvsp.vsp.CopyAttribute(string const & attrID) int
openvsp.vsp.CopyGeomToClipboard(std::string const & geom_id)
openvsp.vsp.CopyPasteSet(int copyIndex, int pasteIndex)
openvsp.vsp.CopyXSec(std::string const & geom_id, int index)
openvsp.vsp.CreateAndAddMode(string const & name, int normal_set, int degen_set) string
openvsp.vsp.CreateGeomResults(std::string const & geom_id, std::string const & name) std::string
openvsp.vsp.CreateVSPAEROControlSurfaceGroup() int
openvsp.vsp.CutAttribute(string const & attrID)
openvsp.vsp.CutGeomToClipboard(std::string const & geom_id)
openvsp.vsp.CutXSec(std::string const & geom_id, int index)
openvsp.vsp.DelAdvLinkInput(int index, string const & var_name)
openvsp.vsp.DelAdvLinkOutput(int index, string const & var_name)
openvsp.vsp.DelAllBackground3Ds()
openvsp.vsp.DelAllModes()
openvsp.vsp.DelAllRoutingPt(string const & routing_id)
openvsp.vsp.DelBackground3D(string const & id)
openvsp.vsp.DelFeaBC(string const & fea_struct_id, std::string const & bc_id)
openvsp.vsp.DelMode(string const & mid)
openvsp.vsp.DelProbe(string const & id)
openvsp.vsp.DelRoutingPt(string const & routing_id, int index)
openvsp.vsp.DelRuler(string const & id)
openvsp.vsp.DeleteAllCFDSources()
openvsp.vsp.DeleteAllDesignVars()
openvsp.vsp.DeleteAllProbes()
openvsp.vsp.DeleteAllResults()
openvsp.vsp.DeleteAllRulers()
openvsp.vsp.DeleteAllUserParm()
openvsp.vsp.DeleteAttribute(string const & attrID)
openvsp.vsp.DeleteExcrescence(int const & index)
openvsp.vsp.DeleteFeaPart(std::string const & geom_id, int fea_struct_ind, std::string const & part_id)
openvsp.vsp.DeleteFeaStruct(std::string const & geom_id, int fea_struct_ind)
openvsp.vsp.DeleteFeaSubSurf(std::string const & geom_id, int fea_struct_ind, std::string const & ss_id)
openvsp.vsp.DeleteGeom(std::string const & geom_id)
openvsp.vsp.DeleteGeomVec(StringVector del_vec)
openvsp.vsp.DeleteResult(std::string const & id)
openvsp.vsp.DeleteSubSurf(std::string const & geom_id, std::string const & sub_id)
openvsp.vsp.DeleteSubSurf(std::string const & sub_id) None
openvsp.vsp.DeleteUserParm(std::string const & id)
openvsp.vsp.DeleteVarPresetGroup(std::string const & group_id)
openvsp.vsp.DeleteVarPresetParm(std::string const & group_id, std::string const & parm_id)
openvsp.vsp.DeleteVarPresetSetting(std::string const & group_id, std::string const & setting_id)
openvsp.vsp.DemoteBORCSTLower(std::string const & bor_id)
openvsp.vsp.DemoteBORCSTUpper(std::string const & bor_id)
openvsp.vsp.DemoteCSTLower(std::string const & xsec_id)
openvsp.vsp.DemoteCSTUpper(std::string const & xsec_id)
openvsp.vsp.DisableStopGUIMenuItem()
class openvsp.vsp.DoubleVecVec(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

class openvsp.vsp.DoubleVector(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

openvsp.vsp.EditXSecConvertTo(std::string const & xsec_id, int const & newtype)
openvsp.vsp.EditXSecDelPnt(std::string const & xsec_id, int const & indx)
openvsp.vsp.EditXSecInitShape(std::string const & xsec_id)
openvsp.vsp.EditXSecSplit01(std::string const & xsec_id, double const & u) int
openvsp.vsp.EnableStopGUIMenuItem()
class openvsp.vsp.ErrorMgrSingleton(*args, **kwargs)

Bases: object

Proxy of C++ vsp::ErrorMgrSingleton class.

AddError(ErrorMgrSingleton self, vsp::ERROR_CODE code, string const & desc)
GetErrorLastCallFlag(ErrorMgrSingleton self) bool
GetLastError(ErrorMgrSingleton self) ErrorObj
GetNumTotalErrors(ErrorMgrSingleton self) int
MessageCallback(ErrorMgrSingleton self, MessageBase const * _from, MessageData const & data)
NoError(ErrorMgrSingleton self)
PopErrorAndPrint(ErrorMgrSingleton self, FILE * stream) bool
PopLastError(ErrorMgrSingleton self) ErrorObj
PrintOnErrors(ErrorMgrSingleton self)
SilenceErrors(ErrorMgrSingleton self)
static getInstance() ErrorMgrSingleton
property thisown

The membership flag

class openvsp.vsp.ErrorObj(*args)

Bases: object

Proxy of C++ vsp::ErrorObj class.

GetErrorCode(ErrorObj self) vsp::ERROR_CODE
GetErrorString(ErrorObj self) string
NoError(ErrorObj self)
property m_ErrorCode

m_ErrorCode : vsp::ERROR_CODE

property m_ErrorString

m_ErrorString : string

property thisown

The membership flag

openvsp.vsp.ExecAnalysis(std::string const & analysis) std::string
openvsp.vsp.ExportFile(std::string const & file_name, int thick_set, int file_type, int subsFlag=1, int thin_set=SET_NONE, bool useMode=False, string const & modeID="") std::string
openvsp.vsp.FindActuatorDisk(int disk_index) std::string
openvsp.vsp.FindAllAttributes() StringVector
openvsp.vsp.FindAttributeByName(string const & search_str, int index) string
openvsp.vsp.FindAttributeInCollection(string const & obj_id, string const & search_str, int index) string
openvsp.vsp.FindAttributeNamesInCollection(string const & collID) StringVector
openvsp.vsp.FindAttributedObjects() StringVector
openvsp.vsp.FindAttributesByName(string const & search_str) StringVector
openvsp.vsp.FindAttributesInCollection(string const & collID) StringVector
openvsp.vsp.FindContainer(std::string const & name, int index) std::string
openvsp.vsp.FindContainerGroupNames(std::string const & parm_container_id) StringVector
openvsp.vsp.FindContainerParmIDs(std::string const & parm_container_id) StringVector
openvsp.vsp.FindContainers() StringVector
openvsp.vsp.FindContainersWithName(std::string const & name) StringVector
openvsp.vsp.FindGeom(std::string const & name, int index) std::string
openvsp.vsp.FindGeoms() StringVector
openvsp.vsp.FindGeomsWithName(std::string const & name) StringVector
openvsp.vsp.FindLatestResultsID(std::string const & name) std::string
openvsp.vsp.FindParm(std::string const & parm_container_id, std::string const & parm_name, std::string const & group_name) std::string
openvsp.vsp.FindRST(std::string const & geom_id, int const & surf_indx, vec3d pt) double
openvsp.vsp.FindRSTGuess(std::string const & geom_id, int const & surf_indx, vec3d pt, double const & r0, double const & s0, double const & t0) double
openvsp.vsp.FindRSTVec(std::string const & geom_id, int const & surf_indx, Vec3dVec pts)
openvsp.vsp.FindRSTVecGuess(std::string const & geom_id, int const & surf_indx, Vec3dVec pts, DoubleVector r0s, DoubleVector s0s, DoubleVector t0s)
openvsp.vsp.FindResultsID(std::string const & name, int index=0) std::string
openvsp.vsp.FindUnsteadyGroup(int group_index) std::string
openvsp.vsp.FitAfCST(std::string const & xsec_surf_id, int xsec_index, int deg)
openvsp.vsp.FitAllViews()
openvsp.vsp.FitBORAfCST(std::string const & bor_id, int deg)
openvsp.vsp.FitPlane(Vec3dVec pts, vec3d cen, vec3d norm)
openvsp.vsp.GetActiveCSNameVec(int CSGroupIndex) StringVector
openvsp.vsp.GetAdvLinkCode(int index) std::string
openvsp.vsp.GetAdvLinkInputNames(int index) StringVector
openvsp.vsp.GetAdvLinkInputParms(int index) StringVector
openvsp.vsp.GetAdvLinkNames() StringVector
openvsp.vsp.GetAdvLinkOutputNames(int index) StringVector
openvsp.vsp.GetAdvLinkOutputParms(int index) StringVector
openvsp.vsp.GetAirfoilCoordinates(std::string const & geom_id, double const & foilsurf_u) Vec3dVec
openvsp.vsp.GetAirfoilLowerPnts(std::string const & xsec_id) Vec3dVec
openvsp.vsp.GetAirfoilUpperPnts(std::string const & xsec_id) Vec3dVec
openvsp.vsp.GetAllBackground3DAbsolutePaths() StringVector
openvsp.vsp.GetAllBackground3DRelativePaths() StringVector
openvsp.vsp.GetAllBackground3Ds() StringVector
openvsp.vsp.GetAllDataNames(std::string const & results_id) StringVector
openvsp.vsp.GetAllModes() StringVector
openvsp.vsp.GetAllProbes() StringVector
openvsp.vsp.GetAllResultsNames() StringVector
openvsp.vsp.GetAllRoutingPtCoords(string const & routing_id, int symm_index) Vec3dVec
openvsp.vsp.GetAllRoutingPtIds(string const & routing_id) StringVector
openvsp.vsp.GetAllRulers() StringVector
openvsp.vsp.GetAllSubSurfIDs() StringVector
openvsp.vsp.GetAllUserParms() StringVector
openvsp.vsp.GetAnalysisDoc(std::string const & analysis) std::string
openvsp.vsp.GetAnalysisInputDoc(std::string const & analysis, std::string const & name) std::string
openvsp.vsp.GetAnalysisInputNames(std::string const & analysis) StringVector
openvsp.vsp.GetAnalysisInputType(std::string const & analysis, std::string const & name) int
openvsp.vsp.GetAndResetUpdateCount() int
openvsp.vsp.GetAttributeBoolVal(string const & attrID) IntVector
openvsp.vsp.GetAttributeDoc(string const & attrID) string
openvsp.vsp.GetAttributeDoubleMatrixVal(string const & attrID) DoubleVecVec
openvsp.vsp.GetAttributeDoubleVal(string const & attrID) DoubleVector
openvsp.vsp.GetAttributeID(string const & collID, string const & attributeName, int index) string
openvsp.vsp.GetAttributeIntMatrixVal(string const & attrID) IntVecVec
openvsp.vsp.GetAttributeIntVal(string const & attrID) IntVector
openvsp.vsp.GetAttributeName(string const & attrID) string
openvsp.vsp.GetAttributeParmID(string const & attrID) StringVector
openvsp.vsp.GetAttributeParmName(string const & attrID) StringVector
openvsp.vsp.GetAttributeParmVal(string const & attrID) DoubleVector
openvsp.vsp.GetAttributeStringVal(string const & attrID) StringVector
openvsp.vsp.GetAttributeType(string const & attrID) int
openvsp.vsp.GetAttributeTypeName(string const & attrID) string
openvsp.vsp.GetAttributeVec3dVal(string const & attrID) Vec3dVec
openvsp.vsp.GetAvailableCSNameVec(int CSGroupIndex) StringVector
openvsp.vsp.GetBBoxSet(int set) bool
openvsp.vsp.GetBORAirfoilLowerPnts(std::string const & bor_id) Vec3dVec
openvsp.vsp.GetBORAirfoilUpperPnts(std::string const & bor_id) Vec3dVec
openvsp.vsp.GetBORLowerCSTCoefs(std::string const & bor_id) DoubleVector
openvsp.vsp.GetBORLowerCSTDegree(std::string const & bor_id) int
openvsp.vsp.GetBORUpperCSTCoefs(std::string const & bor_id) DoubleVector
openvsp.vsp.GetBORUpperCSTDegree(std::string const & bor_id) int
openvsp.vsp.GetBORXSecShape(string const & bor_id) int
openvsp.vsp.GetBackground3DAbsolutePath(string const & id) string
openvsp.vsp.GetBackground3DRelativePath(string const & id) string
openvsp.vsp.GetBoolParmVal(std::string const & parm_id) bool
openvsp.vsp.GetChildCollection(string const & attachID) string
openvsp.vsp.GetCompleteCSNameVec() StringVector
openvsp.vsp.GetContainerName(std::string const & parm_container_id) std::string
openvsp.vsp.GetDesignVar(int index) std::string
openvsp.vsp.GetDesignVarType(int index) int
openvsp.vsp.GetDoubleAnalysisInput(std::string const & analysis, std::string const & name, int index=0) DoubleVector
openvsp.vsp.GetDoubleMatResults(std::string const & id, std::string const & name, int index=0) DoubleVecVec
openvsp.vsp.GetDoubleResults(std::string const & id, std::string const & name, int index=0) DoubleVector
openvsp.vsp.GetEditXSecCtrlVec(std::string const & xsec_id, bool non_dimensional=True) Vec3dVec
openvsp.vsp.GetEditXSecFixedUVec(std::string const & xsec_id) BoolVector
openvsp.vsp.GetEditXSecUVec(std::string const & xsec_id) DoubleVector
openvsp.vsp.GetEllipsoidCpDist(Vec3dVec surf_pnt_vec, vec3d abc_rad, vec3d V_inf) DoubleVector
openvsp.vsp.GetEllipsoidSurfPnts(vec3d center, vec3d abc_rad, int u_npts=20, int w_npts=20) Vec3dVec
openvsp.vsp.GetFeaBCIDVec(string const & fea_struct_id) StringVector
openvsp.vsp.GetFeaPartID(std::string const & fea_struct_id, int fea_part_index) std::string
openvsp.vsp.GetFeaPartIDVec(std::string const & fea_struct_id) StringVector
openvsp.vsp.GetFeaPartName(std::string const & part_id) std::string
openvsp.vsp.GetFeaPartPerpendicularSparID(std::string const & part_id) std::string
openvsp.vsp.GetFeaPartType(std::string const & part_id) int
openvsp.vsp.GetFeaStructID(std::string const & geom_id, int fea_struct_ind) std::string
openvsp.vsp.GetFeaStructIDVec() StringVector
openvsp.vsp.GetFeaStructIndex(std::string const & struct_id) int
openvsp.vsp.GetFeaStructName(std::string const & geom_id, int fea_struct_ind) std::string
openvsp.vsp.GetFeaStructParentGeomID(std::string const & struct_id) std::string
openvsp.vsp.GetFeaSubSurfIDVec(std::string const & fea_struct_id) StringVector
openvsp.vsp.GetFeaSubSurfIndex(string const & ss_id) int
openvsp.vsp.GetFeaSubSurfName(std::string const & subsurf_id) std::string
openvsp.vsp.GetFeatureLinePnts(string const & geom_id) Vec3dVec
openvsp.vsp.GetGeomBBoxMax(std::string const & geom_id, int main_surf_ind=0, bool ref_frame_is_absolute=True) vec3d
openvsp.vsp.GetGeomBBoxMin(std::string const & geom_id, int main_surf_ind=0, bool ref_frame_is_absolute=True) vec3d
openvsp.vsp.GetGeomChildren(std::string const & geom_id) StringVector
openvsp.vsp.GetGeomName(std::string const & geom_id) std::string
openvsp.vsp.GetGeomParent(std::string const & geom_id) std::string
openvsp.vsp.GetGeomParmIDs(std::string const & geom_id) StringVector
openvsp.vsp.GetGeomSet(std::string const & name) StringVector
openvsp.vsp.GetGeomSetAtIndex(int index) StringVector
openvsp.vsp.GetGeomSetCollection(int const & index) string
openvsp.vsp.GetGeomTypeName(std::string const & geom_id) std::string
openvsp.vsp.GetGeomTypes() StringVector
openvsp.vsp.GetGeomVSPSurfCfdType(std::string const & geom_id, int main_surf_ind=0) int
openvsp.vsp.GetGeomVSPSurfType(std::string const & geom_id, int main_surf_ind=0) int
openvsp.vsp.GetGroupName(std::string const & group_id) std::string
openvsp.vsp.GetHersheyBarDragDist(int const & npts, double const & alpha, double const & Vinf, double const & span, bool full_span_flag=False) Vec3dVec
openvsp.vsp.GetHersheyBarLiftDist(int const & npts, double const & alpha, double const & Vinf, double const & span, bool full_span_flag=False) Vec3dVec
openvsp.vsp.GetIntAnalysisInput(std::string const & analysis, std::string const & name, int index=0) IntVector
openvsp.vsp.GetIntParmVal(std::string const & parm_id) int
openvsp.vsp.GetIntResults(std::string const & id, std::string const & name, int index=0) IntVector
openvsp.vsp.GetLinkIndex(string const & name) int
openvsp.vsp.GetLowerCSTCoefs(std::string const & xsec_id) DoubleVector
openvsp.vsp.GetLowerCSTDegree(std::string const & xsec_id) int
openvsp.vsp.GetMainRoutingPtCoord(string const & pt_id) vec3d
openvsp.vsp.GetMaterialNames() StringVector
openvsp.vsp.GetNumActuatorDisks() int
openvsp.vsp.GetNumAnalysis() int
openvsp.vsp.GetNumAnalysisInputData(std::string const & analysis, std::string const & name) int
openvsp.vsp.GetNumBackground3Ds() int
openvsp.vsp.GetNumControlSurfaceGroups() int
openvsp.vsp.GetNumData(std::string const & results_id, std::string const & data_name) int
openvsp.vsp.GetNumDesignVars() int
openvsp.vsp.GetNumMainSurfs(std::string const & geom_id) int
openvsp.vsp.GetNumModes() int
openvsp.vsp.GetNumPredefinedUserParms() int
openvsp.vsp.GetNumResults(std::string const & name) int
openvsp.vsp.GetNumRoutingPts(string const & routing_id) int
openvsp.vsp.GetNumSets() int
openvsp.vsp.GetNumSubSurf(std::string const & geom_id) int
openvsp.vsp.GetNumUnsteadyGroups() int
openvsp.vsp.GetNumUnsteadyRotorGroups() int
openvsp.vsp.GetNumUserParms() int
openvsp.vsp.GetNumXSec(std::string const & xsec_surf_id) int
openvsp.vsp.GetNumXSecSurfs(std::string const & geom_id) int
openvsp.vsp.GetObjectName(string const & attachID) string
openvsp.vsp.GetObjectParent(string const & id) string
openvsp.vsp.GetObjectType(string const & attachID) int
openvsp.vsp.GetObjectTypeName(string const & attachID) string
openvsp.vsp.GetParm(std::string const & geom_id, std::string const & name, std::string const & group) std::string
openvsp.vsp.GetParmContainer(std::string const & parm_id) std::string
openvsp.vsp.GetParmDescript(std::string const & parm_id) std::string
openvsp.vsp.GetParmDisplayGroupName(std::string const & parm_id) std::string
openvsp.vsp.GetParmGroupName(std::string const & parm_id) std::string
openvsp.vsp.GetParmLowerLimit(std::string const & parm_id) double
openvsp.vsp.GetParmName(std::string const & parm_id) std::string
openvsp.vsp.GetParmType(std::string const & parm_id) int
openvsp.vsp.GetParmUpperLimit(std::string const & parm_id) double
openvsp.vsp.GetParmVal(std::string const & parm_id) double
openvsp.vsp.GetParmVal(std::string const & geom_id, std::string const & name, std::string const & group) double
openvsp.vsp.GetResultsEntryDoc(std::string const & results_id, std::string const & data_name) std::string
openvsp.vsp.GetResultsName(std::string const & results_id) std::string
openvsp.vsp.GetResultsSetDoc(std::string const & results_id) std::string
openvsp.vsp.GetResultsType(std::string const & results_id, std::string const & data_name) int
openvsp.vsp.GetRoutingPtCoord(string const & routing_id, int index, int symm_index) vec3d
openvsp.vsp.GetRoutingPtID(string const & routing_id, int index) string
openvsp.vsp.GetRoutingPtParentID(string const & pt_id) string
openvsp.vsp.GetScaleIndependentBBoxSet(int set) bool
openvsp.vsp.GetSetFlag(std::string const & geom_id, int set_index) bool
openvsp.vsp.GetSetIndex(std::string const & name) int
openvsp.vsp.GetSetName(int index) std::string
openvsp.vsp.GetSettingName(std::string const & setting_id) std::string
openvsp.vsp.GetStringAnalysisInput(std::string const & analysis, std::string const & name, int index=0) StringVector
openvsp.vsp.GetStringResults(std::string const & id, std::string const & name, int index=0) StringVector
openvsp.vsp.GetSubSurf(std::string const & geom_id, int index) std::string
openvsp.vsp.GetSubSurf(std::string const & geom_id, std::string const & name) StringVector
openvsp.vsp.GetSubSurfIDVec(std::string const & geom_id) StringVector
openvsp.vsp.GetSubSurfIndex(std::string const & sub_id) int
openvsp.vsp.GetSubSurfName(std::string const & geom_id, std::string const & sub_id) std::string
openvsp.vsp.GetSubSurfName(std::string const & sub_id) std::string
openvsp.vsp.GetSubSurfParmIDs(std::string const & sub_id) StringVector
openvsp.vsp.GetSubSurfType(std::string const & sub_id) int
openvsp.vsp.GetTotalNumSurfs(std::string const & geom_id) int
openvsp.vsp.GetUWTess01(std::string const & geom_id, int const & surf_indx)
openvsp.vsp.GetUnsteadyGroupCompIDs(int group_index) StringVector
openvsp.vsp.GetUnsteadyGroupName(int group_index) std::string
openvsp.vsp.GetUnsteadyGroupSurfIndexes(int group_index) IntVector
openvsp.vsp.GetUpperCSTCoefs(std::string const & xsec_id) DoubleVector
openvsp.vsp.GetUpperCSTDegree(std::string const & xsec_id) int
openvsp.vsp.GetUserParmContainer() std::string
openvsp.vsp.GetVKTAirfoilCpDist(double const & alpha, double const & epsilon, double const & kappa, double const & tau, Vec3dVec xyz_data) DoubleVector
openvsp.vsp.GetVKTAirfoilPnts(int const & npts, double const & alpha, double const & epsilon, double const & kappa, double const & tau) Vec3dVec
openvsp.vsp.GetVSPAEROControlGroupName(int CSGroupIndex) std::string
openvsp.vsp.GetVSPAEROPath() std::string
openvsp.vsp.GetVSPAERORefWingID() string
openvsp.vsp.GetVSPExePath() std::string
openvsp.vsp.GetVSPFileName() std::string
openvsp.vsp.GetVSPHelpPath() std::string
openvsp.vsp.GetVSPVersion() std::string
openvsp.vsp.GetVSPVersionChange() int
openvsp.vsp.GetVSPVersionMajor() int
openvsp.vsp.GetVSPVersionMinor() int
openvsp.vsp.GetVarPresetGroups() StringVector
openvsp.vsp.GetVarPresetParmIDs(std::string const & group_id) StringVector
openvsp.vsp.GetVarPresetParmVal(std::string const & group_id, std::string const & setting_id, std::string const & parm_id) double
openvsp.vsp.GetVarPresetParmVals(std::string const & setting_id) DoubleVector
openvsp.vsp.GetVarPresetSettings(std::string const & group_id) StringVector
openvsp.vsp.GetVec3dAnalysisInput(std::string const & analysis, std::string const & name, int index=0) Vec3dVec
openvsp.vsp.GetVec3dResults(std::string const & id, std::string const & name, int index=0) Vec3dVec
openvsp.vsp.GetVehicleID() std::string
openvsp.vsp.GetXSec(std::string const & xsec_surf_id, int xsec_index) std::string
openvsp.vsp.GetXSecAlias(string const & id) string
openvsp.vsp.GetXSecCurveAlias(string const & id) string
openvsp.vsp.GetXSecHeight(std::string const & xsec_id) double
openvsp.vsp.GetXSecParm(std::string const & xsec_id, std::string const & name) std::string
openvsp.vsp.GetXSecParmIDs(std::string const & xsec_id) StringVector
openvsp.vsp.GetXSecShape(std::string const & xsec_id) int
openvsp.vsp.GetXSecSurf(std::string const & geom_id, int index) std::string
openvsp.vsp.GetXSecSurfGlobalXForm(std::string const & xsec_surf_id) Matrix4d
openvsp.vsp.GetXSecWidth(std::string const & xsec_id) double
openvsp.vsp.HideAllBackground3Ds()
openvsp.vsp.HideScreen(int s)
openvsp.vsp.ImportFile(std::string const & file_name, int file_type, std::string const & parent) std::string
openvsp.vsp.InitGUI()
openvsp.vsp.InsertRoutingPt(string const & routing_id, int index, string const & geom_id, int surf_index) string
openvsp.vsp.InsertVSPFile(std::string const & file_name, std::string const & parent_geom_id)
openvsp.vsp.InsertXSec(std::string const & geom_id, int index, int type)
openvsp.vsp.InsideSurf(std::string const & geom_id, int const & surf_indx, vec3d pt) bool
class openvsp.vsp.IntVecVec(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

class openvsp.vsp.IntVector(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

openvsp.vsp.IntegrateEllipsoidFlow(vec3d abc_rad, int const & abc_index) double
openvsp.vsp.IsEventLoopRunning() bool
openvsp.vsp.IsFacade()

Returns True if the facade API is in use.

is_facade = IsFacade()
openvsp.vsp.IsGUIBuild() bool
openvsp.vsp.IsGUIRunning()

Returns True if the GUI event loop is running.

is_gui_active = IsGUIRunning()
openvsp.vsp.ListAnalysis() StringVector
openvsp.vsp.Lock()
openvsp.vsp.MapFromPlane(vec2d uw, vec3d planeOrig, vec3d planeVec1, vec3d planeVec2) vec3d
openvsp.vsp.MapToPlane(vec3d p, vec3d planeOrig, vec3d planeVec1, vec3d planeVec2) vec2d
class openvsp.vsp.Matrix4d

Bases: object

Proxy of C++ Matrix4d class.

affineInverse(Matrix4d self)
buildXForm(Matrix4d self, vec3d pos, vec3d rot, vec3d cent_rot)
data(Matrix4d self) double *
flipx(Matrix4d self)
getAngles(Matrix4d self) vec3d
getBasis(Matrix4d self, vec3d xdir, vec3d ydir, vec3d zdir)
getMat(Matrix4d self, double * m)
getTranslation(Matrix4d self) vec3d
initMat(Matrix4d self, double const * m)
initMat(Matrix4d self, Matrix4d m) None
loadIdentity(Matrix4d self)
loadXYRef(Matrix4d self)
loadXZRef(Matrix4d self)
loadYZRef(Matrix4d self)
matMult(Matrix4d self, double const * m)
matMult(Matrix4d self, Matrix4d m) None
mirrory(Matrix4d self)
mult(Matrix4d self, double const [4] _in, double [4] out)
postMult(Matrix4d self, double const * m)
postMult(Matrix4d self, Matrix4d m) None
rotate(Matrix4d self, double const & angle, vec3d axis)
rotateX(Matrix4d self, double const & ang)
rotateY(Matrix4d self, double const & ang)
rotateZ(Matrix4d self, double const & ang)
rotatealongX(Matrix4d self, vec3d dir1)
scale(Matrix4d self, double const & scale)
scalex(Matrix4d self, double const & scalex)
scaley(Matrix4d self, double const & scaley)
scalez(Matrix4d self, double const & scalez)
setBasis(Matrix4d self, vec3d xdir, vec3d ydir, vec3d zdir)
static setIdentity(double * m)
property thisown

The membership flag

toQuat(Matrix4d self, double & qw, double & qx, double & qy, double & qz, double & tx, double & ty, double & tz)
translatef(Matrix4d self, double const & x, double const & y, double const & z)
translatev(Matrix4d self, vec3d v)
xform(Matrix4d self, vec3d _in) vec3d
xformmat(Matrix4d self, std::vector< std::vector< vec3d, std::allocator< vec3d > >, std::allocator< std::vector< vec3d, std::allocator< vec3d > > > > & _in)
xformnorm(Matrix4d self, vec3d _in) vec3d
xformnormmat(Matrix4d self, std::vector< std::vector< vec3d, std::allocator< vec3d > >, std::allocator< std::vector< vec3d, std::allocator< vec3d > > > > & _in)
xformnormvec(Matrix4d self, Vec3dVec _in)
xformvec(Matrix4d self, Vec3dVec _in)
zeroTranslations(Matrix4d self)
class openvsp.vsp.Matrix4dVec(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

openvsp.vsp.ModeAddGroupSetting(string const & mid, string const & gid, string const & sid)
openvsp.vsp.ModeGetAllGroups(string const & mid) StringVector
openvsp.vsp.ModeGetAllSettings(string const & mid) StringVector
openvsp.vsp.ModeGetGroup(string const & mid, int indx) string
openvsp.vsp.ModeGetSetting(string const & mid, int indx) string
openvsp.vsp.MoveEditXSecPnt(std::string const & xsec_id, int const & indx, vec3d new_pnt)
openvsp.vsp.MoveRoutingPt(string const & routing_id, int index, int reorder_type) int
openvsp.vsp.NumFeaBCs(string const & fea_struct_id) int
openvsp.vsp.NumFeaParts(std::string const & fea_struct_id) int
openvsp.vsp.NumFeaStructures() int
openvsp.vsp.NumFeaSubSurfs(std::string const & fea_struct_id) int
openvsp.vsp.PCurveConvertTo(std::string const & geom_id, int const & pcurveid, int const & newtype)
openvsp.vsp.PCurveDeletePt(std::string const & geom_id, int const & pcurveid, int const & indx)
openvsp.vsp.PCurveGetTVec(std::string const & geom_id, int const & pcurveid) DoubleVector
openvsp.vsp.PCurveGetType(std::string const & geom_id, int const & pcurveid) int
openvsp.vsp.PCurveGetValVec(std::string const & geom_id, int const & pcurveid) DoubleVector
openvsp.vsp.PCurveSplit(std::string const & geom_id, int const & pcurveid, double const & tsplit) int
openvsp.vsp.PasteAttribute(string const & coll_id) StringVector
openvsp.vsp.PasteGeomClipboard(std::string const & parent=std::string()) StringVector
openvsp.vsp.PasteXSec(std::string const & geom_id, int index)
openvsp.vsp.PointInPolygon(vec2d R, std::vector< vec2d, std::allocator< vec2d > > const & pnts) bool
openvsp.vsp.PopupMsg(std::string const & msg)
openvsp.vsp.PrintAnalysisDocs(std::string const & analysis_name)
openvsp.vsp.PrintAnalysisInputs(std::string const & analysis_name)
openvsp.vsp.PrintResults(std::string const & results_id)
openvsp.vsp.PrintResultsDocs(std::string const & results_id)
openvsp.vsp.ProjPnt01(std::string const & geom_id, int const & surf_indx, vec3d pt) double
openvsp.vsp.ProjPnt01Guess(std::string const & geom_id, int const & surf_indx, vec3d pt, double const & u0, double const & w0) double
openvsp.vsp.ProjPnt01I(std::string const & geom_id, vec3d pt) double
openvsp.vsp.ProjVecPnt01(std::string const & geom_id, int const & surf_indx, Vec3dVec pts)
openvsp.vsp.ProjVecPnt01Guess(std::string const & geom_id, int const & surf_indx, Vec3dVec pts, DoubleVector u0s, DoubleVector w0s)
openvsp.vsp.PromoteBORCSTLower(std::string const & bor_id)
openvsp.vsp.PromoteBORCSTUpper(std::string const & bor_id)
openvsp.vsp.PromoteCSTLower(std::string const & xsec_id)
openvsp.vsp.PromoteCSTUpper(std::string const & xsec_id)
openvsp.vsp.PtInTri(vec3d v0, vec3d v1, vec3d v2, vec3d p) bool
openvsp.vsp.ReadApplyDESFile(std::string const & file_name)
openvsp.vsp.ReadApplyXDDMFile(std::string const & file_name)
openvsp.vsp.ReadBORFileAirfoil(std::string const & bor_id, std::string const & file_name)
openvsp.vsp.ReadBORFileXSec(std::string const & bor_id, std::string const & file_name) Vec3dVec
openvsp.vsp.ReadFileAirfoil(std::string const & xsec_id, std::string const & file_name)
openvsp.vsp.ReadFileXSec(std::string const & xsec_id, std::string const & file_name) Vec3dVec
openvsp.vsp.ReadVSPFile(std::string const & file_name)
openvsp.vsp.RegisterCFDMeshAnalyses()
openvsp.vsp.RemoveAllFromVSPAEROControlSurfaceGroup(int CSGroupIndex)
openvsp.vsp.RemoveAllGroupSettings(string const & mid)
openvsp.vsp.RemoveGroupSetting(string const & mid, int indx)
openvsp.vsp.RemoveSelectedFromCSGroup(IntVector selected, int CSGroupIndex)
openvsp.vsp.ReparameterizeEditXSec(std::string const & xsec_id)
openvsp.vsp.ResetPropellerThicknessCurve(std::string const & geom_id)
openvsp.vsp.ResetViews()
openvsp.vsp.ResetXSecSkinParms(std::string const & xsec_id)
openvsp.vsp.RotateArbAxis(vec3d p, double theta, vec3d r) vec3d
openvsp.vsp.RotateSet(int set_index, double x_rot_deg, double y_rot_deg, double z_rot_deg)
openvsp.vsp.SaveVarPresetParmVals(std::string const & group_id, std::string const & setting_id)
openvsp.vsp.ScaleSet(int set_index, double scale)
openvsp.vsp.ScreenGrab(string const & fname, int w, int h, bool transparentBG, bool autocrop=False)
openvsp.vsp.SearchReplaceAdvLinkCode(int index, string const & _from, string const & to)
openvsp.vsp.SetAdvLinkCode(int index, string const & code)
openvsp.vsp.SetAirfoilLowerPnts(std::string const & xsec_id, Vec3dVec low_pnt_vec)
openvsp.vsp.SetAirfoilPnts(std::string const & xsec_id, Vec3dVec up_pnt_vec, Vec3dVec low_pnt_vec)
openvsp.vsp.SetAirfoilUpperPnts(std::string const & xsec_id, Vec3dVec up_pnt_vec)
openvsp.vsp.SetAllViews(int view)
openvsp.vsp.SetAnalysisInputDefaults(std::string const & analysis)
openvsp.vsp.SetAttributeBool(string const & attrID, bool value)
openvsp.vsp.SetAttributeDoc(string const & attrID, string const & doc)
openvsp.vsp.SetAttributeDouble(string const & attrID, double value)
openvsp.vsp.SetAttributeDoubleMatrix(string const & attrID, DoubleVecVec value)
openvsp.vsp.SetAttributeInt(string const & attrID, int value)
openvsp.vsp.SetAttributeIntMatrix(string const & attrID, IntVecVec value)
openvsp.vsp.SetAttributeName(string const & attrID, string const & name)
openvsp.vsp.SetAttributeParmID(string const & attrID, string const & value)
openvsp.vsp.SetAttributeString(string const & attrID, string const & value)
openvsp.vsp.SetAttributeVec3d(string const & attrID, Vec3dVec value)
openvsp.vsp.SetBEMPropID(string const & prop_id)
openvsp.vsp.SetBORAirfoilLowerPnts(std::string const & bor_id, Vec3dVec low_pnt_vec)
openvsp.vsp.SetBORAirfoilPnts(std::string const & bor_id, Vec3dVec up_pnt_vec, Vec3dVec low_pnt_vec)
openvsp.vsp.SetBORAirfoilUpperPnts(std::string const & bor_id, Vec3dVec up_pnt_vec)
openvsp.vsp.SetBORLowerCST(std::string const & bor_id, int deg, DoubleVector coefs)
openvsp.vsp.SetBORUpperCST(std::string const & bor_id, int deg, DoubleVector coefs)
openvsp.vsp.SetBORXSecPnts(std::string const & bor_id, Vec3dVec pnt_vec)
openvsp.vsp.SetBackground(double r, double g, double b)
openvsp.vsp.SetBackground3DAbsolutePath(string const & id, string const & fname)
openvsp.vsp.SetBackground3DRelativePath(string const & id, string const & fname)
openvsp.vsp.SetCFDMeshVal(int type, double val)
openvsp.vsp.SetCFDWakeFlag(std::string const & geom_id, bool flag)
openvsp.vsp.SetComputationFileName(int file_type, std::string const & file_name)
openvsp.vsp.SetDoubleAnalysisInput(std::string const & analysis, std::string const & name, DoubleVector indata, int index=0)
openvsp.vsp.SetDriverGroup(std::string const & geom_id, int section_index, int driver_0, int driver_1=-1, int driver_2=-1)
openvsp.vsp.SetEditXSecFixedUVec(std::string const & xsec_id, BoolVector fixed_u_vec)
openvsp.vsp.SetEditXSecPnts(std::string const & xsec_id, DoubleVector u_vec, Vec3dVec control_pts, DoubleVector r_vec)
openvsp.vsp.SetFeaMeshFileName(std::string const & geom_id, int fea_struct_ind, int file_type, string const & file_name)
openvsp.vsp.SetFeaMeshStructIndex(int struct_index)
openvsp.vsp.SetFeaMeshVal(std::string const & geom_id, int fea_struct_ind, int type, double val)
openvsp.vsp.SetFeaPartName(std::string const & part_id, std::string const & name)
openvsp.vsp.SetFeaPartPerpendicularSparID(std::string const & part_id, std::string const & perpendicular_spar_id)
openvsp.vsp.SetFeaStructName(std::string const & geom_id, int fea_struct_ind, std::string const & name)
openvsp.vsp.SetFeaSubSurfName(std::string const & subsurf_id, std::string const & name)
openvsp.vsp.SetGUIElementDisable(int e, bool state)
openvsp.vsp.SetGUIScreenDisable(int s, bool state)
openvsp.vsp.SetGeomDisplayType(string const & geom_id, int type)
openvsp.vsp.SetGeomDrawType(string const & geom_id, int type)
openvsp.vsp.SetGeomMaterialName(string const & geom_id, string const & name)
openvsp.vsp.SetGeomName(std::string const & geom_id, std::string const & name)
openvsp.vsp.SetGeomParent(std::string const & geom_id, std::string const & parent_id)
openvsp.vsp.SetGeomScreenDisable(int s, bool state)
openvsp.vsp.SetGeomWireColor(string const & geom_id, int r, int g, int b)
openvsp.vsp.SetGroupName(std::string const & group_id, std::string const & group_name)
openvsp.vsp.SetIntAnalysisInput(std::string const & analysis, std::string const & name, IntVector indata, int index=0)
openvsp.vsp.SetLowerCST(std::string const & xsec_id, int deg, DoubleVector coefs)
openvsp.vsp.SetPCurve(std::string const & geom_id, int const & pcurveid, DoubleVector tvec, DoubleVector valvec, int const & newtype)
openvsp.vsp.SetParmDescript(std::string const & parm_id, std::string const & desc)
openvsp.vsp.SetParmLowerLimit(std::string const & parm_id, double val)
openvsp.vsp.SetParmUpperLimit(std::string const & parm_id, double val)
openvsp.vsp.SetParmVal(std::string const & parm_id, double val) double
openvsp.vsp.SetParmVal(std::string const & geom_id, std::string const & name, std::string const & group, double val) double
openvsp.vsp.SetParmValLimits(std::string const & parm_id, double val, double lower_limit, double upper_limit) double
openvsp.vsp.SetParmValUpdate(std::string const & parm_id, double val) double
openvsp.vsp.SetParmValUpdate(std::string const & geom_id, std::string const & parm_name, std::string const & parm_group_name, double val) double
openvsp.vsp.SetRoutingPtParentID(string const & pt_id, string const & parent_id)
openvsp.vsp.SetSetFlag(std::string const & geom_id, int set_index, bool flag)
openvsp.vsp.SetSetName(int index, std::string const & name)
openvsp.vsp.SetSettingName(std::string const & setting_id, std::string const & setting_name)
openvsp.vsp.SetShowBorders(bool brdr)
openvsp.vsp.SetStringAnalysisInput(std::string const & analysis, std::string const & name, StringVector indata, int index=0)
openvsp.vsp.SetSubSurfName(std::string const & geom_id, std::string const & sub_id, std::string const & name)
openvsp.vsp.SetSubSurfName(std::string const & sub_id, std::string const & name) None
openvsp.vsp.SetUpperCST(std::string const & xsec_id, int deg, DoubleVector coefs)
openvsp.vsp.SetVSP3FileName(std::string const & file_name)
openvsp.vsp.SetVSPAEROControlGroupName(string const & name, int CSGroupIndex)
openvsp.vsp.SetVSPAEROPath(std::string const & path) bool
openvsp.vsp.SetVSPAERORefWingID(std::string const & geom_id) string
openvsp.vsp.SetVSPHelpPath(std::string const & path) bool
openvsp.vsp.SetVarPresetParmVal(std::string const & group_id, std::string const & setting_id, std::string const & parm_id, double parm_val)
openvsp.vsp.SetVarPresetParmVals(std::string const & setting_id, DoubleVector parm_vals)
openvsp.vsp.SetVec3dAnalysisInput(std::string const & analysis, std::string const & name, Vec3dVec indata, int index=0)
openvsp.vsp.SetView(int viewport, int view)
openvsp.vsp.SetViewAxis(bool vaxis)
openvsp.vsp.SetWindowLayout(int r, int c)
openvsp.vsp.SetXSecAlias(string const & id, string const & alias)
openvsp.vsp.SetXSecContinuity(std::string const & xsec_id, int cx)
openvsp.vsp.SetXSecCurvatures(std::string const & xsec_id, int side, double top, double right, double bottom, double left)
openvsp.vsp.SetXSecCurveAlias(string const & id, string const & alias)
openvsp.vsp.SetXSecHeight(std::string const & xsec_id, double h)
openvsp.vsp.SetXSecPnts(std::string const & xsec_id, Vec3dVec pnt_vec)
openvsp.vsp.SetXSecSurfGlobalXForm(std::string const & xsec_surf_id, Matrix4d mat)
openvsp.vsp.SetXSecTanAngles(std::string const & xsec_id, int side, double top, double right, double bottom, double left)
openvsp.vsp.SetXSecTanSlews(std::string const & xsec_id, int side, double top, double right, double bottom, double left)
openvsp.vsp.SetXSecTanStrengths(std::string const & xsec_id, int side, double top, double right, double bottom, double left)
openvsp.vsp.SetXSecWidth(std::string const & xsec_id, double w)
openvsp.vsp.SetXSecWidthHeight(std::string const & xsec_id, double w, double h)
openvsp.vsp.ShowAllBackground3Ds()
openvsp.vsp.ShowOnlyMode(string const & mid)
openvsp.vsp.ShowScreen(int s)
openvsp.vsp.SnapParm(std::string const & parm_id, double target_min_dist, bool inc_flag, int set=SET_ALL, bool useMode=False, string const & modeID=std::string()) double
openvsp.vsp.SplitWingXSec(string const & wing_id, int section_index)
openvsp.vsp.StartGUI()
openvsp.vsp.StopGUI()
class openvsp.vsp.StringVecVec(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

class openvsp.vsp.StringVector(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

openvsp.vsp.SummarizeAttributes() string
openvsp.vsp.SummarizeAttributesAsTree() string
class openvsp.vsp.SwigPyIterator(*args, **kwargs)

Bases: object

advance(n)
copy()
decr(n=1)
distance(x)
equal(x)
incr(n=1)
next()
previous()
property thisown

The membership flag

value()
openvsp.vsp.ToCartesian(vec3d v) vec3d
openvsp.vsp.ToSpherical(vec3d v) vec3d
openvsp.vsp.ToSpherical2(vec3d v, vec3d vdet) vec3d
openvsp.vsp.TransformSet(int set_index, vec3d translation_vec, double x_rot_deg, double y_rot_deg, double z_rot_deg, double scale, bool scale_translations_flag)
openvsp.vsp.TranslateSet(int set_index, vec3d translation_vec)
openvsp.vsp.Unlock()
openvsp.vsp.Update(bool update_managers=True)
openvsp.vsp.UpdateGUI()
openvsp.vsp.UpdateGeom(std::string const & geom_id)
openvsp.vsp.UpdateParasiteDrag()
openvsp.vsp.VSPCheckSetup()
openvsp.vsp.VSPCrash(int crash_type)
openvsp.vsp.VSPExit(int error_code)
openvsp.vsp.VSPRenew()
openvsp.vsp.ValidParm(std::string const & id) bool
openvsp.vsp.ValidateAdvLinkParms(int index) bool
class openvsp.vsp.Vec3dVec(*args)

Bases: object

append(x)
assign(n, x)
back()
begin()
capacity()
clear()
empty()
end()
erase(*args)
front()
get_allocator()
insert(*args)
iterator()
pop()
pop_back()
push_back(x)
rbegin()
rend()
reserve(n)
resize(*args)
size()
swap(v)
property thisown

The membership flag

openvsp.vsp.VecInsideSurf(std::string const & geom_id, int const & surf_indx, Vec3dVec pts) BoolVector
openvsp.vsp.WriteAtmosphereCSVFile(std::string const & file_name, int const & atmos_type)
openvsp.vsp.WriteBezierAirfoil(std::string const & file_name, std::string const & geom_id, double const & foilsurf_u)
openvsp.vsp.WriteBodyFFCSVFile(std::string const & file_name)
openvsp.vsp.WriteCfEqnCSVFile(std::string const & file_name)
openvsp.vsp.WriteDESFile(std::string const & file_name)
openvsp.vsp.WritePartialCfMethodCSVFile(std::string const & file_name)
openvsp.vsp.WriteResultsCSVFile(std::string const & id, std::string const & file_name)
openvsp.vsp.WriteSeligAirfoil(std::string const & file_name, std::string const & geom_id, double const & foilsurf_u)
openvsp.vsp.WriteTestResults()
openvsp.vsp.WriteVSPFile(std::string const & file_name, int set=SET_ALL)
openvsp.vsp.WriteWingFFCSVFile(std::string const & file_name)
openvsp.vsp.WriteXDDMFile(std::string const & file_name)
openvsp.vsp.angle(vec3d a, vec3d b) double
openvsp.vsp.angle(vec2d a, vec2d b) double
openvsp.vsp.angle_pnt_2_plane(vec3d ptplane, vec3d norm, vec3d ptaxis, vec3d axis, vec3d pt, int ccw, vec3d prot) double
openvsp.vsp.area(vec3d A, vec3d B, vec3d C) double
openvsp.vsp.bi_lin_interp(vec2d p0, vec2d p1, vec2d p2, vec2d p3, double s, double t, vec2d p)
openvsp.vsp.center_of_circle(vec3d p1, vec3d p2, vec3d p3, vec3d center)
openvsp.vsp.clip_seg_rect(double x_min, double y_min, double x_max, double y_max, vec2d pnt1, vec2d pnt2, int & visible)
openvsp.vsp.compsum(Vec3dVec x) vec3d
openvsp.vsp.cos_angle(vec3d a, vec3d b) double
openvsp.vsp.cos_angle(vec2d a, vec2d b) double
openvsp.vsp.cross(vec3d a, vec3d b) vec3d
openvsp.vsp.cross(vec2d a, vec2d b) double
openvsp.vsp.det(vec2d p0, vec2d p1, vec2d offset) double
openvsp.vsp.dist(vec3d a, vec3d b) double
openvsp.vsp.dist(vec2d a, vec2d b) double
openvsp.vsp.dist3D_Segment_to_Segment(vec3d S1P0, vec3d S1P1, vec3d S2P0, vec3d S2P1) double
openvsp.vsp.dist3D_Segment_to_Segment(vec3d S1P0, vec3d S1P1, vec3d S2P0, vec3d S2P1, double * Lt, vec3d Ln, double * St, vec3d Sn) double
openvsp.vsp.dist_pnt_2_line(vec3d line_pt1, vec3d line_pt2, vec3d pnt) double
openvsp.vsp.dist_pnt_2_plane(vec3d org, vec3d norm, vec3d pnt) double
openvsp.vsp.dist_pnt_2_ray(vec3d line_pt1, vec3d dir_unit_vec, vec3d pnt) double
openvsp.vsp.dist_squared(vec3d a, vec3d b) double
openvsp.vsp.dist_squared(vec2d a, vec2d b) double
openvsp.vsp.dot(vec3d a, vec3d b) double
openvsp.vsp.dot(vec2d a, vec2d b) double
openvsp.vsp.encode(double x_min, double y_min, double x_max, double y_max, vec2d pnt, int [4] code)
openvsp.vsp.inverse_bi_lin_interp(vec2d p0, vec2d p1, vec2d p2, vec2d p3, vec2d p, double & s, double & t, double & s2, double & t2) int
openvsp.vsp.line_line_intersect(vec3d p1, vec3d p2, vec3d p3, vec3d p4, double * s, double * t) bool
openvsp.vsp.nearSegSeg(vec3d L0, vec3d L1, vec3d S0, vec3d S1, double * Lt, vec3d Ln, double * St, vec3d Sn) double
openvsp.vsp.orient2d(vec2d p0, vec2d p1, vec2d p) double
openvsp.vsp.plane_half_space(vec3d planeOrig, vec3d planeNorm, vec3d pnt) int
openvsp.vsp.plane_plane_intersection(vec3d p0, vec3d n0, vec3d p1, vec3d n1, vec3d p, vec3d v) bool
openvsp.vsp.plane_ray_intersect(vec3d A, vec3d B, vec3d C, vec3d D, vec3d E, double & t) int
openvsp.vsp.plane_ray_intersect(vec3d orig, vec3d norm, vec3d D, vec3d E, double & t) int
openvsp.vsp.pnt_tri_min_dist(vec3d v0, vec3d v1, vec3d v2, vec3d pnt, vec3d pnearest) double
openvsp.vsp.pointLineDistSquared(vec3d p, vec3d lp0, vec3d lp1, double & t, vec3d pon) double
openvsp.vsp.pointSegDistSquared(vec3d p, vec3d sp0, vec3d sp1, double & t, vec3d pon) double
openvsp.vsp.point_on_line(vec3d lp0, vec3d lp1, double const & t) vec3d
openvsp.vsp.poly_area(Vec3dVec pnt_vec) double
openvsp.vsp.poly_area(std::vector< vec2d, std::allocator< vec2d > > const & pnt_vec) double
openvsp.vsp.poly_centroid(std::vector< vec2d, std::allocator< vec2d > > const & pnt_vec) vec2d
openvsp.vsp.printpt(vec3d v)
openvsp.vsp.proj_pnt_on_line(vec3d line_pt1, vec3d line_pt2, vec3d pnt) vec3d
openvsp.vsp.proj_pnt_on_line_seg(vec3d line_pt1, vec3d line_pt2, vec3d pnt) vec3d
openvsp.vsp.proj_pnt_on_line_seg(vec2d line_A, vec2d line_B, vec2d pnt) vec2d
openvsp.vsp.proj_pnt_on_line_u(vec2d line_A, vec2d line_B, vec2d pnt) double
openvsp.vsp.proj_pnt_on_ray(vec3d line_pt1, vec3d line_dir, vec3d pnt) vec3d
openvsp.vsp.proj_pnt_to_plane(vec3d org, vec3d plane_ln1, vec3d plane_ln2, vec3d pnt) vec3d
openvsp.vsp.proj_u_on_v(vec3d u, vec3d v) vec3d
openvsp.vsp.proj_vec_to_plane(vec3d vec, vec3d norm) vec3d
openvsp.vsp.radius_of_circle(vec3d p1, vec3d p2, vec3d p3) double
openvsp.vsp.ray_ray_intersect(vec3d A, vec3d B, vec3d C, vec3d D, vec3d int_pnt1, vec3d int_pnt2) int
openvsp.vsp.seg_seg_intersect(vec2d pnt_A, vec2d pnt_B, vec2d pnt_C, vec2d pnt_D, vec2d int_pnt, double & t1, double & t2) int
openvsp.vsp.signed_angle(vec3d a, vec3d b, vec3d ref) double
openvsp.vsp.signed_dist_pnt_2_plane(vec3d org, vec3d norm, vec3d pnt) double
openvsp.vsp.slerp(vec3d a, vec3d b, double const & t) vec3d
openvsp.vsp.tetra_volume(vec3d A, vec3d B, vec3d C) double
openvsp.vsp.to_string(vec3d v) std::string
openvsp.vsp.tri_ray_intersect(vec3d A, vec3d B, vec3d C, vec3d D, vec3d E, double & u, double & w, double & t) int
openvsp.vsp.tri_seg_intersect(vec3d A, vec3d B, vec3d C, vec3d D, vec3d E, double & u, double & w, double & t) int
openvsp.vsp.tri_tri_min_dist(vec3d v0, vec3d v1, vec3d v2, vec3d v3, vec3d v4, vec3d v5, vec3d p1, vec3d p2) double
openvsp.vsp.triangle_plane_intersect_test(vec3d org, vec3d norm, vec3d p1, vec3d p2, vec3d p3) bool
openvsp.vsp.triangle_plane_maximum_dist(vec3d org, vec3d norm, vec3d p1, vec3d p2, vec3d p3, vec3d pa, vec3d pb) double
openvsp.vsp.triangle_plane_minimum_dist(vec3d org, vec3d norm, vec3d p1, vec3d p2, vec3d p3, vec3d pa, vec3d pb) double
class openvsp.vsp.vec2d(*args)

Bases: object

Proxy of C++ vec2d class.

data(vec2d self) double *
mag(vec2d self) double
normalize(vec2d self)
set_x(vec2d self, double xx) vec2d
set_xy(vec2d self, double xx, double yy) vec2d
set_y(vec2d self, double yy) vec2d
property thisown

The membership flag

transform(vec2d self, float [3][3] mat) vec2d
transform(vec2d self, double [3][3] mat) vec2d
property v

v : a(2).double

x(vec2d self) double
y(vec2d self) double
class openvsp.vsp.vec3d(*args)

Bases: object

Proxy of C++ vec3d class.

FlipNormal(vec3d self)
Transform(vec3d self, Matrix4d m)
as_vec2d_xy(vec3d self) vec2d
data(vec3d self) double *
get_pnt(vec3d self, double [3] pnt)
get_pnt(vec3d self, float [3] pnt) None
get_pnt(vec3d self, threed_point_type & pnt) None
isfinite(vec3d self) bool
isinf(vec3d self) bool
isnan(vec3d self) bool
mag(vec3d self) double
magsq(vec3d self) double
major_comp(vec3d self) int
minor_comp(vec3d self) int
normalize(vec3d self)
offset_i(vec3d self, double offset, int idir)
offset_x(vec3d self, double offset)
offset_y(vec3d self, double offset)
offset_z(vec3d self, double offset)
reflect_xy(vec3d self) vec3d
reflect_xz(vec3d self) vec3d
reflect_yz(vec3d self) vec3d
rotate_x(vec3d self, double theta)
rotate_y(vec3d self, double theta)
rotate_z(vec3d self, double theta)
scale_x(vec3d self, double scale)
scale_y(vec3d self, double scale)
scale_z(vec3d self, double scale)
set_arr(vec3d self, double const [] a) vec3d
set_arr(vec3d self, float const [] a) vec3d
set_refx(vec3d self, vec3d a) vec3d
set_refy(vec3d self, vec3d a) vec3d
set_refz(vec3d self, vec3d a) vec3d
set_vec(vec3d self, DoubleVector a) vec3d
set_x(vec3d self, double xx) vec3d
set_xyz(vec3d self, double xx, double yy, double zz) vec3d
set_y(vec3d self, double yy) vec3d
set_z(vec3d self, double zz) vec3d
swap_xy(vec3d self) vec3d
swap_xz(vec3d self) vec3d
swap_yz(vec3d self) vec3d
property thisown

The membership flag

property v

v : a(3).double

x(vec3d self) double
y(vec3d self) double
z(vec3d self) double