Commit Graph

125 Commits

Author SHA1 Message Date
Markus Lampert
39d987bee3 Set object's Restore flag while restoring the Path property. 2017-08-20 17:20:55 -07:00
wmayer
31810ce05a compile Path module with boost < 1.55 2017-08-19 14:30:55 +02:00
luzpaz
31ef895be3 Path: typo fix
[skip ci]
2017-07-26 23:12:01 +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
Markus Lampert
d4e4af52e7 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
c7a6670362 Simple job initialisation from template xml file. 2017-06-21 11:41:34 -07:00
Markus Lampert
a22b314a99 Replaced Tooltable with Tool in the TC;
Added PropertyTool;
Fixed sanity check.
2017-06-21 11:41:34 -07:00
Peter Lama
ce95183fad Path: py3 fixes
Needed for unit tests to pass
2017-06-18 16:33:20 +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
427f69ae40 Path.Area: deep copy on makeSection output 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
5bfc0757c0 Path.Command: fix toGCode() bug introduced in 31781eed
* output 6 digits instead of 5
* fixed negative value output
2017-05-31 23:50:05 +08:00
Zheng, Lei
7574429615 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
d62614d44b Path.Area: make Path.fromShapes optionally return end pos 2017-05-24 09:16:52 +08: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
looooo
3299c363ab py3: path: some fixes to make path py3-compileable 2017-05-06 17:11:52 +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
d6505a0306 Path.Area: return Py_None with ref counting 2017-04-23 19:15:19 -03: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
Zheng, Lei
5613113315 Path.Area: fixed plane finding 2017-04-23 19:15:19 -03:00
Zheng, Lei
e06c34e81b Path.Area: added feedrate to Path.fromShapes
'feedrate' for normal move, and 'feedrate_v' for vertical only move if
not zero. Also added 'verbose' parameter to include complete cooridnate
and feedrate parameter in each motion GCode.
2017-04-23 19:15:19 -03:00
Zheng, Lei
0391e5c70d Path.Area: added orientation param to Path.fromShapes
The 'orientation' parameter allows to enforce loop direction
2017-04-23 19:15:19 -03:00
Zheng, Lei
7211791a2d Path.Area: use normal move for step down 2017-04-23 19:15:19 -03:00
Peter Lama
fa4bebf2e0 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
asiersarasua
4564e4f4a4 Fix typos 2017-04-20 09:49:19 +02:00
Kunda
5aefa825b1 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
Mateusz Skowroński
8eeb4c9ddc Fix building with GCC and Qt5.
issue #0002986
2017-03-28 09:56:54 +02:00
Zheng, Lei
c56b4d6527 Path.Area: fixing boost windows build error
Indirectly caused by the use of boost::geometry on Windows boost 1.55.
See https://svn.boost.org/trac/boost/ticket/9332
2017-03-23 22:04:52 +01:00