Ejemplo n.º 1
0
 def test_slot_crease(self):
     edge_length = 10.0
     pntI = (0.0,0.0,0.0)
     pntJ = (edge_length,0.0,0.0)
     offset = 2.0
     width = 1.0
     color = (255,0,255)
     creaseGeom.pill_shape(pntI,pntJ,offset,width,color)
Ejemplo n.º 2
0
 def test_slot_crease(self):
     edge_length = 10.0
     pntI = (0.0, 0.0, 0.0)
     pntJ = (edge_length, 0.0, 0.0)
     offset = 2.0
     width = 1.0
     color = (255, 0, 255)
     creaseGeom.pill_shape(pntI, pntJ, offset, width, color)
Ejemplo n.º 3
0
 def _show_crease(self, island):
     pntA, pntB = self.get_coordinates(island)
     offset = .1
     width = .084
     curve = creaseGeom.pill_shape(pntA, pntB, offset, width,
                                   self.rgb_color())
     rs.AddObjectToGroup(curve, self.group_name)
Ejemplo n.º 4
0
 def _show_crease(self,island):
     pntA,pntB = self.get_coordinates(island)
     offset = .1
     width = .084
     curve = creaseGeom.pill_shape(pntA,pntB,offset,width,self.rgb_color())
     rs.AddObjectToGroup(curve,self.group_name)