OpenSCAD Font Importer (Q47385)

From Library of Open Source Hardware
Jump to navigation Jump to search
No description defined
Language Label Description Also known as
English
OpenSCAD Font Importer
No description defined

    Statements

    0 references
    pipakin
    0 references
    https://spdx.org/licenses/CC-BY-SA-4.0
    0 references
    www.thingiverse.com
    0 references
    auto
    0 references
    1.0.0
    0 references
    I needed to layout full strings for a project so I extended donb's wonderful DraFont library. This version will dump all ascii characters from a font by default, and provide a method for laying out strings. For the brave, there is a git repo at https://github.com/pipakin/OpenSCAD-Font-Importer (This is not for the faint of heart, my python skills are substandard at best) NOTE: Complicated glyphs can take a long time to render, and I've managed to crash OpenSCAD a LOT by using long strings. For example, "FONTZ!" takes 1 minute 30 seconds to render, while "This is a test string." takes significantly longer (on the order of 13 minutes). So if you are going to use this for something, I recommend generating your string, rendering it, and then outputting an STL to use in your design with import_stl. UPDATE: Removed the arial font (forgot about licensing), and substituted FreeSerif
    0 references
    en
    0 references
    thingiverse.com
    0 references