Commit Graph

25 Commits

Author SHA1 Message Date
wmayer
7c42bc5e60 MeshPart: modernize C++: use range-based for loop 2023-08-15 12:52:52 +02:00
wmayer
812a20b864 MeshPart: Allow to cancel trim by plane 2023-05-23 16:05:49 +02:00
Uwe
7d04bf015c [MeshPart] Gui: remove unused includes
- also some sorting
2022-11-24 02:21:38 +01:00
berniev
da9ebc572f Mod: redundant void 2 2022-08-08 10:27:50 +02:00
wmayer
14451f7ec4 Mesh: consider placement in MeshPy::cut/trim/trimByPlane 2022-08-04 18:49:10 +02:00
wmayer
d152d6dd0e MeshPart: [skip ci] Fix several clazy issues:
* Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference]
* Use multi-arg instead [-Wclazy-qstring-arg]
2022-07-25 10:34:51 +02:00
luzpaz
4543c98267 MeshPart: fix header uniformity + remove superfluous whitespace (#5135)
* MeshPart: fix header uniformity + remove superfluous whitespace
2021-11-06 00:15:00 +01:00
wmayer
837de28e9e Mesh: expose trimByPlane to Python 2021-10-15 23:07:59 +02:00
luz paz
d23c081047 MeshPart: Issue #0004473: Expose openCommand() to translation
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the MeshPart Wb.  
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
vocx-fc
b51c952e4b Surface, MeshPart: update CurveOnMesh command tooltip and task panel
* Add new icon `MeshPart_CurveOnMesh`, which is the same as
the `Surface_CurveOnMesh` icon but in green color.
The surface icon is used in the Surface Workbench, while the MeshPart
version is currently not used.
* Make the tooltip of the command shorter; the longer instructions
are added in the `TaskCurveOnMesh` task panel.
2020-10-19 13:18:12 +02:00
vocx-fc
8eb466d3e7 Surface, MeshPart: add more information to the CurveOnMesh command
In the Surface Workbench, the command is called `Surface_CurveOnMesh`
and the only thing it does is call the corresponding command
in the MeshPart Workbench, where it is defined
under the name `MeshPart_CurveOnMesh`.

Currently the MeshPart Workbench is not exposed on the graphical user
interface but it is loaded at startup, and its commands
are in fact used from the Mesh Workbench and, in this case,
the Surface Workbench.

Also improve the tooltip of the other commands in the Surface Workbench:
`Cut`, `Filling`, `GeomFillSurface`, `ExtendFace`, and `Sections`.
The `Cut` command does not do anything at this moment
so it is not visible in the interface.
2020-10-13 15:14:12 +02:00
wmayer
7407fe9ff3 cross-section of meshes 2019-09-21 01:23:28 +02:00
wmayer
79a722830d implement trimming of a mesh with a plane 2019-09-14 17:05:20 +02:00
wmayer
5d791add19 fix mesh trimming with plane 2019-09-10 23:22:31 +02:00
wmayer
9f7075bb8f extend convertTo function to also support SbRotation/Base::Rotation 2019-09-06 21:29:51 +02: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
48a6bca7d8 project polyline on mesh and create edge 2017-04-19 23:30:15 +02:00
wmayer
46f5554c43 command to creation section from plane and mesh 2017-02-19 14:05:00 +01:00
wmayer
1d84eac025 fix -Wextra in MeshPart 2016-09-24 00:42:52 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
f02da38566 + fix Qt help problems 2014-10-01 17:16:43 +02:00
jmaustpc
9bdd15f7b5 Move Mesh_Mesh_from_Shape icon from Mod/MeshPart to Mod/Mesh
Move the icon Mesh_Mesh_from_Shape.svg
from .../Mod/MeshPart/Gui/Resources/icons
to .....//Mod/Mesh/Gui/Resources/icons
edit both Mesh.qrc and MeshPart.qrc accordingly
remove referrence to the icon from the command in
the MeshPart Command.cpp file and add it to
the Mesh Command.cpp file
2013-12-14 00:58:58 +11:00
jmaustpc
47ee436e93 Add icons to menus for mesh to shape and shape to mesh
Mesh to shape icon for the Part workbench Part menu
Shape to mesh icon for the Mesh design Workbench Meshes menu
2013-12-13 10:29:08 -02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00