[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

slicing planes in inventor




here's an interesting inventor snippet (insert
it just after the inventor header).  it's a 
rotating clip plane, which shows you the innards
of your object.

the arguments x y z to translation should be
the centroid (or negated centroid) of your object.

Group {
  Translation { translation 1000 1000 0 }

  Rotor {
    rotation  0 0 1 0
    speed     0.01
    on        TRUE
    }

  ClipPlane {
    plane  1 0 0  0
    on     TRUE
    }

  Rotor {
    rotation  0 0 1 0
    speed     -0.01
    on        TRUE
    }

  Translation { translation -1000 -1000 0 }
}