Commit Graph

35753 Commits

Author SHA1 Message Date
bgbsww
43f4db445a Element Map Test 2024-01-27 12:00:12 -06:00
Chris Hennes
f91d39bac3 Tests/Toponaming: Add test framework for makeShapeWithElementMap 2024-01-27 12:00:12 -06:00
Chris Hennes
d43fe277a7 Part/Toponaming: Basic linter cleanup of makeShapeWithElementMap
No major refactoring.
2024-01-27 12:00:12 -06:00
Zheng, Lei
d768706ebe Part/Toponaming: Add original code for makeShapeWithElementMap
Called TopoShape::makESHAPE in the original Toponaming branch. The code here has been modified as little as possible to get it to compile in current main.
2024-01-27 11:59:56 -06:00
Roy-043
c3d2f00ab1 Merge pull request #12123 from Roy-043/Arch-BuildingPart-fix-setEdit-and-unsetEdit
Arch: BuildingPart fix setEdit and unsetEdit
2024-01-27 15:44:06 +01:00
Roy-043
16d1a15018 Merge pull request #12127 from Roy-043/Draft-Scale-widget-did-not-handle-FEM-unit-system
Draft: Scale widget did not handle FEM unit system
2024-01-27 15:43:29 +01:00
wandererfan
02c6a90c16 [TD]fix extension bolt hole circle re scale/rotate 2024-01-27 08:07:59 -05:00
Chris Hennes
3d6fb38de1 Addon Manager: Fix git detection on mac 2024-01-26 17:43:54 -07:00
Chris Hennes
8109d8a3ae Addon Manager: Allow .py filenames
Also improve macro removal.
2024-01-26 17:43:37 -07:00
Chris Hennes
f0a1e049cc Addon Manager: Fix #11120 2024-01-26 17:43:18 -07:00
bgbsww
eb7c658a06 Add helper methods 2024-01-26 17:42:51 -07:00
Chris Hennes
441b1d2783 Merge pull request #12133 from marioalexis84/fem-contact_tie 2024-01-26 14:21:02 -07:00
marioalexis
38f7283016 Fem: Improve constraint tie - partial fixes #11653 2024-01-26 13:44:16 -03:00
marioalexis
6e75703425 Fem: Improve constraint contact - partial fixes #11653 2024-01-26 13:44:16 -03:00
marioalexis
0b76757b8a App: Add StiffnessDensity property 2024-01-26 13:44:16 -03:00
marioalexis
c2fbee6be4 Base: Add stiffness per unit area unit 2024-01-26 13:44:16 -03:00
wandererfan
c12a5c2a16 [TD]fix extension hole thread re scale/rotate 2024-01-26 10:02:36 -05:00
wandererfan
fc58bd83d1 [TD]fix extension Extend function re scale/rotate 2024-01-26 10:02:36 -05:00
Roy-043
bd3e78691e Draft: Scale widget did not handle FEM unit system
The FEM UserSchema (8) was not handled by the code.
2024-01-26 13:09:07 +01:00
Roy-043
b59911899f Arch: BuildingPart fix setEdit and unsetEdit
The Transform option from the Tree view context menu did not work.
2024-01-26 10:43:42 +01:00
Chris Hennes
f75db0dbb2 Addon Manager: Remove new-style type hints 2024-01-25 17:07:54 -07:00
Chris Hennes
4973614d32 Merge pull request #12087 from bgbsww/bgbsww-toponamingMakeElementShell
Toponaming makeElementShell
2024-01-25 12:49:07 -07:00
bgbsww
5a68162258 Tests for makeElementShell 2024-01-25 11:13:00 -05:00
Chris Hennes
8d88cc7e79 Addon Manager: Improve macro readme rendering 2024-01-25 09:02:27 -07:00
Zheng, Lei
9f3d6543c6 Transfer in MakeElementShell 2024-01-25 11:00:01 -05:00
Roy-043
e43bebc27d Merge pull request #12089 from Roy-043/Draft-Draft_Scale-make-sure-scale-input-boxes-show-at-least-6-decimals
Draft: Draft_Scale: make sure scale inputboxes show at least 6 decimals
2024-01-25 16:51:51 +01:00
bgbsww
9f84fbe9bb Tweak resetElementMap to default to empty defined element map (#12098)
* Tweak resetElementMap tp default to empty defined element map

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-24 21:24:08 -06:00
Ladislav Michl
62c3836c97 Addon Manager: Qt6 fixes 2024-01-24 11:24:07 -06:00
Chris Hennes
7b3ff9d9f3 Addon Manager: Replace QtWebEngine with QTextBrowser
Macro display is still a work-in-progress.
2024-01-24 10:42:40 -06:00
Chris Hennes
c7ac9ee848 Merge pull request #12064 from bdieterm/fixPlaneTransparency
Gui: add explicit transparency specification
2024-01-23 21:33:20 -06:00
Roy-043
00cd50bbf4 Merge pull request #12085 from Roy-043/Arch-importDAE-DaeUnsupportedError-is-defined-in-common.py
Arch: importDAE: DaeUnsupportedError is defined in common.py
2024-01-23 20:09:31 +01:00
Roy-043
520b8babda Draft: Draft_Scale: make sure scale inputboxes show at least 6 decimals
Fixes #7386.
2024-01-23 18:07:03 +01:00
Roy-043
d63ca9c2dc Arch: importDAE: DaeUnsupportedError is defined in common.py
Forum topic:
https://forum.freecad.org/viewtopic.php?t=84626
2024-01-23 17:52:32 +01:00
Chris Hennes
c47b380e85 Merge pull request #12028 from bgbsww/bgbsww-toponaming-makeElementFace
Toponaming move makEFace as makeElementFace and dependencies
2024-01-23 08:45:21 -06:00
Chris Hennes
5662c51ab4 Merge pull request #12054 from kadet1090/styling-elements-and-constraints-ui
Sketcher: Apply styling to elements and constraints UI
2024-01-23 08:40:48 -06:00
xtemp09
5aa36cd7dc Correction of #11775 2024-01-23 07:39:51 -06:00
bgbsww
a6ee5f4df9 Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-23 08:14:07 -05:00
wandererfan
3541ccc40d [TD]fix Compass widget update in section 2024-01-22 20:02:54 -05:00
wandererfan
deed6df1b2 [TD]fix line number not saved for cosmetic edge 2024-01-22 20:02:54 -05:00
Chris Hennes
1a7e3848b9 Merge pull request #12023 from bgbsww/bgbsww-patch-30
Initial code of mapSubElement Test
2024-01-22 16:02:00 -06:00
Chris Hennes
c3091337c5 Part/TopoShapeMapper: Add missing PreCompiled include 2024-01-22 15:57:54 -06:00
bgbsww
6ec676799d Small cleanups 2024-01-22 16:14:20 -05:00
bdieterm
240d1edda4 Part: add color transparency unit tests 2024-01-22 19:28:35 +01:00
Max Wilfinger
0bef2e927b [Sketcher] enable BSpline commands in contextual right click menu 2024-01-22 12:21:01 -06:00
bgbsww
5586c52069 Merge branch 'main' into bgbsww-toponaming-makeElementFace 2024-01-22 12:50:13 -05:00
WandererFan
cc45b58dad [Import]fix linkage warning on linux/gcc (#12071)
* [Import]fix linkage warning on linux/gcc


https://stackoverflow.com/questions/41167119/how-to-fix-a-wsubobject-linkage-warning

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-22 14:37:33 -03:00
Roy-043
a14e0cbbbb Draft: ShapeString double escape backslash in string
Fixes 12058.
2024-01-22 14:35:34 -03:00
Roy-043
341f71ec5b Draft: Inform user that objects without a Shape cannot be cloned
Fixes #11923.
2024-01-22 12:31:02 -05:00
Roy-043
5b98a762d1 Draft: Improve layer functions
The current make_layer function has a `None` default for the shape color and the line color. With that value the current preference is used. This, and how the function is called, results in some confusing behaviors:
* Newly created layers will only use 2 values from the preferences when they might use 5. The latter makes more sense for the end-user IMO.
* Layers created during DXF import (for example) will have a different shape color depending on the current preferences.
* The make_layer function may reapply colors that have already been set by the view provider.

To solve this all view property related function parameter have been changed to a not None value. If a None value is supplied the view property as set by the view provider is not changed. The Layer Manager has been updated accordingly.
I realize that calling a function with 6 None values is not very convenient, but think it is the solution that is least likely to break other exiting code.

Additionally:
* Removed the makeLayer function. Layers were introduced in V0.19 when the naming scheme was changed to "make_*". Maybe it was created by mistake, or before the actual renaming operation started, but it is safe to remove it now.
* Removed overly verbose messages.
* gui_layers.py had a missing import (result of a previous V0.22 PR): `from draftutils import utils`.
2024-01-22 11:29:13 -06:00
Chris Hennes
8c3ff5d3e9 Gui: Add missing override 2024-01-22 12:26:50 -05:00