Skip to content

Octree-based cutting simulation

Here's an initial test of octree-based cutting simulation:

If you turn up the resolution to eleven, where it starts to be useful and not so grainy, the calculation of the tool-swept volume, which we subtract from the stock at each move, becomes too slow.
See also octree operations.

Download a short clip with a depth=10 tree: OUTPUT (it's also on youtube, but a 2s clip on youtube doesn't work very well: http://www.youtube.com/watch?v=G0RYS9FcqR0)

some screenshots:

2 Comments

  1. ll wrote:

    http://en.wikipedia.org/wiki/Marching_cubes

    Thursday, July 8, 2010 at 16:48 | Permalink
  2. anders wrote:

    there's now version 2 of this here:
    http://www.anderswallin.net/2010/08/opencamlib-machining-simulation-v-2/

    Wednesday, August 25, 2010 at 11:39 | Permalink

One Trackback/Pingback

  1. anderswallin.net › OpenCAMLib machining simulation, v.2 on Saturday, October 1, 2011 at 23:42

    [...] my first attempt, this works well enough to warrant further experiments (on the to-do list are: differently shaped [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*