Compare commits

..

2 Commits

Author SHA1 Message Date
f22c14e8ad Add file headers 2026-02-19 10:55:03 -07:00
95dfacd994 Add GPLv3 license 2026-02-19 10:54:39 -07:00
41 changed files with 82 additions and 82 deletions

View File

@@ -7,7 +7,7 @@
On Debian 12:
```bash
$ sudo apt install cmake qt6-base-dev qt6-svg-dev libtbb-dev libfontconfig1-dev
$ sudo apt install cmake qt6-base-dev qt6-svg-dev libtbb-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 (or later). Please see the `LICENSE.txt` file for details.
This program is free and open-source software licensed under the GNU GPLv3. 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.

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "ApplicationController.h"
#include "Document.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef APPLICATIONCONTROLLER_H
#define APPLICATIONCONTROLLER_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "Camera.h"
#include "ViewportWidget.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef CAMERA_H
#define CAMERA_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "CircleTool.h"
#include "ViewportWidget.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef CIRCLETOOL_H
#define CIRCLETOOL_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "DebugWindow.h"
#include "Camera.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef DEBUGWINDOW_H
#define DEBUGWINDOW_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "Document.h"
#include "Feature.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef DOCUMENT_H
#define DOCUMENT_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "Feature.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef FEATURE_H
#define FEATURE_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "FeatureBrowser.h"
#include "Document.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef FEATUREBROWSER_H
#define FEATUREBROWSER_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "LineTool.h"
#include "ViewportWidget.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef LINETOOL_H
#define LINETOOL_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "MainWindow.h"
#include "ViewportWidget.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "RectangleTool.h"
#include "ViewportWidget.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef RECTANGLETOOL_H
#define RECTANGLETOOL_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "SketchCircle.h"
#include <QJsonArray>

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef SKETCHCIRCLE_H
#define SKETCHCIRCLE_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "SketchFeature.h"
#include "SketchObject.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef SKETCHFEATURE_H
#define SKETCHFEATURE_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "SketchGrid.h"
#include "ViewportWidget.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef SKETCHGRID_H
#define SKETCHGRID_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "SketchLine.h"
#include <QJsonObject>

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef SKETCHLINE_H
#define SKETCHLINE_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef SKETCHOBJECT_H
#define SKETCHOBJECT_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "SketchRectangle.h"
#include <QJsonArray>

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef SKETCHRECTANGLE_H
#define SKETCHRECTANGLE_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "SketchTool.h"
#include "ViewportWidget.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef SKETCHTOOL_H
#define SKETCHTOOL_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "Snapping.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef SNAPPING_H
#define SNAPPING_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "ViewCube.h"
#include <QGuiApplication>

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef VIEWCUBE_H
#define VIEWCUBE_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include "ViewportWidget.h"
#include "Snapping.h"

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#ifndef VIEWPORTWIDGET_H
#define VIEWPORTWIDGET_H

View File

@@ -1,9 +1,9 @@
// Unnamed CAD Software
//
// License: GPLv3 (or later)
// License: GPLv3, see LICENSE.txt
// Language: C++17
// Notes:
// - use a right-handed, Z-up coordinate system to match Open CASCADE
// - use a right-handed, Z-up coordinate system to match OpenCASCADE
#include <QApplication>
#include "MainWindow.h"