/[libvob]/libvob/vob/fillet/light3d.py
ViewVC logotype

Diff of /libvob/vob/fillet/light3d.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by tjl, Sun Jun 29 08:47:12 2003 UTC revision 1.20 by jvk, Sun Jun 29 11:22:07 2003 UTC
# Line 169  def drawFillets(self, vs, pc): Line 169  def drawFillets(self, vs, pc):
169    
170          conns3dblend = GLRen.createFillet3DBlend(self.dice);          conns3dblend = GLRen.createFillet3DBlend(self.dice);
171    
172            thick = vs.coords.rational1D22(0, self.thick, 0, 0,  1, 1, 0);
173            angle = vs.coords.rational1D22(0, self.angle, 0, 0,  1, 0, 0);
174            vs.matcher.add(thick, "Thi")
175            vs.matcher.add(angle, "Ang")
176    
177          if self.fillet3d:          if self.fillet3d:
178              vs.put(getDListNocoords("""              vs.put(getDListNocoords("""
# Line 205  def drawFillets(self, vs, pc): Line 208  def drawFillets(self, vs, pc):
208                  """))                  """))
209    
210              #if not self.blend3d:              #if not self.blend3d:
211              pc(conns3d)              pc(conns3d, [thick, angle])
212    
213              if self.blend3d:              if self.blend3d:
214                  pc(conns3dblend)                  pc(conns3dblend, [thick, angle])
215    
216              vs.put(getDListNocoords("""              vs.put(getDListNocoords("""
217              MatrixMode PROJECTION              MatrixMode PROJECTION
# Line 220  def drawFillets(self, vs, pc): Line 223  def drawFillets(self, vs, pc):
223              vs.put(getDListNocoords("""              vs.put(getDListNocoords("""
224              Color 1 1 1              Color 1 1 1
225              """))              """))
226              if self.drawInside: pc(conns)              if self.drawInside: pc(conns, [thick, angle])
227              vs.put(getDListNocoords("""              vs.put(getDListNocoords("""
228              Color 0 0 0              Color 0 0 0
229              """))              """))
230              if self.drawEdge: pc(conns_l)              if self.drawEdge: pc(conns_l, [thick, angle])
231    
232              if self.curvature : pc(conns_c)              if self.curvature : pc(conns_c, [thick, angle])
233    
234                            
235          vs.put(getDListNocoords("""          vs.put(getDListNocoords("""

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26