Categories
Uncategorized

Snowflakey

Tennis Man

Here’s a thing I’m calling (for lack of a better name) “Snowflakey”. The idea came from the Kimotion Arts store on Shapeways.

Kimotion Arts

Kimotion Arts has these neat 3D printed ornaments with an object arranged in a circle to make a snowflake-like thing. I dig it, so I decided to dig into it.

Bad Man

The first thing I did was fire up Inkscape and draw a really simple figure. It’s terrible, really, but I did it in less time than it took Inkscape to launch on Mac OS X. I created an SVG file, and then exported it as a DXF file, making sure I converted all the line segments into straight lines first. (Of course there were no curves in this drawing, but if there were, I’d convert them!)

Bad Man Flake

Once I had my DXF file, it was easy to pull that into OpenSCAD, and place six of them in a circle with the following code.


objheight = 4;
objcenterspacing = 20;
objrotate = -70;

for (i = [0:5]) {
  rotate(i*360/6, [0,0,1])
    translate([0, objcenterspacing, 0])
      rotate([0, 0, objrotate]) 
        linear_extrude(height = objheight, center = true) 
          import( "figure.dxf" );
}

The code is not the greatest… in fact there is probably much room for improvement, but it’s the first thing I got working, so I ran with it. My idea for the 3 variables at the top were so you could easily tweak them for different art. Sadly, as you change objcenterspacing and objrotate, they affect each other, so it’s a lot of back and forth between those two values. I also could not find a way to assign a filename to a variable, so your DXF will need to be named “figure.dxf” or you’ll need to edit the import line.

Tennis Man

Since my drawing was so terrible I wanted to try something else, so what better than Land recreation symbols 27, better known as “Tennis Man” by most people.

Tennis Man Flake

A few quick edits and I had this nice Tennis Man Snowflake for that special ball smasher on your list… (Notice the canvas size of 25mm wide by 35mm high. You can do what you want, but the OpenSCAD code will be expecting something close to that. Otherwise you’ll just have to tweak the numbers even more.)

Blobby Man Flake

I decided to try once again to draw something. This one took a little longer than a minute, but turned out just as terrible as the first one I did. Still, maybe you like “Blobby Man” as a snowflake.

Ant Flake

How about ants? This one is interesting. Maybe spiders would have been a better choice. (And yes, I know I could probably do the entire “6 items rotated” thing right in Inkscape, but that wasn’t the goal here.)

Horse Flake

What about the old nag? No, I’m not taking about your mother-in-law (kidding!) but this fine old horse from OpenClipArt.org, where I get many of the SVG files I use. Export this as an STL file and you’re ready to print it on your RepRap!

If you’ve got an improvement to this OpenSCAD code, by all means, let me know. I’m still very much in the learning phase with OpenSCAD, so I do these things to learn, and because of that I’m open to any suggestions.

Categories
Uncategorized

I heard you like cameras…

GoPro Mount

Yo dawg, I heard you like cameras, so I put a camera on your camera so you can take pictures of taking pictures…

Occasionally 3D printing is accused of being useless, or worse, silly. Well this is anything but silly, and it’s certainly not useless.

GoPro Mount

By combining the hot shoe mount I recently printed along with this Female GoProHD Mount we’ve got the camera-on-a-camera thing down like nobody’s business.

GoPro Mount

So yeah, camera on camera action, courtesy of 3D printing. Yeehaw.

But seriously folks, one of the great things about open 3D printing is that combos and mashups are quite common, and since we’ve first jammed a piece of chocolate into a hunk of peanut butter, sometimes things just go better together.

Categories
Uncategorized

Hot Shoe Mount

Hot Shoe Mount

In June I posted about my Hot Shoe Audio Mount which allowed me to put my Zoom H2 audio recorder on top of my DSLR… and I also had this to say:

The nice thing about the “Nikon DIY GPS Holder” I printed was that I can see it being a generic part I can modify in the future. I can easily import the STL file into Google Sketchup and built on top of it

Hot Shoe Mount

Well, in the past few months I’ve done a lot more in OpenSCAD than in Sketchup, so I wanted an OpenSCAD version of this thing, so while you can still grab the original Nikon DIY GPS Holder, there’s a new derivative, the Hot Shoe Mount, which features the OpenSCAD code.

Brain Slug

But what can do you with this OpenSCAD stuff? How about combining it with other OpenSCAD scripts so you can mount a Brain Slug on your camera? ;)

Categories
Uncategorized

Fixed: GPS Mount

3D Printed Fix

The part of my GPS mount that snaps onto the ball thingy broke, but it was a pretty easy fix with the RepRaster 5000 3D Printer. I started with this Parametric Ball Caster from Thingiverse, which I’ve used before. A quick measurement or two with the calipers to get the ball diameter and width of the caster.

GPS Mount

I printed it in orange instead of black because I was too lazy to change the filament, and on the original mount I just ran a drill bit through what was left of the broken part to give me space to jam the new one in there… a bit of hot glue, and it’s not quite good as new, but it’ll work for now!

Categories
Uncategorized

Inkscape to OpenSCAD

Gear!

Oh yeah! You can totally draw gears in Inkscape… In fact “draw” isn’t even the right term, as you can “render” them using one of Inkscape’s extensions. Here’s a nice post about laser cutting some gears that explains it quite well.

Gear Rendered!

Normally for 3D printing I’d export something like this as a DXF file and extrude it into a 2.5 dimensional object, like I outlined here, but there is another way… by using the Inkscape to OpenSCAD converter! (Here’s a nice blog post about it as well.)

Gear in OpenSCAD

It may not generate code that’s easy to edit, but it’s fast, and seems to do the job, which is often exactly what you want. I’m also quite pleased that Inkscape is becoming such a valuable tool not just for 2D work, but for 3D work as well. I might consider teaching an Inkscape class at Milwaukee Makerspace once we get our classroom up and running.

3D Printed Plastic Gear