Commit Graph

29101 Commits

Author SHA1 Message Date
Roy-043
059b3d46aa Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:08:06 +02:00
Roy-043
48761f4e7d Draft_Hatch_ViewProvider -> ViewProviderDraftHatch 2021-10-07 15:07:12 +02:00
Zheng, Lei
329a682a8e Import: fix STEP color and add transparency in legacy importer/exporter 2021-10-07 18:08:00 +08:00
Zheng, Lei
b9a76cc8e4 Import: support transparency for STEP import and export 2021-10-07 17:44:09 +08:00
Zheng, Lei
c3e3ff3c8b Part: set transparency in ViewProviderExt::DiffuseColor
For single color shape
2021-10-07 17:44:09 +08:00
Zheng, Lei
c19e1398f2 Import: fix STEP color problem caused by OCC 7.5
Fixes #0004744
2021-10-07 17:43:38 +08:00
wmayer
77b198048a SMESH: [skip ci] do not undefine the guard of a header file 2021-10-07 11:10:12 +02:00
wmayer
5bb00636d5 Part: [skip ci] fix build failure when using PCH 2021-10-07 10:19:49 +02:00
Chris Hennes
bea2fff850 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
2122be22c0 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
Russell Johnson
c35e44d5dd Application of Black formatting 2021-10-06 19:56:42 -05:00
Russell Johnson
d59ae608d6 Fix incorrect arguments list
This commit fixes the error reported in the forum at https://forum.freecadweb.org/viewtopic.php?f=15&t=33121&start=50#p537787.

This error was introduced when another user replaced the `extractFaceOffset()` method from the PathSurfaceSupport.py module with an improved `getOffsetArea()` function in the PathUtils.py module.  The two instances of the improved `getOffsetArea()` calls here in this fix did not get corrected when that improvement was originally made.
2021-10-06 19:56:03 -05:00
Chris Hennes
afb555f1d5 Merge pull request #5096 from luzpaz/typos
Fix user facing typos [skip ci]
2021-10-06 17:24:05 -05:00
luz paz
1bac25de44 Tools: fix updatecrowdin.py variable typo [skip ci] 2021-10-06 18:15:53 -04:00
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
Chris Hennes
6858d938cc [Gui] Add ability for stylesheet to override prefs 2021-10-06 11:43:06 -05:00
wmayer
7b45d63bf2 App: use consistent spelling of SubElement 2021-10-06 18:09:53 +02:00
Roy-043
8763810d81 Draft housekeeping: gui_rectangles.py should use make_rectangle 2021-10-06 17:54:30 +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
Roy-043
eb742200c4 Arch: InitGui draft_line_commands not used 2021-10-06 17:46:25 +02: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
Roy-043
0b9d4db814 Draft: Draft_Text should be aligned toworking plane 2021-10-06 13:15:10 +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
Chris Hennes
4154bdd158 [Stylesheet] Add styling for Sketcher labels
With Sketcher's constraint status label now exposed to stylesheet
control on a per-state basis, add basic styling that is more visible in
this dark stylesheet.
2021-10-05 23:25:20 -05:00
Chris Hennes
f2a073ca5a [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
Chris Hennes
224ffe37e2 [Gui] New widget supporting per-state styles
The new StatefulLabel widget is designed to be customizable by optional
preferences entries, Qt stylesheets, and default styles, set on a
per-state basis, where "state" is a Qt property that can be changed
dynamically at runtime.
2021-10-05 23:20:29 -05:00
mwganson
b46e454190 [Dragger] add dragger (Std_TransformManip) to right click context menu when right clicking on an object in the 3D view 2021-10-05 23:02:15 -05: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
wmayer
b6d90bf575 App: [skip ci] make Matrix a dynamic attribute of ComplexGeoDataPy 2021-10-05 19:18:12 +02:00
Roy-043
30b784a596 Update make_hatch.py 2021-10-05 15:58:47 +02:00
Roy-043
1f2a95f990 Update gui_hatch.py 2021-10-05 15:58:09 +02:00
Roy-043
470f9307f1 Update hatch.py 2021-10-05 15:57:00 +02:00
Roy-043
f002556803 Update Draft.py 2021-10-05 15:56:22 +02: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
32592de8ce App: expose methods of ComplexGeoData to Python 2021-10-05 12:43:28 +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