Commit Graph

30421 Commits

Author SHA1 Message Date
wmayer
fe69762652 Qt6: QColor::setNamedColor is deprecated since Qt 6.6 2024-09-11 15:41:04 +02:00
spanner888
a4313f358e save after del, new, add (#16230)
Co-authored-by: spanner888 <spanner888@users.noreply.github.com>
2024-09-10 11:20:35 -05:00
sliptonic
6ac0cb7588 set default directory for sanity (#15934)
Respond correctly if user cancels  Fixes #14796

Co-authored-by: Brad Collette <bradcollette@pop-os.localdomain>
2024-09-10 10:23:13 -05:00
Roy-043
3503d677a9 BIM: BimWindow.py add missing imports (#16308) 2024-09-10 12:24:29 +02:00
Furgo
5af5936c24 BIM: Fixes profile tool positioning (#16305)
* [BIM] Get working plane when picking a point

Fixes: #16284

* Use the new way of getting the Draft Working Plane
2024-09-10 11:48:39 +02:00
Murmele
6270d73bab Measure: Show delta option also in interactive mode (#16379)
* Initial commit to apply delta also for interactive measurement
* Not required special logic to check if possible, it can be easily checked if the property exists
* remember setting so it is not required to turn it always on
2024-09-09 21:39:27 -05:00
Kacper Donat
e260cf5c8a Sketcher: AutoColor should update only colors
Previously AutoColor property forced reinitialization of all subscribed
parameters. It was mostly fine as most of them should stay in sync with
user settings but it also affected grids.
2024-09-09 21:19:35 -05:00
marioalexis
92e31fa7ea Fem: Set Elmer result output format to Ascii 2024-09-09 11:35:22 -05:00
marioalexis
395574ae19 Fem: Allow only one shape type per mesh group - Partially revert #16076 2024-09-09 11:32:51 -05:00
Morimiue
62460a0334 Sketcher: transfer constraints on conic's mid point to the newly created conic arc (e.g. ellipse arc)" -m "Fixes #15860" -m "When spliting a sketch curve, constraints on the original curve are transferred to the newly created curve. The original code did not consider the constraints on the center point of an ellipse arc. 2024-09-09 18:31:13 +02:00
Yorik van Havre
7b3eca8396 Translations (#16389)
* Translations: Updated ts files

* Translations: Merged crowdin translations

* [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-09-09 18:25:52 +02:00
PaddleStroke
7f83336ba8 Assembly: Replace Offset and Rotation properties by Offset1 and Offset2, giving full control over JCS positions. 2024-09-09 18:22:06 +02:00
Yorik van Havre
bd06fa3f03 Merge pull request #16140 from Ondsel-Development/sk_rectangle_thickness_crash
Sketcher: Fix round corner + thickness issue if radius + thickness = 0
2024-09-09 18:14:41 +02:00
Florian Foinant-Willig
355610cfb3 [PD] Fix helix placement 2024-09-09 18:11:25 +02:00
Syres916
0b7632261f [Spreadsheet] Fix CSV import by insert 2024-09-09 18:04:02 +02:00
wmayer
1d0fe1ab28 Port: Include some important changes of the OpenBSD port
Forum thread: https://forum.freecad.org/viewtopic.php?t=80792
2024-09-09 18:01:38 +02:00
Benjamin Nauck
fdb0b46857 Spreadsheet XLSX import: Fix bug causing xls import failing for some operators (#16336)
* Fix bug causing xls import failing for some comparisons

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

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

---------

Co-authored-by: Benjamin Nauck <benjamin.nauck@adlede.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-09 17:55:54 +02:00
Roy-043
e887ef3949 BIM: ArchFence: Fix some color issues
* ShapeAppearance property was misspelled.
* The post and section objects could not be Std_Parts (because they do not have a DIffuseColor).
* Minor improvements to the handling of Bodies.
* Removed the `if __name__ == '__main__':` section. This code is no longer relevant.
2024-09-09 17:52:35 +02:00
Furgo
17f74188d3 [BIM] Separate profile name from label number (#16304)
* [BIM] Separate profile name from label number

Fixes: #16286

* Make internal name generic
2024-09-09 17:45:34 +02:00
wandererfan
4e655a888c [TD]fix initial balloon placement on rotated view (fix #16234) 2024-09-09 17:41:51 +02:00
Roy-043
1115f77fcf BIM: Fix window transparency
V1.0 fix for the transparency of glass panels in windows and doors.
2024-09-09 11:41:37 +02:00
huguesdpdn-aerospace
3795904a00 PD: Xerces-C++ - Prepare for the latest version (backward compatible) 2024-09-08 20:31:25 -05:00
Syres916
cf2b98b519 [Measure] Disable QuickMeasure for TechDraw, Spreadsheet, Part Container and Origin objects (#16225)
* [Measure] Disable QuickMeasure for TechDraw objects
* [Measure] Add spreadsheet, Part containers and origins to the exemptions
2024-09-08 16:50:26 -05:00
FEA-eng
e39d0d82d7 FEM: Update Material.ui 2024-09-08 20:14:46 +02:00
FEA-eng
859980fc9e FEM: Update write_femelement_material.py 2024-09-08 20:10:27 +02:00
FEA-eng
c50cb8f180 FEM: Update task_material_common.py
Fix from benj5378
2024-09-08 20:06:39 +02:00
Bas Ruigrok
cb98abcc42 Move isLink and isLinkGroup from AssemblyObject to DocumentObject 2024-09-08 11:56:14 +02:00
CalligaroV
d3f6f3e49e Sketcher/Toponaming: import code for SketchObject::checkSubName() from LS3
* applied review hints

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-09-08 10:39:54 +02:00
Zheng, Lei
38c6d842f2 Sketcher/Toponaming: import code for SketchObject::checkSubName() from LS3
* import code
 * add modified_item assignment in TaskSketcherElements::onSelectionChanged() like for non ExternalEdge
2024-09-07 14:08:23 +02:00
Bas Ruigrok
e9fc6fb89a Move getGlobalPlacement from AssemblyObject to GeoFeature 2024-09-07 13:27:59 +02:00
Bas Ruigrok
5ed26f56f1 Move splitSubName from AssemblyObject to Base::Tools 2024-09-07 13:27:59 +02:00
David Carter
7ed1e9380a Materials: UI updates for transparency
Add missing UI elements to support per face transparencies:
- Setting per face transparencies
- show transparency information in the appearance inspector
- expose alpha channel in material properties dialog
2024-09-06 14:17:20 -05:00
Roy-043
fe40748c10 Draft: fix snapping to endpoints of dimension lines (V0.19 regression)
This fixes a regression introduced in V0.19 (!) when the type of linear dimensions was changed from "Dimension" to "LinearDimension".

Forum topic:
https://forum.freecad.org/viewtopic.php?t=90292
2024-09-05 13:18:32 +02:00
Chris Hennes
01d9e0c093 Merge pull request #16265 from kadet1090/sketcher-taskpanel-fixes
Gui: Fix issues with icons in sketcher elements panel
2024-09-04 08:37:43 -05:00
PaddleStroke
bf50745075 Sketcher: Rectangle DSH: refactor the createShape function. 2024-09-04 08:32:22 +02:00
PaddleStroke
a1c3b48b56 Sketcher: Fix round corner + thickness issue if radius + thickness = 0. 2024-09-04 08:32:22 +02:00
Adrian Insaurralde Avalos
7274dac185 CAM: apply precommit 2024-09-03 14:54:36 -04:00
Kacper Donat
b46ba096b2 Gui: Make sketcher element icons normally opaque 2024-09-03 20:53:47 +02:00
Kacper Donat
4a770767d3 Gui: Force 24px icons in sketcher task panel 2024-09-03 20:53:47 +02:00
Adrian Insaurralde Avalos
f12c2e0252 CAM: fix too long comments that are problematic for precommit 2024-09-03 14:53:24 -04:00
sliptonic
90e24232a0 added CAM to precommit 2024-09-03 14:53:14 -04:00
Chris Hennes
853e3ee672 Merge pull request #16260 from Ondsel-Development/test_fix_failing_point
Test: remove unecessary toggle that is failing the test
2024-09-03 13:22:42 -05:00
PaddleStroke
d01d71198d Sketcher: CommandConstraints: Make sure points are created as constructions in few functions. 2024-09-03 18:28:54 +02:00
PaddleStroke
abb1eb46e9 Sketcher: Point DSH : remove unecessary "toggleConstruction(%d)", 2024-09-03 18:27:34 +02:00
PaddleStroke
4d5fa15d24 Test: remove unecessary toggle that is failing the test 2024-09-03 18:17:01 +02:00
wmayer
e3f9e192f6 TD: Fix warnings 2024-09-03 17:27:00 +02:00
wmayer
c11a6f1013 Assembly: Fix compiler warning 2024-09-03 16:26:52 +02:00
wmayer
6812aca7f8 PD: Fix compiler warning 2024-09-03 16:26:52 +02:00
Jiří Pinkava
80805910a6 BIM: fix invalid converesion of button to int 2024-09-03 14:30:43 +02:00
Benjamin Bræstrup Sayoc
941656bcd3 [TechDraw] Some refactoring of frame pen 2024-09-02 16:53:37 -04:00