Commit Graph

87 Commits

Author SHA1 Message Date
Zheng, Lei
9c72d78b7b Path.Area: arc fix to work around OCCT bug 2018-02-24 10:44:55 -03:00
wmayer
91ce7f2749 fix warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] 2018-02-10 12:18:33 +01:00
Zheng, Lei
fc7c34ca41 Path.Area: make wire explode respect arc accurarcy 2018-01-26 18:53:09 +01:00
luz.paz
a83dd308bd Path: libarea typos
Source and comment typos
2018-01-24 13:08:57 -05:00
Zheng, Lei
004f82b3e7 Path.Area: respect zero start point when generating path 2018-01-23 19:49:58 +01:00
luz.paz
504f6583dd Typos
The stepcode typos aren't to be found upstream. Recomend we merge nonetheless.
2018-01-08 21:07:00 +01:00
Zheng, Lei
4a7cb47848 Path.Area: fix wire join function
This affects open wire operations
2017-12-23 14:36:20 +01:00
Zheng, Lei
3eba89df13 Path.Area: improve code readability
Fix Coverity CID 169508
2017-12-13 12:40:13 +01:00
Unknown
f5146508bb Misc. typos 2017-12-06 20:59:55 +01:00
Mateusz Skowroński
dee8769d0e Fix some GCC 7 warnings:
* dynamic exception specifications are deprecated [-Wdeprecated]
* this statement may fall through [-Wimplicit-fallthrough=]
2017-12-05 17:22:00 +01:00
Zheng, Lei
7d0e0289bf Path.Area: honour 'from_center' in offset pocket mode 2017-11-28 12:40:19 -02:00
Zheng, Lei
1e44192766 Path.Area: handle empty wires during sorting 2017-11-19 17:18:28 +01:00
Zheng, Lei
1b266448b1 Path.Area: replace push_back with emplace_back
For minor performance improvement
2017-11-19 17:18:28 +01:00
Zheng, Lei
bdf4ee7326 Path.Area: improve coplanar checking performance 2017-11-16 15:20:17 +01:00
Zheng, Lei
c426249253 Path.Area: improve projection algorithm efficiency 2017-11-16 15:20:01 +01:00
wmayer
96d01c9200 fix several kind of warnings:
+ fix -Wparentheses/-Wlogical-op-parentheses
+ fix -Wunused-variable
+ disable -Wundefined-var-template due to many false-positives (clang)
+ fix -Winconsistent-missing-override
+ fix -Wmaybe-uninitialized
2017-10-15 19:12:07 +02:00
Zheng, Lei
598fff8b40 Path.Area: add greedy sort mode 2017-10-09 19:57:08 +02:00
Itai Nahshon
e2e0735677 Some fixes related to milling heights and depths.
Fix for large "Step Down".
Correctly handling a part that was moved down the Z axis.
Handle "Finish Depth".
2017-10-08 22:52:10 +02:00
Zheng, Lei
732eab609b Path.Area: add line/grid/triangle tool radius compenstation 2017-10-04 17:47:04 +02:00
wmayer
fde42545ba fix various coverity issues 2017-09-15 11:48:38 +02:00
Markus Lampert
fbc8db743f Added preambles option to fromShapes to prevent Path.Area from emmitting a preamble before every block of movement. 2017-08-24 20:31:57 -07:00
wmayer
31810ce05a compile Path module with boost < 1.55 2017-08-19 14:30:55 +02:00
Zheng, Lei
65c3792cc2 Path.Area: fix sortWires
sortWires was broken on open wires. The bug was introduced when open
wire direction feature is added.
2017-07-07 11:26:54 +08:00
Zheng, Lei
4b2a739e7a Path.Area: change fromShape() 'start' parameter behavior
'start' used to mean the initial resting position of the tool. Now it
is changed to mean the feed start position.

fromShape() has also improved to automatically guess 'retraction' and
'resume_height' parameters if not given, based on input shape boundary.
2017-07-07 11:26:54 +08:00
Zheng, Lei
00b0027e19 Path.Area: handle empty wires without vertex 2017-07-07 11:26:54 +08:00
Zheng, Lei
1162f50544 Path.Area: fix thickening of pocket path 2017-06-26 22:25:00 +02:00
Zheng, Lei
66595f28b3 Path.Area: fix Path.fromShapes retraction threshold 2017-06-15 14:43:49 -03:00
Zheng, Lei
17357ae2e6 Path.Area: fix plane finding on face shape 2017-06-15 14:43:49 -03:00
Zheng, Lei
c66e6785ed Path.Area: section intermediate shape output for debugging 2017-06-15 14:43:49 -03:00
Zheng, Lei
c8ffaf3321 Path.Area: fixed random wrong section output 2017-06-15 14:43:49 -03:00
Zheng, Lei
f3de4bb9a0 Path.Area: fixed projection tolerance problem 2017-06-12 11:26:39 +02:00
Zheng, Lei
c6e9127863 Path.Area: removed LogLevel from setDefaultParams
Use App.setLogLevel('Path.Area', <level>) instead.
2017-05-24 09:16:52 +08:00
Zheng, Lei
364302d32c Path.Area: fix side effect on projection 2017-05-24 09:16:52 +08:00
Zheng, Lei
de2c826f86 Path.Area: use FC tag based logging 2017-05-13 18:52:09 +02:00
Zheng, Lei
17b988890d Path.Area: fix projection code for OCE 2017-05-13 14:36:42 +02:00
Zheng, Lei
16bf2eb737 Path.Area: fix work plane direction 2017-05-13 14:36:42 +02:00
Zheng, Lei
6f3104c6e3 Path.Area: outline now supports solid and non-planar faces 2017-05-13 14:36:42 +02:00
Zheng, Lei
b05bcbb6cb Path.Area: force CW orientation on pocket mode offset 2017-05-13 14:36:42 +02:00
Zheng, Lei
ea3d5b411f Path.Area: add parameter 'Outline' to remove inner holes 2017-05-13 14:36:42 +02:00
Zheng, Lei
fca09c949d Path.Area: fix path orientation setting 2017-05-13 14:36:42 +02:00
Zheng, Lei
67f8d77c4a Path.Area: rename Clearance parameter to ResumeHeight 2017-05-13 14:36:42 +02:00
Zheng, Lei
50d436c5a7 Path.Area: fixed zigzag pocket mode 2017-05-13 14:36:42 +02:00
Zheng, Lei
17648c3c62 Path.Area: add abs_center parameter to Path.fromShapes
Set to true to enable absolute arc center mode (G90.1)
2017-04-25 11:51:54 +08:00
Zheng, Lei
cc70774ed2 Path.Area: added Line, Grid, Triangle pocket mode 2017-04-23 19:15:19 -03:00
Zheng, Lei
6aecc60e83 Path.Area: suppress holes when project
When doing projection, there doesn't seem to have a reliable way of
knowing which edges are for inner holes. So we just suppress holes
altogether, and make it as outline only projection.
2017-04-23 19:15:19 -03:00
Zheng, Lei
92e6edff90 Path.Area: make XY plane selection explicit 2017-04-23 19:15:19 -03:00
Zheng, Lei
87dc72e2ef Path.Area: support open path direction control 2017-04-23 19:15:19 -03:00
Zheng, Lei
9c3b8d2811 Path.Area: change Distance() to SquareDistance() 2017-04-23 19:15:19 -03:00
Zheng, Lei
6d275e1ed6 Path.Area: added outline projection support 2017-04-23 19:15:19 -03:00
Zheng, Lei
94c593f763 Path.Area: replaced sort_Edges with WireJoiner 2017-04-23 19:15:19 -03:00