Files
cadSet/text-to-cad/models/robots/tom/v2/parts/link_bracket_left.py
T
2026-07-22 19:38:36 +08:00

31 lines
612 B
Python

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(),
}