disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

PathsManagerOptiCal

Folder/filename convention for OmniCal calibration data.

Represents the agreed folder structure and filename convention for all
input, config, intermediate data and outputs of:

Regarding Camera intrinsic calibration:
The idea behind the deep folder structure is to differentiate between
different acquisitions, input, config and output data, and different
calibration runs.

Note: All file~/folder~ methods return absolute paths using baseFolder.
All name~ methods return file/folder name only.
All pattern~ methods return file/folder pattern only.

Properties

baseFolder : str (Read-Only)

folderCalibration : str (Read-Only)

folderCameras : str (Read-Only)

folderOptiCal : str (Read-Only)

folderOutput : str (Read-Only)

folderOutputCameras : str (Read-Only)

Constructors

__init__(self, baseFolder: str)

Methods

fileCameraInputCamParams(self, camName: str, lensPos: float, iAcquisition: int, iImage: int) -> str

fileCameraInputExif(self, camName: str, lensPos: float, iAcquisition: int, iImage: int) -> str

fileCameraInputImage(self, camName: str, lensPos: float, iAcquisition: int, iImage: int) -> str

fileCameraIntrinsic(self, camName: str, lensPos: float, iAcquisition: int, iCamCal: int) -> str

fileCameraIntrinsicCfg(self, camName: str, lensPos: float, iAcquisition: int, iCamCal: int) -> str

fileCameraIntrinsicCfgList(self, camName: str, lensPos: float, iAcquisition: int, iCamCal: int) -> str

fileCameraIntrinsicList(self, camName: str) -> str

fileOutputCameraCamParams(self, camName: str, iImage: int) -> str

fileOutputCameraExif(self, camName: str, iImage: int) -> str

fileOutputCameraImage(self, camName: str, iImage: int) -> str

folderCamera(self, camName: str) -> str

folderCameraAcquisition(self, camName: str, lensPos: float, iAcquisition: int) -> str

folderCameraInput(self, camName: str, lensPos: float, iAcquisition: int) -> str

folderCaptureSetup(self) -> str

folderOutputCamera(self, camName: str) -> str

Static Methods

isOriginalMesh(path: str) -> bool

Whether the specified path does NOT contain any ReShape or MeshDeform pattern.

isDeformedMesh(path: string_view) -> bool

Whether the specified path ends with a pattern that indicates that the mesh was created by MeshDeform.

isReshapedMesh(path: string_view) -> bool

Whether the specified path ends with a pattern that indicates that the mesh was created by QuickAlign ReShape.