Commit Graph

176 Commits

Author SHA1 Message Date
wmayer
e623df1eaf Mesh: [skip ci] approximation of cylinder and sphere using WildMagic lib 2020-02-01 19:01:24 +01:00
wmayer
873d42c88b Mesh: [skip ci] fix crash in mesh segmentation 2020-02-01 18:59:00 +01:00
luz.paz
b785920541 [skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing 2019-12-26 10:10:30 +01:00
luz.paz
cc97145e9d Fix various typos [skip ci]
Fixed 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-17 15:13:48 -03:00
wmayer
3fce7da269 Mesh: [skip ci] Add static method to get list of supported input/output mesh formats 2019-12-14 15:33:33 +01:00
asapelkin
875a463923 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
ced8100ab9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
95c22f7c3b [skip ci] fix possible crash in DelaunayTriangulator 2019-11-06 16:46:08 +01:00
luz.paz
30a717beac Fix typos and misc. formatting [skip ci]
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-10-21 16:02:23 -03:00
lorenz
b31469c38d add missing header
ref.: https://forum.freecadweb.org/viewtopic.php?p=336566#p336566
2019-09-25 16:35:15 +02:00
wmayer
0403ba68fa support to load mtl files 2019-09-24 21:36:48 +02:00
wmayer
5d91214e7e Fix regression in Approximation::AddPoints 2019-09-24 16:51:02 +02:00
wmayer
d6d25ae2f3 avoid several implicit conversions, replace several old C-casts with static_cast, do some optimizations 2019-09-20 14:56:36 +02:00
wmayer
63fa1d2c42 avoid several implicit conversions, replace several old C-casts with static_cast 2019-09-19 19:43:10 +02:00
wmayer
2f59bb50eb avoid several implicit conversions, replace several old C-casts, other minor changes 2019-09-18 23:27:54 +02:00
wmayer
54df95baa4 add function to update texture of cut mesh 2019-09-18 23:25:45 +02:00
wmayer
e48c52c480 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
7edcc70282 implement trimming of a mesh with a plane 2019-09-14 17:05:20 +02:00
wmayer
5ffbfedf64 adjust MeshAlgorithm::CheckFacets to changes of ViewProjMethod 2019-09-10 23:22:13 +02:00
luz.paz
50a8e3cf22 Fix misc. source comment typos
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*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller`  
Fix ./src/Tools/fcinfo grammar + whitesapce  
Fix typos in ./src/Mod/Mesh/App/Core/Evaluation.cpp
2019-08-07 20:16:45 -04:00
wmayer
d1d10231b5 Add methods to get intersections of mesh edges, project point on edge 2019-06-27 19:27:12 +02:00
wmayer
cb53719821 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
b89555347f do some code refactoring 2019-05-11 15:14:04 +02:00
wmayer
4d8f85db72 add comment 2019-05-01 13:54:06 +02:00
wmayer
4841be663d improve the check for collapsing edges to avoid to introduce non-manifolds into a mesh 2019-04-24 09:49:33 +02:00
wmayer
da1481a2f3 improve mesh repair functions 2019-04-16 17:25:36 +02:00
wmayer
4082b42f6b improve mesh repair functions 2019-04-12 21:31:46 +02:00
wmayer
3962cb856e fix import of ply meshes with Vs 2017 2019-04-09 14:52:02 +02:00
luz.paz
ad0ee86589 Misc. source comment typos 2019-03-22 10:44:14 -03:00
wmayer
ac92e1e98d extend mesh repair functions 2019-03-13 01:39:27 +01:00
wmayer
afed9ba5d5 PVS: fixes several issues 2019-03-13 01:19:00 +01:00
wmayer
767e951dda PVS: V780 non-passive (non-PDS) type cannot be copied using the memcpy function 2019-03-07 21:40:22 +01:00
luz.paz
cb4a0adf71 Misc. typos
Found via `codespell`
2019-02-08 11:01:24 -02:00
wmayer
52b51c0f5b fix double vs. float problem to solve problems in Mesh.nearestFacetOnRay 2019-01-08 19:13:50 +01:00
wmayer
e3cc5c40fc improve mesh validation functions 2018-12-17 16:14:28 +01:00
wmayer
e0a5f4b57b improve mesh healing functions 2018-12-13 17:31:21 +01:00
wmayer
78df4424b7 fix MeshGeomFacet::IntersectWithPlane 2018-12-11 18:42:47 +01:00
wmayer
e1e86caac1 mesh segmentation algorithm for surfaces 2018-12-10 13:19:27 +01:00
wmayer
d7077f06a7 mesh segmentation algorithm for surfaces 2018-12-10 00:23:31 +01:00
wmayer
1471bb49d2 mesh segmentation algorithm for surfaces 2018-12-08 15:53:58 +01:00
wmayer
dac47b16f5 mesh segmentation algorithm for surfaces 2018-12-07 20:03:44 +01:00
wmayer
bbdf993c07 rework mesh segmentation dialog 2018-12-07 13:13:08 +01:00
wmayer
bff6312263 add security checks when reading BMS files to avoid possible crashes due to corrupted data 2018-11-07 13:51:39 +01:00
wmayer
4768028827 + fix cutting or selecting mesh in perspective projection mode 2018-10-11 10:48:27 +02:00
wmayer
907b6f2a8f improve mesh decimation 2018-10-05 15:07:27 +02:00
wmayer
f626549928 add verifier class to check the result of the polygon triangulation 2018-09-18 21:38:04 +02:00
luz.paz
a10e5aced8 whitespace fixes 2018-08-07 11:13:31 -04:00
luz.paz
424cd49398 Typos and whitespace fixes 2018-08-07 11:13:31 -04:00
wmayer
170708a4f1 Mesh improvements:
+ support of Simple Model Format (smf)
+ improve reading of STL files (reduce by ~70%)
2018-07-26 13:19:35 +02:00
wmayer
989274a331 + Improve mesh selection (precompute projection matrix and use polygon bounding box) 2018-07-25 18:00:42 +02:00