Commit Graph

150 Commits

Author SHA1 Message Date
Zheng, Lei
b6bbc57d08 Path.Area: fix wire join function
This affects open wire operations
2017-12-23 14:36:20 +01:00
Unknown
3df389f5f2 PATH: typo fixes 2017-12-23 14:27:25 +01:00
Zheng, Lei
517ae4dd79 Path.Area: improve code readability
Fix Coverity CID 169508
2017-12-13 12:40:13 +01:00
Unknown
c8c9b76f43 Misc. typos 2017-12-06 20:59:55 +01:00
Mateusz Skowroński
23cdde88e0 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
7249365823 libarea: disable max arc points parameter
It is soly used to limit excessive arc accuracy used by ClipperLib, and
seems to have some negative effect. We disabled it here, and simply rely
on user to choose a sensible arc 'accuracy' parameter.
2017-11-30 11:59:10 +08:00
Zheng, Lei
0cca82b530 Path.Area: honour 'from_center' in offset pocket mode 2017-11-28 12:40:19 -02:00
wmayer
32510bde83 fixes #0003260: Double Quote in tool name is not escaped in FCStd file 2017-11-26 18:39:13 +01:00
Zheng, Lei
54219f151c Path.Area: handle empty wires during sorting 2017-11-19 17:18:28 +01:00
Zheng, Lei
6ad0a1825c Path.Area: replace push_back with emplace_back
For minor performance improvement
2017-11-19 17:18:28 +01:00
Zheng, Lei
dc0f651521 Path.Area: improve coplanar checking performance 2017-11-16 15:20:17 +01:00
Zheng, Lei
4f7bcded78 Path.Area: improve projection algorithm efficiency 2017-11-16 15:20:01 +01:00
Markus Lampert
0e1fb178c5 Making templateAttrs a const method - so exporting doesn't diry the tool 2017-10-22 11:24:58 -07:00
wmayer
8b2fcf3677 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
ba125d42f1 Path.Area: add greedy sort mode 2017-10-09 19:57:08 +02:00
Itai Nahshon
d2f50247ff 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
04530ff516 Path.Area: add line/grid/triangle tool radius compenstation 2017-10-04 17:47:04 +02:00
wmayer
a8a9650816 harmonize show() function of Part, Mesh, Fem, Path and Points modules 2017-09-29 00:35:48 +02:00
Markus Lampert
d1ee60e525 Added version support to all JSON exports. 2017-09-21 10:29:35 +02:00
Markus Lampert
aac6419f9d Added template attrs and setFrom support to Tooltable. 2017-09-21 10:29:35 +02:00
Markus Lampert
c705bcb0f1 Creation of Tool from a templateAttrs dictionary. 2017-09-21 10:29:35 +02:00
Markus Lampert
324dfdd341 Renamed fromTemplate to setFromTemplate. 2017-09-21 10:29:35 +02:00
Markus Lampert
1dd18cc970 Added restore from dictionary to Tool and templateAttrs for their retreival. 2017-09-21 10:29:35 +02:00
wmayer
770c9ce095 fix various coverity issues 2017-09-15 11:48:38 +02:00
Markus Lampert
f2483f2ff0 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
Markus Lampert
0e81583e3f Set object's Restore flag while restoring the Path property. 2017-08-20 17:20:55 -07:00
wmayer
1de1058811 compile Path module with boost < 1.55 2017-08-19 14:30:55 +02:00
luzpaz
e63387f283 Path: typo fix
[skip ci]
2017-07-26 23:12:01 +02:00
Zheng, Lei
d554497ada 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
120b37b0c7 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
90334e0478 Path.Area: handle empty wires without vertex 2017-07-07 11:26:54 +08:00
Zheng, Lei
27aaaf7def Path.Area: fix thickening of pocket path 2017-06-26 22:25:00 +02:00
Markus Lampert
7d80f9012f Changing c-py interface to use 's' instead of 'S' for py 2/3 compatibility; also makes the code simpler. 2017-06-21 11:41:35 -07:00
Markus Lampert
8f64b5e24b Simple job initialisation from template xml file. 2017-06-21 11:41:34 -07:00
Markus Lampert
c4cb45c1b4 Replaced Tooltable with Tool in the TC;
Added PropertyTool;
Fixed sanity check.
2017-06-21 11:41:34 -07:00
Peter Lama
17031e2a24 Path: py3 fixes
Needed for unit tests to pass
2017-06-18 16:33:20 +02:00
Zheng, Lei
294551a2fb Path.Area: fix Path.fromShapes retraction threshold 2017-06-15 14:43:49 -03:00
Zheng, Lei
56f8de75e6 Path.Area: fix plane finding on face shape 2017-06-15 14:43:49 -03:00
Zheng, Lei
561c48acc5 Path.Area: deep copy on makeSection output 2017-06-15 14:43:49 -03:00
Zheng, Lei
d257f1bfa5 Path.Area: section intermediate shape output for debugging 2017-06-15 14:43:49 -03:00
Zheng, Lei
d6e16019fd Path.Area: fixed random wrong section output 2017-06-15 14:43:49 -03:00
Zheng, Lei
c3bd7b6b9b Path.Area: fixed projection tolerance problem 2017-06-12 11:26:39 +02:00
Zheng, Lei
0c8a8733ff Path.Command: fix toGCode() bug introduced in 0e9c1c07
* output 6 digits instead of 5
* fixed negative value output
2017-05-31 23:50:05 +08:00
Zheng, Lei
0e9c1c076e Path.Command: rounding instead of truncate in toGCode
Also changed default Path.Area pareameter ClipperScale to 1e6 which
corresponds to the default 5 digits output of Path.Command toGCode()
2017-05-30 18:49:34 +02:00
Zheng, Lei
ae9f699e20 Path.Area: make Path.fromShapes optionally return end pos 2017-05-24 09:16:52 +08:00
Zheng, Lei
fe8d32854a Path.Area: removed LogLevel from setDefaultParams
Use App.setLogLevel('Path.Area', <level>) instead.
2017-05-24 09:16:52 +08:00
Zheng, Lei
c94ffe1d93 Path.Area: fix side effect on projection 2017-05-24 09:16:52 +08:00
Zheng, Lei
fa00b4f06a Path.Area: use FC tag based logging 2017-05-13 18:52:09 +02:00
Zheng, Lei
39025e4316 Path.Area: fix projection code for OCE 2017-05-13 14:36:42 +02:00
Zheng, Lei
d4c0813e31 Path.Area: fix work plane direction 2017-05-13 14:36:42 +02:00