Loading
Hey! This thing is still a Work in Progress. Files, instructions, and other stuff might change!

Breed Customizable 4x Leash Hook

by areeve20, published

Breed Customizable 4x Leash Hook by areeve20 Jan 31, 2013

Description

I wanted to make a hook to mount near the door to hang the dog leash, my keys, and a "paw towel" on. I have a cute little pug named doughnut and I thought it would be cool to put a little pug silhouette on it, but then I thought that this might be a good opportunity to utilize the Makerbot "customizer" app for people with other breeds. I am very new to OpenSCAD, the only other thing I have made is a customizable little tube. However, I am always eager to learn so I started doing some research. I was looking for a way to draw the silhouettes when I stumbled upon dnewman's "Inkscape to OpenSCAD converter v2". http://www.thingiverse.com/thing:25036 Perfect! I simply vectored my silhouettes in illustrator and used dnewman's Inkscape extension to convert them to .scad. I am sure there is a better way to make the "options" then the way I did it (feel free to post in the comments).

Current Available Breeds: beagle, boston, boxer, bull, chihuahua, dachshund, doberman, german, golden, greyhound, lab, pomeranian, poodle, pug, rottweiler, schnauzer, springer, yorkshire.

PS - There are a lot of breeds out there so if you would like me to add one, just let me know. Otherwise, I will be slowly adding more at random.

Recent Comments

view all
could you make one of a Jack Russell Terrier ?? please !! thanks !!
Malamute! Please. :-D
Created a Cardigan Welsh Corgi variation. Haven't printed yet and was my first attempt at 3d design so apologies if its goofy.
thingiverse.com/thing:413695

More from Pets

view more

Makes

Liked By

view all
Pops n ezza with nyc filter

Give a Shout Out

If you print this Thing and display it in public proudly give attribution by printing and displaying this tag. Print Thing Tag

Instructions

*Launch in the Customizer app.

  • There will be no rendered object until you select a breed from the drop down.

*Select a Breed.

  • Current Available Breeds: beagle, boston, boxer, bull, chihuahua, dachshund, doberman, german, golden, greyhound, lab, pomeranian, poodle, pug, rottweiler, schnauzer, springer, yorkshire.

*Create .STL

Enjoy!

PS - There are a lot of breeds out there so if you would like me to add one, just let me know. Otherwise, I will be slowly adding more at random.

could you make one of a Jack Russell Terrier ?? please !! thanks !!

Malamute! Please. :-D

Created a Cardigan Welsh Corgi variation. Haven't printed yet and was my first attempt at 3d design so apologies if its goofy. http://www.thingiverse.com/thing:413695

Cardigan Welsh Corgi Leash Hook

<p>No corgi ? :(</p>

<p>I see in your openscad-script that you repeat the code for the Hooks for every breed.<br>Code that is the same every time can be put in a 'module'. <br>That way you can save some diskspace ;-)</p>

<p>like so: //sample code</p>

<p>module makeCube(){<br> translate([5,6,7])<br> rotate(45,[1,0,0])<br> cube([1,2,3]);<br>}</p>

<p>//Make a cube<br>makeCube();</p>

<p>//Make another cube, saves a couple lines of code<br>makeCube();</p>

<p>I'll check if I make your code a bit shorter (and more simple / easy to read) that way</p>

<p>Done!<br>Add the module 'hooks' somewhere at the end of your file, and type 'hooks();' everytime you need hooks ;-)</p>

<p>module hooks(){</p>

<p>union(){</p>

<p> translate([-22.5,0,0]){</p>

<p> hookPart();</p>

<p> }</p>

<p> translate([12.5,0,0]){</p>

<p> hookPart();</p>

<p> }</p>

<p> translate([-60,0,0]){</p>

<p> hookPart();</p>

<p> } </p>

<p> translate([50,0,0]){</p>

<p> hookPart();</p>

<p> }</p>

<p> //base-part</p>

<p> translate([0,-40,2])</p>

<p> cube([120,10,4],center=true);</p>

<p> }</p>

<p>}</p>

<p>module hookPart(){</p>

<p> translate([0,-40,21])</p>

<p> rotate([45,0,0])</p>

<p> cube([10,10,5]);</p>

<p> translate([0,-45,0])</p>

<p> cube([10,5,25]);</p>

<p>}</p>

<p>hooks();</p>

<p>Worked like a charm...Thanks!</p>

<p>I knew there had to be a way to do it, but once I had it working the way I did it, I just went for the copy/paste. I am still learning.</p>

<p>I added a credit to you in the code for the module in v2.0</p>

<p>Thanks again!</p>

<p>I have changed the code a bit more.<br>See here:<br>http://www.thingiverse.com/thing:48622&lt;br&gt;It still does the same, but I think it will be easier to add images in the future.</p>

<p>Is it OK if I re-use your dog-images in another project?<br>This one:<br>http://www.thingiverse.com/thing:47759&lt;br&gt;It is a collection of Customizer-compatible images :P</p>

Dog Leash Hook experiment
ImageLib for Customizer

<p>No problem, go right ahead.</p>

<p>What in the code changes the default view orientation in the customizer app? I would prefer if mine was top view like yours is, so you could make out the breed silhouette better as you are using it.</p>

<p>The first line of the file must be:<br>//preview[view:south, tilt:top]<br>This will change the default preview angle.<br>(The user is still able to change the preview angle if they want to)</p>

<p>Thanks!</p>

<p>Where did you learn all this stuff? Just from messing around with it?</p>

<p>I'm a programmer/developer. <br>(I started programming like 10 years ago)<br>I make Android applications for a living (and hobby)<br>So I am used to dealing with 'code duplication' and preventing it :-).<br>For the OpenSCAD things, I just started using OpenSCAD recently. But I have learned a lot from reading this website:<br>http://en.wikibooks.org/wiki/OpenSCAD_User_Manual&lt;br&gt;For the preview code for Customizer, it is in the docs:<br>http://customizer.makerbot.com/docs&lt;/p&gt;

Top