« June 2013 | Main | August 2013 »

Main > Photoblog

July 31, 2013

Wine-ing

c03849e4f9dc11e28b1f22000a9f14a7_7.jpg
View in Photoblog

Wine-ing

 

Posted by jordanh at 6:30 AM | Comments (0) | TrackBack |

Main > Photoblog

July 27, 2013

Gorge-ous

dd5fbc08f6dc11e28a7622000ae80ee0_7.jpg
View in Photoblog

Gorge-ous

 

Posted by jordanh at 11:00 AM | Comments (0) | TrackBack |

Main > Photoblog

Our little house on the prarie.

bb2c6c30f6dc11e2954322000ae80d8d_7.jpg
View in Photoblog

Our little house on the prarie.

 

Posted by jordanh at 11:00 AM | Comments (0) | TrackBack |

Main > Photoblog

July 24, 2013

Instagram @ 2013-07-24T16:02:59

82c6951ef47a11e2a47822000a9f3c30_7.jpg
View in Photoblog

@undercurrent fashion alert! 3 pulling a @clayparkerjones. Blue + red + grey.

 

Posted by jordanh at 10:10 AM | Comments (0) | TrackBack |

Main > Photoblog

Instagram @ 2013-07-24T12:21:40

983cde0ef45b11e2a34e22000ae91355_7.jpg
View in Photoblog

When our teapot spout broke, I designed and 3d printed a fix from @shapeways. #thefuture

 

Posted by jordanh at 6:30 AM | Comments (0) | TrackBack |

Main > Photoblog

July 20, 2013

Hollywood Hike Day

1ddc5ecef17611e296ba22000ae8031f_7.jpg
View in Photoblog

Hollywood Hike Day

 

Posted by jordanh at 2:00 PM | Comments (0) | TrackBack |

Main > Photoblog

OH

6fa92da0f17011e28df322000a1f9367_7.jpg
View in Photoblog

OH

 

Posted by jordanh at 1:20 PM | Comments (0) | TrackBack |

Main > Photoblog

Beaming

d8747bf6f16f11e29a6e22000a1fab27_7.jpg
View in Photoblog

Beaming

 

Posted by jordanh at 1:10 PM | Comments (0) | TrackBack |

Main > Photoblog

Over the Top

87d39344f16f11e283e622000a1fb86d_7.jpg
View in Photoblog

Over the Top

 

Posted by jordanh at 1:10 PM | Comments (1) | TrackBack |

Main > Photoblog

Hollywood

c32a23caf16711e2bf5322000a9e17ee_7.jpg
View in Photoblog

Hollywood

 

Posted by jordanh at 12:20 PM | Comments (0) | TrackBack |

Main > Photoblog

July 19, 2013

Visiting Dad's Garden Plot

d5b220a6f0db11e2990022000aeb0f0c_7.jpg
View in Photoblog

Visiting Dad's Garden Plot

 

Posted by jordanh at 7:30 PM | Comments (0) | TrackBack |

Main > Diary > Technology

Converting CAD files to STL using FreeCAD on the Command Line

I'm working on a client project where we are receiving hundreds of CAD submissions. We need to sort, filter, and rank these submissions in order to ease analysis. Ultimately, these submissions will be 3D printed. I needed an automated way to convert the files from STEP or IGS CAD format to STL on the command line.

I discovered that the venerable FreeCAD has a Python-based command line interpreter. After a few bumps, I was able to drive it to create a simple tool to convert my files.

First, I had to add the dynamic library loading path of FreeCAD to my OSX command line environment:

$ export DYLD_FALLBACK_LIBRARY_PATH=\
/Applications/FreeCAD.app/Contents/Frameworks/lib:\
$DYLD_FALLBACK_LIBRARY_PATH

Next, I wrote this little script. I figured out the syntax by first recording some macros in FreeCAD.

#!/Applications/FreeCAD.app/Contents/MacOS/FreeCADCmd
import FreeCAD
import Part
import Mesh

import sys
in_fn, out_fn = sys.argv[2], sys.argv[3]

Part.open(in_fn)
o = [ FreeCAD.getDocument("Unnamed").findObjects()[0] ]
Mesh.export(o, out_fn)

It's used like this: step_stl.py input.step output.stl

I am fairly certain that the input file could be any input format understood by FreeCAD. Enjoy!

Posted by jordanh at 12:08 PM | Comments (0) | TrackBack |

Main > Photoblog

July 17, 2013

Earth

670febf0ef3d11e29cc922000ae81e4d_7.jpg
View in Photoblog

Earth

 

Posted by jordanh at 6:10 PM | Comments (0) | TrackBack |

Main > Photoblog

July 7, 2013

Outer Lighthouse

5b6699b8e72011e292d022000a1fcc15_7.jpg
View in Photoblog

Outer Lighthouse

 

Posted by jordanh at 10:20 AM | Comments (0) | TrackBack |

Main > Photoblog

Hepburn

25fc0088e72011e2ad8422000a1fa8e9_7.jpg
View in Photoblog

Hepburn

 

Posted by jordanh at 10:20 AM | Comments (0) | TrackBack |

Main > Photoblog

Fenwick

0006bdd2e72011e2b9c722000a9e07b7_7.jpg
View in Photoblog

Fenwick

 

Posted by jordanh at 10:20 AM | Comments (0) | TrackBack |

Main > Photoblog

July 5, 2013

Instagram @ 2013-07-05T22:04:12

d3003a00e5be11e28ef622000a1fa434_7.jpg
View in Photoblog

Katherine Hepburn's home in Fenwick, CT

 

Posted by jordanh at 4:10 PM | Comments (0) | TrackBack |

Main > Photoblog

July 2, 2013

Good protest prop.

dd7bbccee31c11e28f8322000a9f18ae_7.jpg
View in Photoblog

Good protest prop.

 

Posted by jordanh at 7:50 AM | Comments (0) | TrackBack |