Commit Graph

32043 Commits

Author SHA1 Message Date
Jolbas
6c3efbdb3b Fix create Rotation from scaled matrix
Support for creation of Rotation from matrices which is a combination of non uniform scale and a rotation
Fixes according to review
Scale -1 is Uniform, Not NoScaling
Fix hasScale() when negative scale
2023-02-24 20:33:40 -06:00
Roy-043
bdb6e1bd55 [Arch] fix Arch_Stairs stringer code (#8639) 2023-02-25 00:43:46 +01:00
wmayer
22587e360c Tests: add tests for quantities 2023-02-25 00:33:44 +01:00
Adrian Insaurralde Avalos
b15391752e Fix NaviCube default font incorrect display in pref. page 2023-02-25 00:00:56 +01:00
luzpaz
bf3f859736 OpenSCAD: lint OpenSCADUtils.py 2023-02-24 16:15:13 -06:00
Chris Hennes
f0b5cc07ae OpenSCAD: Remove old workaround code
Fixes #8621
2023-02-24 16:13:54 -06:00
0penBrain
09c1b9ce90 [BugFix] Expression: always add space char before unit when converting to string, fixes #8562 2023-02-24 19:44:44 +01:00
Uwe
9bc526c076 [Gui] attempt to fix getting NaviCube font name
- as discussed here: https://forum.freecad.org/viewtopic.php?t=76233 maybe the conversion to ".toLatin1()" is unsafe on some systems for non-ASCII characters on the font names
2023-02-24 16:58:38 +01:00
Uwe
cfc08e6dce [FEM] fixes for flow and electrodynamics examples
- define materials so that they are recognized by material handling as existing card
- use "electrodynamics" as equation because this is the common name for the physics of these examples
- fix typos
2023-02-24 16:50:42 +01:00
Uwe
d9244d5233 [Material] add heat parameters to aluminum alloys 2023-02-24 16:46:40 +01:00
Uwe
8c66538447 [FEM] fix for electrostatics examples
- define Air so that it is recognized by material handling as existing card
2023-02-24 16:44:49 +01:00
wmayer
4a390ddeb6 PD: refactor the constructor of TaskDialogPython 2023-02-24 16:35:51 +01:00
Uwe
45eff3aaed [FEM] add example for magnetostatics 2023-02-24 16:32:11 +01:00
Roy-043
63cb23d1fd [Draft] increase number spinboxes max in array task panels to 1 million (#8628)
The default max for spinboxes is 99. This PR increases it to 1 million for the number spin boxes of the array task panels.
2023-02-24 16:16:46 +01:00
Roy-043
19813124c3 [Arch] Arch_Stairs TreadDepth was based on unprojected edge (#8613) 2023-02-24 11:01:45 +01:00
0penBrain
c24f2fc09b [BugFix] Part: fix XSkew+YSkew editing not took into account for cylinders 2023-02-24 10:06:36 +01:00
0penBrain
dfe4c35600 [BugFix] Sketcher: correctly handles angle strings displayed at cursor for all locales, fixes #8611 2023-02-24 10:05:57 +01:00
Chris Hennes
39efbb379b Merge pull request #8623 from chennes/openscadTaskPanelButtons
OpenSCAD: Modify wording of task dialog buttons
2023-02-23 23:48:49 -06:00
Chris Hennes
311a15bc9f OpenSCAD: Modify wording of task dialog buttons
Fixes #8619
2023-02-23 22:59:13 -06:00
Chris Hennes
47e55738ce Merge pull request #8622 from chennes/openscadDialogTranslation
OpenSCAD: Translate file dialogs
2023-02-23 22:44:05 -06:00
Chris Hennes
89e787b5a5 OpenSCAD: Translate file dialogs
Fixes #8618
2023-02-23 22:08:22 -06:00
Chris Hennes
a2674f24af OpenSCAD: Support CSG loads from Load button
Fixes #8617.
2023-02-23 21:59:40 -06:00
Uwe
ad1f9cd0c4 [Part] fix encoding bug
- fixes the regression by #7255 -> the degree sign cannot be decoded as Latin1
2023-02-24 04:07:21 +01:00
Uwe
bb6b1979f6 [Material] remove unused Help button in editor dialog 2023-02-24 03:47:19 +01:00
Uwe
a8a646f165 [FEM] improve pvtu file filtering
- catch case of only 2D objects
- use vtkDataSet as input for all filters
2023-02-24 03:46:47 +01:00
sliptonic
5f3e781dbf Merge pull request #8563 from dresco/AdaptiveOutline
[Path] Adaptive - improve 'use outline' logic
2023-02-23 12:33:50 -06:00
sliptonic
359e559320 Fixes #8517
Avoid error in test log
2023-02-23 18:42:52 +01:00
Bernd Hahnebach
65938f9bc2 Arch: building part object, use IFC standard typ as initial IfcType 2023-02-23 16:55:28 +01:00
Bernd Hahnebach
2e5c518cec Arch: IFC export, fix export break if undefined building part and IFC4 is used 2023-02-23 16:49:17 +01:00
wmayer
dd23698cf2 Gui: handle language change events in task dialogs 2023-02-23 16:38:45 +01:00
wmayer
d2741d298c Gui: enable language change by default 2023-02-23 16:38:45 +01:00
wmayer
985919c7b4 Gui: expose more methods of UiLoader to Python 2023-02-23 16:38:45 +01:00
0penBrain
569154b73f Base: introduce 'getSafeUserUnit' that fallbacks to full precision and internal unit ...
... in case unit schema would zero a non-zero quantity

 For example, using '1 mil' with UnitsSchemaImperialDecimal schema
2023-02-23 15:22:07 +01:00
0penBrain
257629f9c7 PartDesign: better quantity values handling for primitives 2023-02-23 15:22:07 +01:00
0penBrain
31ecac57af Part: better quantity values handling for primitives 2023-02-23 15:22:07 +01:00
0penBrain
5bf522ebcf [Bugfix] Gui: fix bug in expression completer tokenizing, fixes #8590 2023-02-23 13:49:03 +01:00
Chris Hennes
91d553139d Gui: Fix use of undocumented init() function 2023-02-23 13:26:26 +01:00
Jonas Bähr
5fa3e021e8 PD: Fix the internal InvoluteGear's root/tip arc directions
The arcs on the tip (around the addendum) and the root (between the
fillets) used to have their bulge in the wrong direction for the internal
gear profile: their center points has been on the outside.
Since this error existed since the very first introcution of the internal
gear I assume this was done by accident: Instead of only the fillets, all
arcs have been inverted when the external profile was copied.
This commit now inverts the tip and root arcs again, to be concentric
with the pitch circle -- same as for the external profile.
2023-02-23 12:49:10 +01:00
Uwe
c8305549e2 [FEM] [skip ci] fix typos
- spot by the CI
2023-02-23 12:40:32 +01:00
Uwe
2d5aad845a [FEM] simplify Magnetodynamics 2D example
- thanks to the forum: https://forum.freecad.org/viewtopic.php?p=662830#p662830
2023-02-23 12:37:46 +01:00
Bernd Hahnebach
3a2a308101 Arch: IFC, import, add some comment 2023-02-23 10:55:41 +01:00
Uwe
486970b90d [FEM] add example for magnetodynamic 2D equation 2023-02-23 03:48:31 +01:00
Uwe
21369f227f [FEM] fix annoying material selection bug
- for some materials, just opening the material dialog and pressing OK to close it without any change resulted in a transient material
- for other materials this happened by clicking in the material dialog on a value to edit it, but not changing anything and press OK

The fix is to compare the items item by item and also handle the case that only digits of numbers are different
2023-02-23 03:23:12 +01:00
Uwe
c00a2d19ec [Material] fix major bug of wrong decimals
This PR fixes the long-standing major bug that for languages using ',' as decimal separator the material editor was useless. (bug no. 10 in https://forum.freecad.org/viewtopic.php?t=56912)
  the issue was that the value was handled as text. This PR:
- using a spinbox instead if a text edit to modify numbers (has also the advantage to be able to change values by spinning)
- sets min/max properly for all number data types

- also avoid rounding artifacts when changing Float values
2023-02-23 03:06:44 +01:00
luzpaz
57b365f18f Fix misc. typos and whitespace 2023-02-22 23:46:18 +01:00
Uwe
c0369770bc [Material] [skip ci] fix card for Graphite
- decimal sign was mixed ',' and '.' causing problems
2023-02-22 21:16:05 +01:00
wmayer
3545c55a35 Part: don't restrict width of group boxes in section cutting dialog 2023-02-22 21:06:12 +01:00
Bernd Hahnebach
b2ee277a94 Arch: IFC, import, add missing debug print new lines and skip information for 2D objects 2023-02-22 15:25:27 +01:00
Syres916
668ff4baf6 [Part] Fix Geometric Primitives task panel bug
See discussion https://forum.freecad.org/viewtopic.php?t=76218
2023-02-22 14:27:58 +01:00
Yorik van Havre
86cabf595a Merge pull request #8497 from yorikvanhavre/arch-nativeifc
Arch: Placeholder modules to handle files containing NativeIFC objects
2023-02-22 10:33:29 +01:00