Karsten Schmidt is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

postspectacular / flatworld

An extensible 3D to 2D mesh unwrap library for using toxiclibs & Processing to create physical objects from sheet material (e.g. paper, cardboard, polythene). All polygons are rendered out individually and placed on a number of sheets. The layout algorithm is attempting to minimize the space needed. Edges can be rendered in different styles suitable for different assembly methods (e.g. glue tabs or interlocking)

Clone this repository (size: 1.9 KB): HTTPS / SSH
hg clone https://bitbucket.org/postspectacular/flatworld
hg clone ssh://hg@bitbucket.org/postspectacular/flatworld

flatworld overview

Recent commits See more »

Author Revision Comments Message Labels Date
Karsten Schmidt ee3ac60d1d28 adding .hgignore
Karsten Schmidt 8eb238b29780 adding PackedLayout algorithm and minor updates to collision detection, added setLayout() and new constructor to Unwrapper
Karsten Schmidt 3dbfdb527c3d refactored sheet layout algorithm into strategy pattern using new UnwrapLayoutStrategy and DefaultLayout as its current implementation
Karsten Schmidt 1d63a7290a5d added HoleMountStrategy and color support for all elements, major refactoring of edge handling & label drawing is now aligned to edge direction
Karsten Schmidt 00ab19827469 fixed edge labelling bug caused by forcing 2D/flattened triangles to be anti-clockwise