Folder structure simplfied

This commit is contained in:
=
2026-06-06 16:43:26 +08:00
parent 8da92ced57
commit 8a17f1dde0
138 changed files with 10429 additions and 1432 deletions
+38
View File
@@ -0,0 +1,38 @@
"""Reusable geometry structures used by MxPIC components.
Wildcard exports intentionally include the small math/Nazca aliases that
older component modules imported from ``structures.py``.
"""
from typing import Any, Optional
from cmath import pi
import nazca as nd
import nazca.clipper as clp
import numpy as np
from .polygons import _my_polygon, strt_round_courner
from .rings import circle, mx_bend, Elipse_dual, Elipse, hole
from .curves import Conchoid, _line2wg_, _my_poly_spiral, Clothoid
from .racetrack import Racetrack
__all__ = [
"Any",
"Optional",
"pi",
"nd",
"clp",
"np",
"_my_polygon",
"strt_round_courner",
"circle",
"mx_bend",
"Elipse_dual",
"Elipse",
"hole",
"Conchoid",
"_line2wg_",
"_my_poly_spiral",
"Clothoid",
"Racetrack",
]