Geom Functions

This group of functions is available for adding, deleting, and modifying OpenVSP Geoms through the API.

SetGeomMaterialName(std, std)

GetGeomTypes()

AddGeom(-> std)

UpdateGeom(std)

DeleteGeom(std)

DeleteGeomVec(StringVector del_vec)

CutGeomToClipboard(std)

CopyGeomToClipboard(std)

PasteGeomClipboard(-> StringVector)

ConvertFuselageToStack(std)

FindGeoms()

FindGeomsWithName(std)

FindGeom(std, int index)

SetGeomName(std, std)

GetGeomName(std)

GetGeomParmIDs(std)

GetGeomTypeName(std)

SetGeomParent(std, std)

ReorderGeom(std, int reorder_type)

AttachGeomTexture(std, std)

RemoveGeomTexture(std, std)

GetGeomTextureIDVec(std)

GetGeomTextureFileName(std, std)

GetGeomParent(std)

GetGeomChildren(std)

GetNumMainSurfs(std)

GetTotalNumSurfs(std)

GetGeomVSPSurfType(-> int)

GetGeomVSPSurfCfdType(-> int)

GetGeomBBoxMax(-> vec3d  -> vec3d)

GetGeomBBoxMin(-> vec3d  -> vec3d)

SplitWingXSec(std, int section_index)

GetDriverGroup(std, int section_index)

ResetPropellerThickness(std)

PasteAirfoil(std, int index)

ClearSkinning()

ResetGeomScale(std)

AcceptGeomScale(std)

GetPtCloudPnts(std)

CreateNGonMeshGeom(std)

CreateConvexHull(std)

ProjectPtCloudPts(std, std, int surf_index, ...)

Details

openvsp.SetGeomMaterialName(std: :string const & geom_id, std: :string const & name)[source]
openvsp.GetGeomTypes() → StringVector[source]
openvsp.AddGeom(std: :string const & type, std: :string const & parent) → std::string[source]
openvsp.AddGeom(std: :string const & type) → std::string
openvsp.UpdateGeom(std: :string const & geom_id)[source]
openvsp.DeleteGeom(std: :string const & geom_id)[source]
openvsp.DeleteGeomVec(StringVector del_vec)[source]
openvsp.CutGeomToClipboard(std: :string const & geom_id)[source]
openvsp.CopyGeomToClipboard(std: :string const & geom_id)[source]
openvsp.PasteGeomClipboard(std: :string const & parent) → StringVector[source]
openvsp.PasteGeomClipboard() → StringVector
openvsp.ConvertFuselageToStack(std: :string const & geom_id) → std::string[source]
openvsp.FindGeoms() → StringVector[source]
openvsp.FindGeomsWithName(std: :string const & name) → StringVector[source]
openvsp.FindGeom(std: :string const & name, int index) → std::string[source]
openvsp.SetGeomName(std: :string const & geom_id, std: :string const & name)[source]
openvsp.GetGeomName(std: :string const & geom_id) → std::string[source]
openvsp.GetGeomParmIDs(std: :string const & geom_id) → StringVector[source]
openvsp.GetGeomTypeName(std: :string const & geom_id) → std::string[source]
openvsp.SetGeomParent(std: :string const & geom_id, std: :string const & parent_id)[source]
openvsp.ReorderGeom(std: :string const & geom_id, int reorder_type)[source]
openvsp.AttachGeomTexture(std: :string const & geom_id, std: :string const & file_name) → std::string[source]
openvsp.RemoveGeomTexture(std: :string const & geom_id, std: :string const & texture_id)[source]
openvsp.GetGeomTextureIDVec(std: :string const & geom_id) → StringVector[source]
openvsp.GetGeomTextureFileName(std: :string const & geom_id, std: :string const & texture_id) → std::string[source]
openvsp.GetGeomParent(std: :string const & geom_id) → std::string[source]
openvsp.GetGeomChildren(std: :string const & geom_id) → StringVector[source]
openvsp.GetNumMainSurfs(std: :string const & geom_id) → int[source]
openvsp.GetTotalNumSurfs(std: :string const & geom_id) → int[source]
openvsp.GetGeomVSPSurfType(std: :string const & geom_id, int main_surf_ind=0) → int[source]
openvsp.GetGeomVSPSurfType(std: :string const & geom_id) → int
openvsp.GetGeomVSPSurfCfdType(std: :string const & geom_id, int main_surf_ind=0) → int[source]
openvsp.GetGeomVSPSurfCfdType(std: :string const & geom_id) → int
openvsp.GetGeomBBoxMax(std: :string const & geom_id, int main_surf_ind=0, bool ref_frame_is_absolute=True) → vec3d[source]
openvsp.GetGeomBBoxMax(std: :string const & geom_id, int main_surf_ind=0) → vec3d
openvsp.GetGeomBBoxMax(std: :string const & geom_id) → vec3d
openvsp.GetGeomBBoxMin(std: :string const & geom_id, int main_surf_ind=0, bool ref_frame_is_absolute=True) → vec3d[source]
openvsp.GetGeomBBoxMin(std: :string const & geom_id, int main_surf_ind=0) → vec3d
openvsp.GetGeomBBoxMin(std: :string const & geom_id) → vec3d
openvsp.SplitWingXSec(std: :string const & wing_id, int section_index)[source]
openvsp.GetDriverGroup(std: :string const & geom_id, int section_index) → IntVector[source]
openvsp.ResetPropellerThickness(std: :string const & geom_id)[source]
openvsp.PasteAirfoil(std: :string const & geom_id, int index)[source]
openvsp.ClearSkinning(std: :string const & geom_id, int index=-1)[source]
openvsp.ClearSkinning(std: :string const & geom_id)
openvsp.ResetGeomScale(std: :string const & geom_id)[source]
openvsp.AcceptGeomScale(std: :string const & geom_id)[source]
openvsp.GetPtCloudPnts(std: :string const & geom_id) → Vec3dVec[source]
openvsp.CreateNGonMeshGeom(std: :string const & geom_id) → std::string[source]
openvsp.CreateConvexHull(std: :string const & geom_id) → std::string[source]
openvsp.ProjectPtCloudPts(std: :string const & geom_id, std: :string const & target_geom_id, int surf_index, int dir_index)[source]