Translations:Scripted objects/57/en

def attach(self, obj): material = coin.SoMaterial material.diffuseColor = (1.0, 0.0, 0.0) material.emissiveColor = (1.0, 0.0, 0.0) drawStyle = coin.SoDrawStyle drawStyle.pointSize.setValue(10) drawStyle.style = coin.SoDrawStyle.LINES wireframe = coin.SoGroup shaded = coin.SoGroup self.wireframe = wireframe self.shaded = shaded