Download src/Mod/CAM/PathSimulator/AppGL/MillPathLine.h from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 523 Bytes
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/CAM/PathSimulator/AppGL/MillPathLine.h
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/src/Mod/CAM/PathSimulator/AppGL/MillPathLine.h
-
curl -L -o MillPathLine.h https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/src/Mod/CAM/PathSimulator/AppGL/MillPathLine.h
523 Bytes
| // SPDX-License-Identifier: LGPL-2.1-or-later | |
| namespace MillSim | |
| { | |
| struct MillPathPosition | |
| { | |
| float X, Y, Z; | |
| int SegmentId; | |
| }; | |
| class MillPathLine | |
| { | |
| public: | |
| MillPathLine(); | |
| void GenerateModel(); | |
| void Clear(); | |
| void Render(); | |
| public: | |
| std::vector<MillPathPosition> MillPathPointsBuffer; | |
| protected: | |
| unsigned int mVbo; | |
| unsigned int mVao; | |
| int mNumVerts; | |
| }; | |
| } // namespace MillSim | |