Commit Graph

26923 Commits

Author SHA1 Message Date
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
fec34a61b8 Merge pull request #9117 from Ondsel-Development/wb_pref_fixes
Wb pref fixes
2023-04-04 14:05:47 -05: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
Bernd Hahnebach
afbacfeecd Mods: update gitattributes with latest module directories 2023-04-04 08:58:52 +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
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
Roy-043
04fbbf3eab Update Arch.qrc
Added Arch_Panel_Sheet_Tree.svg
2023-04-03 09:19:23 +02:00
Morgan 'ARR\!' Allen
795cf86f94 set enumeration default properties after .initOperation
This allows subclasses to override opPropertyEnumerations and have their defaults set by ObjectOp.__init__
2023-04-02 13:05:35 -07:00
Roy-043
62ad1fd3a9 [Arch] Remove obsolete code related to the Drawing WB 2023-04-02 19:30:10 +02: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
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
0penBrain
d31cd90d00 Sketcher: do not apply line/edge color preference to existing sketches, fixes #8188 2023-04-01 16:31:17 +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
028c379238 Addon Manager: Black and lint 2023-03-31 13:46:13 -05:00
wmayer
11c628feeb Mesh: fix -Wclazy-connect-by-name 2023-03-31 19:14:54 +02:00
Chris Hennes
fb0bcc4968 Addon Manager: Add test for subdirectory 2023-03-31 10:21:12 -05:00
Chris Hennes
e604c3742f Addon Manager: Modify regex for whitespace 2023-03-31 10:13:47 -05:00
Chris Hennes
5e9b2ac91a Addon Manager: Tests for classname finder 2023-03-31 10:13:00 -05:00
wmayer
5f73ab8923 TD: remove deprecation warning 2023-03-31 11:03:10 -04:00
wmayer
7eb661cd78 TD: implement XMLQuery for Qt6 2023-03-31 11:03:10 -04:00
wmayer
0de7d14e15 TD: use new license header 2023-03-31 11:03:10 -04:00
Chris Hennes
6dbe59f7ff Addon Manager: Black and pylint cleanup 2023-03-31 09:40:12 -05:00
0penBrain
4cc2a1af62 Gui: prevent crashes on MacOS using boost::format 2023-03-31 15:22:03 +02:00
Benjamin Bræstrup Sayoc
0b29a5f0a0 Improve readability of DrawUtil.cpp 2023-03-31 08:45:05 -04:00
Benjamin Bræstrup Sayoc
8196ca323e Improve readability of QGIView.cpp 2023-03-31 08:45:05 -04:00
Paddle
b2d0a01ba0 Addon manager: lint and black. 2023-03-31 14:31:55 +02:00
Paddle
fac4ee6687 Addon manager: wb change to ordered + disabled lists. 2023-03-31 14:12:28 +02:00
Paddle
0d61b99a36 Pref: wb: change parameter group to prevent issues between 0.21 and older versions. 2023-03-31 14:12:27 +02:00
Paddle
9a4088f4ed Addon manager: Subscribe to core the enabled status of addon workbenches. 2023-03-31 14:12:27 +02:00
Pesc0
99e13d9529 Remove all PyQt references 2023-03-31 10:36:04 +02:00
Jolbas
53aa302d8b PartDesign: Return directly if occurrences is 1
In LinearPattern and PolarPattern. Skip all checks if occurrences is 1. Allows Expressions on Length/Angle that evaluates to 0 if Occurrences is 1.

Co-Authored-By: 0penBrain <48731257+0penBrain@users.noreply.github.com>
2023-03-30 23:02:03 +02:00
Morgan 'ARR\!' Allen
2d43df19a3 return useful error message if file is not found 2023-03-29 21:22:47 -07:00
Morgan 'ARR\!' Allen
0b6a2ac996 Merge branch 'master' into path_custom_source 2023-03-29 20:50:07 -07:00
Kevin Martin
9703853ee1 Add GIL locking for Python calls, alter cp mapping
Required GIL locking has been added where Python methods are
called.

The code mapping from codepage names like ansi_nnn to cpnnnn has
been altered a bit to shorten it.
2023-03-29 16:09:35 -04:00
wandererfan
99644ac5e7 [Part]handle unicode filename on win 2023-03-29 15:04:57 -04:00
Roy-043
5e8ec9daf7 [Draft] small DraftGui.py cleanup (#9108) 2023-03-28 23:54:00 +02:00
Roy-043
b5ade2c085 [Draft] Remove obsolete decode code (#9106) 2023-03-28 21:03:33 +02:00
Roy-043
a632498875 [Draft] Remove obsolete ShapeString code from DraftGui.py (#9102) 2023-03-28 17:26:14 +02:00
Chris Hennes
7897d7bfda Merge pull request #9080 from Ondsel-Development/gridNameFix
Sketcher: Grid pref: Change names.
2023-03-28 10:10:47 -05:00