20 October 2026
حوّل إيموجي بكسل إلى مجسم تطبعه على مكتبك مع Claude وOpenSCADTurn a Pixel Emoji into a Desk Figure You Can 3D Print with Claude and OpenSCAD
After this guide you can turn any pixel emoji or pixel drawing into a print ready STL file, with code Claude writes for you in free OpenSCAD.
Who this guide is for
Anyone with a shape they want to print, even if they never tried 3D printing.
Key terms
- OpenSCAD
- A free program where you build 3D models with code instead of drawing. It runs on Windows, Mac and Linux.
- STL
- The model file format every 3D printing program understands.
- Slicer
- The program that cuts the model into layers and turns it into instructions for the printer. It usually comes with your printer.
- Voxel
- A tiny 3D cube. A pixel with depth.
The steps
Step 1
Pick the emoji and get a clean image
Take a clear capture of the pixel emoji or drawing on a plain background.
The clearer the squares, the better Claude reads the grid.
Tip: Use your own drawing or one you are allowed to print, not a company logo.
Step 2
Ask Claude to read the grid
Upload the image in a new Claude chat and ask it to write the grid as text, one line per row and one letter per colour.
Check the text against the image before you go on. Every wrong square shows up in the model.
PromptRead the gridThis is a pixel drawing. Write the grid as text: one line per row, one letter per colour (for example B for the body, H for the headphones, E for the eyes, and . for empty). Then list the colours you found.
Step 3
Let Claude write the OpenSCAD code
Ask it to turn the grid into OpenSCAD code: every coloured square becomes a cube, and every colour goes in its own part so you can print each colour separately.
Give it a real size, like 6 cm tall, instead of "small".
PromptOpenSCAD codeTurn this grid into OpenSCAD code. Every coloured square is a [2] mm cube, and the model is [6] mm deep. Make one module per colour and put a variable called part at the top of the file so I can choose which colour to export. The grid: [paste the grid here]
Step 4
Run the code and export STL
Open OpenSCAD, paste the code and press F6 to render the model.
Then go to File, Export and choose Export as STL. Type a file name ending in .stl.
Repeat for every colour by changing the part variable.
Tip: If you get an error, paste the message to Claude as is and it fixes the code.
Step 5
Open the files in your slicer
Open the STL files in the slicer that came with your printer. Pick the filament and colour for each part.
If your printer prints several colours, load the parts together. If it prints one colour, print each part alone and assemble them.
Step 6
Print it or take the files to a shop
Print the parts and glue them if needed.
No printer? Take the STL files to any 3D printing shop and tell them the colours and the size.
Ready prompts to copy
The model came out [describe the problem, e.g. the legs are thin and break]. Edit the OpenSCAD code so [the fix, e.g. the legs are twice as wide] without changing the overall shape.
Add a rectangular base under the model, [2] mm thick and [4] mm wider on every side, as its own part.
The takeaway
A pixel drawing is already a grid. Claude turns the grid into code, and the code becomes a figure in your hand.
Most value
Start building with me now
We sit together, break down your problem, and I build the AI solution with you step by step
- A private session with you
- Real building during the session
- Results you take with you when we finish
100% free
A free consultation about your problem
The full path
Access to every guide (49), starting from 29 AED