initial commit
This commit is contained in:
BIN
docs/UI-Inspo/0_8o2T4T-H4gKFQ9yT.png
Normal file
BIN
docs/UI-Inspo/0_8o2T4T-H4gKFQ9yT.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 158 KiB |
BIN
docs/UI-Inspo/1749624727927.png
Normal file
BIN
docs/UI-Inspo/1749624727927.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 433 KiB |
BIN
docs/UI-Inspo/1761671283-image4.png
Normal file
BIN
docs/UI-Inspo/1761671283-image4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 MiB |
BIN
docs/UI-Inspo/liquid-glass-featured.jpg
Normal file
BIN
docs/UI-Inspo/liquid-glass-featured.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 545 KiB |
21
docs/architecture.md
Normal file
21
docs/architecture.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# TraceCad Architecture
|
||||
|
||||
TraceCad is split into small .NET projects with one-way dependencies.
|
||||
|
||||
```text
|
||||
TraceCad.App -> TraceCad.Core, TraceCad.Dxf
|
||||
TraceCad.Dxf -> TraceCad.Core
|
||||
TraceCad.Vision -> TraceCad.Core
|
||||
TraceCad.Core -> no UI, OpenCV, or DXF package dependencies
|
||||
```
|
||||
|
||||
## Coordinate Spaces
|
||||
|
||||
- Model space: millimetres, used for all stored CAD geometry.
|
||||
- View space: screen pixels, used only by the Avalonia canvas.
|
||||
- Export space: millimetres, mapped directly to DXF output.
|
||||
- Reference space: reserved for calibrated background images in later phases.
|
||||
|
||||
## MVP Boundaries
|
||||
|
||||
MVP 0.1 intentionally excludes OpenCV, marker detection, automatic tracing, constraints, and dimensions. The first implementation proves deterministic CAD entity creation and DXF export.
|
||||
15
docs/dxf-export.md
Normal file
15
docs/dxf-export.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# DXF Export
|
||||
|
||||
DXF is an export format, not TraceCad's internal document format.
|
||||
|
||||
The MVP exporter uses `netDxf` behind `IDxfExporter` so the implementation can be replaced without changing core or UI code.
|
||||
|
||||
## Current Mapping
|
||||
|
||||
| TraceCad entity | DXF entity |
|
||||
| --- | --- |
|
||||
| `LineEntity` | `LINE` |
|
||||
| `CircleEntity` | `CIRCLE` |
|
||||
| `ArcEntity` | `ARC` |
|
||||
|
||||
All exported geometry is written in millimetres. Non-exportable layers such as `CONSTRUCTION`, `REFERENCE`, `DIMENSIONS`, and `DEBUG` are skipped by default.
|
||||
29
docs/mvp.md
Normal file
29
docs/mvp.md
Normal file
@@ -0,0 +1,29 @@
|
||||
# MVP 0.1
|
||||
|
||||
MVP 0.1 focuses on the editor core:
|
||||
|
||||
- Start the Avalonia desktop app.
|
||||
- Pan and zoom a millimetre canvas.
|
||||
- Draw lines from two points.
|
||||
- Draw circles from three circumference points.
|
||||
- Draw arcs from start, through, and end points.
|
||||
- Select and delete entities.
|
||||
- Undo and redo document mutations.
|
||||
- Save and load the native JSON project format.
|
||||
- Export LINE, CIRCLE, and ARC entities to DXF.
|
||||
|
||||
MVP 0.2 adds the manual reference-image layer:
|
||||
|
||||
- Import a raster image as a locked background reference.
|
||||
- Display the reference below CAD entities.
|
||||
- Adjust opacity independently of geometry.
|
||||
- Lock and unlock the reference.
|
||||
- Edit reference X/Y origin, scale, and rotation manually.
|
||||
- Save and reload reference metadata in the native JSON project file.
|
||||
|
||||
Deferred work:
|
||||
|
||||
- Calibration sheet generation.
|
||||
- OpenCV marker detection.
|
||||
- Assisted fitting tools.
|
||||
- Constraint and dimension systems.
|
||||
1044
docs/project_scope.md
Normal file
1044
docs/project_scope.md
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user