Commit Graph

25073 Commits

Author SHA1 Message Date
wmayer
0de7d14e15 TD: use new license header 2023-03-31 11:03:10 -04: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
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
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
Chris Hennes
a1d64920e3 Merge pull request #9076 from Pesc0/removesix
remove functions leftover from using six
2023-03-28 10:00:58 -05:00
Chris Hennes
45c2da99a5 Merge pull request #9101 from luzpaz/openscad-linting4
OpenSCAD: linting cont...
2023-03-28 09:45:49 -05:00
Paddle
f116e83d9d PartDesign: Chamfer/fillet/draft/thickness small fixes. 2023-03-28 13:30:13 +02:00
luzpaz
b080dde32d OpenSCAD: linting cont...
Linting colorcodedshapes.py and prototype.py
2023-03-28 10:57:48 +00:00
Paddle
ea463a6a53 PartDesign: Fillet/chamger/draft/thickness: change the button strings to 'Preview' and 'Select' 2023-03-28 12:52:42 +02:00
Paddle
d56842fd92 PartDesign: Fix placement issue with thickness tool when the feature was empty. 2023-03-28 12:52:42 +02:00
Paddle
27481a68eb PartDesign: Fillet Draft Chamfer Thickness : Add warning message on empty feature creation 2023-03-28 12:52:42 +02:00
Paddle
bc22bf9c0d PartDesign: Fillet, Chamfer, Draft, Thickness : Enable tool to start with no selection. 2023-03-28 12:52:42 +02:00
Paddle
1689c99930 PartDesign: Fillet/chamfer/draft/thickness: Merge Add & Remove buttons. 2023-03-28 12:52:42 +02:00
Uwe
7ca087a871 [FEM] TaskFemConstraintTemperature: remove unused function 2023-03-28 05:42:36 +02:00
luzpaz
b44230b492 OpenSCAD: linting OpenSCADCommands.py
Fixes bad indentation, seperate import statements, remove py2 syntax
2023-03-28 01:41:55 +00:00
Uwe
962dd41734 [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
1b6e97066c [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
cc6c98c1d4 [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
c4304b2717 OpenSCAD: removed deprecated python2 unicode string
Removed redundant python2 unicode syntax from `OpenSCADUtils.py`
2023-03-27 19:53:40 +00:00
Uwe
7d17ecfeba [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
28d194819c Remove unused mod complete 2023-03-27 19:45:57 +02:00
luzpaz
c73626b8e4 OpenSCAD: linting OpenSCAD2Dgeom.py
Fix bad indentation and separate import statements
2023-03-27 16:44:26 +02:00
alexneufeld
c78bdb95b8 Explicitly use App.Vector in docstrings 2023-03-27 16:34:28 +02:00
alexneufeld
e567ff7911 fix incorrect docstring for Part.Shape.extrude method 2023-03-27 16:34:28 +02:00
luzpaz
5538557df9 OpenSCAD: linting OpenSCADFeatures.py
Fix bad indentation and separated import statements
2023-03-27 16:31:18 +02:00
wmayer
4ca33e35aa 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
06a9bd229c Draft: Better DWG export message - issue #8887 (#8893)
* Draft: Better DWG export message - issue #8887
2023-03-27 16:03:04 +02:00
Chris Hennes
eeceb05371 Merge pull request #9074 from Pesc0/fixtypo
Fix typo in Mod/OpenSCAD/prototype.py
2023-03-27 08:47:17 -05:00
Paddle
ba0e28bcbd Sketcher: Grid pref: Change names. 2023-03-27 15:22:32 +02:00
Pesc0
9bc0eda9d6 remove functions leftover from using six 2023-03-27 11:36:19 +02:00
wmayer
351a25681a Material: fix icon path 2023-03-27 11:27:32 +02:00
wmayer
6a4fdceaff Mesh: fix -Wclazy-connect-by-name 2023-03-27 11:22:21 +02:00
wmayer
82b168da15 Mesh: fix some clang-tidy warnings 2023-03-27 11:22:21 +02:00
Andrew
bebadad9bf clean Mod/Mesh from #if 0 2023-03-27 11:22:21 +02:00
Pesc0
0b7dc43932 Fix typo in Mod/OpenSCAD/prototype.py 2023-03-27 11:14:08 +02:00
Yorik van Havre
ff5df2ce1f Merge pull request #9021 from chennes/draftDXFImportFix
Draft: Handle wantedLayer is None
2023-03-27 10:12:23 +02:00
Chris Hennes
cb10dbcceb Merge pull request #9068 from chennes/addonManagerExtractPysideInterface
Addon Manager: Extract PySide QtCore interface
2023-03-26 20:45:25 -05:00
Chris Hennes
506b93a4c5 Addon Manager: Pylint and Black cleanup 2023-03-26 20:18:05 -05:00
Uwe
9ebca4aec5 [FEM] [skip ci] add tooltip to a preferences option 2023-03-27 02:53:11 +02:00
Chris Hennes
d8e6260d61 Addon Manager: Extract PySide QtCore interface 2023-03-26 18:45:01 -05:00
Chris Hennes
fd1a8dc85a Merge pull request #9067 from Pesc0/removesix
remove remaining six dependencies
2023-03-26 17:36:47 -05:00
Pesc0
8e142f7a2e add TODO in Mod/Path/Base/Util.py 2023-03-26 23:56:01 +02:00
Pesc0
1c093e8729 remove remaining six dependencies 2023-03-26 23:39:00 +02:00