Skip to main content

Headless stateless 3D clay modeller. Text-first. No GUI. No viewport. No mouse required.

Project description

DwarvenModeller

Headless, stateless 3D clay modeller. Part of the DwarvenSuite.

Text-first. No GUI. No viewport. No mouse required. The blind human artist and the Claude AI instance use the same interface. Accessibility is not a feature -- it is the architecture.

Philosophy

  • Digital clay, not CAD -- think in shapes and relationships, not vertices and edge loops
  • Stateless -- every operation is a single command; no persistent process, no session state
  • Text-first -- all feedback is readable by screen readers, AI instances, and humans equally
  • Headless -- runs anywhere: terminal, cron, AI tool calls, CI pipelines

What it does

Model in 3D using plain text operations. Each --op transforms the scene and saves. --feedback tells you where everything is in human spatial language. Export to POV-Ray, PNG, SVG, OBJ, STL, glTF, and more.

Installation

pip install dwarvenmodeller

Or from source:

git clone https://github.com/gitdwarf/DwarvenModeller.git
cd DwarvenModeller
pip install -e .

Requires Python 3.10+. POV-Ray is optional (for photorealistic renders).

Quick start

# Create a new scene
dwarvenmodeller --new mysculpt

# Add shapes
dwarvenmodeller --file mysculpt.dms --op "add type=sphere id=head radius=10"
dwarvenmodeller --file mysculpt.dms --op "add type=cube id=body width=6 height=8 depth=5 fill=coral"

# Check what you have
dwarvenmodeller --file mysculpt.dms --feedback

# Move things
dwarvenmodeller --file mysculpt.dms --op "move target=body down=5"

# Export
dwarvenmodeller --file mysculpt.dms --export "format=png out=mysculpt.png"

# Load a sample scene
dwarvenmodeller --file aldric --feedback

Sample scenes

Installed to ~/.dwarvenmodeller/samples/ on first run:

  • aldric.dms -- 30-object face sculpture, all primitive types demonstrated
  • bench.dms -- calibration scene, all 6 cardinal directions labelled
  • box3.dms -- DwarvenArchive icon: open box with documents
  • benchmark.dms -- export regression testing scene

Operations

dwarvenmodeller --help-ops

Shapes

sphere  cube  cylinder  cone  capsule  torus  plane
icosahedron  tetrahedron  octahedron  dodecahedron  text  null

Exports

png  png_native  povray  svg  obj  stl  glb  gltf  x3d  braille  spatial  txt

Python API

import dwarvenmodeller as dm

scene = dm.Scene.load('mysculpt.dms')
dm.op_add(scene, {'type': 'sphere', 'id': 'head', 'radius': '10'})
print(dm.generate_feedback(scene, tty=False))
dm.export_png_native(scene, 'preview.png', size=512)
scene.save('mysculpt.dms')

Part of DwarvenSuite

All tools follow the same philosophy: small, fast, correct, as few dependencies as possible.

Author

thedwarf -- gitdwarf

Support / Tip Jar

If you find DwarvenModeller useful, you can support the project:

Donate via PayPal

Licence

Individual use: free. Use it, sell what you make with it, no payment needed.

Business/entity use: USD $1,000 one-time fee. Any company, LLC, sole trader, or other legal entity must purchase a commercial licence. Pay via PayPal: https://www.paypal.com/paypalme/gitdwarf

Questions: https://github.com/gitdwarf/DwarvenModeller/issues

Run dwarvenmodeller --license for full terms.

Project details


Download files

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

Source Distribution

dwarvenmodeller-0.3.1.tar.gz (85.2 kB view details)

Uploaded Source

Built Distribution

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

dwarvenmodeller-0.3.1-py3-none-any.whl (91.3 kB view details)

Uploaded Python 3

File details

Details for the file dwarvenmodeller-0.3.1.tar.gz.

File metadata

  • Download URL: dwarvenmodeller-0.3.1.tar.gz
  • Upload date:
  • Size: 85.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for dwarvenmodeller-0.3.1.tar.gz
Algorithm Hash digest
SHA256 c0a3d8a54198981074912ae89b008e617f77c06b96e60027183b638bf9c52bba
MD5 825f9aac53686cd2b059b17d08dd2cee
BLAKE2b-256 03c23dfdd0b5162f9b430b483ec3ea996ea271f63c37d76a0574a011eb06f257

See more details on using hashes here.

File details

Details for the file dwarvenmodeller-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dwarvenmodeller-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cc6b064ac93c5e88cdeaa8dcea2f4461de2ea2b8489ca5996ffa6bdc4a6bff1b
MD5 c7b5bf5162e72049f77a06a1fdf4bd75
BLAKE2b-256 7a3df58c8295ecbf92be18b93411706c2d6e56625ccc06abbf7b796c5f7dddca

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