Commit 6f3c40f8 authored by Baptiste Durand's avatar Baptiste Durand

few corrections

parent bd18a9a3
......@@ -367,9 +367,11 @@ def pantograph_E11only_RVE(
ll.reverse()
pattern += sym_rhombus
pattern = geo.remove_duplicates(pattern)
translated_pattern = list()
for ll in pattern:
geo.translation(ll, np.array((0.0, thickness, 0.0)))
translated_pattern.append(geo.translation(ll, np.array((0.0, thickness, 0.0))))
logger.info("Done removing of the line-loops duplicates")
pattern = translated_pattern
constr_pts = [copy.deepcopy(pt) for ll in pattern for pt in iter((ll.vertices))]
for ll in pattern:
ll.offset(thickness)
......
......@@ -11,6 +11,7 @@ import logging
from pathlib import Path
import meshio
from subprocess import run
import gmsh
gmsh_logger = logging.getLogger("ho_homog.gmsh")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment