<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><font face="sans-serif" size="2">H<font size="2">i</font></font><br>
<br><font face="sans-serif" size="2">I am trying to use vtkSTLReader &nbsp;
&nbsp; to read a stl file which has &nbsp;multiple &nbsp;solid with different
label and color. </font>
<br>
<br>
<br><font face="sans-serif" size="2">I would like &nbsp;to read &nbsp;color
and solid label information &nbsp;from &nbsp;stl file. &nbsp; and &nbsp;have the&nbsp; ability to show on/off a particular solid label (part<font size="2">)</font>. &nbsp; </font>
<br>
<br><font face="sans-serif" size="2">Approach I'm taking to read stl file
and assign each stl label to an actor class . &nbsp;So there will be &nbsp;number
of actor added to renderer . </font>
<br>
<br>
<br><font face="sans-serif" size="2">Any &nbsp;help / guidance appreciated. &nbsp;Thanks in advance
!</font>
<br>
<br>
<br><font face="sans-serif" size="2">======== test.stl===========</font>
<br>
<br><font face="sans-serif" size="2">solid &nbsp; mylabel1</font>
<br><font face="sans-serif" size="2">&nbsp; &nbsp; &nbsp;color &nbsp; 1 0
0 </font>
<br><font face="sans-serif" size="2">&nbsp; facet normal &nbsp; .5 &nbsp;
0 &nbsp; .1</font>
<br><font face="sans-serif" size="2">&nbsp; &nbsp; &nbsp;outer loop </font>
<br><font face="sans-serif" size="2">&nbsp; &nbsp; &nbsp; &nbsp; vertex &nbsp;
&nbsp; 1 &nbsp; 2 3 </font>
<br><font face="sans-serif" size="2">&nbsp; &nbsp;vertex &nbsp; &nbsp; 3
&nbsp;2 1</font>
<br><font face="sans-serif" size="2">&nbsp; &nbsp;vertex &nbsp; &nbsp; 11
&nbsp;1 2 3 &nbsp;</font>
<br><font face="sans-serif" size="2">end loop </font>
<br><font face="sans-serif" size="2">end facet</font>
<br><font face="sans-serif" size="2">:</font>
<br><font face="sans-serif" size="2">:</font>
<br><font face="sans-serif" size="2">end solid &nbsp;mylabel1</font>
<br>
<br><font face="sans-serif" size="2">solid &nbsp;mylabel2</font>
<br><font face="sans-serif" size="2">:</font>
</td></tr></table>