2009-11-02 07:33 PM
2009-11-02 08:00 PM
2009-11-03 09:39 AM
2009-11-03 07:49 PM
fill sectFillType pen sectFillPen project2{3} 3, 270, 3 + 32, 4, sectBkgdPen parameters showSection = 1Then do a projection to show the uncut surfaces:
pen viewPen project2 3, 270, 2The clumsy part is that you would have to use a thin slice rather than a cutting plane to get your cut surfaces. In the 3D script, you would use group operations:
group "model" (the code to create your model) endgroup if showSection then group "cutter" (transformation to adjust the height of the cutting 'plane' - actually a thin prism) prism 4, .001, -1000, -1000, 1000, -1000, 1000, 1000, -1000, 1000 endgroup result = isectgroup("model", "cutter") placegroup result else placegroup "model" endifI would be interested to hear if anyone has a better way, as this is a bit of a hack.
2009-11-03 08:05 PM
2010-08-18 03:25 PM