Commit Graph

32734 Commits

Author SHA1 Message Date
Benjamin Bræstrup Sayoc
5da15d23cf [TechDraw] Improve readability of DrawGeomHatch.cpp 2023-04-05 14:32:56 -04:00
0penBrain
8dcbd7080e Expression: use a precision that ensures no floating point issue 2023-04-05 19:51:51 +02:00
wmayer
9b944f4f20 Gui: fix -Wclazy-connect-by-name 2023-04-05 16:23:15 +02:00
edi271
c9c82960ab Manage rotated section views 2023-04-05 08:23:47 -04:00
edi271
c9d9284fb1 Move getTrianglePoint to DrawUtil 2023-04-05 08:23:47 -04:00
wmayer
68ea9fb561 [skip ci] Sketcher: disable button fixDegenerated when opening the dialog 2023-04-05 11:22:27 +02:00
Chris Hennes
d35107f5db Merge pull request #9109 from chennes/securityPolicy
Project: Add Security Policy
2023-04-04 23:03:50 -05:00
wmayer
3d90279c12 Gui: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
6401c18937 Part: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
dd32810167 Sketcher: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
260ac4130d FEM: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
54ee3a958a RE: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
dc12c839f2 MeshPart: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
64a6c3c376 Surface: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
87d73e2836 Spreadsheet: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
wmayer
9aadf2cd79 Test: fix -Wclazy-connect-by-name 2023-04-05 00:44:13 +02:00
sliptonic
7583cb55b3 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
3c4904dedb 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
91a8aa11f9 Merge pull request #9173 from Ondsel-Development/python_group
Pref: Create Python group
2023-04-04 14:22:23 -05:00
Chris Hennes
fec34a61b8 Merge pull request #9117 from Ondsel-Development/wb_pref_fixes
Wb pref fixes
2023-04-04 14:05:47 -05:00
wmayer
5010ac7508 Gui: allow to change background color and gradient from Python 2023-04-04 18:44:27 +02:00
wmayer
d6190cb79c 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
2845cd55a0 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
e16687bdf2 Merge branch 'FreeCAD:master' into shortcut_pref_pack 2023-04-04 17:27:13 +02:00
Håvard Jakobsen
1ac64538df Add Keyboard Shortcuts to Preference Packs 2023-04-04 17:20:10 +02:00
wmayer
2b8784a1b6 Gui: by default radial gradient is off 2023-04-04 14:51:41 +02:00
joha2
2d3293306b 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
c22b723e5f pref: python: replace icon. 2023-04-04 09:36:12 +02:00
Bernd Hahnebach
afbacfeecd Mods: update gitattributes with latest module directories 2023-04-04 08:58:52 +02:00
Chris Hennes
b1053c0d7f Update with review suggestion. 2023-04-03 21:34:34 -05:00
Chris Hennes
c34c9f5156 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
afba28929f Merge pull request #9140 from chennes/precommitHooks
Git: Add pre-commit configuration
2023-04-03 13:06:05 -05:00
Paddle
c4aebd9271 pref: color: change according to adrianinsaval mockup 2023-04-03 18:56:35 +02:00
wmayer
90c296af6b Sketcher: fix some lint warnings 2023-04-03 17:36:06 +02:00
wmayer
c38ef7da53 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
43c3a31da9 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
d05be2d4f2 Clang-Tidy: Remove readability-qualified-auto 2023-04-03 17:11:19 +02:00
mosfet80
e9c1a1600a [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
424ae52547 Pref: Color: change icon to button_switch 2023-04-03 15:49:19 +02:00
Paddle
0065269e14 Pref: Color: move middle checkbox and just disable mid color instead of hidding 2023-04-03 15:05:54 +02:00
Paddle
310f3c0575 Pref: Create Python group 2023-04-03 14:34:40 +02:00
Paddle
5301ade710 Pref: Colors: Reorganize the ui. 2023-04-03 13:47:26 +02:00
Chris Hennes
4887bd6d7f 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
2dcac3360c Pin conda package libcxx<16 to build with boost 1.78.0. 2023-04-02 16:26:29 -07:00
Chris Hennes
d725f1c76e 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
5382509831 Precommit: Add mixed-line-ending
Converts all line endings to Linux linefeed standard.
2023-04-02 13:00:17 -05:00
Chris Hennes
1633f78b8c Merge pull request #9149 from xtemp09/gui-fix
[GUI] Radial gradient implementation
2023-04-02 11:26:38 -05:00
luzpaz
2e8f7817d9 OpenSCAD: linting importCSG.py 2023-04-02 12:19:02 +02:00
luzpaz
5444a4a0cb Fix trailing whitespace 2023-04-02 12:18:13 +02:00
xtemp09
414c803ff3 [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