def cube_open_hires_old(script, size=<NUM_LIT:1.0>, x_segments=<NUM_LIT:1>, y_segments=<NUM_LIT:1>, z_segments=<NUM_LIT:1>,<EOL>center=False, color=None):
"""<STR_LIT>"""<EOL>size = util.make_list(size, <NUM_LIT:3>)<EOL>grid(script, [size[<NUM_LIT:0>], size[<NUM_LIT:2>]],<EOL>x_segments=x_segments,<EOL>y_segments=z_segments)<EOL>transform.rotate(script, '<STR_LIT:x>', <NUM_LIT>)<EOL>layers.duplicate(script)<EOL>transform.rotate(script, '<STR_LIT:z>', <NUM_LIT>)<EOL>transform.translate(script, [size[<NUM_LIT:0>], size[<NUM_LIT:1>], <NUM_LIT:0>])<EOL>grid(script, [size[<NUM_LIT:2>], size[<NUM_LIT:1>]],<EOL>x_segments=z_segments,<EOL>y_segments=y_segments)<EOL>transform.rotate(script, '<STR_LIT:y>', -<NUM_LIT>)<EOL>layers.duplicate(script)<EOL>transform.rotate(script, '<STR_LIT:z>', <NUM_LIT>)<EOL>transform.translate(script, [size[<NUM_LIT:0>], size[<NUM_LIT:1>], <NUM_LIT:0>])<EOL>layers.join(script)<EOL>clean.merge_vert(script, threshold=<NUM_LIT>)<EOL>if center:<EOL><INDENT>transform.translate(script, [-size[<NUM_LIT:0>] / <NUM_LIT:2>, -size[<NUM_LIT:1>] / <NUM_LIT:2>, -size[<NUM_LIT:2>] / <NUM_LIT:2>])<EOL><DEDENT>if color is not None:<EOL><INDENT>vert_color.function(script, color=color)<EOL><DEDENT>return None<EOL>
Creates a square open tube, e.g. a box with no top or bottom.

    Useful if you want to wrap it around and join the open ends together, forming a torus.