We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › New library: unlekkerLib
Page Index Toggle Pages: 1
New library: unlekkerLib (Read 1825 times)
New library: unlekkerLib
Sep 24th, 2007, 7:49pm
 
...

New library: unlekkerLib
I've just uploaded a new Processing library called unlekkerLib. It is a collection of tools and code snippets I use frequently, and which I've just barely cleaned up enough for other people to use. Instead of releasing them piece by piece, I've decided to bundle them together in a package hierarchy.

The main reason I decided to release it now is the STL export code I've written for my Rapid prototyping objects. Several people (including Casey) have asked for the code, so I wanted to get it out there for you to play with. Obviously, it works as well with Processing as it does with regular Java.

Caveat emptor: There's not much documentation but I do provide the source code. This is v.0001 - the very first release, so it's pretty basic. See below for an idea of what the library contains. Right now the most exciting new component is the unlekker.data.STL class, which supports export and import of STL stereolithography files for rapid prototyping. Have a look at the Javadoc for more details.

Updates will appear here: http://workshop.evolutionzone.com/unlekkerlib/.

[070924] unlekkerLib-0001 features:

- unlekker.data.STL: STL import and export.
- unlekker.util.Rnd: Mersenne Twister pseudo-random number generator.
- unlekker.util.TileSaver: The TileSaver class for creating high-res images from OpenGL graphics by tiling the viewport.
- unlekker.geom.Intersect: Line intersection and checking for collision with complex 2D polygons.
Re: New library: unlekkerLib
Reply #1 - Sep 24th, 2007, 8:37pm
 
Really sweet.. This goes right in the collection..
And a pretty good idea.. I think I'll stuff all my stuff into a general-lib as well Smiley

Processing-libs should have some auto-update feature.. I'm losing track of all my libraries.. I'll start a thread in another board for that though Wink

Either way, looking forward to playing with the STL, as well as the other classes Smiley

[modified]
(download link doesn't work..)
[/modified]

-seltar
Re: New library: unlekkerLib
Reply #2 - Sep 24th, 2007, 11:04pm
 
Sorry about that, it works now. The link to download is as follows: http://workshop.evolutionzone.com/files/unlekkerLib-0001.zip.
Re: New library: unlekkerLib
Reply #3 - May 22nd, 2008, 7:16am
 
I know this is an old thread, but first off thanks for the STL exporter, and now heres the problem I'm having.   I'm importing obj files, mashing a couple together and then exporting as an stl.  I'm liking the results but on some of the pieces I'm getting some nasty gaps and I know thats a big no-no for getting things prototyped.  I wonder if its because I'm abusing the obj models so badly, or maybe that the stl export has a resolution setting and is not handling some of the curves as well as it should, because curves are where the main problems arise.  I'm a bit new to the 3d modeling format world, but advise would be great.

Hit the link below to see a sweet Hypershot render of what I'm doing and the holes im encountering.

Cheers,
Duncan

http://www.flickr.com/photos/34629466@N00/2513306072/sizes/o/
Page Index Toggle Pages: 1