Commit Graph

79 Commits

Author SHA1 Message Date
wmayer
28ae0831cb Mesh: Apply clang-format 2023-09-23 14:03:11 +02:00
wmayer
7f49080952 Mesh: modernize C++: use range-based for loop 2023-08-15 10:56:30 +02:00
wmayer
2b3d48176c Mods: modernize C++: redundant void arg 2023-08-05 16:50:31 +02:00
Andrew
bebadad9bf clean Mod/Mesh from #if 0 2023-03-27 11:22:21 +02:00
Uwe
d33429c8af [Mesh] Gui: A-P: remove unused includes
- also some sorting
2022-12-04 05:24:24 +01:00
luz paz
c174e063f3 Mesh: remove trailing whitespace 2022-11-14 21:37:03 -06:00
Zheng, Lei
8bec44934b Fix mixed line endings 2022-04-26 12:52:55 -05:00
Chris Hennes
3ecd16e0bd Mesh: PR6497 move return statement to new line 2022-03-29 12:36:30 -05:00
wmayer
59e605e6b8 Mesh: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
wmayer
5abe0ba77f Mesh: add basic support of 3MF file format 2021-10-22 17:11:16 +02:00
Chris Hennes
63369a9c38 [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
2295c4b9a3 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
a7084b49dd 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
cc02ebb57f Fix mesh icon names of 3 SVG files 2021-02-09 20:10:24 +01:00
bitacovir
5983f5d87b Fix mesh icon names of 9 SVG files 2021-02-09 11:57:41 +01:00
bitacovir
9d343219b0 Fix mesh icons names of SVG files 2021-02-08 16:40:58 +01:00
bitacovir
71f378fd70 [UI] Add SVG icon for Mesh SplitComponents 2021-02-08 10:53:18 +01:00
wmayer
e173be6f86 Mesh: [skip ci] fix -Wrange-loop-construct 2020-12-23 17:39:02 +01:00
luz paz
fa7bf5e0ff 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
533814dd0f 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
7dd0601f82 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
34fa5c84b2 Mesh: [skip ci] add command to split a mesh into its components 2020-11-21 11:46:59 +01:00
wmayer
c0588f0c41 Mesh: [skip ci] support compressed X3D output 2020-08-29 14:56:41 +02:00
wmayer
6f5c2179d0 Mesh: [skip ci] improve color support for X3D and X3DOM output 2020-08-29 14:23:38 +02:00
wmayer
4da114a8c7 Mesh: [skip ci] support of WebGL/X3D export 2020-08-28 18:06:55 +02:00
wmayer
7ae2d7e495 Mesh: [skip ci] support of asymptote export 2020-08-27 09:51:35 +02:00
bitacovir
6feb1d1cee Add SVG icons for MeshWB 2020-08-24 16:12:39 +02:00
bitacovir
a52ab499c0 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
3bef7ba7c9 Mesh: add GUI to perform mesh decimation 2020-05-03 15:06:03 +02:00
wmayer
a2adf2110b Mesh: add gmsh for remeshing a mesh created from CAD 2020-02-20 18:20:11 +01:00
wmayer
8fdb29c842 Mod: [skip ci] implementation classes don't inherit from UI classes any more 2020-01-10 16:19:35 +01:00
wmayer
ae5a6a2350 [skip ci] tmp. disable selection when switching to curvature or inspection info modus 2019-11-09 11:31:51 +01:00
wmayer
d36de59c32 [skip ci] tmp. disable viewer selection for several interactive commands in Mesh workbench 2019-11-07 19:23:06 +01:00
wmayer
f2b7f2805f 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
8c97f81877 add escape sequence when executing as Python string 2019-09-28 23:35:08 +02:00
wmayer
7adbb4322f cross-section of meshes 2019-09-21 01:23:28 +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
d7077f06a7 mesh segmentation algorithm for surfaces 2018-12-10 00:23:31 +01:00
wmayer
644cfa06bb replace boolean to check for inside/outside cutting with enum values 2018-09-18 18:25:51 +02:00
wmayer
2290a37a83 polish Mesh workbench 2018-09-18 14:53:37 +02:00
wmayer
424c78d451 implement fast mesh rendering for Qt5 port (7x faster) 2018-07-28 11:08:03 +02:00
wmayer
d777fcc099 See PR 1309 2018-02-10 11:31:43 +01:00
wmayer
fc280ae1e8 0001591: STL export in various units 2017-09-30 23:55:49 +02:00
Kunda
0192f2bf20 source typo fixes pt2 (only on py3 merged code) 2017-02-28 17:01:11 +01:00
wmayer
8c8f3ccb5c command to creation section from plane and mesh 2017-02-19 14:05:00 +01:00
wmayer
2d8e70085e rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01:00
Stefan Tröger
6fa964c53f Extensions: Introduce classes and port App groups 2016-10-08 12:48:34 +02:00
wmayer
f6e1cb6025 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
wmayer
2c226343cb improve obj export of mesh with colors 2016-09-06 17:00:34 +02:00
wmayer
37fb31b8fb + fix mesh merge 2016-03-22 11:06:04 +01:00