luz.paz
c985f9ee79
Misc typos and whitespace fixes
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*`
2019-03-31 11:42:36 +02:00
wmayer
f611102db3
PVS: V794 The assignment operator should be protected from the case of 'this == ...'
2019-03-13 12:38:46 +01:00
wmayer
2b0d3477cb
fix copy-constructor of Path::Area class
2019-03-03 15:51:07 +01:00
sliptonic
96dee91d5e
fixes #3665
...
Applying patch from jurij
2019-01-22 20:26:59 +01:00
luz.paz
86078f6bae
Path: Misc. comment typo and whitespace fixes
2019-01-22 20:26:58 +01:00
wmayer
3ba0772d97
handle C++ exception in Python interface
2019-01-03 12:19:37 +01:00
wmayer
f9e487e4b2
Replace Base::Exception with appropriate subclass
2018-11-14 17:47:43 +01:00
Zheng, Lei
f2ddb64fa1
Path.Area: minor optimization
2018-11-06 12:02:12 -03:00
Zheng, Lei
a345669b38
Path.Area: fix default parameter initialization
2018-11-06 12:02:12 -03:00
luz.paz
f976a4f734
Misc. typos and whitespace fixes
...
Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ../fc-word-whitelist.txt` and `grep`
2018-10-25 11:06:28 -03:00
Zheng, Lei
35f6a4fa72
Path.Area: fix offset pocket mode
2018-09-26 17:02:36 +02:00
wmayer
4a717a8a44
Make destructors of all generated Py class protected
...
This is to avoid to create an object on the stack and thus to clutter Python's reference counting mechanism
2018-09-19 18:22:22 +02:00
wmayer
fc8984ae7c
CMP0050: make Path module aware of cmake policy
2018-08-20 19:33:12 +02:00
wmayer
3ffd435526
move cmake policy CMP0050 to new style
2018-08-19 13:59:42 +02:00
wmayer
68f6c82eb1
fix -Wcast-function-type
2018-08-19 13:11:08 +02:00
Zheng, Lei
1cbd5cc994
Path.Area: add PocketLastStepover/LastStepover parameter
2018-08-08 13:54:58 +02:00
luz.paz
baa6d89328
Typos and whitespace fixes
2018-08-07 11:13:31 -04:00
luz.paz
0576524144
Misc. code comment typo fixes
...
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip="*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./.git,./src/zipios++"`
2018-07-27 10:39:43 -03:00
Markus Lampert
0c71bc9f93
Consolidated path tool editor and added customized support for endmill, drill and v-bit.
2018-07-06 22:08:46 -07:00
luz.paz
7a09a5774e
More misc. typos
2018-05-19 12:17:52 -04:00
luz.paz
6e64b4f75d
Misc. typos
2018-05-19 12:06:34 -04:00
Markus Lampert
6fe32862ba
Maintain center of rotation for compound objects.
2018-05-11 10:18:56 -03:00
Markus Lampert
49d016e2ae
Fixed inch scaling
2018-05-11 10:18:56 -03:00
Markus Lampert
e637bfda25
Added center property to Path to deal with rendering rotational axis.
2018-05-11 10:18:56 -03:00
Markus Lampert
7ec797757b
Added support for G20/G21 to g-code import.
2018-05-11 10:18:56 -03:00
luz.paz
5f7df347f8
Path: misc. source comment typos
2018-04-25 11:03:10 +02:00
wmayer
840c9e8b3c
prepare for PyCXX 7.0
2018-04-18 19:20:50 +02:00
wmayer
3ca2a408fb
Fix invalid Python object error
...
Example below led to a crash:
import Path
v = Path.Tool(name='v', diameter=5.6)
tt = Path.Tooltable()
tt.addTools(v)
attrs = tt.templateAttrs()
uu = Path.Tooltable(tt.templateAttrs())
del attrs
2018-03-30 18:39:55 +02:00
Zheng, Lei
b81f4694b1
Path.Area: work around for OCCT discretization bug
...
See code comments for more details.
2018-03-21 12:14:58 +01:00
Zheng, Lei
67e3bb9d1d
Path.Area: fix linux build
2018-03-03 11:19:36 -03:00
Zheng, Lei
7f891ebeae
Path.Area: fix self intersect wire issue
...
Self intersected wire may cause a loop, and BRepBuilderAPI_MakeWire may
mistakenly consider the wire to be closed. And this makes
BrepTools_WireExplorer unhappy and cause it to skip edges. We now use
ShapeAnalysis_FreeBounds to connect edges to wires.
2018-03-03 11:19:36 -03:00
Zheng, Lei
66997448f5
Path.Area: arc fix to work around OCCT bug
2018-02-24 10:44:55 -03:00
wmayer
738b904592
Fix invalid Python object error
...
Example below led to a crash:
import Path
t = Path.Tool(name='t', diameter=1.2)
tt = Path.Tooltable()
tt.setTool(3, t)
attrs = tt.templateAttrs()
del attrs
2018-02-11 16:04:17 +01:00
wmayer
1e0d4b7a5c
fix warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
2018-02-10 12:18:33 +01:00
pekkaroi
1402e39ba0
Path: Consolidate available tool types and material types to one place. Fixes issue #3335
2018-02-01 22:16:46 +01:00
Zheng, Lei
7e5d2bd92f
Path.Area: make wire explode respect arc accurarcy
2018-01-26 18:53:09 +01:00
luz.paz
383825e9cf
Path: libarea typos
...
Source and comment typos
2018-01-24 13:08:57 -05:00
Zheng, Lei
8f84087e6f
Path.Area: respect zero start point when generating path
2018-01-23 19:49:58 +01:00
Yorik van Havre
fb8875df08
Path: Indicate fromShape as deprecated - issue #2786
2018-01-12 17:06:30 -02:00
luz.paz
a35dd3feea
Typos
...
The stepcode typos aren't to be found upstream. Recomend we merge nonetheless.
2018-01-08 21:07:00 +01:00
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