Mirroring following by arraying of DLD structures while adjusting spacing between mirrors/copies.

from mnflow.mfda.cad.dld.theme.block import DLD
dld = DLD(
    Np =8,
    d_c =1.,
    Nw=9,
    num_unit=5,
    array_counts=[2, 3],
    opt_mirror_before_array=[True, True],
    spacing_between_mirrors_before_array=[20, 0],
    array_spacing=[40, 0],
    rotation_angle_deg_before_array=90,
    # constraints OFF
    turn_off_constraints=True,
    # image
    opt_save_image=True,
    img_dpu=10,
)
----------------------------------------
core.DLD___Np:8_Nw:9_gap_w:1.938_pitch_w:3.876_gap_a:1.938_pitch_a:3.876_height:7.752_boundary_treatment:pow_3
block.DLD___num_unit:5_opt_mirror:False_array_counts:[2, 3]_opt_mirror_before_array:[True, True]
----------------------------------------
{'Np': 8,
 'Nw': 9,
 'area': 191273.90976,
 'bb': [(-153.102, -10.175), (547.058, 263.011)],
 'count of 1D arrays of core.DLD': 24,
 'd_c': 0.9999999999999999,
 'lx': 700.16,
 'ly': 273.18600000000004,
 'performance': {'Flow rate @ 1 bar/area (micro-liter/min/mm-sq)': 293.70560597334963,
                 'die area (mm-sq)': 0.19127390976,
                 'gap over crit. dia.': 1.938006182068103,
                 'volumetric flow rate at 1 bar (micro-liter/min)': 56.1782195729526},
 'resistance (Pa.sec/m^3)': 106802957544933.34,
 'volumetric flow rate at 1 bar (m^3/sec)': 9.3630365954921e-10,
 'volumetric flow rate at 1 bar (milli-liter/hr)': 3.370693174377156}

Output layout:

Layout