कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

image-to-relief-stl

ajmwagar द्वारा

Transportation
2.0kclawskills.sh द्वारा बताए गए डाउनलोड
2स्टार
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Turn a source image (or multi-color mask image)

विवरण

यह स्किल क्या करती है

Converts an image into a watertight, 3D-printable bas-relief STL by mapping colors or grayscale values to surface heights. Works in palette mode for flat-color images with exact color-to-height assignments, or grayscale mode for continuous height mapping. Designed to pair with image generation skills so a generated image becomes a physical model.

Uses a raster heightfield approach that needs no CAD software or heavy 3D modeling dependencies, just Python and potrace.

इसे कब इस्तेमाल करें

  • Converting AI-generated flat-color art into printable wall plaques
  • Turning a logo or icon into a bas-relief badge
  • Making lithophanes from grayscale source images
  • Creating embossed signs or name tags from simple illustrations
  • Producing physical keepsakes from digitally generated artwork

उदाहरण वर्कफ़्लो

इनपुट

User asks: convert my flat-color PNG logo into a printable STL with dark areas raised

एजेंट
  1. 1

    Receive the input PNG and identify the target color-to-height mapping

  2. 2

    Run image_to_relief.sh in palette mode with hex color codes mapped to heights

  3. 3

    Set base thickness and pixel resolution parameters

  4. 4

    Generate the heightfield mesh and write out the ASCII STL

  5. 5

    Produce an SVG preview via potrace for visual confirmation

आउटपुट

A watertight out.stl file ready for slicing, plus an optional out-preview.svg

आवश्यकताएँ

  • potrace and mkbitmap installed (apt: sudo apt install potrace, or brew: brew install potrace)

इंस्टॉलेशन

clawhub install ajmwagar/image-to-relief-stl

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक