2019-12-30 00:07:56 -06:00
|
|
|
from . import PlatformEntity
|
2019-11-02 17:27:54 -05:00
|
|
|
|
|
|
|
class PaintMixer(PlatformEntity.PlatformEntity):
|
|
|
|
|
|
|
|
def start(self):
|
|
|
|
PlatformEntity.PlatformEntity.start(self)
|
|
|
|
model = self.platform.model
|
|
|
|
shaft = model.find('**/PaintMixerBase1')
|
|
|
|
shaft.setSz(self.shaftScale)
|
|
|
|
shaft.node().setPreserveTransform(0)
|
|
|
|
shaftChild = shaft.find('**/PaintMixerBase')
|
|
|
|
shaftChild.node().setPreserveTransform(0)
|
|
|
|
model.flattenMedium()
|