Commit Graph

26396 Commits

Author SHA1 Message Date
Chris Hennes
e70a360ebe Addon Manager: Modify regex for whitespace 2023-03-31 10:13:47 -05:00
Chris Hennes
6a0decd44a Addon Manager: Tests for classname finder 2023-03-31 10:13:00 -05:00
wmayer
f2aa219075 TD: remove deprecation warning 2023-03-31 11:03:10 -04:00
wmayer
ed4b09349d TD: implement XMLQuery for Qt6 2023-03-31 11:03:10 -04:00
wmayer
82a1e43e00 TD: use new license header 2023-03-31 11:03:10 -04:00
Chris Hennes
d769b9c9f2 Addon Manager: Black and pylint cleanup 2023-03-31 09:40:12 -05:00
0penBrain
8bea52a5bf Gui: prevent crashes on MacOS using boost::format 2023-03-31 15:22:03 +02:00
Benjamin Bræstrup Sayoc
5329cede7f Improve readability of DrawUtil.cpp 2023-03-31 08:45:05 -04:00
Benjamin Bræstrup Sayoc
9bb92be8ba Improve readability of QGIView.cpp 2023-03-31 08:45:05 -04:00
Paddle
1603720d7a Addon manager: lint and black. 2023-03-31 14:31:55 +02:00
Paddle
31c483587a Addon manager: wb change to ordered + disabled lists. 2023-03-31 14:12:28 +02:00
Paddle
4487154c57 Pref: wb: change parameter group to prevent issues between 0.21 and older versions. 2023-03-31 14:12:27 +02:00
Paddle
a203012666 Addon manager: Subscribe to core the enabled status of addon workbenches. 2023-03-31 14:12:27 +02:00
Pesc0
876601d34d Remove all PyQt references 2023-03-31 10:36:04 +02:00
Jolbas
c001732663 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
ff4388a610 return useful error message if file is not found 2023-03-29 21:22:47 -07:00
Morgan 'ARR\!' Allen
287e9dbfe9 Merge branch 'master' into path_custom_source 2023-03-29 20:50:07 -07:00
Kevin Martin
31f3458399 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
7fa7cb7f0b [Part]handle unicode filename on win 2023-03-29 15:04:57 -04:00
Roy-043
161e7aca98 [Draft] small DraftGui.py cleanup (#9108) 2023-03-28 23:54:00 +02:00
Roy-043
87b0893044 [Draft] Remove obsolete decode code (#9106) 2023-03-28 21:03:33 +02:00
Roy-043
d65b05c3df [Draft] Remove obsolete ShapeString code from DraftGui.py (#9102) 2023-03-28 17:26:14 +02:00
Chris Hennes
0457c4e794 Merge pull request #9080 from Ondsel-Development/gridNameFix
Sketcher: Grid pref: Change names.
2023-03-28 10:10:47 -05:00
Chris Hennes
405cb8149a Merge pull request #9076 from Pesc0/removesix
remove functions leftover from using six
2023-03-28 10:00:58 -05:00
Chris Hennes
2542be332b Merge pull request #9101 from luzpaz/openscad-linting4
OpenSCAD: linting cont...
2023-03-28 09:45:49 -05:00
Paddle
12588150c1 PartDesign: Chamfer/fillet/draft/thickness small fixes. 2023-03-28 13:30:13 +02:00
luzpaz
2f593a2613 OpenSCAD: linting cont...
Linting colorcodedshapes.py and prototype.py
2023-03-28 10:57:48 +00:00
Paddle
18a9c164d6 PartDesign: Fillet/chamger/draft/thickness: change the button strings to 'Preview' and 'Select' 2023-03-28 12:52:42 +02:00
Paddle
de6038ff9b PartDesign: Fix placement issue with thickness tool when the feature was empty. 2023-03-28 12:52:42 +02:00
Paddle
d896d00d48 PartDesign: Fillet Draft Chamfer Thickness : Add warning message on empty feature creation 2023-03-28 12:52:42 +02:00
Paddle
47cc265b4f PartDesign: Fillet, Chamfer, Draft, Thickness : Enable tool to start with no selection. 2023-03-28 12:52:42 +02:00
Paddle
8ada7af302 PartDesign: Fillet/chamfer/draft/thickness: Merge Add & Remove buttons. 2023-03-28 12:52:42 +02:00
Uwe
548f9ce072 [FEM] TaskFemConstraintTemperature: remove unused function 2023-03-28 05:42:36 +02:00
luzpaz
229518d392 OpenSCAD: linting OpenSCADCommands.py
Fixes bad indentation, seperate import statements, remove py2 syntax
2023-03-28 01:41:55 +00:00
Uwe
642b8b3196 [FEM] Transform constraint overhaul
- fix warning about local scope
- make the angles a PropertyAngle to handle the unit
- also fix some too long code lines
2023-03-28 02:11:36 +02:00
Uwe
5a1bd28631 [PD] FeaturePipe.cpp formatting fixes
- remove commented includes (once mistakenly added by me)
- also fix too long lines
2023-03-28 01:56:30 +02:00
Uwe
49acbb2c65 [FEM] Temperature constraints overhaul
- fix bug that changing constraint type in dialog lost flux value
- accept and not immediately save any changed value
- make the temperatures a PropertyTemperature to get rid of hacks
- also fix some too long code lines
2023-03-28 01:23:47 +02:00
luzpaz
a68dabbd7f OpenSCAD: removed deprecated python2 unicode string
Removed redundant python2 unicode syntax from `OpenSCADUtils.py`
2023-03-27 19:53:40 +00:00
Uwe
98ed45b3f1 [FEM] ConstraintDisplacement: fix property conversion
- as the comment correctly wrote it was a PropertyFloat before and PropertyDistance after - fox the routine accordingly
2023-03-27 21:29:52 +02:00
Andrew
a75f194af7 Remove unused mod complete 2023-03-27 19:45:57 +02:00
luzpaz
c2ddf26e14 OpenSCAD: linting OpenSCAD2Dgeom.py
Fix bad indentation and separate import statements
2023-03-27 16:44:26 +02:00
alexneufeld
655066a135 Explicitly use App.Vector in docstrings 2023-03-27 16:34:28 +02:00
alexneufeld
3628c3055c fix incorrect docstring for Part.Shape.extrude method 2023-03-27 16:34:28 +02:00
luzpaz
87154535ed OpenSCAD: linting OpenSCADFeatures.py
Fix bad indentation and separated import statements
2023-03-27 16:31:18 +02:00
wmayer
ca935a49f3 Part: make PropertyGeometryList more permissive
Since not all Geometry sub-classes fully implement Save() / Restore() raising an exception instead may invalidate a project. To avoid this
PropertyGeometryList now explicitly handles NotImplementedError exceptions.

See also: https://forum.freecad.org/viewtopic.php?t=77148
2023-03-27 16:09:33 +02:00
Yorik van Havre
3e1528a714 Draft: Better DWG export message - issue #8887 (#8893)
* Draft: Better DWG export message - issue #8887
2023-03-27 16:03:04 +02:00
Kevin Martin
3f195bb46b Replace "aci" with the lesss cryptic "colorIndex"
The "a" in "aci" refers to a trademark which we want to avoid mentioning
in code. These values are indices into a color table (plus two special
values for BYBLOCK and BYLAYER) so using the term colorIndex seems more
readable.
2023-03-27 09:48:16 -04:00
Chris Hennes
2368d2cc11 Merge pull request #9074 from Pesc0/fixtypo
Fix typo in Mod/OpenSCAD/prototype.py
2023-03-27 08:47:17 -05:00
Paddle
4dca86c503 Sketcher: Grid pref: Change names. 2023-03-27 15:22:32 +02:00
Kevin Martin
c155a9ea9c Remove reference to a trademarked name 2023-03-27 09:11:52 -04:00