mirror of
https://github.com/Sneed-Group/Poodletooth-iLand
synced 2024-12-26 05:02:31 -06:00
14 lines
444 B
Python
14 lines
444 B
Python
|
import PlatformEntity
|
||
|
|
||
|
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()
|