Overview

Module-level helpers:

pyvcad.version() str

Get the version of OpenVCAD

pyvcad.resources_path() str

Get the path to the resources directory.

Returns:

Path to the resources directory. On Mac it is located inside of the .app bundle. On Windows and Linux it is the same path as the executable.

Return type:

str

Example

>>> path = resources_path()
>>> print(path)
'../../Resources/' on Mac OS    '' on Windows and Linux
pyvcad.j750_materials()

Class representing material definitions that translates between material names, colors, and ids.

pyvcad.default_materials()

Class representing material definitions that translates between material names, colors, and ids.