Slicer Discord
Canvas library – 3D-Druckmodell von Thingiverse Thingiverse

Canvas library

von AgentSCAD
7 Downloads
3 Likes
0 Makes
Zum Modell
# 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
Quelle
Thingiverse
Was du zum Drucken brauchst: Anfänger Niedrige Konfidenz
Einteilig
Supports 1/3
Zusammenbau 0/3
Einstellungen 1/3
Druckbett 0/3
Nachbearbeitung 0/3
Drucker
FDM / FFF
Dateiformat
STL
Material
PLA
Software
Cura, PrusaSlicer o. Ä.
Gleicher Designer, mehr Plattformen

AgentSCAD veröffentlicht auch auf

15 zusätzliche Modelle auf 2 weiteren Plattformen

Verifiziert durch übereinstimmende Modelltitel über Plattformen hinweg.
Noch keine Bewertungen
Noch keine Kommentare – sei der Erste!
Feed Blog Slicer Kostenrechner Bildersuche Einreichen Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Zur Sammlung hinzufügen