How mr0wang10/occ-welding-robot-system works
This is an MFC SDI desktop application for viewing robot models and controlling robot poses in an OpenCascade 3D view. The documented user workflow is to use the robot control panel to select or control a model, enter inverse-kinematics inputs, and inspect joint/TCP pose information in the view. The main frame hosts the docked controls and view; the document is the SDI document stage. Welding-related UI and seam display are also represented, but their full runtime wiring was not sampled. Dashed edges mark relationships not verified in excerpts.
Main entry points: MainFrm.cpp Main frame · OCC_MFCView.cpp OpenCascade view · CRobotControlDlg.cpp Robot controls · OCC_MFC.cpp MFC application
Components 18
Application shell
- MFC application
OCC_MFC/OCC_MFC.cpp - Main frame
OCC_MFC/MainFrm.cpp - SDI document
OCC_MFC/OCC_MFCDoc.cpp - OpenCascade view
OCC_MFC/OCC_MFCView.cpp - File view
OCC_MFC/FileView.cpp - Class view
OCC_MFC/ClassView.cpp - Properties pane
OCC_MFC/PropertiesWnd.cpp - Output pane
OCC_MFC/OutputWnd.cpp
Robot interaction
- Control pane
OCC_MFC/CControlPane.cpp - Robot controls
OCC_MFC/CRobotControlDlg.cpp - Robot page
OCC_MFC/CPageRobot.cpp - 6-DOF kinematics
OCC_MFC/Kine6Dof.h - Kine6Dof library
- Robot model library
OCC_MFC/Rbt3DModelLib
Weld visualization
- Weld page
OCC_MFC/CPageWeld.cpp - Weld seam display
OCC_MFC/OCC_MFCView.cpp - Wire identification
weldwire_identfy.cpp
Other components
- Operator
Connections 22
- Operator → MFC application: starts
- MFC application → Main frame: creates
- MFC application → SDI document: opens
- MFC application → OpenCascade view: creates
- Main frame → Control pane: creates
OCC_MFC/MainFrm.cpp - Main frame → OpenCascade view: resizes
OCC_MFC/MainFrm.cpp - Main frame → File view: hosts
OCC_MFC/MainFrm.cpp - Main frame → Class view: hosts
OCC_MFC/MainFrm.cpp - Main frame → Properties pane: hosts
OCC_MFC/MainFrm.cpp - Main frame → Output pane: hosts
OCC_MFC/MainFrm.cpp - Operator → Robot controls: enters poses
- Control pane → Robot controls: hosts
- Robot controls → Robot page: uses
- Robot controls → 6-DOF kinematics: requests inverse solve
- 6-DOF kinematics → Kine6Dof library: uses
- Robot controls → OpenCascade view: controls pose
- OpenCascade view → Robot model library: displays
- OpenCascade view → SDI document: uses
- Operator → Weld page: uses
- Weld page → Wire identification: processes wire
- Weld page → Weld seam display: requests display
- Weld seam display → OpenCascade view: renders seams