From 73122da99dafdb62ed4d983485a23309d725aae4 Mon Sep 17 00:00:00 2001 From: Fischer Robert Date: Wed, 1 Feb 2023 12:21:08 +0100 Subject: [PATCH] pass minsize through run2 --- 01_extract_surfaces.py | 2 +- animscript_full.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/01_extract_surfaces.py b/01_extract_surfaces.py index 9912d32..85af10c 100644 --- a/01_extract_surfaces.py +++ b/01_extract_surfaces.py @@ -131,7 +131,7 @@ class mesh_maker: steps = self.timesteps if self.parallel: - Parallel(n_jobs=self.njobs, temp_folder=temp_folder)(delayed(self.time_4D_stl)(ts, phase, name, clean,remove_small, fp) for ts in steps) + Parallel(n_jobs=self.njobs, temp_folder=temp_folder)(delayed(self.time_4D_stl)(ts, phase, name, clean,remove_small, fp, minsize) for ts in steps) else: for ts in steps: if not ts == self.ref_ts: diff --git a/animscript_full.py b/animscript_full.py index 0551538..720155a 100644 --- a/animscript_full.py +++ b/animscript_full.py @@ -1,8 +1,8 @@ import bpy import os -baseFolder="/mpc/homes/fische_r/NAS/DASCOELY/processing/04_membrane_ML/3II/crack/" #for stl -outfolder="/mpc/homes/fische_r/NAS/DASCOELY/processing/04_membrane_ML/3II/crack_png/" #for png +baseFolder="/mpc/homes/fische_r/NAS/DASCOELY/processing/04_membrane_ML/3II/crack_smaller_200_removed/" #for stl +outfolder="/mpc/homes/fische_r/NAS/DASCOELY/processing/04_membrane_ML/3II/crack_smalelr_200_removed_png/" #for png material = 'Crack'