コード例 #1
0
ファイル: printing_preprocessing.py プロジェクト: alub/plong
    def execute(self, context):
        """
        Make the mesh watertight and manifold but might detroy some edges.
        """

        global step

        step = manifold.correction(True, context.scene.FastProcessing)
        self.report({"INFO"}, "The mesh is now correct")
        return {'FINISHED'}
コード例 #2
0
ファイル: printing_preprocessing.py プロジェクト: alub/plong
    def execute(self, context):
        """
        Make the mesh watertight and often manifold but does not destroy it.
        """

        global step

        step = manifold.correction(False, context.scene.FastProcessing)
        self.report({"INFO"}, "The mesh is now correct")
        return {'FINISHED'}