Utilities for doing medical image printing wih OpenVCAD (pyvcad). This project provides medical image conversion tools and color mapping utilities to aid medical 3D printing workflows with OpenVCAD. NOTE: the actual `Dicom` loading is still part of the core `pyvcad` library.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyvcad_medical-3.0.0-py3-none-any.whl.
File metadata
- Download URL: pyvcad_medical-3.0.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90c943da3671d752de5310fb639f06666049df3de8168a6f8181f37773846a3d
|
|
| MD5 |
2b2286021a36c1cbcc222f6e2d2e1790
|
|
| BLAKE2b-256 |
3dd83b865597006959fa00cd6487608fbf9da933ee33779040a8273562f727b1
|