Slicer Discord
Canvas library – Modello 3D stampabile da Thingiverse Thingiverse

Canvas library

7 Download
3 Likes
0 Makes
Vai al Modello
# Canvas library

OpenSCAD library to project canvas with random images on 3D shapes

# Howto

We must first convert the image to grayscale data using [img2gray](https://github.com/JustinSDK/img2gray) designed from this thing: https://www.thingiverse.com/thing:3830079. This is the reason why i declare this thing as a remix.

The test image comes from [clipart-library](http://clipart-library.com/clipart/709738.htm):




Then:
```
$ python img2gray.py penguin.jpg penguin.scad
```

The generated file contains the function `levels_penguin();` which gives image data.

Sample OpenSCAD file to project the image on a plane:
```
use
use
use

empty = newCanvas( [2,1], [200,100] );
penguin = levels_penguin();
canvas = drawImage ( penguin, empty );
flat = canvas2mesh( canvas );

meshPolyhedron ( flat );

```

Or projection on a cylinder:
```
...
flat = canvas2mesh( canvas );

// Insert th
Fonte
Thingiverse
Cosa serve per stampare: Principiante Bassa affidabilità
Pezzo unico
Supporti 1/3
Assemblaggio 0/3
Impostazioni 1/3
Dimensioni piano 0/3
Post-lavorazione 0/3
Stampante
FDM / FFF
Formato file
STL
Materiale
PLA
Software
Cura, PrusaSlicer o simile
Stesso designer, più piattaforme

AgentSCAD pubblica anche su

15 modelli aggiuntivi su altre 2 piattaforme

Verificato dalla corrispondenza dei titoli dei modelli tra le piattaforme.
Ancora nessuna valutazione
Ancora nessun commento – sii il primo!
Feed Blog Slicer Calcolatore Ricerca per immagine Invia Contatto Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Aggiungi alla collezione