How pat-i/opengrade3d works
OpenGrade3D is a Windows application for RTK-guided blade grading from Optisurface AGD designs and topographic survey export as AGS. The user workflow is to configure vehicle and communications, load a design or enter survey mode, use live position while working in the field, and save survey data. The README also describes importing AOG elevation points and design-position correction. The tree and excerpts show the main form, contour model, positioning and communications components, and SharpGL renderer; some capability links are documented only in the README because their implementing source was not sampled.
Main entry points: FormGPS.cs Main field screen · OpenGL.cs OpenGL API · CContour.cs Field contour and points · GPS AGD grading and correction
Components 20
Application UI
- Application startup
SourceCode/GPS/Program.cs - Main field screen
SourceCode/GPS/Forms/FormGPS.cs - Settings dialog
SourceCode/GPS/Forms/FormSettings.cs - Communications setup
SourceCode/GPS/Forms/FormCommSet.cs - Guidance lines
SourceCode/GPS/Forms/FormABLine.cs - Application settings
SourceCode/GPS/Settings.cs
Field workflow
- Field contour and points
SourceCode/GPS/Classes/CContour.cs - Vehicle model
SourceCode/GPS/Classes/CVehicle.cs - World grid
SourceCode/GPS/Classes/CWorldGrid.cs - AGD grading and correction
SourceCode/GPS - Survey and AGS export
SourceCode/GPS
Positioning and communications
- GPS NMEA input
SourceCode/GPS/Classes/CNMEA.cs - Module communications
SourceCode/GPS/Classes/CModuleComm.cs - GPS simulator
SourceCode/GPS/Classes/CSim.cs
Rendering
- OpenGL control
SourceCode/SharpGL - Dev/Core/SharpGL.WinForms/OpenGLControl.cs - OpenGL API
SourceCode/SharpGL - Dev/Core/SharpGL/OpenGL.cs - Render context
SourceCode/SharpGL - Dev/Core/SharpGL/RenderContextProviders/RenderContextProvider.cs
Other components
- Field operator
- AGS survey file
- Optisurface AGD design
Connections 20
- Field operator → Main field screen: uses
- Application startup → Main field screen: launches
SourceCode/GPS/Program.cs - Main field screen → Settings dialog: opens
SourceCode/GPS/Forms/FormSettings.cs - Main field screen → Communications setup: opens
SourceCode/GPS/Forms/FormCommSet.cs - Main field screen → Guidance lines: opens
SourceCode/GPS/Forms/FormABLine.cs - Main field screen → Application settings: uses
SourceCode/GPS/Forms/FormGPS.cs - Main field screen → Field contour and points: uses
SourceCode/GPS/Forms/FormGPS.cs - Main field screen → Vehicle model: uses
SourceCode/GPS/Forms/FormGPS.cs - Main field screen → World grid: uses
SourceCode/GPS/Forms/FormGPS.cs - Main field screen → GPS NMEA input: uses
SourceCode/GPS/Classes/CNMEA.cs - Main field screen → Module communications: uses
SourceCode/GPS/Forms/FormGPS.cs - Main field screen → GPS simulator: uses
SourceCode/GPS/Forms/FormGPS.cs - Main field screen → AGD grading and correction: loads design
SourceCode/GPS/Forms/FormGPS.cs - Main field screen → Survey and AGS export: enters survey
SourceCode/GPS/Forms/FormGPS.cs - AGD grading and correction → Optisurface AGD design: reads AGD
- Survey and AGS export → AGS survey file: writes AGS
- Field contour and points → OpenGL API: draws with
SourceCode/GPS/Classes/CContour.cs - Main field screen → OpenGL API: renders through
SourceCode/GPS/Forms/FormGPS.cs - OpenGL control → OpenGL API: hosts
- OpenGL API → Render context: creates context
SourceCode/SharpGL - Dev/Core/SharpGL/OpenGL.cs