Ir para conteúdo
3DFinder
Entrar

Você está no 3DFinder

Buscamos em Thingiverse, MakerWorld e Printables ao mesmo tempo para te dar o melhor de cada uma.

Buscar mais como este
Modelo 3D Spiff.scad por stuartpb no Thingiverse

Descrição

An OpenSCAD module for writing variable-width text. Download Spiff.scad and spiffsans.scad, then see the Instructions for how to use this in your own works (or use poorman-spiff to generate a copy-pasteable demo).

Spiff.scad on GitHub

Requirements

Spiff.scad requires at least OpenSCAD 2013.06, as it uses module recursion to calculate variable glyph widths.

If you're stuck on an older version of OpenSCAD, you can still generate the equivalent code for writing text using poorman-spiff.

Due to OpenSCAD's recursion limit, you may encounter problems writing longer strings. If this happens, try breaking your write call up into multiple calls with shorter strings.


Note that, while this is listed as a derivative of Write.scad, it is not derivative code, and is almost completely incompatible (they're almost compatible in the sense that they both write text, but that's it).

Instruções

Usage

write(string,font,spacing=1)

Draws a group of 2D polygons for the given string, using the given font (see section on Fonts, below). Glyphs are spaced apart by the value of the third "spacing" parameter (1 unit by default). By default, if no font is specified, Spiff Sans will be used. (spiffsans.scad should be included in the same directory as Spiff.scad.)

These 2D polygons can be transformed in 3D space using the regular OpenSCAD transformations in combination with linear_extrude.

Example

use 
Thingiverse

Spiff.scad

288
Curtidas
0
Downloads
231
Coleções
Tags
font letters module openscad scad spiff text type Typography variable width write Writing
Licença Creative Commons - Public Domain Dedication
Arquivos (1)
example-spiffstick.stl 303 KB
Ver no Thingiverse (abre em nova aba)