Exemplo n.º 1
0
 def __init__(self, file=None, opt=None, hold_history=False, export_folder=''):
     self.vs = self.v_mask = self.filename = self.features = self.edge_areas = None
     self.edges = self.gemm_edges = self.sides = None
     self.pool_count = 0
     fill_mesh(self, file, opt)
     self.export_folder = export_folder
     self.history_data = None
     if hold_history:
         self.init_history()
     self.export()
Exemplo n.º 2
0
    def __init__(self, polydata):
        self.vs = None
        self.v_mask = None
        self.features = None
        self.edge_areas = []
        self.edges = None
        self.gemm_edges = None 
        self.sides = None
        self.pool_count = 0
        self.history_data = None

        #Initialize
        fill_mesh(self, polydata)        
                
        self.init_history()