Skip to content
Snippets Groups Projects
Commit 80647d7b authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

nice reclassify+remesh example from Jerome Robert

parent 5b99ce78
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Mesh.Algorithm = 6; //(1=MeshAdapt, 2=Automatic, 5=Delaunay, 6=Frontal, 7=bamg)
Mesh.CharacteristicLengthMin=1.5;
Mesh.CharacteristicLengthMax=2.5;
Mesh.RemeshAlgorithm=1;
Mesh.RemeshParametrization=1;//(0) harmonic (1) conformal
//Merge "mobilette-class.msh"; // oringinal STL is a bit coarse
Merge "mobilette-class-fine.msh"; // this was produced by refining once
CreateTopology;
ll[] = Line "*";
For j In {0 : #ll[]-1}
Compound Line(newl) = ll[j];
EndFor
ss[] = Surface "*";
s = news;
For i In {0 : #ss[]-1}
Compound Surface(s+i) = ss[i];
EndFor
Surface Loop(1) = {s : s + #ss[]-1};
Volume(1) = {1};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment