def configure(self): DrawObject.configure(self) if not self.hideparts: pdis.setNoHiddenLines() if self.protected: pdis.setProtectSurfaces() pdis.setSurfaceVisibility(self.visibility) pdis.setSurfaceColors(self.topcolor, self.bottomcolor) pdis.setSurfaceShadingMode(self.shadingmode) pdis.setSurfaceMeshing(self.mesh, self.shadingon) pdis.setSurfaceMeshColor(self.meshcolor) if allExist(*self.colorscale): pdis.setSurfaceColorScale(self.colorscale[0], self.colorscale[1])
def configure(self): if self.mesh: pdis.setSurfaceMeshing("on") pdis.setSurfaceMeshColor(self.meshcolor) pdis.setColor(self.color) self.args = (self.x, self.y, self.z, self.radius, self.hres, self.vres)