Roy-043
5dd472aea0
Update make_hatch.py
2021-10-05 15:58:47 +02:00
Roy-043
812a0e787a
Update gui_hatch.py
2021-10-05 15:58:09 +02:00
Roy-043
2196179cb1
Update hatch.py
2021-10-05 15:57:00 +02:00
Roy-043
6a13be395f
Update Draft.py
2021-10-05 15:56:22 +02:00
Yorik van Havre
00676ff3a3
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
1be5385462
Update init_tools.py
...
Removed "_temp" from docstrings.
2021-10-05 13:38:43 +02:00
Yorik van Havre
00b24bc707
Merge pull request #4998 from carlopav/Draft_WPimprovements
...
Draft: Working Plane improvements
2021-10-05 12:56:58 +02:00
wmayer
d569c8aa25
Part: use UnitsApi::getDecimals in ShapeFromMesh dialog
2021-10-05 12:42:48 +02:00
wmayer
f355b8556c
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
af849ab299
FEM: writer base, use tempfile module for the temp directory
2021-10-04 17:16:12 +02:00
Bernd Hahnebach
341580fb11
FEM: writer base, improve working dir handling
2021-10-04 17:16:07 +02:00
Abdullah Tahiri
a4192448a9
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
5715ceb728
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
9cea75e9b8
adjust preferred size to contain also the ALL entry
2021-10-04 16:25:14 +02:00
donovaly
8a3f8cff48
[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
dee5b8febc
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
11c5e2b96f
Merge pull request #5049 from chennes/spreadsheetPasteCleanup
...
[Spreadsheet] Refactor and simplify paste code
2021-10-03 13:15:57 -05:00
Chris Hennes
cd33ec9638
Merge pull request #5085 from donovaly/Spread-UI-preferences-fixes
...
[Spreadsheet] fix preferences UI
2021-10-03 11:58:52 -05:00
wmayer
5d8dce4fed
Part: [skip ci] use Gui::cmdAppDocumentArgs in ShapeFromMesh dialog
2021-10-03 16:46:32 +02:00
bartus
6766932b35
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
56a9f4f144
[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
5cc7d017cc
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
1539467631
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
9156874491
Update InitGui.py
...
Updated to use the new Draft code.
2021-10-02 09:45:22 +02:00
Roy-043
b2a87d0be7
Update InitGui.py
...
Removed temp code.
2021-10-02 09:44:01 +02:00
Roy-043
2f187497e9
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
1c9378d2aa
Part: move code to create shape from mesh to dialog ShapeFromMesh
2021-10-02 07:09:29 +02:00
Chris Hennes
0983c569ed
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
878f97b234
Draft: prevent negative snaprange
...
Also fixed misspelled related in-command shortcuts.
2021-10-01 20:38:30 +02:00
wmayer
6ed0352a4d
Part: for faster execution make sewing optional when creating shape from mesh
2021-10-01 19:29:49 +02:00
wmayer
62b20d6850
Part: [skip ci] make TopoShape::setFaces 30% faster
2021-10-01 15:23:46 +02:00
Roy-043
412c041cbe
Update units.py
2021-09-30 23:38:54 +02:00
sliptonic
08108b2f1b
Black reformat
2021-09-29 16:51:00 -05:00
sliptonic
46eb7a50cf
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
231a3b1d4d
Mesh: remove unused variable in Nastran reader
2021-09-29 16:34:58 -05:00
wmayer
d22c70c9a4
Mesh: add method MeshAlgorithm::GetFacetsBorders
2021-09-29 22:33:45 +02:00
Chris Hennes
3904cbf291
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
595a0211d4
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
9ce6b0df94
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
9d7c5e48b0
Sketcher: Improve text of the constraint widget
2021-09-29 19:39:20 +02:00
wmayer
c702fd07eb
Mesh: [skip ci] rename MeshAlgorithm::GetMeshBorder to MeshAlgorithm::GetFacetBorder
2021-09-29 19:38:52 +02:00
wmayer
210eac2a09
Mesh: improve function to fix points on edge
2021-09-29 19:32:18 +02:00
Chris Hennes
0bf885145f
[OpenSCAD] Update STL unit test to warn on pipes
...
If OpenSCAD or FreeCAD is set up to use pipes for communication, assume
it's because one or the other is sandboxed. In that case, OpenSCAD will
not be able to import the generated STL file from FreeCAD, so don't try
to run that test.
2021-09-29 10:24:11 -05:00
Chris Hennes
c842b6a8c1
[OpenSCAD] Add ability to communicate via pipes
...
In 2021.01 OpenSCAD added the ability to read from stdin and write
output to stdout: this allows us to communicate with an OpenSCAD process
that does not have read/write access to the same directories that
FreeCAD does (for example, if one or the other is installed via a Snap
package).
This commit adds an additional preference to the OpenSCAD workbench
allowing the user to choose between communication methods, as well as to
optionally specify their own temporary directory for the data transfer,
for use in cases where their version of OpenSCAD is installed via Snap,
etc., but does not yet support the piped input and output.
2021-09-29 09:36:58 -05:00
wmayer
6f20e3e4d8
Gui: remove QT_TR_NOOP from command group names and use "CommandGroup" as context string
2021-09-29 16:31:55 +02:00
wmayer
3edea9891f
Sketcher: [skip ci] remove superfluous QT_TRANSLATE_NOOP from Sketcher commands
2021-09-29 15:46:06 +02:00
Chris Hennes
4ba39762cd
Merge pull request #5069 from chennes/lgtmArchMiscFixes
...
[Arch] Fix LGTM warnings
2021-09-29 07:41:34 -05:00
Yorik van Havre
140e03301e
Updated ts files
2021-09-29 14:32:12 +02:00
wmayer
2b12fe5c1a
Mesh: [skip ci] when points lie exactly on a plane it can happen that a plane fit creates U,V vectors with NaN while W is valid
2021-09-29 12:35:28 +02:00
donovaly
7921c3f5fa
[PD] fixes for padding along edge
...
- handle custom direction like all other directions
- allow to view the direction vector for all directions, but only to edit for custom
- fix enabling of the length alongNormal option
- also fix a translation issue
2021-09-29 01:11:50 +02:00