Skip to content

Latest commit

 

History

History

Packing Shape Processing

This repo provides a set of tools for processing packing shapes that are compatible with our irregular packing solver. To perform robust collision detections and ray-casting tests in the simulation world, we stipulate that objects are represented as closed manifold mesh surfaces.

The main logic of the shape processing pipeline is as follows:

  1. We first reconstruct (download the reconstruction code here) the mesh into a watertight one.
  2. We then extract all the planar-stable poses of the object.
  3. Some planar-stable poses are rotation-symmetric, and we remove redundant poses and retain only one representative from each rotation-symmetric group (see our TOG paper for more details).
  4. Several rigid body simulators (like Bullet) only accept convex shape primitives. We thus apply the convex decomposition algorithm for non-convex shapes.
  5. Organize the processed shapes and generate test sequences for packing policy learning.

For specific implementation, run these codes in the organized order.

Note, this repo is still under development. I will add some demo shapes for processing after I get my past data from my old computer.