Commit Graph

20474 Commits

Author SHA1 Message Date
Zheng, Lei
ce7270c8a7 Import: avoid using Quantity_ColorRGBA::ColorToHex()
For using older OCCT
2021-10-08 07:51:00 +08:00
Roy-043
b537a2351d Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:53 +02:00
Roy-043
9b634a2a75 Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:06 +02:00
Roy-043
f10a6de031 Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:07:12 +02:00
Zheng, Lei
eaca6571ee Import: fix STEP color and add transparency in legacy importer/exporter 2021-10-07 18:08:00 +08:00
Zheng, Lei
f403a8ed4d Import: support transparency for STEP import and export 2021-10-07 17:44:09 +08:00
Zheng, Lei
7dfcb9dad0 Part: set transparency in ViewProviderExt::DiffuseColor
For single color shape
2021-10-07 17:44:09 +08:00
Zheng, Lei
a32b6e4075 Import: fix STEP color problem caused by OCC 7.5
Fixes #0004744
2021-10-07 17:43:38 +08:00
wmayer
97ac224ce6 Part: [skip ci] fix build failure when using PCH 2021-10-07 10:19:49 +02:00
Chris Hennes
7d42d528d2 Merge pull request #5093 from Roy-043/Arch-InitGui-draft_line_commands-not-used
Arch housekeeping: InitGui self.draft_line_commands not used
2021-10-06 21:15:59 -05:00
Chris Hennes
aa4e96594c Merge pull request #5094 from Roy-043/Draft-housekeeping-gui_rectangles-use-make_rectangle
Draft housekeeping: gui_rectangles.py should use make_rectangle
2021-10-06 21:09:51 -05:00
luz paz
be693528be Fix user facing typos [skip ci]
Typos in Draft and OpenSCAD code.
2021-10-06 18:11:48 -04:00
Noah
c482e90efc 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
2fe6ffcaf6 Mesh: [skip ci] add unit test for corrupted facets 2021-10-06 21:58:37 +02:00
wmayer
94516cb0a6 Sketcher: [skip ci] fix -Wunused-lambda-capture 2021-10-06 19:46:57 +02:00
wmayer
5612c1a58d Part: add function Geometry.toShell 2021-10-06 19:44:53 +02:00
wmayer
9eedb17b70 App: use consistent spelling of SubElement 2021-10-06 18:09:53 +02:00
Roy-043
b6565da274 Draft housekeeping: gui_rectangles.py should use make_rectangle 2021-10-06 17:54:30 +02:00
Chris Hennes
766e9cffb1 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
Roy-043
14596740f6 Arch: InitGui draft_line_commands not used 2021-10-06 17:46:25 +02:00
wmayer
b5c012a301 Mesh: implement sub-element handling 2021-10-06 17:19:38 +02:00
Abdullah Tahiri
ca65026246 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
eff309b591 Sketcher: use addSelections for group selecions in TaskSketcherElements 2021-10-06 13:44:06 +02:00
Abdullah Tahiri
e953c8e0e6 Sketcher: user addSelections for group selection in SketcherTools 2021-10-06 13:44:06 +02:00
Roy-043
50b8ed49a5 Draft: Draft_Text should be aligned toworking plane 2021-10-06 13:15:10 +02:00
luz paz
eab07e3c5b Fix trivial typos 2021-10-06 07:54:05 +02:00
luz paz
ea7e1d9670 [FEM] Rename menuetext -> menutext 2021-10-06 07:53:58 +02:00
Chris Hennes
ec6d4623d1 [Sketcher] Make status message styleable
Reduce the size and verbosity of the solver and constraint status
messages, and make them styleable both via stylesheets and user
preferences.
2021-10-05 23:24:09 -05:00
mwganson
40a0bbae7c [AddonManager] -- put Restart now and Restart later as button text instead of in the dialog text 2021-10-05 22:38:00 -05:00
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