<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="FeedCreator 1.7.2-ppt (info@mypapit.net)" -->
<rss version="2.0">
    <channel>
        <title>Thingiverse - donb's Things</title>
        <description><![CDATA[Keep up to date on all the things that donb is sharing.]]></description>
        <link>http://www.thingiverse.com/donb</link>
        <lastBuildDate>Thu, 20 Jun 2013 01:42:25 +0100</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt (info@mypapit.net)</generator>
        <language>en-us</language>
        <copyright>Copyright 2013, Thingiverse.com</copyright>
        <item>
            <title>Drafont 0.5</title>
            <link>http://www.thingiverse.com/thing:8946</link>
            <description><![CDATA[<div style="margin: 5px;"><a href="http://www.thingiverse.com/thing:8946"><img src="http://thingiverse-production.s3.amazonaws.com/renders/ef/d7/65/d3/42/Screenshot_preview_large.jpg" alt="" class="render" style="width: 240px; height: 180px" /></a><br/></div><div>Drafont is a font system for the OpenSCAD program to have Unicode characters from scalable TrueType fonts. <br />
<br />
<b>Example Usage:</b><br />
<br />
To make the Hi! greeting at left, do as follows:<br />
<br />
1. Download <b>freeserif_basiclatin.scad</b> and <b>freeserif_cherokee.scad</b> (see below for download links)<br />
2. Type this into Openscad:<br />
<br />
use &lt;freeserif_basiclatin.scad>;<br />
use &lt;freeserif_cherokee.scad>;<br />
<br />
d=12; // detail level - use 1 or 12 <br />
freeserif_H(d)<br />
freeserif_i(d); <br />
<br />
translate([-800,-1600,0])<br />
freeserif_13a3(d)<br />
freeserif_13cf(d)<br />
freeserif_13f2(d);<br />
<br />
<b>Features</b><br />
<br />
1. Each character is a module. Chain them together for auto-positioning<br />
2. Each character can be referred to by unicode, or a 'shorthand' name<br />
3. At the top of each .scad file is a list of the characters available<br />
4. Two detail levels: 1 and 12<br />
5. You can generate your own .scad font from a Truetype font, with any detail level you want. Download the .py files, edit settings at the end of ddump.py, and run it as follows:<br />
<br />
python ddump.py FreeSerif.ttf 0x0041-0x007a > freeserif_basiclatin.scad<br />
python ddump.py FreeSerif.ttf 0x13a0-0x13f4 > freeserif_cherokee.scad<br />
<br />
<b>Bugs</b><br />
<br />
1. If you use the same char twice in a word, you have to use two _ (underscore) <br />
2. Some complicated characters won't render properly<br />
3. It is slow<br />
4. CJK characters in FreeSerif not working<br />
5. Some fonts don't work, at all (Sawasdee)<br />
<br />
<b>Licenses</b><br />
<br />
Drafont python code & all .stl files are released under the Creative Commons Share-Alike Attribution license 3.0.<br />
<br />
FreeSerif.ttf and the FreeSerif .scad files are under the GPL 3 license. See <a href="http://www.gnu.org/software/freefont/license.html" target="_blank" rel="nofollow">gnu.org/software/freefont/license.html</a> <br />
<br />
The Nixish .scad files are under the GUST public license:<br />
<a href="http://www.gust.org.pl/projects/e-foundry/licenses" target="_blank" rel="nofollow">gust.org.pl/projects/e-foundry/licenses</a><br />
<br />
<b>Name</b><br />
<br />
This project is named in honor of Thomas Drake, NSA Whistleblower, whom you can read about by clicking here: <a href="http://bit.ly/mrm4q9" target="_blank" rel="nofollow">bit.ly/mrm4q9</a><br />
<br />
<b>Sample .stl</b><br />
<br />
"Anna Akhmatova" is an example of Cyrllic and Latin text in FreeSans. <br />
<br />
1234567890 is the font Nixish, which is derived exactly from LMRomansUnsl10<br />
<br />
<b>See Also</b><br />
<br />
<a href="http://www.freetype.org/freetype2/docs/glyphs/glyphs-6.html" target="_blank" rel="nofollow">freetype.org/freetype2/docs/glyphs/glyphs-6.html</a> FreeType manual, David Turner et al<br />
<a href="http://code.google.com/p/freetype-py/" target="_blank" rel="nofollow">code.google.com/p/freetype-py/</a> Freetype-py by Nicolas Rougier<br />
<a href="http://www.fileformat.info/info/unicode/block/index.htm" target="_blank" rel="nofollow">fileformat.info/info/unicode/block/index.htm</a> Unicode Blocks<br />
<a href="http://en.wikipedia.org/wiki/Anna_Akhmatova" target="_blank" rel="nofollow">en.wikipedia.org/wiki/Anna_Akhmatova</a><br />
<br />
Fonts:<br />
<br />
<a href="http://bit.ly/m9oJWh" target="_blank" rel="nofollow">bit.ly/m9oJWh</a> LMRomanUnsl10 from Polish LaTeX user group GUST<br />
<a href="http://www.gnu.org/software/freefont/index.html" target="_blank" rel="nofollow">gnu.org/software/freefont/index.html</a> GNU FreeFont<br />
<br />
Bezier:<br />
<br />
<a href="http://en.wikipedia.org/wiki/File:Bezier_2_big.gif" target="_blank" rel="nofollow">en.wikipedia.org/wiki/File:Bezier_2_big.gif</a> Bezier Curve, Phil Tregoning, Wikipedia<br />
<a href="http://www.thingiverse.com/thing:8443" target="_blank" rel="nofollow">thingiverse.com/thing:8443</a> William Adam's pub domain Bezier Curves<br />
<a href="http://www.thingiverse.com/thing:8931" target="_blank" rel="nofollow">thingiverse.com/thing:8931</a> Conic Bezier Curve, donb<br />
<br />
<b>Changelog</b><br />
<br />
0.5 pre-rendering<br />
0.4 enable 'ranges' of unicodes to be dumped. use 'advance' from font<br />
0.3 move openscad code<br />
0.2 fix chunking<br />
0.1 started<br />

</div>]]></description>
            <author>donb</author>
            <pubDate>Mon, 30 May 2011 22:42:38 +0100</pubDate>
            <guid>http://www.thingiverse.com/thing:8946</guid>
            <enclosure url="http://thingiverse-production.s3.amazonaws.com/assets/30/4b/9b/b1/83/akhma.stl" length="5416562" type="application/sla"/>
        </item>
        <item>
            <title>OpenSCAD Conic Bezier Curve</title>
            <link>http://www.thingiverse.com/thing:8931</link>
            <description><![CDATA[<div style="margin: 5px;"><a href="http://www.thingiverse.com/thing:8931"><img src="http://thingiverse-production.s3.amazonaws.com/renders/ca/e2/11/e5/1d/delme_preview_large.jpg" alt="" class="render" style="width: 240px; height: 180px" /></a><br/></div><div>Conic Bézier Curve for OpenSCAD<br />
also known as Quadratic Bezier Curve<br />
also known as Bezier Curve with 3 control points <br />
also known as 'Conic Arcs' or 'Parabolic Segments'<br />
By Don B, 2011, released into the Public Domain<br />
<br />
<b>What's it for</b><br />
<br />
Bezier curves allow you to pick a small number of 'control points', then let the computer fill in a pretty curve between them. In this thing, 3 control points are used. <br />
 <br />
<b>Notes</b><br />
<br />
This is for 3-point bezier curves; there is another popular type, the 4-point 'Cubic', that this code doesn't do. <br />
<br />
This is inspired by William Adam's cubic bezier Thingiverse OpenSCAD code. His code now also handles Conics; I guess I will leave this thing here as a sort of 'super simple' 'for dummies' version.<br />
<br />
The first sample image shows a simple 3 control-point curved polygon, and a rod around which it can be rotated. The result of this rotation is shown in the big smooth object. <br />
<br />
The next sample image shows the code itself; the module is only about 10 lines long thanks to OpenSCAD's built-in vector math.<br />
<br />
<b>Please see also</b><br />
<br />
<a href="http://www.thingiverse.com/thing:8443" target="_blank" rel="nofollow">thingiverse.com/thing:8443</a> by William A Adams (Cubic Beziers)<br />
<a href="http://en.wikipedia.org/wiki/File:Bezier_2_big.gif" target="_blank" rel="nofollow">en.wikipedia.org/wiki/File:Bezier_2_big.gif</a> by Phil Tregoning<br />
<a href="http://en.wikipedia.org/wiki/B%C3%A9zier_curve" target="_blank" rel="nofollow">en.wikipedia.org/wiki/B%C3%A9zier_curve</a> by Wikipedia editors<br />
<a href="http://www.freetype.org/freetype2/docs/glyphs/glyphs-6.html" target="_blank" rel="nofollow">freetype.org/freetype2/docs/glyphs/glyphs-6.html</a> David Turner + Freetype team<br />
<br />
<b>Using the code</b><br />
<br />
1. download the .scad file, below<br />
2. copy/paste the BezConic module to your own code<br />
3. call it like this:<br />
<br />
p0=[15,0];<br />
p1=[1,14];<br />
p2=[7,30];<br />
linear_extrude() BezConic(p0,p1,p2,steps=20);<br />
<br />
<b>Fun Facts</b><br />
<br />
Bézier are named after Pierre Bézier, who used the work of Paul de Casteljau to make curves on car bodies. Casteljau worked at Citroen and Bezier worked at Renault. <br />
<br />
They are named 'conic' because 3-point Bezier's are basically parabolas. A parabola is basically the intersection of a cone with a plane (i.e. a conic section). Please see wikipedia for more info. <br />
<br />
Conic Arc Bézier Curves (3 control points) are used by TrueType fonts. <br />

</div>]]></description>
            <author>donb</author>
            <pubDate>Mon, 30 May 2011 12:03:22 +0100</pubDate>
            <guid>http://www.thingiverse.com/thing:8931</guid>
            <enclosure url="http://thingiverse-production.s3.amazonaws.com/assets/ca/30/ea/d0/aa/bezconic.stl" length="1753909" type="application/sla"/>
        </item>
        <item>
            <title>Happy Numbers 0.2</title>
            <link>http://www.thingiverse.com/thing:8691</link>
            <description><![CDATA[<div style="margin: 5px;"><a href="http://www.thingiverse.com/thing:8691"><img src="http://thingiverse-production.s3.amazonaws.com/renders/63/0b/11/eb/79/numbers_preview_large.jpg" alt="" class="render" style="width: 240px; height: 180px" /></a><br/></div><div><b>Happy Numbers</b> 0.2 is a number system for use in OpenSCAD. I am releasing it into the Public Domain, so you can use and modify it completely freely. <br />
<br />
Most OpenSCAD number sets on thingiverse consist of a separate .dxf file for each number. Happy Numbers works differently. <br />
<br />
There is a single .svg file that contains a set of numbers in a grid of 'character boxes'. This .svg file has been converted to a .dxf file. Then, in OpenSCAD, you call the char() module; it 'selects' the number you want by using an 'intersection box'. char(1) is the first number, char(2) is the second number, and so on. Thus you can:<br />
<br />
*Change the font more easily<br />
*Make your own number sets more easily<br />
*Use numbers in scripts in new and creative ways<br />
<br />
Currently it has numbers for these scripts/fonts:<br />
<b>Arabic</b> (LMRomansUnsl10 - sorta resembles Nixie tubes)<br />
<b>Chinese</b><br />
<b>Devanagari</b> (Hindi, Sanskrit)<br />
<b>Tengwar</b> (Tolkien's Lord of the Rings)<br />
<b>Braille</b><br />
<br />
If you have any questions, feel free to ask. <br />
<br />
<b> Making new numbers with your own fonts </b><br />
<br />
If you just want to use this, you can skip down to 'Instructions'. But if you want to make your own kind of numbers, here is the method I used to make this thing. <br />
<br />
<b> Step 1. Getting an .svg and then saving as .dxf </b><br />
<br />
The first step is getting the numbers.svg file to have the font you want. This can be as easy as opening up Inkscape and typing the numbers out. Or you could draw the numbers yourself, or find some on the web; as long as they are 'outline' shapes, it should work. <br />
<br />
To do the process in Inkscape, here are the basic steps:<br />
<br />
0. Open the numbers.svg file<br />
0.1 Go to 'layers' and 'hide' the 'Grid' layer<br />
0.5 Delete old numbers text<br />
1. Create new numbers text<br />
2. Select all of the new text<br />
3. Click Path/Object to Path<br />
4. Click Path/Break Apart<br />
5. Click Object/Ungroup<br />
6. For each character do the following:<br />
6.1 Select the character<br />
6.2 Click "Edit Paths by Nodes" tool<br />
6.3 Hit Ctrl-A (select all nodes)<br />
6.4 Hit the 'insert node' button 2-3 times (slow)<br />
6.5 Hit the 'make straight paths' button<br />
7. Go to 'layers' and 'show' the 'Grid' layer<br />
8. Move each number so it fits in one grid box<br />
9. Go to 'layers' and 'hide' the 'Grid' layer<br />
10. File/Save-As/DXF <br />
<br />
There is a great tutorial here (I skip the 'document properties' step): <br />
<br />
<a href="http://repraprip.blogspot.com/2011/05/inkscape-to-openscad-dxf-tutorial.html" target="_blank" rel="nofollow">repraprip.blogspot.com/2011/05/inkscape-to-openscad-dxf-tutorial.html</a><br />
<br />
<b>Step 2. Check alignment</b><br />
<br />
The char() module has some parameters related to the DXF file. They include the x & y offsets to the first 'character box', and the width and height of the character boxes. You may need to check and tweak these if you change the font or characters. This can be done by running the adjustment_table() module and then manually tweaking the settings in char(). Example screenshots have been attached to this project; there are two screenshots with 'unaligned' settings, and one screenshot with 'aligned' settings. <br />
<br />
<b>Example</b><br />
<br />
An example usage of these numbers is here, in my TeeTotum:<br />
<br />
<a href="http://www.thingiverse.com/thing:8690" target="_blank" rel="nofollow">thingiverse.com/thing:8690</a><br />
<br />
<b>References</b><br />
<br />
Arabic, Chinese, Devanagari, Braille: <br />
<br />
Ubuntu Linux, Wikipedia, google image search<br />
<br />
Tengwar:<br />
<br />
<a href="http://www.acondia.com/fonts/tengwar/info/numbers.htm" target="_blank" rel="nofollow">acondia.com/fonts/tengwar/info/numbers.htm</a><br />
<a href="http://freetengwar.sourceforge.net/" target="_blank" rel="nofollow">freetengwar.sourceforge.net/</a><br />
<br />
<b>Bugs & Drawbacks</b><br />
<br />
The numbers are currently only 1 through 12. You have to 'manually create' anything larger. <br />
<br />
These are not 'scalable' - they are made out of small line segments. If you blow them up too big they will be 'chunky'. <br />
<br />
In Openscad, if you don't have GL2 or whatever, the full array of numbers shows up in the preview, not just the char() you choose, making it confusing. When rendered, though, it comes out properly.<br />
<br />
Braille is not 'bubbled', it's flat cylinders. <br />
<br />
The Tengwar dxf file is too tall, fix with charh=9 (see scad code)<br />
<br />
There is no 'size' parameter; you have to use scale(). <br />
<br />
Using adjustment_table() with GL2 might be confusing<br />

</div>]]></description>
            <author>donb</author>
            <pubDate>Sun, 22 May 2011 00:42:39 +0100</pubDate>
            <guid>http://www.thingiverse.com/thing:8691</guid>
            <enclosure url="http://thingiverse-production.s3.amazonaws.com/assets/d6/c2/11/ac/ab/numbers_sample.stl" length="1055" type="application/sla"/>
        </item>
        <item>
            <title>Teetotum</title>
            <link>http://www.thingiverse.com/thing:8690</link>
            <description><![CDATA[<div style="margin: 5px;"><a href="http://www.thingiverse.com/thing:8690"><img src="http://thingiverse-production.s3.amazonaws.com/renders/2a/ba/38/50/ab/teetotscrsht_preview_large.jpg" alt="" class="render" style="width: 240px; height: 180px" /></a><br/></div><div>This is a 'Teetotum'. It's like dice, but instead of rolling it, you spin it. <br />
<br />
This Teetotum can have anywhere between 5 and 12 sides. The number is set when you run it in OpenSCAD (it's somewhat parametric). Example <b>.stl files</b> include: <br />
<br />
<b>12 sided, Arabic numbers</b><br />
<b>12 sided, Chinese numbers</b><br />
<b>6 sided, Braille numbers</b><br />
<br />
The font is from Happy Numbers: <a href="http://www.thingiverse.com/thing:8691" target="_blank" rel="nofollow">thingiverse.com/thing:8691</a><br />
<br />
This was inspired by the Teetotum page at Wikipedia:<br />
<br />
<a href="http://en.wikipedia.org/wiki/Teetotum" target="_blank" rel="nofollow">en.wikipedia.org/wiki/Teetotum</a><br />
<br />
The drawing of the TeeTotum comes from "Every boy's book: a complete encyclopædia of sports and amusements", 1881, E. Routledge (editor), uploaded to Wikipedia by user Dicklyon<br />
<br />
Thanks to Linkreincarnate for suggestions and support and to syvwlch for explaining what 'parametric' means. <br />
<br />
<b> See Also </b><br />
<br />
user phooky has made some Dreidels! (sorta like a 4-sided teetotum)<br />
<br />
<a href="http://www.thingiverse.com/thing:4922" target="_blank" rel="nofollow">thingiverse.com/thing:4922</a> <br />
<a href="http://www.thingiverse.com/thing:1421" target="_blank" rel="nofollow">thingiverse.com/thing:1421</a> <br />
<br />

</div>]]></description>
            <author>donb</author>
            <pubDate>Sat, 21 May 2011 21:03:22 +0100</pubDate>
            <guid>http://www.thingiverse.com/thing:8690</guid>
            <enclosure url="http://thingiverse-production.s3.amazonaws.com/assets/16/f3/f3/45/e3/teetotum.0.2.zip" length="255926" type="application/zip"/>
        </item>
        <item>
            <title>alpha parts of three speed bicycle hub</title>
            <link>http://www.thingiverse.com/thing:8598</link>
            <description><![CDATA[<div style="margin: 5px;"><a href="http://www.thingiverse.com/thing:8598"><img src="http://thingiverse-production.s3.amazonaws.com/renders/a1/88/89/19/fd/ahubpic_preview_large.jpg" alt="" class="render" style="width: 240px; height: 180px" /></a><br/></div><div>This is an attempt to create an internally geared bicycle hub, based on the Sturmey Archer A-3 design from 1914. Because the schematics are so old, I am 99.9% sure that copyright has expired and that they are now public domain. It is very alpha quality. I have no way to test making it so I don't know if the files work. I also haven't drawn all the parts; I've run out of time so here is an upload of what I have so far. Theoretically the gears should at least mesh and spin, if you put the axle, the planetary gears and the ring gears together. <br />
<br />
Why create it then? To test certain questions:<br />
1. Can you make complicated stuff in openscad?<br />
2. Are there interesting old designs that are not only patent-expired, but copyright expired? (early 20th century stuff)?<br />
3. Can plastic prototype hubs help the understanding & design of a real metal hub?<br />
4. Can public domain parts files help with re-use? <br />
<br />
This project uses a modified form of the following public domain project: <br />
<br />
Parametric Involute Spur Gear by Leemon Baird, 2011,   <br />
<a href="http://www.thingiverse.com/thing:5505" target="_blank" rel="nofollow">thingiverse.com/thing:5505</a> <br />
<br />
Old Sturmey Archer hub design schematics can be found here:<br />
<a href="http://www.sturmey-archerheritage.com/index.php?page=history&type=technic&era=1" target="_blank" rel="nofollow">sturmey-archerheritage.com/index.php?page=history&type=technic&era=1</a><br />
<br />
Cornell University has a great guide to Copyright and the Public Domain, discussing the expiration dates for copyright. It is here:<br />
<a href="http://copyright.cornell.edu/resources/publicdomain.cfm" target="_blank" rel="nofollow">copyright.cornell.edu/resources/publicdomain.cfm</a><br />
<br />

</div>]]></description>
            <author>donb</author>
            <pubDate>Tue, 17 May 2011 13:13:42 +0100</pubDate>
            <guid>http://www.thingiverse.com/thing:8598</guid>
            <enclosure url="http://thingiverse-production.s3.amazonaws.com/assets/bf/47/32/b2/89/leftcap.stl" length="1007306" type="application/sla"/>
        </item>
    </channel>
</rss>
