Commit Graph

20350 Commits

Author SHA1 Message Date
luz paz
bb108cff95 Fix user facing typos [skip ci]
Typos in Draft and OpenSCAD code.
2021-10-06 18:11:48 -04:00
Noah
f1d1778a73 Mesh: fix WildMagic4 build on Darwin AArch64 (Apple M1)
A previous fix from 2012 excluded the x86_64 platfrom from using 32-bit Carbon APIs.

- https://tracker.freecadweb.org/view.php?id=656 (WildMagic4 doesn't build on 64-bit Mac OS)

Apply the same fix for AArch64 to ensure that the Mesh module can be built on Apple M1.
2021-10-06 22:47:48 +02:00
wmayer
5235af1d47 Mesh: [skip ci] add unit test for corrupted facets 2021-10-06 21:58:37 +02:00
wmayer
df23ab4441 Sketcher: [skip ci] fix -Wunused-lambda-capture 2021-10-06 19:46:57 +02:00
wmayer
5593b8499b Part: add function Geometry.toShell 2021-10-06 19:44:53 +02:00
wmayer
7b45d63bf2 App: use consistent spelling of SubElement 2021-10-06 18:09:53 +02:00
Chris Hennes
b739c865e5 Merge pull request #5089 from mwganson/addonmanager
[AddonManager] -- put Restart now and Restart later as button text in…
2021-10-06 10:51:49 -05:00
wmayer
6c23e2be1c Mesh: implement sub-element handling 2021-10-06 17:19:38 +02:00
Abdullah Tahiri
1bd1d42fa8 Sketcher: New constraint special filter, filter selection
=========================================================

It filters the constraint list to the selected constraints.

It observes selection changes and reacts to new selections.

Forum:
https://forum.freecadweb.org/viewtopic.php?p=537028#p537028
2021-10-06 13:44:06 +02:00
Abdullah Tahiri
e333225a12 Sketcher: use addSelections for group selecions in TaskSketcherElements 2021-10-06 13:44:06 +02:00
Abdullah Tahiri
521cfcfefd Sketcher: user addSelections for group selection in SketcherTools 2021-10-06 13:44:06 +02:00
luz paz
3867e41f42 Fix trivial typos 2021-10-06 07:54:05 +02:00
luz paz
cba89c64a4 [FEM] Rename menuetext -> menutext 2021-10-06 07:53:58 +02:00
mwganson
7cf6230a00 [AddonManager] -- put Restart now and Restart later as button text instead of in the dialog text 2021-10-05 22:38:00 -05:00
Yorik van Havre
bfcfa1f68e Merge pull request #5072 from Roy-043/Draft-fix-shortcuts-in-menus-and-more
Draft: fix shortcuts in menus and more
2021-10-05 13:51:59 +02:00
Roy-043
ff24678a7c Update init_tools.py
Removed "_temp" from docstrings.
2021-10-05 13:38:43 +02:00
Yorik van Havre
849231b82a Merge pull request #4998 from carlopav/Draft_WPimprovements
Draft: Working Plane improvements
2021-10-05 12:56:58 +02:00
wmayer
0fc8460b0f Part: use UnitsApi::getDecimals in ShapeFromMesh dialog 2021-10-05 12:42:48 +02:00
wmayer
501dc5867e Points: [skip ci] for CmdPointsConvert command make minimal value dependent on user settings of used decimals 2021-10-05 10:59:07 +02:00
Bernd Hahnebach
8bb582f23f FEM: writer base, use tempfile module for the temp directory 2021-10-04 17:16:12 +02:00
Bernd Hahnebach
fa843ad084 FEM: writer base, improve working dir handling 2021-10-04 17:16:07 +02:00
Abdullah Tahiri
e60e6c32f7 Sketcher: redefine filters and groups of filters
================================================

Filters redefined to match:
https://forum.freecadweb.org/viewtopic.php?p=537777#p537777

Group "Datum" stops comprising group "Reference"

Datums+References are now selectable as a multi-filter.

Fixes the akward behaviour of multiselection:
https://forum.freecadweb.org/viewtopic.php?p=537722#p537722

Now when a selection of a filter causes a group of filters comprising the selection to be fulfiled, this is also checked.
2021-10-04 16:30:40 +02:00
Abdullah Tahiri
007041b2ec Sketcher: Reorder filter entries to match toolbar
================================================

https://forum.freecadweb.org/viewtopic.php?p=537777#p537777
2021-10-04 16:30:28 +02:00
donovaly
f4a8f32db4 adjust preferred size to contain also the ALL entry 2021-10-04 16:25:14 +02:00
donovaly
41c30470f3 [Sketch] Selection improvements
as described here: https://forum.freecadweb.org/viewtopic.php?f=17&t=60569&p=537615#p537615
2021-10-04 16:25:14 +02:00
Chris Hennes
5a74cabaf0 Merge pull request #5086 from bartoszek/fix_build_linux
Fix linux build: undefined std:string_view
2021-10-03 15:59:44 -05:00
Chris Hennes
c9d28ac9f5 Merge pull request #5049 from chennes/spreadsheetPasteCleanup
[Spreadsheet] Refactor and simplify paste code
2021-10-03 13:15:57 -05:00
Chris Hennes
3a8d906cf3 Merge pull request #5085 from donovaly/Spread-UI-preferences-fixes
[Spreadsheet] fix preferences UI
2021-10-03 11:58:52 -05:00
wmayer
69bfa47b0e Part: [skip ci] use Gui::cmdAppDocumentArgs in ShapeFromMesh dialog 2021-10-03 16:46:32 +02:00
bartus
0c3ba910aa Fix linux build: undefined std:string_view
Pop 'mesh' library c++ stranderd to c++17
Add required <string_view> header
2021-10-03 14:36:16 +02:00
donovaly
3833fe21ed [Spreadsheet] fix preferences UI
- add missing layouts (Qt's designer warns too)
- add spacers to assure a compact layout on all screens
2021-10-03 13:44:44 +02:00
Chris Hennes
a65464b722 Merge pull request #5081 from Roy-043/Draft-prevent-negative-snaprange
Draft: prevent negative snaprange
2021-10-02 14:05:30 -05:00
Abdullah Tahiri
2f789e6ce7 Sketcher: Constraint widget Multi Filter feature
================================================

This feature adds a new filter entry "Multiple Filters" in the combobox of the filter.

This enables to define a "Multiple Filter" based on the aggregation of individual filters. So it basically provides for a user defined filter based on constraint types.

This "Multiple Filter" defaults to "All Constraints", and can be defined using the button "..." next to the filter combobox.

The "Multiple Filter" works on the list of constraints, as any other filter, limiting the elements shown in the list to match the multi filter definition.

The "Multiple Filter" interacts with the visibility options as any other filter. This is, in visibility non-tracking mode, it does not change the visibility. The Buttons "Hide Listed" and
"Show Listed" can be operated in this mode as any other filter.

In visibility tracking-mode, it will adapt the visibility of the constraints in the 3D view to the "Multi Filter" definition (exactly as it would to any other filter with its own definition).
2021-10-02 18:21:23 +02:00
Roy-043
d6b7ab6937 Update InitGui.py
Updated to use the new Draft code.
2021-10-02 09:45:22 +02:00
Roy-043
9687262cfc Update InitGui.py
Removed temp code.
2021-10-02 09:44:01 +02:00
Roy-043
19084494e8 Update init_tools.py
Removed the temp code. Changed the order of the functions. Only one item per line to make the lists more legible.
2021-10-02 09:42:49 +02:00
wmayer
14ff475192 Part: move code to create shape from mesh to dialog ShapeFromMesh 2021-10-02 07:09:29 +02:00
Chris Hennes
5619b012a5 Merge pull request #5079 from Roy-043/Draft-fix-decimals-for-angular-dims
Draft: fix decimals for angular dims
2021-10-01 15:48:58 -05:00
Roy-043
ad0113ca26 Draft: prevent negative snaprange
Also fixed misspelled related in-command shortcuts.
2021-10-01 20:38:30 +02:00
wmayer
745f8e044d Part: for faster execution make sewing optional when creating shape from mesh 2021-10-01 19:29:49 +02:00
wmayer
b4f77d3c62 Part: [skip ci] make TopoShape::setFaces 30% faster 2021-10-01 15:23:46 +02:00
Roy-043
c581585574 Update units.py 2021-09-30 23:38:54 +02:00
sliptonic
c21f7ab023 Black reformat 2021-09-29 16:51:00 -05:00
sliptonic
9fbd227456 Job object doesn't exist in this context.
Derive output name in the output section or default if unknown
2021-09-29 16:51:00 -05:00
Chris Hennes
822bc86894 Mesh: remove unused variable in Nastran reader 2021-09-29 16:34:58 -05:00
wmayer
e1c5bfab1f Mesh: add method MeshAlgorithm::GetFacetsBorders 2021-09-29 22:33:45 +02:00
Chris Hennes
eb9f47048a Merge pull request #5075 from chennes/openSCADSandboxingFix
[OpenSCAD] Add ability to communicate over stdin/stdout (to support Snaps, etc.)
2021-09-29 14:29:57 -05:00
sliptonic
b5d6a796e2 Merge pull request #5070 from Russ4262/fix/pocket_shape_finish_pass
[Path] Reinstate fix for intermittent PocketShape finish pass
2021-09-29 13:43:18 -05:00
Chris Hennes
7339bb8382 Merge pull request #5071 from donovaly/PD-pad_along_fixes
[PD] fixes for padding along edge
2021-09-29 13:25:13 -05:00
Abdullah Tahiri
7ae611d86a Sketcher: Improve text of the constraint widget 2021-09-29 19:39:20 +02:00