Commit Graph

609 Commits

Author SHA1 Message Date
wmayer
d4c0baba0c C++11: replace deprecated function std::bind2nd with lambda functions 2020-10-15 14:46:02 +02:00
wmayer
3051b75267 Gui/Mesh: [skip ci] make sure object fits into canvas 2020-09-08 15:12:09 +02:00
wmayer
f82b570832 Gui/Mesh: [skip ci] add Iso view position button to Web 3d page 2020-09-07 17:43:04 +02:00
wmayer
6019f6c69f Gui/Mesh: [skip ci] put view positions at top of Web 3d page 2020-09-07 14:18:01 +02:00
sgrogan
41da46a682 fix build on Win 2020-09-01 17:57:36 +02:00
wmayer
9f9d8e1523 Mesh: [skip ci] allow to set custom size for asymptote output 2020-08-29 19:05:28 +02:00
wmayer
66617c5e93 Mesh: [skip ci] support compressed X3D output 2020-08-29 14:56:41 +02:00
wmayer
f50c4a9e26 Mesh: [skip ci] improve color support for X3D and X3DOM output 2020-08-29 14:23:38 +02:00
wmayer
c06a4d462b Mesh: [skip ci] support of WebGL/X3D export 2020-08-28 18:06:55 +02:00
wmayer
dbcf003f34 Mesh: [skip ci] fix bug in binary PLY export for mesh with colors 2020-08-27 15:11:30 +02:00
wmayer
b0f78f5a3d Mesh: [skip ci] improve support of asymptote export 2020-08-27 15:10:23 +02:00
wmayer
dd7afa72de Mesh: [skip ci] adjust MeshInput::supportedMeshFormats() 2020-08-27 14:08:04 +02:00
wmayer
58a92681cf Mesh: [skip ci] improve support of asymptote export 2020-08-27 12:53:36 +02:00
wmayer
50bbd52281 Mesh: [skip ci] improve support of asymptote export 2020-08-27 11:37:15 +02:00
wmayer
4badaba523 Mesh: [skip ci] support of asymptote export 2020-08-27 09:51:35 +02:00
wmayer
f09d48d0fe Mesh: [skip ci] fix bug in Mesh.export when passing a custom tolerance value 2020-08-26 11:06:43 +02:00
wmayer
cd5341001e remove superfluous includes of iostream, use iosfwd instead 2020-07-28 15:22:23 +02:00
wmayer
44f42a8e2c LGTM: [skip ci] fix: Declaration hides parameter
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +02:00
wmayer
d5d7d65bfc LGTM: [skip ci] fix: Large object passed by value 2020-07-24 18:32:31 +02:00
wmayer
1d7299502e PVS: V1023 A pointer without owner is added to the container by the 'emplace_back' method. A memory leak will occur in case of an exception. 2020-07-18 10:59:28 +02:00
wmayer
8082def6b5 Mesh: [skip ci] support of loading colored mesh segments 2020-07-06 12:17:15 +02:00
wmayer
f3b460e42e boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
ab36a05fcd Fix -Wdeprecated-copy 2020-06-12 17:51:33 +02:00
wmayer
4ec45b545e boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
wmayer
27b6066beb clang/gcc/cmake: move handling of suppressed deprecated-copy warnings from source file to CMake file to more easily support gcc 10 2020-06-09 15:30:42 +02:00
wmayer
7ce076b347 Mesh: [skip ci] fix regression in PlaneSurfaceFit::Initialize 2020-06-04 19:29:00 +02:00
Adrian
90bc7789d2 Improve Axis Cross behavior and expose parameter to 3D View preferences 2020-05-30 11:17:38 +02:00
wmayer
0f5254a4a7 Mesh: [skip ci] perform initial plane fit inside PlaneSurfaceFit::Initialize 2020-05-28 11:44:05 +02:00
wmayer
300e887480 Handle clang 10 warnings:
+ fix -Wtautological-bitwise-compare
+ fix -Wimplicit-int-float-conversion
+ fix -Wmisleading-indentation
+ fix -Wrange-loop-construct
+ suppress -Wdeprecated-copy of 3rd party libs
2020-05-25 15:34:43 +02:00
wmayer
99ab82ed0b Mesh: [skip ci] cleanup cylinder fit 2020-05-12 15:11:01 +02:00
wmayer
0621cfa9d8 remove deprecated std::unary_function 2020-05-11 13:55:54 +02:00
wmayer
618089d6d8 remove deprecated std::binary_function 2020-05-11 13:46:37 +02:00
Tobias Czauderna
c2818d9159 Mesh: IDTF export, resource name used should exactly match name of existing resource 2020-05-07 13:51:26 +02:00
wmayer
3dca72e0f0 Mesh: [skip ci] improve cylinder fit 2020-05-07 12:26:44 +02:00
wmayer
33aafd1e39 Mesh: [skip ci] improve cylinder fit 2020-05-06 23:25:18 +02:00
wmayer
84f9b9dec6 Mesh: [skip ci] allow to pass target number to Python function Mesh.decimate() 2020-05-03 15:25:48 +02:00
wmayer
2ac739e493 Mesh: add overloaded mesh decimation to set target number of triangles 2020-05-03 15:04:50 +02:00
luz.paz
d8b41f70d6 [skip-ci] Fix typos in Draft, Mesh, and src/Tools
Found via codespell v1.17.0.dev0  
```
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,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,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
```
2020-04-30 11:40:38 +02:00
wmayer
9e94a4d030 Mesh: [skip ci] improve cylinder fit 2020-04-29 15:31:19 +02:00
wmayer
bc107eacc8 Mesh: [skip ci] fix computation of standard deviation 2020-04-27 17:41:38 +02:00
wmayer
be47670c6a Mesh: [skip ci] implement initial guess of cylinder axis 2020-04-21 19:31:48 +02:00
luz.paz
0c326f094f [skip ci] fix documentation typos
Found via codespell v1.17.0.dev0  
```
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,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,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
```
2020-04-20 12:59:09 +02:00
wmayer
1318a73646 Mesh: [skip ci] add sphere and cylinder fitting algorithms 2020-04-16 14:58:30 +02:00
luz.paz
8624564469 [skip ci] Fix typos
Found via `codespell`
2020-03-09 16:23:26 +01:00
wmayer
3eb8555cf3 ReverseEngineering: approximation of a 2-degree polynomial surface and converting it into a Bezier surface 2020-03-07 14:21:57 +01:00
wmayer
cda6628f14 ReverseEngineering: improve mesh segmentation 2020-03-04 23:04:06 +01:00
wmayer
8b3c31170b ReverseEngineering: implement mesh segmentation workflow 2020-03-03 21:27:31 +01:00
wmayer
f95dc3588d Mesh: change MeshSegmentAlgorithm::FindSegments to accept shared instead of raw pointers 2020-03-03 21:27:31 +01:00
wmayer
33e87d5b2b Mesh: change pointer to mesh object when copying or swapping segments 2020-02-27 18:45:35 +01:00
wmayer
03dc6edb99 Mesh: [skip ci] improve writing mesh formats in ASCII format 2020-02-25 21:30:01 +01:00