Example #1
0
 def initialize_props(self):
     """ Adds the *X*, *Y*, and *Z* shape properties """
     props = self.props
     for name in self.faces:
         props['shX', name] = PGMproperty()
         props['shY', name] = PGMproperty()
         props['shZ', name] = PGMproperty()
Example #2
0
    def initialize_props(self):
        super(PGMprimitive, self).initialize_props()

        props = self.props
        props['scl'] = PGMproperty()
        props['pos'] = PGMproperty()
        props['rot'] = PGMproperty()
        props['ogn'] = PGMproperty()
        props['nor'] = PGMproperty()
        props['flt'] = PGMproperty()
        for name in self.faces:
            props['shX', name] = PGMproperty()
            props['shY', name] = PGMproperty()
            props['shZ', name] = PGMproperty()
Example #3
0
    def initialize_props(self):
        """ Adds the *X*, *Y*, and *Z* shape properties """
        super(PGMinterpolant, self).initialize_props()

        props = self.props
        for name in self.faces:
            props['shN', name] = PGMproperty()

        self.normals = {}
Example #4
0
    def initialize_props(self):
        super(PGMprimitive, self).initialize_props()

        props = self.props
        props['scl'] = PGMproperty()
        props['pos'] = PGMproperty()
        props['rot'] = PGMproperty()
        props['ogn'] = PGMproperty()
        props['nor'] = PGMproperty()
        props['flt'] = PGMproperty()
Example #5
0
    def initialize_props(self):
        super(PGMshell, self).initialize_props()

        props = self.props
        props['thk'] = PGMproperty()