This document lists all functions, classes, and enums available in the ViennaLS Python package.
Functions are grouped into dimension-bound and dimension-independent components.
These functions are tied to either the 2D or 3D version of the library.
They must be imported from either viennals.d2 or viennals.d3.
DomainAdvectBooleanOperationCalculateCurvaturesCalculateNormalVectorsCalculateVisibilitiesCheckCompareChamferCompareCriticalDimensionsCompareNarrowBandCompareSparseFieldCompareVolumePointCloudConvexHullDetectFeaturesGeometricAdvectGeometricAdvectDistributionsSphereDistributionBoxDistributionExpandFromSurfaceMeshFromVolumeMeshFromMeshSpherePlaneBoxCylinderMakeGeometryMarkVoidPointsPruneReaderReduceRemoveStrayPointsToDiskMeshToMeshToMultiSurfaceMeshToSurfaceMeshToVoxelMeshWriterWriteVisualizationMesh
CompareArea
These are imported directly from the root viennals module.
LogLevelSpatialSchemeEnumBooleanOperationEnumCurvatureEnumFeatureDetectionEnumNormalCalculationMethodEnumBoundaryConditionEnumFileFormatEnumVoidTopSurfaceEnumTransformEnum
MeshPointDataTransformMeshVTKReaderVTKWriter
LoggerMaterialMapVelocityField
These functions enable conversion between 2D and 3D representations and are also imported from the root viennals module:
SliceExtrude
# 2D functions and domain-specific operations
import viennals.d2 as vls
domain = vls.Domain()
vls.Advect(domain, ...)
# Common functions and enums
import viennals
mesh = viennals.Mesh()
enum = viennals.BooleanOperationEnum.UNION