added motion trajectory simulation

This commit is contained in:
ykcheungab
2026-09-23 09:58:00 +08:00
parent f1bec62ca4
commit 3347d17a20
25 changed files with 5198 additions and 1762 deletions
+12
View File
@@ -51,6 +51,17 @@ def _parse_args(argv: list[str]) -> argparse.Namespace:
return parser.parse_args(argv)
def _request_compatible_gl() -> bool:
"""Ask for a GL profile the 3D preview can draw with; see the preview module.
Thin wrapper so the entry point does not have to know the details — the
reasoning and the version choice live next to the drawing code that needs them.
"""
from .ui.pose_preview import configure_compatible_gl
return configure_compatible_gl()
def main(argv: list[str] | None = None) -> int:
args = _parse_args(list(argv if argv is not None else sys.argv[1:]))
_force_utf8_streams()
@@ -80,6 +91,7 @@ def main(argv: list[str] | None = None) -> int:
app = QApplication(sys.argv[:1])
app.setApplicationName("Orisys AutoCal")
app.setApplicationVersion(app_version)
_request_compatible_gl()
app.setStyleSheet(build_qss(theme))
transport = None