Commit Graph

955 Commits

Author SHA1 Message Date
sliptonic
697fd74bb3 Path: Convert Contour and MillFace to use PathArea 2017-05-31 23:38:59 +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
Sabin Iacob
6fbeead3fb Path: use the actual values instead of absolute values when calculating distance 2017-05-27 19:52:21 -03:00
Sabin Iacob
2c862f0f72 Path: add zmax to the job weight so we drill the holes that are closer to the surface first 2017-05-27 19:52:21 -03:00
Sabin Iacob
d0bad0a3fc Path: re-add the fix from https://github.com/FreeCAD/FreeCAD/pull/725 2017-05-27 19:52:21 -03:00
Sabin Iacob
bed4255b0d Path: make PathUtil.sort_jobs more generic, allow tuning job weights 2017-05-27 19:52:21 -03:00
Yorik van Havre
2a2ab3c4ef Updated translations 2017-05-25 10:04:05 -03: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
looooo
ef22d5202d py3: define xrange for python3
this is done in files where the xrange is used.
replace this with range once python2 is not supported anymore.
issue 0000995
2017-05-18 15:56:09 +02: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
Zheng, Lei
a0e280e961 Path.Area: outline now supports solid and non-planar faces 2017-05-13 14:36:42 +02:00
Zheng, Lei
dd36a9fc45 Path.Area: force CW orientation on pocket mode offset 2017-05-13 14:36:42 +02:00
Zheng, Lei
997200d3b4 Path.Area: add parameter 'Outline' to remove inner holes 2017-05-13 14:36:42 +02:00
Zheng, Lei
9120d6db77 Path.Area: fix path orientation setting 2017-05-13 14:36:42 +02:00
Zheng, Lei
2d23673dd5 Path.Area: rename Clearance parameter to ResumeHeight 2017-05-13 14:36:42 +02:00
Zheng, Lei
a1e8bb13eb Path.Area: fixed zigzag pocket mode 2017-05-13 14:36:42 +02:00
Pekka Roivainen
2b42295391 Path: PathDrilling updates
-Log Level to INFO
-PEP8 formatting
-move sort_jobs to PathUtils
2017-05-10 22:57:14 +02:00
Pekka Roivainen
e0ed65eeb1 Some input field validating 2017-05-10 22:57:14 +02:00
Pekka Roivainen
69bbd95ef2 Change a button text to a more sensible one 2017-05-10 22:57:14 +02:00
Pekka Roivainen
3e7cab0297 Polishing PathDrilling 2017-05-10 22:57:14 +02:00
Pekka Roivainen
5150ea3a3e Added support for Arch Panels. Added possibility to add custom features to drill 2017-05-10 22:57:14 +02:00
Pekka Roivainen
b4ae9b69b2 Drilling refactoring and cleanup 2017-05-10 22:57:14 +02:00
Pekka Roivainen
0b8b5768cb enable removing of drilled features in BaseList. Activate Find All button 2017-05-10 22:57:14 +02:00
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