Commit Graph

32734 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
32e56cfc9c [TechDraw] Improve readability of DrawGeomHatch.cpp 2023-04-05 14:32:56 -04:00
0penBrain
96bf29304d Expression: use a precision that ensures no floating point issue 2023-04-05 19:51:51 +02:00
wmayer
ef63a35e0f Gui: fix -Wclazy-connect-by-name 2023-04-05 16:23:15 +02:00
edi271
0c1ad63a49 Manage rotated section views 2023-04-05 08:23:47 -04:00
edi271
28def30592 Move getTrianglePoint to DrawUtil 2023-04-05 08:23:47 -04:00
wmayer
03cf7f05bf [skip ci] Sketcher: disable button fixDegenerated when opening the dialog 2023-04-05 11:22:27 +02:00
Chris Hennes
2e23fcf99e Merge pull request #9109 from chennes/securityPolicy
Project: Add Security Policy
2023-04-04 23:03:50 -05:00
wmayer
457fac38dd Gui: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
ad29f1628a Part: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
1fc3f52e73 Sketcher: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
a59ea60c4a FEM: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
0271106b98 RE: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
a4c39e39e5 MeshPart: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
5163c1a2f4 Surface: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
633ad41a96 Spreadsheet: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
cd04621bb5 Test: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
sliptonic
54ff532900 Merge pull request #9146 from jimzim111/path_drillable_detection
[PATH] Update getDrillableTargets() to evaluate all faces 1..<n>
2023-04-04 16:44:07 -05:00
Chris Hennes
fbee0c92b6 Merge pull request #9180 from howie-j/shortcut_pref_pack
[Preference Packs] Add Keyboard Shortcuts Template
2023-04-04 15:01:52 -05:00
Chris Hennes
aa670da721 Merge pull request #9173 from Ondsel-Development/python_group
Pref: Create Python group
2023-04-04 14:22:23 -05:00
Chris Hennes
469fe54ec7 Merge pull request #9117 from Ondsel-Development/wb_pref_fixes
Wb pref fixes
2023-04-04 14:05:47 -05:00
wmayer
1f3e35e95c Gui: allow to change background color and gradient from Python 2023-04-04 18:44:27 +02:00
wmayer
eb3fd5fe47 Gui: add enum types to handle background gradients
This fixes some API flaws where booleans were used to distinguish between three different types
2023-04-04 18:44:27 +02:00
wmayer
21b2f97ab0 Gui: extend class View3DSettings so that it can be used for AbstractSplitView
AbstractSplitView then no longer needs to be derived from ParameterGrp::ObserverType and reimplement onChange() and thus removes a lot of code duplication
2023-04-04 18:44:27 +02:00
howie-j
81fdac808e Merge branch 'FreeCAD:master' into shortcut_pref_pack 2023-04-04 17:27:13 +02:00
Håvard Jakobsen
e99c572d62 Add Keyboard Shortcuts to Preference Packs 2023-04-04 17:20:10 +02:00
wmayer
6ac0de86d2 Gui: by default radial gradient is off 2023-04-04 14:51:41 +02:00
joha2
d870201e3b Points: show now returns an GeoFeature object
* Added one return statement into try-catch block which returns the appropriate object (instead of `None`).
* Behaviour now in line with `Part.show`.

Example:

```Python
>>> import Points
>>> pp = Points.Points()
>>> pp.addPoints([(1,2,3),(4,5,6)])
>>> go = Points.show(pp)
>>> go  # Former behaviour was to return None
<GeoFeature object>
>>> go.ViewObject.ShapeColor = (1,0,0)
>>> go.ViewObject.ShapeColor = (1.,0.,0.)
>>> go.ViewObject.PointSize = 20
```
2023-04-04 11:35:59 +02:00
Paddle
ccc558f89b pref: python: replace icon. 2023-04-04 09:36:12 +02:00
Bernd Hahnebach
84808ef7bd Mods: update gitattributes with latest module directories 2023-04-04 08:58:52 +02:00
Chris Hennes
d3933fe613 Update with review suggestion. 2023-04-03 21:34:34 -05:00
Chris Hennes
62bc5c7411 Merge pull request #9172 from Ondsel-Development/color_pref_ui
Pref: Colors: Reorganize the ui.
2023-04-03 13:39:53 -05:00
Chris Hennes
0bc7e03ae1 Merge pull request #9140 from chennes/precommitHooks
Git: Add pre-commit configuration
2023-04-03 13:06:05 -05:00
Paddle
e86f73b04a pref: color: change according to adrianinsaval mockup 2023-04-03 18:56:35 +02:00
wmayer
191289a595 Sketcher: fix some lint warnings 2023-04-03 17:36:06 +02:00
wmayer
c628c000f5 Sketcher: ignore toolbars if toggle action is invisible or style is FORCE_HIDE
This fully fixes #9135
2023-04-03 17:36:06 +02:00
wmayer
73f5e5ad57 Sketcher: restore toolbars when changing between workbenches in edit mode
This partially fixes issue #9135
2023-04-03 17:36:06 +02:00
Chris Hennes
7410fe6110 Clang-Tidy: Remove readability-qualified-auto 2023-04-03 17:11:19 +02:00
mosfet80
889ad11e02 [Draft] Remove obsolete code related to Drawing WB
* [Draft] Remove obsolete code related to Drawing WB




remove unused elif

* [Draft] Remove obsolete code related to the Drawing WB

* Update preferences-draftvisual.ui

Also remove the template label.

* Update utils.py

Remove reference to "template"

* Remove Draft_Drawing.svg from Draft.qrc

---------

Co-authored-by: Roy-043 <info@b-k-g.nl>
Co-authored-by: Roy-043 <70520633+Roy-043@users.noreply.github.com>
2023-04-03 16:36:23 +02:00
Paddle
1ef367fb7a Pref: Color: change icon to button_switch 2023-04-03 15:49:19 +02:00
Paddle
9f6c65603d Pref: Color: move middle checkbox and just disable mid color instead of hidding 2023-04-03 15:05:54 +02:00
Paddle
527b441b27 Pref: Create Python group 2023-04-03 14:34:40 +02:00
Paddle
56d25172e0 Pref: Colors: Reorganize the ui. 2023-04-03 13:47:26 +02:00
Chris Hennes
b75d257e80 Merge pull request #9169 from oursland/conda-pin-libcxx
Pin conda package libcxx<16 to build with boost 1.78.0.
2023-04-02 19:06:15 -05:00
Jacob Oursland
69241a6dc3 Pin conda package libcxx<16 to build with boost 1.78.0. 2023-04-02 16:26:29 -07:00
Chris Hennes
b66478aca3 Merge pull request #9143 from Ondsel-Development/unit_prefs
Pref: Remove Unit tab and move settings back to main page.
2023-04-02 16:58:05 -05:00
Chris Hennes
cdf23fc59b Precommit: Add mixed-line-ending
Converts all line endings to Linux linefeed standard.
2023-04-02 13:00:17 -05:00
Chris Hennes
881e131e17 Merge pull request #9149 from xtemp09/gui-fix
[GUI] Radial gradient implementation
2023-04-02 11:26:38 -05:00
luzpaz
b279fb364a OpenSCAD: linting importCSG.py 2023-04-02 12:19:02 +02:00
luzpaz
f5e58adad2 Fix trailing whitespace 2023-04-02 12:18:13 +02:00
xtemp09
81cfe34085 [GUI] Radial gradient implementation
This commit implements radial gradient as background and adds the option
to settings. It also renames "Color gradient" as "Linear gradient",
keeping Linear gradient default. Internally, it remains unchanged for
compatibility.

Radio gradient is more suitable for CAD, since it gives a more balanced
color distribution across the screen, improving visibility of model and
sketches with a halo-like effect.
2023-04-02 16:33:01 +07:00