Compare commits

2 Commits

Author SHA1 Message Date
tanner f9cac02e06 Add file headers 2026-02-20 09:28:23 -07:00
tanner 05d35bbd86 Add GPLv3 license 2026-02-20 09:28:11 -07:00
41 changed files with 82 additions and 82 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
On Debian 12:
```bash
$ sudo apt install cmake qt6-base-dev qt6-svg-dev libtbb-dev
$ sudo apt install cmake qt6-base-dev qt6-svg-dev libtbb-dev libfontconfig1-dev
$ sudo apt install libocct-foundation-dev libocct-modeling-data-dev libocct-modeling-algorithms-dev libocct-visualization-dev
$ mkdir build
@@ -22,7 +22,7 @@ $ ./OpenCAD
## License
This program is free and open-source software licensed under the GNU GPLv3. Please see the `LICENSE.txt` file for details.
This program is free and open-source software licensed under the GNU GPLv3 (or later). Please see the `LICENSE.txt` file for details.
That means you have the right to study, change, and distribute the software and source code to anyone and for any purpose as long as you grant the same rights when distributing it.
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "ApplicationController.h"
#include "Document.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef APPLICATIONCONTROLLER_H
#define APPLICATIONCONTROLLER_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "Camera.h"
#include "ViewportWidget.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef CAMERA_H
#define CAMERA_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "CircleTool.h"
#include "ViewportWidget.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef CIRCLETOOL_H
#define CIRCLETOOL_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "DebugWindow.h"
#include "Camera.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef DEBUGWINDOW_H
#define DEBUGWINDOW_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "Document.h"
#include "Feature.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef DOCUMENT_H
#define DOCUMENT_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "Feature.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef FEATURE_H
#define FEATURE_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "FeatureBrowser.h"
#include "Document.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef FEATUREBROWSER_H
#define FEATUREBROWSER_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "LineTool.h"
#include "ViewportWidget.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef LINETOOL_H
#define LINETOOL_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "MainWindow.h"
#include "ViewportWidget.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "RectangleTool.h"
#include "ViewportWidget.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef RECTANGLETOOL_H
#define RECTANGLETOOL_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "SketchCircle.h"
#include <QJsonArray>
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef SKETCHCIRCLE_H
#define SKETCHCIRCLE_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "SketchFeature.h"
#include "SketchObject.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef SKETCHFEATURE_H
#define SKETCHFEATURE_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "SketchGrid.h"
#include "ViewportWidget.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef SKETCHGRID_H
#define SKETCHGRID_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "SketchLine.h"
#include <QJsonObject>
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef SKETCHLINE_H
#define SKETCHLINE_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef SKETCHOBJECT_H
#define SKETCHOBJECT_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "SketchRectangle.h"
#include <QJsonArray>
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef SKETCHRECTANGLE_H
#define SKETCHRECTANGLE_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "SketchTool.h"
#include "ViewportWidget.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef SKETCHTOOL_H
#define SKETCHTOOL_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "Snapping.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef SNAPPING_H
#define SNAPPING_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "ViewCube.h"
#include <QGuiApplication>
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef VIEWCUBE_H
#define VIEWCUBE_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include "ViewportWidget.h"
#include "Snapping.h"
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#ifndef VIEWPORTWIDGET_H
#define VIEWPORTWIDGET_H
+2 -2
View File
@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3, see LICENSE.txt
// License: GPLv3 (or later)
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
// - use a right-handed, Z-up coordinate system to match Open CASCADE
#include <QApplication>
#include "MainWindow.h"