Commit Graph

527 Commits

Author SHA1 Message Date
looooo
226dd17e5f py3: path: some fixes to make path py3-compileable 2017-05-06 17:11:52 +02:00
Sabin Iacob
6acbdad01d [path] Remove duplicate first drill job in PathHelix 2017-05-02 07:10:00 +03:00
Sabin Iacob
0556edf6f6 [path] Make PathHelix use the new tool controllers 2017-04-30 10:05:18 +02:00
Sabin Iacob
bac7aa9d64 [path] Sort helix drill jobs to improve efficiency 2017-04-29 11:06:41 +03:00
Zheng, Lei
e1fcdcf3bb 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
Sabin Iacob
4a51171593 [path] Add feeds to PathDressupHoldingTags output 2017-04-23 20:56:42 -03:00
Sabin Iacob
afd6057def [path] Set ToolController before calling setup in PathDressupHoldingTags 2017-04-23 20:56:42 -03:00
Sabin Iacob
9df156472a [path] Fix AttributeError when attempting to export holding tags gcode 2017-04-23 20:56:42 -03:00
Zheng, Lei
2bda3a3207 Path.Area: return Py_None with ref counting 2017-04-23 19:15:19 -03:00
Zheng, Lei
c9be3b3676 Path.Area: added Line, Grid, Triangle pocket mode 2017-04-23 19:15:19 -03:00
Zheng, Lei
b623b20c87 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
4680488a7f Path.Area: make XY plane selection explicit 2017-04-23 19:15:19 -03:00
Zheng, Lei
041c403f5d Path.Area: support open path direction control 2017-04-23 19:15:19 -03:00
Zheng, Lei
e8704891f4 Path.Area: change Distance() to SquareDistance() 2017-04-23 19:15:19 -03:00
Zheng, Lei
17a57a3165 Path.Area: added outline projection support 2017-04-23 19:15:19 -03:00
Zheng, Lei
5eba2cb851 Path.Area: replaced sort_Edges with WireJoiner 2017-04-23 19:15:19 -03:00
Zheng, Lei
7f25fe6ddb Path.Area: fixed plane finding 2017-04-23 19:15:19 -03:00
Zheng, Lei
1094dcb47b libarea: fixed open curve clipping 2017-04-23 19:15:19 -03:00
Zheng, Lei
9e3f461f43 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
13e4a1bafb 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
b26945b0ad Path.Area: use normal move for step down 2017-04-23 19:15:19 -03:00
Peter Lama
a75a98ef27 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
ea3d86b735 Fix typos 2017-04-20 09:49:19 +02:00
Sabin Iacob
e12be7aaad [path] Set ToolController before calling setup in PathDressupHoldingTags 2017-04-20 09:41:25 +02:00
Sabin Iacob
a547cebcf1 [path] Fix AttributeError when attempting to export holding tags gcode 2017-04-20 09:41:09 +02:00
Sabin Iacob
3ef2e05764 path: Look up the parent job, set units accordingly for each selected object 2017-04-07 16:02:43 +02:00
Sabin Iacob
218482e1f5 Make linuxcnc_post use the job unit system and output <unit>/min 2017-04-07 16:02:43 +02:00
Gilles DOFFE
428c56788e path: use findParentJob() in getToolControllers()
When applying dressup, the dressup became the new parent of the path feature object.
Then, in the getToolControllers() function, obj does not point systematically to the parent job.
An existing function findParentJob() is more suitable as it looks for the job also into grandparents.
2017-04-04 14:23:20 +02:00
Ian Rees
a079b415ae Path: Use Deflection param for PathSurface meshes
The MaxLength option is quite slow and doesn't give as well-defined of
control over meshing accuracy as the deflection parameter.
2017-04-02 20:33:54 +12:00
Ian Rees
c913481ec1 Path: Add Property to Job for geometry tolerance 2017-04-02 19:58:50 +12:00
Zheng, Lei
38d41f935c PathGui: added selection style preference 2017-04-01 11:09:03 -03:00
Kunda
784edd3f82 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
sliptonic
defb75b315 path: enable stock 2017-03-30 08:14:51 -05:00
Gilles DOFFE
5af90ff7b1 path: make dogbone dressup using new tool controller 2017-03-28 11:26:22 +02:00
Mateusz Skowroński
c5b7c987c4 Fix building with GCC and Qt5.
issue #0002986
2017-03-28 09:56:54 +02:00
Zheng, Lei
244492f629 PathGui: restore Path default color 2017-03-25 01:55:30 +08:00
wmayer
abe15bbd83 fix signed vs unsigned warning 2017-03-23 22:18:48 +01:00
Zheng, Lei
15e3da350c 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
Zheng, Lei
dbf30308e5 Path.Area: fixing boost::geometry compilation issue 2017-03-23 22:04:52 +01:00
Zheng, Lei
1d64d1e91c Path.Area: wire sorting fix and improvement
Wire sorting no longer uses libarea. Performance improvement using
boost::geometry::rtree
2017-03-23 22:04:52 +01:00
Zheng, Lei
dbfc65d535 Path.Area: improved FeatureAreaPy error message 2017-03-23 22:04:52 +01:00
Zheng, Lei
40033ac3e8 Path.Area: avoid FeatureArea recompute on doc load 2017-03-23 22:04:52 +01:00
Zheng, Lei
b0e9d4b213 Path.Area: fixed getShape with index 2017-03-23 22:04:52 +01:00
Zheng, Lei
d447257e0b Path.Area: changed section transformation 2017-03-23 22:04:52 +01:00
Zheng, Lei
b49a8ec376 Path.Area: improved section tolerance
Previously, a small offset in the same direction of section is added to
the section height to avoid tagent plane cut. Now we'll retry by adding
offset in the oppsite direction if the first attemp fails.
2017-03-23 22:04:52 +01:00
Zheng, Lei
796a8f3cd5 Path.Area: support arc plane selection 2017-03-23 22:04:52 +01:00
Zheng, Lei
80850e176d Path.Area: improved section plane tolerance issue 2017-03-23 22:04:52 +01:00
Zheng, Lei
abd4f6a424 Path.Area: refined properties in FeatureArea 2017-03-23 22:04:52 +01:00
Zheng, Lei
102998208f Path.Area: support negative stepdown
Negative stepdown means going from bottom up. Some machine may have
reversed Z axis.
2017-03-23 22:04:52 +01:00
Zheng, Lei
31e82f089c Path.Area: fixed handling of shape with placement 2017-03-23 22:04:52 +01:00