Overview#
OpenVCAD Python Bindings. OpenVCAD is a volumetric multi-material modeling language and compiler developed by the Matter Assembly Computation Lab at the University of Colorado Boulder. OpenVCAD is an automatable volumetric design framework that can fully leverage multi-material fabrication. OpenVCAD provides a scriptable suite of constructive solid geometry and functional design methods that enable the representation of complex objects with hundreds of materials. OpenVCAD allows for full spatial control over the material composition of an object. Additionally, it provides functional grading and convolutional blending techniques to generate parts with dynamic mechanical characteristics. This research tool is intended to be used for the design and development of new meta-materials, digital alloys, and compliant mechanisms.
Module-level helpers:
- pyvcad.version() str#
Get the version of OpenVCAD
- pyvcad.license()[source]#
Return the license notice of this OpenVCAD installation.
- Returns:
The notice, e.g.
"Licensed for non-commercial use".- Return type:
str
Example
>>> import pyvcad as pv >>> pv.license() 'Licensed for non-commercial use'
Every OpenVCAD package (pyvcad_compilers, pyvcad_metamaterials, pyvcad_rendering,
pyvcad_medical, pyvcad_attribute_resolver) has the same license() function.
Bundled material definitions#
default_materials and j750_materials are MaterialDefs instances loaded when
pyvcad is imported. Pass them to compilers and renderers that need material colors and IDs.
The *_path strings point at the JSON files they were loaded from, for building your own
MaterialDefs or copying a configuration as a starting point.
- pyvcad.default_materials#
MaterialDefs loaded from
default_materials_path.
- pyvcad.j750_materials#
MaterialDefs loaded from
j750_materials_path.
- pyvcad.default_materials_path#
Path to the bundled default material definitions (configs/default.json).
- pyvcad.j750_materials_path#
Path to the bundled Stratasys J750 material definitions (configs/j750.json).
- pyvcad.package_dir#
Directory of the installed pyvcad package.
Submodules#
pyvcad.DefaultAttributes: canonical attribute names and return types, see Default attribute names and types.pyvcad.resolvers: attribute conflict resolvers, see Attributes.pyvcad.vdb_loader: OpenVDB file loading and saving, see Volumes.