Commit Graph

27937 Commits

Author SHA1 Message Date
wmayer
bff1efd665 FEM: Make sure that points and normals array have equal size as otherwise a crash may occur 2024-04-26 23:30:20 +02:00
Roy-043
d92f74ef01 Merge pull request #13633 from Roy-043/Draft-revert-Draft-WB-changes-from-13294
Draft: revert Draft WB changes from #13294
2024-04-26 10:46:05 +02:00
wmayer
fada9ed82c TD: Fix compiler warning
Warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare]
2024-04-25 10:46:24 +02:00
Roy-043
52fcdda6cf Merge pull request #13612 from cjmayo/draft-byteCount
Draft: Fix QImage object has no attribute 'byteCount'
2024-04-25 09:20:10 +02:00
Roy-043
7407eee427 Draft: revert Draft WB changes from #13294
Revert the Draft WB related changes of #13294.
2024-04-24 21:27:04 +02:00
Chris Mayo
b509511f44 Start: Allow system Microsoft GSL to be used 2024-04-24 14:23:21 -05:00
Chris Hennes
1ec93fdbc2 Update translations
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
Chris Hennes
c20d4b31c1 Merge pull request #13604 from wwmayer/fix_new_start_page
Start: Fix new start page
2024-04-24 13:57:36 -05:00
wmayer
839c1bd801 Start: Fix memory leak
* Set parent object to FileCardDelegate so that it will be destroyed if the list view is destroyed
* Inside FileCardDelegate::paint() delete the widget
2024-04-24 15:00:15 +02:00
WandererFan
a389403cdc Merge pull request #13219 from Ondsel-Development/TD_Insert
TechDraw: Unify Insert View tools (View, ProjGroup, Sheet, Arch, svg, image)
2024-04-24 08:24:26 -04:00
wmayer
bfe81650c2 Start: make compound widget in FileCardDelegate::paint() more flexible for Qt style sheets 2024-04-24 10:29:12 +02:00
wmayer
54f6d00833 Start: Add QApplication to PreCompiled.h 2024-04-24 08:22:35 +02:00
Bas Ruigrok
24657494c9 Start: Fix migration script 2024-04-23 19:03:22 -05:00
wmayer
ed1dbd4b95 Start: replace QGridLayout with FlowLayout 2024-04-23 23:53:52 +02:00
wmayer
4860462936 Start: add dynamic layout FlowLayout 2024-04-23 23:53:03 +02:00
Chris Mayo
213b61427a Draft: Fix QImage object has no attribute 'byteCount'
'PySide6.QtGui.QImage' object has no attribute 'byteCount'
load_texture: unable to load texture
2024-04-23 19:35:54 +01:00
wmayer
ce11192445 Start: Make the new StartPage look more like the old one
Use style sheets to give visual feedback about hovered or clicked buttons & labels
2024-04-23 16:00:10 +02:00
WandererFan
eb3e83b97a Merge pull request #13590 from farleyrunkel/refractor_tracker
TechDraw: Refractor tracker action with proper enum
2024-04-23 08:59:19 -04:00
wmayer
1c5d10ff71 Start: Add command Start_Start only once
This fixes an error message that the command is duplicated. And it fixes a memory leak
2024-04-23 12:04:21 +02:00
wmayer
003cbb2020 Start: do not try to open empty file name 2024-04-23 11:53:52 +02:00
wwmayer
c4c453312d PySide6: Fixes #13533: QSvgWidget is not a child of QtSvg in PySide6 (#13554)
* Create a compatibility module QtSvgWidgets.py to handle PySide2 & PySide6
* In the Arch and Material modules use the QtSvgWidgets module
* Since Qt6 the method QFont.setWeight() doesn't accept an int any more but requires an enum. Since the call of QFont.setBold(True) sets
  a weight of 75 the extra calls of QFont.setWeight(75) can be safely removed

Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
2024-04-22 18:35:33 -04:00
Chris Hennes
3d0239f2d8 FEM: Add SoSwitch.h to PreCompiled
Fix compilation on MSVC.
2024-04-22 20:35:12 +02:00
sliptonic
a041129090 Merge pull request #13134 from chennes/qtQuickTechDemo
Start: Recreate start as a QtWidgets-based app
2024-04-22 11:49:02 -05:00
Chris Hennes
f47138c08a Merge pull request #13520 from wwmayer/fix_material
Fix further material issues
2024-04-22 11:16:44 -05:00
WandererFan
18b7445c6a Merge pull request #13519 from Roy-043/Sketcher-Improve-GUI-texts-in-SketcherSettingsAppearance.ui
Sketcher: Improve GUI texts in SketcherSettingsAppearance.ui
2024-04-22 12:16:00 -04:00
WandererFan
1b91d8de8d Merge pull request #13511 from Ondsel-Development/sk_polyline_midpoint
Sketcher: Fix mid-point autoconstraint not working with polyline.
2024-04-22 12:15:18 -04:00
PaddleStroke
cb0a2d2809 Sketcher: Joint Line and Polyline in a command group. 2024-04-22 11:14:45 -05:00
sliptonic
418219330f Merge pull request #13503 from mosfet80/patch-34
[Mod] removed duplicated pi
2024-04-22 11:12:04 -05:00
David Carter
3f825e7ac3 Material: MaterialTreeWidget usability enhancements
Improves the MaterialTreeWidget beyond minimum viable product.

- Filters can now be filter lists to allow a variety of filtering
	options.
- User preferences allow the inclusion/exclusion of favorites and
	recents.
- Widget state such as expansion, tree expansions, etc are saved and
	restored.
- show current appearancee material when editing.
- implements a python interface

#fixes 13421: always opens full tree
2024-04-22 11:11:39 -05:00
Chris Hennes
2326d3ce4c Merge pull request #13495 from wwmayer/material_colors
Support to customize all material colors
2024-04-22 11:09:05 -05:00
WandererFan
689a13527c Merge pull request #13489 from yorikvanhavre/draft-axes-colors
Draft: Use preference-stored colors for axes colors
2024-04-22 12:08:17 -04:00
Chris Hennes
6c3ea9fbdd Merge pull request #13464 from marioalexis84/fem-ccx_element_types
Fem: Add element types to ABAQUS writer
2024-04-22 11:05:26 -05:00
Roy-043
50be3dcdfc Sketcher: Make geometry menu texts more consistent
Create circle -> Create circle by center
three points -> 3 points
2024-04-22 11:01:53 -05:00
Roy-043
0a514c201a Sketcher: Make constraints menu texts more consistent
The current constraints menu texts are not very consistent. Particularly the mix of adverbs (horizontally) and adjectives (symmetrical) is strange.
2024-04-22 11:01:06 -05:00
FEA-eng
f237634cb3 FEM test INC value fix (#13397) 2024-04-22 10:56:25 -05:00
marioalexis84
7d4d5eddf5 Fem: Constraint symbol scaling (#13274)
* Fem: Constraint symbols rescaling

* Fem: Add constraint symbol .iv files

* Fem: Fix contact constraint symbol rescaling

* Fem: Fix displacement constraint symbol rescaling

* Fem: Fix fixed constraint symbol rescaling

* Fem: Fix force constraint symbol rescaling

* Fem: Fix heat flux constraint symbol rescaling

* Fem: Fix plane rotation constraint symbol rescaling

* Fem: Fix pressure constraint symbol rescaling

* Fem: Fix spring constraint symbol rescaling

* Fem: Fix temperature constraint symbol rescaling

* Fem: Add tie constraint symbol
2024-04-22 11:49:13 -04:00
PaddleStroke
2960c4e57a Fix typo introduced by solving conflict. 2024-04-22 17:16:50 +02:00
PaddleStroke
724c01b8d9 TechDraw: TaskProjGroup.ui : use QGroupBox instead of lines for app consistency. 2024-04-22 15:53:14 +02:00
PaddleStroke
55fbbb5d6e TechDraw: Insert tool insert DrawViewProjGroupItem that can then be transfered into groups and back. 2024-04-22 15:53:14 +02:00
PaddleStroke
4ebe22f166 TechDraw: Enable setting a custom direction. Fixes #5821 2024-04-22 15:53:14 +02:00
PaddleStroke
59f8d6391f TechDraw: InsertView switch the MDI to page when triggered. 2024-04-22 15:53:14 +02:00
PaddleStroke
77ed2eeed5 TechDraw: Add taskbox to Part View. Removes Projection Group from toolbar. 2024-04-22 15:53:14 +02:00
PaddleStroke
3fff49f7f6 TechDraw: Insert View : Enable handling of image and SVG if no selection. 2024-04-22 15:53:14 +02:00
PaddleStroke
68fe9df121 TechDraw: Insert View : Enable handling of spreadsheet and arch objects. Remove the spreadsheet and arch specific commands from the toolbars 2024-04-22 15:53:14 +02:00
Farley Runkel
31f5ca51da TechDraw: Refractor tracker action with proper enum 2024-04-22 18:21:49 +08:00
Chris Hennes
e0debb03ca Start: Cleanup and minor bugfixes
Start: Remove QML include
Start: Eliminate errors on unreadable images
Start: Ensure command succeeded
Start: Correct startup WB
Also re-enable the migrator, which was not the culprit.
Gui: Roll back unneeded NoneWorkbench changes
2024-04-21 22:27:50 -05:00
Chris Hennes
9b1ef66e98 Remove WebKit SVG renderer. 2024-04-21 22:27:50 -05:00
Chris Hennes
c35693fd8a Web: Remove GUI
Web no longer provides a user-visible browser, but only a simple server for remote interaction with FreeCAD. Dependency on QtWebWengine has been removed.
2024-04-21 22:27:50 -05:00
Chris Hennes
bbf9192fc7 Start: UX refinements
Start: Automatically run command when event loop starts
Also sets PartDesign as the default startup Workbench.
Start: Add checkbox for starting or not starting Start
Start: Correct default card size parameter access
Start: General cleanup
2024-04-21 22:27:50 -05:00
Chris Hennes
7742832df3 Start: Migrate settings from Workbench to Command 2024-04-21 22:27:50 -05:00