Commit Graph

73 Commits

Author SHA1 Message Date
Zheng, Lei
3ef438eaf0 Fix mixed line endings 2022-04-26 12:52:55 -05:00
Chris Hennes
702238a99c Mesh: PR6497 move return statement to new line 2022-03-29 12:36:30 -05:00
wmayer
853454a139 Mesh: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
wmayer
e3ebe4bc9f Mesh: add basic support of 3MF file format 2021-10-22 17:11:16 +02:00
Chris Hennes
7655e7347d [Mesh] Improve NASTRAN input support
Adds support for original-NASTRAN fixed-field-width low-precision GRID
element (the existing code assumed space-delimited input).
2021-09-22 11:58:04 -05:00
wmayer
33f3fa6865 Mesh: define the typenames FacetIndex and PointIndex to distinguish between facet and point related indexes 2021-09-14 23:01:29 +02:00
luz paz
d761c9d2c0 Mesh: Crowdin: fix typo in translation [skip ci]
ref: https://crowdin.com/translate/freecad/561/en-en?filter=basic&value=0#6585564
2021-02-22 08:02:22 +01:00
bitacovir
ddcb7b73f4 Fix mesh icon names of 3 SVG files 2021-02-09 20:10:24 +01:00
bitacovir
2b5bc5d99d Fix mesh icon names of 9 SVG files 2021-02-09 11:57:41 +01:00
bitacovir
73b8995c7b Fix mesh icons names of SVG files 2021-02-08 16:40:58 +01:00
bitacovir
5323de3d0b [UI] Add SVG icon for Mesh SplitComponents 2021-02-08 10:53:18 +01:00
wmayer
ed0a5af0d6 Mesh: [skip ci] fix -Wrange-loop-construct 2020-12-23 17:39:02 +01:00
luz paz
68eba58e64 Mesh: Uniformity fixes [skip ci]
* Sort Mesh.qrc
* Capital Case .svg files
* Rename Tree_Mesh.svg to Mesh_Tree.svg
* Make appropriate changes in the source regarding said name changes
2020-12-13 17:08:22 +01:00
Chris Hennes
ea3ecf4054 Silence Qt/Windows setGeometry Warning
Add the optional Qt::MSWindowsFixedSizeDialogHint parameter to all uses of the QInputDialog::getX static functions to silence a Qt/Windows debug mode warning about QWindowsWindow::setGeometry: Unable to set geometry. Increase the size of the unit calculator to eliminate the same warning. Finally, call adjustSize() on the "Unsaved Changes" dialog to silence the warning.
2020-12-11 09:58:09 +01:00
luz paz
69d4258f76 Mesh: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the Mesh Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
wmayer
20649ec529 Mesh: [skip ci] add command to split a mesh into its components 2020-11-21 11:46:59 +01: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
4badaba523 Mesh: [skip ci] support of asymptote export 2020-08-27 09:51:35 +02:00
bitacovir
6152ad402f Add SVG icons for MeshWB 2020-08-24 16:12:39 +02:00
bitacovir
2d71c51760 Add SVG icon for Mesh FillupHoles command in MeshWB
Many Mesh Design Workbench commands do not have icons. The Mesh FillupHoles command is one of these without a SVG icon for the FreeCAD UI.

This commit adds a SVG file with an icon design for this command. Also, it makes the necessary changes on Command.cpp and Mesh.qrc files.

The new SVG icon follows the FreeCAD Artwork Guidelines:
https://www.freecadweb.org/wiki/Artwork_Guidelines

The icon design keep the style of the existing icons in the Mesh Workbench:
https://wiki.freecadweb.org/Mesh_Workbench

The discussion with the project for a set of SVG icons for the Mesh Design Workbench can be found in the UX/UI Design FreeCAD Forum:
https://forum.freecadweb.org/viewtopic.php?f=34&t=47494
2020-08-17 17:02:06 +02:00
wmayer
1d0664d93d Mesh: add GUI to perform mesh decimation 2020-05-03 15:06:03 +02:00
wmayer
a3bf3d1945 Mesh: add gmsh for remeshing a mesh created from CAD 2020-02-20 18:20:11 +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
e3046be322 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
acd6cb005a [skip ci] tmp. disable viewer selection for several interactive commands in Mesh workbench 2019-11-07 19:23:06 +01:00
wmayer
7415e3602a improve detection of OpenSCAD executable to print a more appropriate error message in case of failures 2019-11-06 16:09:50 +01:00
wmayer
5de6763ed5 add escape sequence when executing as Python string 2019-09-28 23:35:08 +02:00
wmayer
7407fe9ff3 cross-section of meshes 2019-09-21 01:23:28 +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
wmayer
0caa169eb0 mesh segmentation algorithm for surfaces 2018-12-10 00:23:31 +01:00
wmayer
ff6ed27ba9 replace boolean to check for inside/outside cutting with enum values 2018-09-18 18:25:51 +02:00
wmayer
4c8e70b9a3 polish Mesh workbench 2018-09-18 14:53:37 +02:00
wmayer
039e972a4b implement fast mesh rendering for Qt5 port (7x faster) 2018-07-28 11:08:03 +02:00
wmayer
09603ea099 See PR 1309 2018-02-10 11:31:43 +01:00
wmayer
9e91219d0f 0001591: STL export in various units 2017-09-30 23:55:49 +02:00
Kunda
0485edd560 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
wmayer
46f5554c43 command to creation section from plane and mesh 2017-02-19 14:05:00 +01:00
wmayer
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
Stefan Tröger
c5a2419e14 Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
wmayer
b980cf3361 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
wmayer
6313528886 improve obj export of mesh with colors 2016-09-06 17:00:34 +02:00
wmayer
6453040cd8 + fix mesh merge 2016-03-22 11:06:04 +01:00
wmayer
0ea6a2ed0d + removed unneeded pure virtual method getFaces from PropertyComplexGeoData
+ extend interface of ComplexGeoData::getPoints to also return normals if available
2016-03-04 17:16:57 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Mateusz Skowroński
99ca18f541 QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:47 +01:00
wmayer
a4d1dbe5f0 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
967eead27a + split file extension from descriptive text of file format to avoid that invalid translation breaks file dialog
+ add method to make image view unclosable for user
+ fix possible crash in MeshAlgorithm::GetMeshBorder
+ fix possible crash in MeshAlgorithm::ConnectLines
2015-10-06 17:28:52 +02:00