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 OpenSCAD League Gothic Font Module por avrgeek no Thingiverse

Descrição

A smooth font was necessary for a few future projects I'm working on. A custom dwf file of the lettering could be generated and extruded, but a more generic, reusable method would be preferable.

Below is an alternate method of embedding lettering into an OpenSCAD project. The code is based on the bitmap font module (http://www.thingiverse.com/thing:2054). The fnt_str function parameters map to the 8bit_str module. The block-size parameter will have no effect on the generated size of the letters, but the other parameters should work as in the bitmap library. Make sure the "fnt-LeagueGothic" directory is contained within the directory of the project.

The font used was League Gothic from the League of Moveable Type (http://www.theleagueofmoveabletype.com/fonts/7-league-gothic) This font does have variable width, so some of the letters may look out of place. Manual adjustments have been made in this library, but OpenSCAD's immutable variables makes calculating the proper spacing difficult. Perhaps a smarter person has a way of pulling this off.

Other fonts can be adapted to this module. The Customize.txt file will contain basic instructions for porting new fonts. As long as individual letters can be exported to dxf files, they can be easily used.

This design has not been printed, so there may be problems with some of the finer details in the font.

Make sure to check out the Numbered OpenSCAD Ruler at http://www.thingiverse.com/thing:6823. It certainly is my default ruler in OpenSCAD.

Update: Version 20110403 of OpenScad is having problems with the blackslash. The OpenSCADFont-Version20110403.zip contains updated code to remove that character.

Instruções

Unzip OpenSCADFont.zip

In your source code add the following line:

include 

To generate text, use the following statement:

fnt_str(["H","e","l","l","o"],5,1,3);
Thingiverse

OpenSCAD League Gothic Font Module

122
Curtidas
0
Downloads
120
Coleções
1
Impressões
Tags
font numbers openscad parametric
Licença Creative Commons - Attribution - Share Alike
Arquivos (1)
OpenScadFont-Example.stl 2.1 MB
Ver no Thingiverse (abre em nova aba)

Gostou deste modelo? Crie uma conta grátis para salvar seus favoritos e voltar a eles depois.

Criar conta