Advertisement
Matthen

Three hole shape

Jul 5th, 2011
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. vps = {{-5, 5, 5}, {-5, 2.5, 2.5}, {-5, 0, 0}, {-5, 0, 0}, {0, 5,
  2. 0}, {0, 5, 0}, {0, 0, -5}, {0, 0, -5}};
  3. vpfns = Table[
  4. Interpolation[Map[#[[i]] &, vps], InterpolationOrder -> 1], {i,
  5. 3}];
  6.  
  7. Manipulate[
  8. RegionPlot3D[
  9. face3[{x, y}] && face2[{x, z}] && face1[{y, z}], {x, -1, 1}, {y, -1,
  10. 1}, {z, -1, 1}, PlotPoints -> 5, Axes -> None, Boxed -> False,
  11. ViewPoint -> {vpfns[[1]][x], vpfns[[2]][x], vpfns[[3]][x]}]
  12. , {x, 1, 8}]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement