pyvcad_medical
pyvcad_medical is a pure‑Python sub‑project of OpenVCAD that provides medical imaging utilities for volumetric, multi‑material 3D printing workflows. It focuses on converting Hounsfield units (HU, radiodensity values from CT data) into continuous material and color attributes suitable for Inkjet/PolyJet‑style printers using OpenVCAD’s attribute modeling.
What this project contains
- HU → attribute mappings: Helpers to map Hounsfield units into:
- Color attributes (e.g., soft tissue vs. bone colorization)
- Mechanical attributes (e.g., stiffness/compliance gradients)
- Gradient generation utilities: Functions to build smooth volumetric gradients from medical image data, ready to be attached as OpenVCAD attribute fields.
- DICOM inspection tools: Convenience methods for reading and printing key DICOM/CT metadata relevant to AM workflows (e.g., spacing, windowing, patient/study info).
What it builds
- Python package: Builds and installs the
pyvcad_medicalpackage (viapyproject.tomlinmedical/), which depends on the localpyvcadbindings and integrates directly with the OpenVCAD node/attribute system.
How it is used
- Typical workflow:
- Load DICOM/volume data and inspect basic metadata.
- Convert HU values into one or more attribute fields (color, modulus, etc.).
- Attach these attributes to OpenVCAD geometries as continuous fields.
- Compile to printer‑ready volumetric outputs (e.g., Inkjet color/material jobs) using the OpenVCAD compilers.
Release files for pyvcad-medical 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyvcad_medical-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pyvcad_medical-3.1.0-py3-none-any.whl
| Download URL | pyvcad_medical-3.1.0-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e19afdc04f863f413255a07251cd295432b001b08b93bce96b87b37d2364060
|
|
BLAKE2b-256 checksum How to use checksums |
4bd490c93758f27f9ab54f0cc82431575f696e6b50c79c63ccda0dbad06edab5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|