Commit Graph

32717 Commits

Author SHA1 Message Date
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
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
Jolbas
bd627a469f Draft: fix error in PR #8698 (#9160)
fix for mistake in pr https://github.com/FreeCAD/FreeCAD/pull/8698
see comment 9983207ab8 (r1155160709)
2023-04-02 11:23:59 +02:00
Chris Hennes
0ac66f1ecd Merge pull request #9142 from chennes/addonManagerReformat
Addon manager reformat
2023-04-01 19:17:51 -05:00
Chris Hennes
f89f3e2ca9 Merge pull request #9156 from luzpaz/toponaming-whitespace
Toponaming: fix whitespace in App/MappedName.cpp
2023-04-01 17:59:44 -05:00
luzpaz
07a5342b60 Toponaming: fix whitespace in App/MappedName.cpp 2023-04-01 15:21:01 +00:00
0penBrain
d31cd90d00 Sketcher: do not apply line/edge color preference to existing sketches, fixes #8188 2023-04-01 16:31:17 +02:00
Paddle
173d4b9464 pref: general: connect comboBox_UnitSystem manually. Fix System unit tooltip string 2023-04-01 16:30:51 +02:00
Paddle
a1b70c294c Pref: Remove Unit tab and move settings back to main page. 2023-04-01 16:30:51 +02:00
wmayer
d08ceef3c8 Gui: use an annotation node so that line is always rendered on top of the scene 2023-04-01 14:53:05 +02:00
luzpaz
6bd40b5dcd Fem: fix trailing whitespace 2023-04-01 08:39:05 +02:00
jim
654e6648f1 [PATH] Update getDrillableTargets() to evaluate all faces 1..<n> 2023-03-31 19:25:59 -07:00
wandererfan
c9c872d187 [TD]fix oversight in PR9129 2023-03-31 20:14:38 -04:00
Chris Hennes
97a3e8795d Merge pull request #9121 from oursland/conda-devenv-linux
Add conda devenv support for Linux x86-64 and aarch64.
2023-03-31 14:17:14 -05:00
Chris Hennes
7c4ffcd498 Git: ignore formatting rev 2023-03-31 13:48:49 -05:00
Chris Hennes
028c379238 Addon Manager: Black and lint 2023-03-31 13:46:13 -05:00
Chris Hennes
17ad4a20f3 Git: Add pre-commit configuration 2023-03-31 13:35:45 -05:00
wmayer
48c11a77ad Gui: interactive image scaling:
* add option to allow points outside of image
* after starting the interactive scaling allow to cancel it immediately
2023-03-31 19:40:50 +02:00