perryjohnson / spardesign

parametric analysis of biplane spars
1 stars 1 forks source link

color in elements based on layer or material #10

Closed perryjohnson closed 12 years ago

perryjohnson commented 12 years ago

duplicate the functionality written into matplotlib with a faster implementation in mayavi

perryjohnson commented 12 years ago

I "hacked" this by pulling the top left and bottom right corners of each layer, and coloring it in as just one box, instead of coloring multiple boxes for each element. This sped up the rendering process dramatically.