Commit Graph

35667 Commits

Author SHA1 Message Date
xtemp09
fbb114c47c Fix occasional segmentation fault when exiting
Fixes #11521.
2024-01-22 10:49:52 -06:00
Chris Hennes
4d416016e5 Merge pull request #11537 from Ondsel-Development/copy_paste_2023
[Sketcher] Add copy/cut/paste sketcher commands
2024-01-22 10:45:22 -06:00
André Caldas
e6b5fd0a21 Does not rely on the pointervalue returned by getNameInDocument() to use as a DAG key.
In order to make getNameInDocument() always return a valid string,
we implement a getDagKey() method that shall be used instead of getNameInDocument()
when we want to use the pointer value as a "key" to identify the DocumentObject.
2024-01-22 10:40:24 -06:00
marioalexis
500f3b6086 Material: Initialize types 2024-01-22 08:53:38 -06:00
Chris Hennes
d260e1df43 Merge pull request #12059 from 3x380V/pyside6_fixes
Pyside6 fixes
2024-01-22 08:03:32 -06:00
Chris Hennes
0c403ca2f1 Merge pull request #12061 from 3x380V/base_cleanup
Base cleanup
2024-01-22 08:01:17 -06:00
Ladislav Michl
d03a0dfcd7 Gui: Consolidate Python -> Qt class conversion 2024-01-22 06:58:17 +01:00
Ladislav Michl
3dd2fc8f0f Gui: Consolidate module error message in PythonWrapper 2024-01-22 06:58:17 +01:00
Ladislav Michl
cf3d084ca2 CMake: Fix searching for pip installed PySide 2024-01-22 06:58:17 +01:00
Ulices
bf7adc51d1 PartDesign: Update Length/Offset when Occurrences changes (#12069)
* Add 'HACK:'/`NOTE:` tags to get special highlightning

* [PD] Bugfix: Update Length/Offset when Occurrences changes

Fix #12068
2024-01-21 18:52:34 -06:00
marioalexis
5b7cca7703 Fem: Set PotentialEnabled to False in capacitance_two_balls example - fixes #9707 2024-01-21 16:23:29 -07:00
Chris Hennes
e11a65813c Materials: Correct PreCompiled.h includes in Gui 2024-01-21 09:52:55 -07:00
Chris Hennes
de46393711 Materials: Correct PreCompiled.h includes in App 2024-01-21 09:52:55 -07:00
Ladislav Michl
839cd947c7 Base: Replace if else with switch statement 2024-01-21 16:14:12 +01:00
Ladislav Michl
3a25a66a05 Base: Do not use else before return 2024-01-21 16:14:12 +01:00
Ladislav Michl
411b7573cc Base: Use std::recursive_mutex 2024-01-21 16:14:12 +01:00
wandererfan
f178206a2f [TD]handle View rotation in ExtensionPack circle centerlines 2024-01-21 09:28:19 -05:00
marioalexis
336bf03ada Fem: Call base class handleChangedProperyType function 2024-01-20 20:20:56 -07:00
Ajinkya Dahale
04bc6f8006 [Sketcher] Visualize B-spline in edit mode
Instead of the control polygon, or "join the dots" for interpolated splines.
2024-01-20 18:45:18 -07:00
wandererfan
a4c55b9ec8 [TD]protect against stretch factor == 0 2024-01-20 18:58:55 -05:00
wandererfan
d1297ebf85 [TD]handle equal section line end points 2024-01-20 18:58:55 -05:00
marioalexis
56d4214317 Fem: Improve self weight constraint - fixes #11652 2024-01-20 08:57:46 -07:00
Paddle
85b5a343f0 Sketcher: PythonConverter: Replace useLastGeoIdVar bool by enum class 2024-01-20 06:49:32 +01:00
sliptonic
fc1b138db2 Merge pull request #12041 from Ondsel-Development/fixorderbywidget
fixes #12029
2024-01-19 12:12:46 -06:00
Roy-043
62c951112d Merge pull request #12042 from Roy-043/Draft-DraftGui.py-make-type-of-self.facecolor-consistent
Draft: DraftGui.py make type of self.facecolor consistent
2024-01-19 18:59:20 +01:00
sliptonic
8e48165b16 fixes #12029 2024-01-19 11:31:53 -06:00
Roy-043
c155edcd87 Draft: DraftGui.py make type of self.facecolor consistent
Since V0.19 self.facecolor had two types: integer (initial value) or QColor. With this PR it is again always a QColor.
2024-01-19 18:31:11 +01:00
Chris Hennes
297dff5e9b Merge pull request #12007 from chennes/toponamingElementNameComparator
App/Toponaming: Add Comparator for mapped elements
2024-01-19 09:20:59 -06:00
Chris Hennes
f2fbac8e5e Merge pull request #12024 from Ondsel-Development/property_rightclick
Core : Tree: Add 'Properties' action in contextual menu. Opens a prop…
2024-01-19 08:58:54 -06:00
Kacper Donat
1a4639f71f Gui: Fix scroll behaviour in preference pages selector
This fixes problem with scroll jumping after selecting page on bottom of
the pages tree view. It was caused by collapsing group of the current
item and then re-expanding it few lines after.

Fixes: #12000
2024-01-19 08:27:05 -06:00
Paddle
7654c4446b Sketcher: copy paste : move from XML to python. 2024-01-19 11:13:53 +01:00
Paddle
f0c491ef79 Sketcher: python converter : add possibility to add lastGeoId to the constraint process. 2024-01-19 11:13:53 +01:00
Paddle
88883faaf8 Sketcher: Add copy/cut/paste sketcher commands 2024-01-19 11:13:53 +01:00
Paddle
f7798327cf Core: PropertyEditor : save properly the size of the first column. 2024-01-19 10:49:33 +01:00
Paddle
21905c0d62 Core: add property command, that shows property view. 2024-01-19 10:26:00 +01:00
wandererfan
62bd9b5e4a [TD]fix Complex Section scale with DPGI base 2024-01-18 13:27:29 -05:00
wandererfan
238e8acda5 [TD]fix Section scale for DPGI base views 2024-01-18 13:27:29 -05:00
Roy-043
5e67755b4f Multiply textheight by DefaultAnnoScaleMultiplier 2024-01-18 15:43:15 +01:00
Roy-043
be03a9cebf Arch: implement new get_param functions
Additionally 2 Arch_Window bugs were fixed:
* If the W1 value was changed the box tracker was not repositioned relative to the cursor.
* The WindowColor was not applied because of a typo in the code. De current default color is quite dark BTW.

Note that all dimensional values that were not really defaults, but just the last entered values, have been removed from preferences-archdefaults.ui. As a result the layout looks a bit strange. That will be improved in a next PR.
2024-01-18 15:43:15 +01:00
sliptonic
4e53dcc7ac Merge pull request #11939 from davidgilkaufman/restMachiningFromGcode
[Path] Rest machining from gcode
2024-01-18 07:49:54 -06:00
Chris Hennes
b818224943 Merge pull request #11980 from 3x380V/fix_material_qt6
Material: fix Qt6 build failure
2024-01-17 21:36:14 -06:00
Chris Hennes
f0f5a0a5bc Merge pull request #11994 from 3x380V/avoid_fmtlib
Tests: Avoid use of fmtlib when not needed
2024-01-17 21:35:23 -06:00
Paddle
af76942a0b Sketcher: polyline: fix ESC exit tool 2024-01-17 13:53:04 -03:00
Paddle
8b888814e6 Sketcher: bspline: fix ESC exit tool 2024-01-17 13:53:04 -03:00
wandererfan
0e53aafa86 [Import]fix rounding errors in dxf export 2024-01-17 11:33:50 -05:00
Paddle
56bf4e7ebd Core : Tree: Add 'Properties' action in contextual menu. Opens a property dialog. 2024-01-17 17:00:55 +01:00
Paddle
ec7e3ea364 Sketcher: Define double click on edges : Select the whole wire. 2024-01-17 11:05:28 -03:00
Paddle
e5dcbf1f45 Sketcher: add isPeriodicBsplineCurve helper function 2024-01-17 11:05:28 -03:00
Roy-043
930059b69f Merge pull request #12019 from Roy-043/Draft-Task-panel-checkboxes-were-repositioned-by-accident
Draft: Task panel checkboxes were repositioned by accident
2024-01-17 11:31:46 +01:00
Roy-043
744ef19866 Draft: Task panel checkboxes were repositioned by accident
In a previous PR of mine I have reorganized some lines of code in DraftGui.py without realizing that this would reposition checkboxes. This PR fixes that.
2024-01-17 11:00:40 +01:00