Skip to main content

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_medical package (via pyproject.toml in medical/), which depends on the local pyvcad bindings 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyvcad_medical-3.0.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

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

Hashes for pyvcad_medical-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90c943da3671d752de5310fb639f06666049df3de8168a6f8181f37773846a3d
MD5 2b2286021a36c1cbcc222f6e2d2e1790
BLAKE2b-256 3dd83b865597006959fa00cd6487608fbf9da933ee33779040a8273562f727b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page