from __future__ import annotations from pathlib import Path from v2_variant_common import finish_part, loaded_v2_module, mirror_y PART_NAME = Path(__file__).stem def build_step(): with loaded_v2_module("link_bracket") as module: return finish_part(mirror_y(module.build_step()), PART_NAME) def build_dxf(): with loaded_v2_module("link_bracket") as module: return module.build_dxf(part_name=PART_NAME) def gen_step() -> dict[str, object]: return { "shape": build_step(), } def gen_dxf() -> dict[str, object]: return { "document": build_dxf(), }