Skip to content

Commit 2b26c11

Browse files
committed
Merge branch 'release/v1.3'
2 parents f1a71d0 + 7053dcc commit 2b26c11

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+626
-132
lines changed

README.md

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<p align="center">
2+
<img src="doc/logo.png"/>
3+
</p>
4+
15
# DXF Plotter
26

37
> Fast and easy to use DXF to GCode converter for laser and router CNC
@@ -13,13 +17,20 @@ This application helps users converting DXF files to GCode with minimal settings
1317
It targets only laser and router CNC following every lines and arcs from DXF file with optional desired depth.
1418

1519

16-
## Features
20+
## Features
1721

1822
* DXF support of line, arc, circle, polyline, spline
1923
* Customizable GCode command format
24+
* Saving current work to file
2025
* Multi selected path setting edition
2126
* Path offseting (Tool Compensation)
27+
* Pocket generation with islands capabilities
2228
* Multi passes with depth
29+
* Scale and translate paths
30+
31+
<p align="center">
32+
<img src="doc/pocket.gif" width="80%"/>
33+
</p>
2334

2435
## Installation
2536

@@ -34,22 +45,20 @@ chmod +x dxfplotter-*.AppImage
3445
./dxfplotter-*.AppImage
3546
```
3647

37-
### Manual installation from source
48+
### 🏗 Manual installation from source
3849

39-
This project depends on Qt5, yaml-cpp and fmt, for debian like distribution following command install all dependencies:
50+
This project depends on Qt5, for debian like distribution following command install all dependencies:
4051

4152
```sh
42-
sudo apt-get install qtbase5-dev libyaml-cpp-dev libfmt-dev
53+
sudo apt-get install qtbase5-dev
4354
```
4455

4556
```sh
4657
git submodule init
4758
git submodule update
4859

49-
mkdir build
50-
cd build
51-
cmake ..
52-
make
60+
cmake -B build
61+
cmake --build build -j $(nproc)
5362
```
5463

5564
## Usage example
@@ -76,16 +85,15 @@ Once opened, select path from left panel or from viewport and modify settings of
7685

7786
Export with `File->Export` or `Ctrl+E`
7887

79-
80-
## Configuration
88+
## ✏ Configuration
8189

8290
![](doc/configuration.png)
8391

8492
Configuration settings are exposed in `Configuration->Settings`, the configuration is splitted in two:
8593
* general settings aiming dxf importing or default values
8694
* tools with settings such as radius and gcode formatting
8795

88-
## GCode format
96+
## 📝 GCode format
8997

9098
Simple set of GCode command is used per tool:
9199

doc/configuration.png

-1.98 KB
Loading

doc/logo.png

13.8 KB
Loading

doc/pocket.gif

30.1 KB
Loading

doc/screen.png

9.01 KB
Loading

resource/icons/pocket-shape.svg

Lines changed: 27 additions & 0 deletions
Loading

resource/icons/zoom-in.svg

Lines changed: 13 additions & 0 deletions
Loading

resource/resource.qrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
<file>icons/list-remove.svg</file>
2020
<file>icons/path-inset.svg</file>
2121
<file>icons/path-outset.svg</file>
22+
<file>icons/pocket-shape.svg</file>
2223
<file>icons/resizecol.svg</file>
2324
<file>icons/show-path-outline.svg</file>
2425
<file>icons/transform-rotate.svg</file>
26+
<file>icons/zoom-in.svg</file>
2527
</qresource>
2628
</RCC>

src/common/aggregable.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include <set>
66
#include <memory>
77

8-
namespace Common
8+
namespace common
99
{
1010

1111
template <class Item>
@@ -16,6 +16,7 @@ class Aggregable
1616

1717
using List = std::vector<Item>;
1818
using ListPtr = std::vector<Item *>;
19+
using ListCPtr = std::vector<const Item *>;
1920
using ListUPtr = std::vector<UPtr>;
2021

2122
template <size_t Size>

src/common/exception.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <sstream>
44
#include <string>
55

6-
namespace Common
6+
namespace common
77
{
88

99
class FileCouldNotOpenException : public std::exception
@@ -14,7 +14,7 @@ class GCodeFormatException : public std::runtime_error
1414
{
1515
private:
1616
template <class ... Args>
17-
std::string errorMessage(const std::string &format, const char *error, Args&& ... args)
17+
static std::string errorMessage(const std::string &format, const char *error, Args&& ... args)
1818
{
1919
std::ostringstream stream;
2020
stream << "Formatting error, format \"" << format << "\" with arguments";

0 commit comments

Comments
 (0)