Commit Graph

627 Commits

Author SHA1 Message Date
Chris Hennes
27a5fea60e Remove extra comma in Asymptote surface color definition
Found via LGTM.
2021-02-08 10:50:18 +01:00
Chris Hennes
70ad3cbf83 Silence incorrect LGTM warning. 2021-02-08 10:48:17 +01:00
wmayer
18dc155b3f Mesh: [skip ci] fix MeshPy::trim 2021-02-07 13:12:23 +01:00
Zheng, Lei
97a5a2f2af Mesh: minor change to exporter based on suggestion 2021-02-06 17:13:36 +01:00
Zheng, Lei
a01e2aaf8f Mesh: refactor mesh exporter for better support of Link 2021-02-06 17:13:36 +01:00
wmayer
49f4454ed3 Mesh: [skip ci] fix hot spot of mesh selection cursor 2021-01-19 19:17:54 +01:00
Mateusz Skowroński
98f63ba60f Fix build warnings from deprecated Boost headers (they are used internally by Boost). Thanks @wwmayer for the hint. 2020-12-29 10:20:53 +01:00
wmayer
e173be6f86 Mesh: [skip ci] fix -Wrange-loop-construct 2020-12-23 17:39:02 +01:00
Yorik van Havre
22f7d5f3bc Merged crowdin translations 2020-12-23 15:13:05 +01:00
Yorik van Havre
16effcb2af Updated ts files 2020-12-23 14:51:04 +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
56c608932f Win: [skip ci] check if NOMINMAX is already defined before setting it 2020-11-11 13:34:42 +01:00
Yorik van Havre
ae2c707892 Merged crowdin translations 2020-11-10 14:58:06 +01:00
wmayer
2b50e59d48 Mesh: [skip ci] improve reading OFF mesh format 2020-11-03 11:15:37 +01:00
wmayer
53e440497c Mesh: [skip ci] improve reading OFF mesh format 2020-11-02 16:36:07 +01:00
Yorik van Havre
43596a68af Merged crowdin translations 2020-10-28 12:04:37 +01:00
wmayer
587362af98 C++11: [skip ci] replace deprecated function std::mem_fun_ref with lambda functions 2020-10-15 18:55:29 +02:00
wmayer
56c6db10e0 C++11: replace deprecated function std::bind2nd with lambda functions 2020-10-15 14:46:02 +02:00
Yorik van Havre
c2cec2c38a Merged crowdin translations 2020-09-30 14:37:02 +02:00
Yorik van Havre
545055f65f Updated ts files 2020-09-30 13:06:53 +02:00
vejmarie
704d4d9945 Big update to remove deprecation warning from Qt 5.15.0
That is need on MacOS build as travis log is bigger than 50k lines
which breaks travis rules
And by the way deprecations are real
All file contains the same modification replace 0 to Qt::WindowFlags() when needed
as the class needs to be instantiated

Signed-off-by: vejmarie <jmverdun3@gmail.com>
2020-09-24 12:56:43 +02:00
wmayer
17e758ec69 MeshGui: [skip ci] expose highlightSegments() to Python 2020-09-17 18:25:14 +02:00
wmayer
ce0e0ca143 Gui/Mesh: [skip ci] make sure object fits into canvas 2020-09-08 15:12:09 +02:00
wmayer
514a93185b Gui/Mesh: [skip ci] add Iso view position button to Web 3d page 2020-09-07 17:43:04 +02:00
wmayer
208c2f5e6c Gui/Mesh: [skip ci] put view positions at top of Web 3d page 2020-09-07 14:18:01 +02:00
wmayer
c296511816 Mesh: [skip ci] include missing header 2020-09-04 10:40:01 +02:00
sgrogan
6d0c257ede fix build on Win 2020-09-01 17:57:36 +02:00
wmayer
9dfd40e4d3 Mesh: [skip ci] allow to set custom size for asymptote output 2020-08-29 19:05:28 +02: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
3bc31a6f47 Mesh: [skip ci] fix bug in binary PLY export for mesh with colors 2020-08-27 15:11:30 +02:00
wmayer
fec66c423b Mesh: [skip ci] improve support of asymptote export 2020-08-27 15:10:23 +02:00
wmayer
588fc3b0da Mesh: [skip ci] adjust MeshInput::supportedMeshFormats() 2020-08-27 14:08:04 +02:00
wmayer
e8c364190b Mesh: [skip ci] improve support of asymptote export 2020-08-27 12:53:36 +02:00
wmayer
74e475bebb Mesh: [skip ci] improve support of asymptote export 2020-08-27 11:37:15 +02:00
wmayer
7ae2d7e495 Mesh: [skip ci] support of asymptote export 2020-08-27 09:51:35 +02:00
wmayer
6ca3a56c47 Mesh: [skip ci] fix bug in Mesh.export when passing a custom tolerance value 2020-08-26 11:06:43 +02:00
vocx-fc
84c4b3ac25 Mesh: correct display of bounding box values 2020-08-24 16:17:17 +02:00
bitacovir
6feb1d1cee Add SVG icons for MeshWB 2020-08-24 16:12:39 +02:00
carlopav
7758954360 Mesh: grouped view properties in ViewProviderMesh 2020-08-21 12:36:46 +02:00
wmayer
e9000a0989 Mesh: [skip ci] Save icon as normal SVG file 2020-08-17 17:02:06 +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
luz paz
f0d823eb51 Crowdin: Merge new translations [skip-ci] 2020-08-07 17:17:35 +02:00
wmayer
adf662b13d remove superfluous includes of iostream, use iosfwd instead 2020-07-28 15:22:23 +02:00
wmayer
45e0673645 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
e9ce75d544 LGTM: [skip ci] fix: Empty branch of conditional
An empty block after a conditional can be a sign of an omission and can decrease maintainability of the code.
Such blocks should contain an explanatory comment to aid future maintainers.
2020-07-26 15:49:14 +02:00