Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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 = {}
Exemplo n.º 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()
Exemplo n.º 5
0
    def initialize_props(self):
        super(PGMshell, self).initialize_props()

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