Commit Graph

549 Commits

Author SHA1 Message Date
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
Yorik van Havre
28b51cf28a Merged crowdin translations 2020-04-29 16:08:23 +02:00
Yorik van Havre
693e374f99 Updated source ts files 2020-04-29 15:41:26 +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
0penBrain
e6a7f826fd [Mesh] Deviation preference can't be 0 ; fixes #4171
Prevent user to involuntarily set deviation value to 0 which makes FC to lag
https://forum.freecadweb.org/viewtopic.php?f=3&t=40214
2020-04-08 15:54:24 +02:00
wmayer
1fcab29e98 MeshGui: workaround for bug in Coin3d 2020-03-19 14:17:52 +01:00
wmayer
601ac707b2 Gui: [skip ci] add function to convert Inventor file into STL format 2020-03-18 22:27:24 +01: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
Yorik van Havre
0c1289282b Merged latest translations from crowdin 2020-03-05 11:58:03 -03: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
1cb4625bfd MeshPart: add gmsh as another option to create mesh from shape 2020-02-28 21:15:17 +01:00
wmayer
4f48b2e429 Mesh: [skip ci] refactor RemeshGmsh to use it for other purposes 2020-02-28 16:11:35 +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
wmayer
a3bf3d1945 Mesh: add gmsh for remeshing a mesh created from CAD 2020-02-20 18:20:11 +01:00
wmayer
f6c7648870 Mesh: [skip ci] add methods to create empty KD tree or to add further points 2020-02-10 17:39:36 +01:00
donovaly
f2c83ac46b remove program-specific SVG namespaces
while fixing a SVG export issue for techDraw I noticed that some SVG files have program-dependent (and thus not clean) code in it. These are traces of the programs Sodipodi and Inkscape, like e.g. this line:
inkscape:export-filename="/home/yorik/PartDesign_Groove.png

This is unnecessary and FC should not use program-dependent code in the SVG but use instead plain SVG strictly following the SVG specification.

This PR transforms the few affected SVGs to a plain version.
2020-02-07 07:34:49 -05:00
wmayer
e6a29986eb Mesh: [skip ci] add method to get all facet indices from given point indices 2020-02-04 22:18:02 +01:00
wmayer
ba5e50ada9 Mesh: alternative method for cylinder fit using Levenberg-Marquardt algorithm 2020-02-02 16:30:05 +01:00
wmayer
74680b8a15 Mesh: [skip ci] approximation of cylinder and sphere using WildMagic lib 2020-02-01 19:01:24 +01:00
wmayer
eae645517e Mesh: [skip ci] fix crash in mesh segmentation 2020-02-01 18:59:00 +01:00
wmayer
b0902dbcb7 Mesh: [skip-ci] add method to get curvature info directly from mesh object 2020-01-30 17:22:31 +01:00
wmayer
6d109cd62d Mesh: [skip-ci] fix wrongly computed curvature values for meshes in analysis tool 2020-01-30 17:09:28 +01:00
wmayer
9270322d25 Mod: [skip ci] implementation classes don't inherit from UI classes any more 2020-01-10 16:19:35 +01:00
wmayer
19c37012dd Mesh: [skip ci] refactor MeshTexture class to avoid code duplication 2020-01-10 14:05:42 +01:00
wmayer
a9f820470b fix some const correctness 2019-12-29 17:13:18 +01:00
wmayer
ad95219129 set explicit utf-8 encoding for some Python modules 2019-12-29 14:00:08 +01:00
luz.paz
d923798946 [skip ci] Fix header uniformity for Import, Mesh, Points, Raytracing 2019-12-26 10:10:30 +01:00
luz.paz
06cf1d5b70 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
5022026906 Mesh: [skip ci] handle visbility changes of mesh defects view provider due to side-effects caused in implementation of base class 2019-12-16 18:01:46 +01:00
David James McCorrie
31ac21e065 Mesh: [skip-ci] Fixed wrong Coin3d off-screen renderer backround color type object SbColor -> SbColor4f 2019-12-15 15:33:03 +01:00
wmayer
91f6a5e5ee Mesh: [skip ci] Add static method to get list of supported input/output mesh formats 2019-12-14 15:33:33 +01:00
wmayer
d17b3c68d1 Mesh: In ViewProviderMesh::getVisibleFacets replace SoFCOffscreenRenderer with SoQtOffscreenRenderer to due issues with Indirect GLX on recent Linux systems [skip ci] 2019-12-10 15:03:46 +01:00
wmayer
42196ead39 implement algorithmic solution to determine whether triangle is visible 2019-12-09 20:06:48 +01:00
asapelkin
8bc5b585c8 Used single quotes for single character in string::find algorithm, more efficient 2019-11-21 18:59:43 +01:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
Zheng, Lei
079808b816 Mesh: support multiple context in OpenGLMultiBuffer 2019-11-21 14:24:55 +01:00
Zheng, Lei
4b07117a2e Mesh: fix material leaking when using VBO 2019-11-21 12:06:23 +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
wmayer
a47dd26e07 [skip ci] make mesh/points cutting working for nested view providers 2019-11-09 11:58:54 +01:00
wmayer
e3046be322 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
c4093373c4 [skip ci] for curvature and inspection objects set default selection style to BBOX 2019-11-09 11:21:18 +01:00
wmayer
f2bd624c63 make mesh picking working for view providers underneath a Part container 2019-11-09 11:16:23 +01:00