Commit Graph

310 Commits

Author SHA1 Message Date
wmayer
0aa0f1c31f fix build failure: add export mscro, add header 2019-10-03 01:32:33 +02:00
Markus Lampert
e1e095da35 Added copyright notice to source files. 2019-09-30 22:20:54 -07:00
Markus Lampert
84b23d3e90 Add BoundBox property to Path, usable without a gui. 2019-09-30 18:34:57 -07:00
Markus Lampert
66e9cf900a Split walking and segmenting a path into its own class so it can be used by other algorithms, not just visualisation 2019-09-30 18:34:57 -07:00
wmayer
a247b7e6a5 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
28f74290b2 fix -Wreturn-std-move 2019-09-07 15:19:28 +02:00
wmayer
203782a091 fix -Wunused-variable 2019-09-02 15:55:58 +02:00
Daniel Wood
a6a7e045ab Remove unused function definition 2019-08-27 07:15:23 +01:00
Dubstar_04
51f96a40fc Allow multiple Tool Tables
Allow path to hold multiple tool tables
2019-08-26 07:59:09 +01:00
Dubstar_04
c2245be907 Tidy up includes and whitespace 2019-08-26 07:59:09 +01:00
Dubstar_04
3cb21f0e56 Seperate ToolTable and Tool implementations
Seperate the tooltable and tool implementations.
2019-08-26 07:59:09 +01:00
Zheng, Lei
d93259e238 Path changes
* Relaxed valid base shape requirement, as long as it can return a
  shape using part.getShape()

* Improve ViewProviderPath performance by sharing the same selection
  observer

* Relocate libarea binary installation
2019-08-17 15:15:48 +02:00
Yorik van Havre
8048f93627 Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
wmayer
85270f5cd3 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
Zheng, Lei
c120549275 Path: improve AreaPy exception handling 2019-06-11 13:24:00 +08:00
Zheng, Lei
5ee4c4dbdb Path: fix Area tolerance problem 2019-06-11 13:23:33 +08:00
wmayer
222ae7305f revert 3a133ee0 to fix build failure 2019-05-04 12:36:00 +02:00
Abdullah Tahiri
3a133ee0cb Path: Add libarea to PCH 2019-05-03 23:15:09 +02:00
Abdullah Tahiri
b22d59c0aa PCH: Path App 2019-05-03 23:15:09 +02:00
luz.paz
0238906d38 Misc. typo and whitespace fixes
Found via `codespell`
2019-04-30 10:15:59 -03:00
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