Commit Graph

27682 Commits

Author SHA1 Message Date
Chris Hennes
b164457a30 Materials: Correct PreCompiled.h includes in App 2024-01-21 09:52:55 -07:00
bdieterm
62a6fab19b Gui: add explicit transparency specification 2024-01-21 17:41:31 +01:00
wandererfan
562fb5114a [TD]handle View rotation in ExtensionPack circle centerlines 2024-01-21 09:28:19 -05:00
marioalexis
674cc4b0ec Fem: Call base class handleChangedProperyType function 2024-01-20 20:20:56 -07:00
Ajinkya Dahale
6dda56117a [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
e5ae85e8fd [TD]protect against stretch factor == 0 2024-01-20 18:58:55 -05:00
wandererfan
c15e1d3295 [TD]handle equal section line end points 2024-01-20 18:58:55 -05:00
Kacper Donat
ecd591450c Sketcher: Make Constraints UI style aware
This adds reference to the actual widget to the painting of Constraints
List control of Sketcher. Thanks to this this list can now be styled
using standard mechanisms of Qt framework like QSS.
2024-01-20 21:59:01 +01:00
Kacper Donat
122f163d0c Sketcher: Draw proper checkbox control in Elements UI
This ensures that checkboxes drawn in the Elements UI of the sketcher
can be styled using the correct style.

Three changes are introduced:
1. paint() method uses style provided by the widget, not application.
2. Indicator is drawn using PE_IndicatorCheckBox not CE_CheckBox - it
   allows to use ::indicator in qss to style it properly. This works the
   same as TreeView.
3. Fix for minor issues with text alignement and extension of selected items
   background to cover checkbox. This is how other controls of this kind
   work.
2024-01-20 21:59:01 +01:00
marioalexis
9da842d884 Fem: Improve self weight constraint - fixes #11652 2024-01-20 08:57:46 -07:00
Paddle
17893d39ca Sketcher: PythonConverter: Replace useLastGeoIdVar bool by enum class 2024-01-20 06:49:32 +01:00
sliptonic
30b907ec5d Merge pull request #12041 from Ondsel-Development/fixorderbywidget
fixes #12029
2024-01-19 12:12:46 -06:00
sliptonic
ccaa636c72 fixes #12029 2024-01-19 11:31:53 -06:00
Roy-043
cb2fdeeeea 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
bgbsww
2699c748c8 Improve tests 2024-01-19 10:49:47 -05:00
Roy-043
a81009d8c4 Arch: Bring back Axis bubbles and show annotation DrawStyle in ArchView
* Restores Arch_Axis bubbles in a TechDraw_ArchView. This fixes a regression in V0.21 and 0.22, I suspect an unwanted side-effect of a previous PR of mine (#8688).
* Also fixes the linetype of axes and other annotation objects in a TechDraw_ArchView.
2024-01-19 16:37:07 +01:00
Paddle
eb91978459 Sketcher : Distance constraint : introduce arc helpers for conic distances. 2024-01-19 11:50:38 +01:00
Paddle
8ed22b0fd8 Sketcher: copy paste : move from XML to python. 2024-01-19 11:13:53 +01:00
Paddle
a8b6e1e9c3 Sketcher: python converter : add possibility to add lastGeoId to the constraint process. 2024-01-19 11:13:53 +01:00
Paddle
fd2e35b7eb Sketcher: Add copy/cut/paste sketcher commands 2024-01-19 11:13:53 +01:00
Paddle
df867a25b2 Sketcher : arc angle render improvement. 2024-01-19 11:13:09 +01:00
Paddle
dca00ec80e Sketcher : improve single line angle rendering. 2024-01-19 11:13:09 +01:00
Paddle
64c867eb0e Sketcher Fix radius arc helpers. 2024-01-19 11:13:09 +01:00
Roy-043
fce98fa57e Arch: Revised preference ui files, remove WindowColor
Follow-up PR of #11940.

* The new ui layout follows that of the Draft preferences.
* The ConversionFast checkbox enables/disables the 3  preferences listed below it.
* The WindowColor preference was removed. It is not a per-object, or even a per-file setting. The fix in #11940 would change windows in existing projects when they are recomputed. It is therefore better to keep the V0.21 solution where the glass is colored according to the preferences and the rest of the window receives a color based on its ShapeColor. Users who want to apply specific colors can use a multi-material.
2024-01-19 10:05:15 +01:00
wandererfan
0eee1c476a [TD]fix Complex Section scale with DPGI base 2024-01-18 13:27:29 -05:00
wandererfan
cf3189fef7 [TD]fix Section scale for DPGI base views 2024-01-18 13:27:29 -05:00
bgbsww
21b7da61b3 Lint and other cleanups 2024-01-18 11:46:15 -05:00
Roy-043
893f0fed5b Multiply textheight by DefaultAnnoScaleMultiplier 2024-01-18 15:43:15 +01:00
Roy-043
544bd1e7ea 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
893238c2ab Merge pull request #11939 from davidgilkaufman/restMachiningFromGcode
[Path] Rest machining from gcode
2024-01-18 07:49:54 -06:00
Chris Hennes
8bc54e242c Merge pull request #11980 from 3x380V/fix_material_qt6
Material: fix Qt6 build failure
2024-01-17 21:36:14 -06:00
Zheng, Lei
f4cc2df2bd Toponaming move makEFace as makeElementFace and dependencies 2024-01-17 20:38:50 -05:00
Paddle
4acff3f66f Sketcher: polyline: fix ESC exit tool 2024-01-17 13:53:04 -03:00
Paddle
919d8c9392 Sketcher: bspline: fix ESC exit tool 2024-01-17 13:53:04 -03:00
wandererfan
80c2942c22 [Import]fix rounding errors in dxf export 2024-01-17 11:33:50 -05:00
bgbsww
cfdbf79b2b Initial code of mapSubElement Test 2024-01-17 09:13:39 -05:00
Paddle
6db820a580 Sketcher: Define double click on edges : Select the whole wire. 2024-01-17 11:05:28 -03:00
Paddle
b0176c2d92 Sketcher: add isPeriodicBsplineCurve helper function 2024-01-17 11:05:28 -03:00
bgbsww
969090b844 Move MapperMaker and MapperHistory out to future PR 2024-01-17 08:55:16 -05:00
Roy-043
904bb57538 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
Zheng, Lei
7d67c319ec Restore RT hash code for OCC < 7.8.0 2024-01-16 22:43:59 -05:00
Zheng, Lei
c1b296dab8 ShapeMapper code from RT branch to new TopoShapeMapper files 2024-01-16 20:11:43 -05:00
wandererfan
2e5d902d1a [TD]Dimension validation improvements 2024-01-16 20:07:30 -05:00
Chris Hennes
14d4ea2416 Merge pull request #11883 from wavexx/pch_build_fix
Fix build with precompiled headers
2024-01-16 14:06:34 -06:00
marioalexis
27a0fb1e99 Fem: Fix constraint arrows - fixes #6073 2024-01-15 19:21:09 -06:00
Chris Hennes
0e179297bd Interim commit 2024-01-15 19:13:33 -06:00
Chris Hennes
1a9f2716d2 Part/Toponaming: Merge makECopy from Toponaming 2024-01-15 19:07:18 -06:00
Chris Hennes
d9ea13ddec Part/Toponaming: Refactor to eliminate boolean blindness 2024-01-15 18:03:30 -06:00
Chris Hennes
920dbf9133 Part/Toponaming: Linter cleanup of makeElementWires 2024-01-15 16:39:48 -06:00
Chris Hennes
f659df97e9 Part/Toponaming: makeElementWires linter cleanup 2024-01-15 16:39:44 -06:00