Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
- **Purpose:** Blender 4.2+ add-on that voxelizes mesh objects and exports them as CT-style DICOM series, optionally layering synthetic artifacts.
Sign in to like and favorite skills
__init__.py – Blender registration entry point and exported API.properties.py – bpy.types.PropertyGroup definitions backing the add-on UI.panels.py / operators.py – UI panels and operators exposed in the 3D Viewport sidebar.voxelization.py – Mesh voxelization helpers that populate voxel grids and estimate selection bounds.artifacts.py – Synthetic artifact generators (noise, streaks, rings, partial volume, motion). Artifacts should be grounded by physical models where possible.dicom_export.py – Writes voxel grids to DICOM slices via pydicom when available.constants.py – Core HU constants and optional imports (pydicom, Dataset helpers).utils.py – Lightweight helpers for property access and UI refresh.download_wheels.py / wheels/ – Optional vendor wheels for Blender’s bundled Python.__all__ lists when the surrounding module already uses them.-> None, concrete collection types) and keep docstrings concise but informative. Use f-strings for string interpolation.bpy, mathutils) should remain importable without running inside Blender. Avoid executing Blender ops at import time; confine them to functions/operators.bl_info in __init__.py and blender_manifest.toml in sync.wheels/ directory already contains prebuilt dependencies; keep additions minimal and justify them in commit messages.This catches syntax errors without requiring Blender.python -m compileall DICOMator
README.md when you add or remove user-facing features or major workflow changes.