Commit Graph

142 Commits

Author SHA1 Message Date
luz.paz
379d041664 Fix typos and some trailing whitespace
Found via:  
```
codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml
```
2019-12-03 12:22:59 +01:00
asapelkin
f13a7627ae used make_shared and make_unique for creating shared pointers 2019-11-21 18:51:43 +01:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
howetuft
4b5ca31149 Fix -Wclass-memaccess warning
Replace C-style memset with C++ value-initialization/assignment (smarter and safer: see https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#slcon3-avoid-bounds-errors)
2019-11-18 12:32:27 +01:00
howetuft
b858757bb2 Fix -Wdeprecated-copy warnings (rule of 5/3/0)
Fix -Wdeprecated-copy warnings in various places. Consists in enforcing
rule of five/three/zero (https://en.cppreference.com/w/cpp/language/rule_of_three)
mainly by deleting redundant copy constructors or copy assignment operators
that replicate default constructors/operators, or more rarely by adding
missing copy/move constructors/operators.
See also https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c20-if-you-can-avoid-defining-default-operations-do
2019-10-20 17:02:17 +02: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
kreso-t
3a98f43e0e PathAdaptive: Increased accuracy for small tools 2019-09-07 20:00:35 +02:00
luz.paz
f22ae848ea Fix misc. typos, whitespace, and http:// to https:// issues 2019-09-03 11:11:43 -03: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
kreso-t
8a3434676d PathAdaptive: bugfix
fix for "path to nowhere" that occurs on some enviroments
2019-07-23 23:07:34 +02: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
wmayer
6462005da1 fix some compiler warnings 2019-05-26 14:35:09 +02:00
lo
04705812a3 cmake: manually add dynamic_lookup flag to area-target 2019-05-24 14:37:33 +02:00
lo
9369816f3c cmake: add option to disable linking of python extension modules to python-libraries 2019-05-24 14:37:33 +02:00
MA-DEVELOP\apeltauer
473f7ff011 pybind11 mod 2019-04-04 23:37:12 +02:00
luz.paz
50c82c2b91 Misc. source comment typos 2019-03-22 10:44:14 -03: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
8d8255981f PVS: V730 Not all members of a class are initialized inside the constructor 2019-03-12 18:33:25 +01:00
wmayer
519849de89 fix -Wmaybe-uninitialized 2019-03-03 15:04:24 +01:00
wmayer
df3853738e fix several Py3 issues 2019-01-03 18:11:37 +01:00
kreso-t
5eeff9d17f Path: Adaptive - bugfix
fix for path cleaning, related to uncleared regions
2018-12-11 09:10:08 -03:00
wmayer
b8ed93605d Fix scan coverity issues:
CID 184299:  Null pointer dereferences  (FORWARD_NULL)
CID 184297:  Error handling issues  (UNCAUGHT_EXCEPT)
CID 184296:  Uninitialized members  (UNINIT_CTOR)
CID 184292:  Uninitialized members  (UNINIT_CTOR)
2018-11-13 13:20:16 +01:00
Zheng, Lei
f2ddb64fa1 Path.Area: minor optimization 2018-11-06 12:02:12 -03:00
kreso-t
976e804e2c Path: Adaptive - fix for path cleaning
- fix for side-effect introduced by last change
(completely collinear paths were filtered out)
2018-10-29 23:29:08 +01:00
kreso-t
c2f2db8b56 Path: Adaptive - finishing path improvements
- fixed bug in path cleaning (artifacts on the finish path)
- increased path discretization resolution
2018-10-29 10:28:54 -03:00
kreso-t
cc0dbb58e5 Path: Adaptive - adjustments to path smoothing 2018-10-04 16:23:20 +02:00
kreso-t
d1eb5f19a8 Path: Adaptive - Small adjustment to link path cleaning 2018-09-29 18:12:45 +02:00
kreso-t
9a2338a2cf Path: Adaptive - small performance improvement
- related to linking path smoothing
2018-09-29 18:12:28 +02:00
kreso-t
a9dfb16998 Path: Adaptive - improvements and bug fixes
- more accurate path smoothing
- fix for missing helix lead-in in some cases
- fix for cleaning of helix center point
- increased max allowed step-over to 75%
2018-09-29 18:12:09 +02:00
kreso-t
1e53a8f479 Fix for crash on windows env. 2018-09-26 17:05:29 +02:00
kreso-t
27f9a69f24 Path: Adaptive - small improvement
- tendency to join cuts when possible
2018-09-26 17:05:05 +02:00
kreso-t
ac6eebe7b9 Path: Adaptive - enhancements and bug fixes
- more accurate path cleaning
- fix for uncleared area remaining
- linking paths smoothing
2018-09-23 10:45:45 +02:00
kreso-t
96e2f44e28 Path: Adaptive - fix for profiling operation
- improved handling for sharp corners for profiling op.
2018-09-19 18:29:18 +02:00
kreso-t
de5ad52415 Path: Adaptive - enhancements and bug fixes
- cleanup & spelling corrections
- lead-in/lead-out improvements
- safer transition of linking path into lead-in/cut
- self-intersection check for keep tool down path
- additional perf. optimisations by parameter tuning
2018-09-19 18:28:48 +02:00
kreso-t
ee128a32fd Fix for compiler warnings 2018-09-17 09:57:47 +02:00
kreso-t
e9e27656be Path: Adaptive - small enhancement
- improved handling in spiky corners
2018-09-17 09:57:47 +02:00
kreso-t
46cd140c8b Path: Adaptive - performance optimization for larger models
- utilizing bounding boxes
- changed the alg. for resolving tool down linking paths,
   resolution is no longer based on clipper offsets as
   offset alg. tends to become slow
- new tool down linking alg. also should be better in finding
   shorter linking paths
- lead-in lead-out improvements
2018-09-17 09:57:46 +02:00
luz.paz
d1f1230ef5 Typo and whitespace fixes
Found via `codespell -q 3 -I ../fc-word-whitelist.txt --skip=".git,*.ts,*.po,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/zipios++" -L "entires,fle,actuall"`
2018-09-15 19:13:52 +02:00
wmayer
712012678f fix some MSVC & clang warnings 2018-09-11 11:02:43 +02:00
kreso-t
ba6132c4b4 Path: Adaptive - fix for convetional mode detection 2018-09-11 11:02:43 +02:00
kreso-t
e69571dcf3 Path: Adaptive - fix for offset glitches 2018-09-11 11:02:43 +02:00
kreso-t
43ee740ef7 Path: Adaptive - prepping the PR 2018-09-11 11:02:43 +02:00
kreso-t
90cd7cb23a Path: Adaptive - fixes 2018-09-11 11:02:42 +02:00
kreso-t
78e6cb30b6 Path : Adaotive - fix for finishing pass supression outside stock 2018-09-11 11:02:42 +02:00
kreso-t
9bb3576f6d Path: Adaptive - fixes 2018-09-11 11:02:42 +02:00
kreso-t
f4dec2ece6 Path: Adaptive - fix 2018-09-11 11:02:42 +02:00
kreso-t
7b1f384982 Path: Adaptive -fix 2018-09-11 11:02:41 +02:00
kreso-t
202ace41a5 Path: Adaptive - keep tool down ratio option + bugfixes 2018-09-11 11:02:41 +02:00
kreso-t
53bbbe3eca Path: Adaptive - bug fixes 2018-09-11 11:02:41 +02:00
kreso-t
00085edd33 Path: Adaptive - linking optimization - chaining by distance 2018-09-11 11:02:41 +02:00