Ajinkya Dahale
077fe45acd
[Sketcher] Refactor SketchObject::AutoLockTangencyAndPerpty()
2024-12-04 00:57:40 +05:30
Ajinkya Dahale
f5de512cf3
[Sketcher] Refactor SketchObject::delGeometry()
...
Just dropped cognitive complexity to 25.
2024-12-04 00:57:40 +05:30
Ajinkya Dahale
5bf1c3dac0
[Sketcher] Refactor SketchObject::getPoint()
...
...to reduce cognitive complexity.
Use templates to break longer functions. Also makes it possible to avoid
repetition of type-checking logic.
2024-12-04 00:57:39 +05:30
Aik-Siong Koh
5d143d1f59
Assembly: Simulation implementation
2024-12-03 20:07:04 +01:00
Yorik van Havre
0cbe738e25
BIM: Support for property sets in Native IFC ( #18067 )
...
* BIM: UI to add properties and psets to IFC objects
* BIM: Support native IFC objects in BimProperties
* BIM: Support removing IFC properties
* BIM: Fixed lint issues
2024-12-03 16:08:27 +01:00
Paul Lee
578640381a
[ArchWall] Further fix dumps()
...
Noted simply super().dumps() won't work as original method return dumps information.
2024-12-03 15:19:11 +01:00
Roy-043
aaf54262c4
BIM: import ToDo from correct file ( #18221 )
...
* BIM: import ToDo from correct file
* Oops, forgot to save some files.
2024-12-03 15:18:06 +01:00
wmayer
d1ef73dddc
Fix compiler warnings
2024-12-03 10:16:08 +01:00
Ladislav Michl
e62b91ada4
Base: Drop QString-std::string conversion functions from Tools
...
Convenience helpers function Tools::toStdString and Tools::fromStdString
were implemented for Qt4 or older to perform utf8 aware conversion as
QString::toStdString/QString::fromStdString were using toAscii/fromAscii
internally (see https://dreamswork.github.io/qt4/classQString.html ).
Since Qt5 QString uses toUtf8/fromUTf8, which makes the helper functions
obsolete (see https://doc.qt.io/qt-5/qstring.html#fromStdString ).
2024-12-02 23:30:53 -05:00
Vincent Belpois
1a13d25811
Sketcher: remove auto-generated 'enum value' comments
2024-12-02 23:27:26 -05:00
PaddleStroke
5d937a4f84
Assembly: Insert new part ( #17922 )
...
* Assembly: Joint Object : encapsulate the joint creation widget such that the task can be subclassed and ui customized by other commands.
* Assembly: Insert New Part
* Update src/Mod/Assembly/CommandInsertNewPart.py
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
---------
Co-authored-by: Kacper Donat <kadet1090@gmail.com >
2024-12-02 18:34:02 +01:00
Benjamin Bræstrup Sayoc
e025b1bfe2
[TechDraw] Translations and grammer ( #16301 )
...
Co-authored-by: WandererFan <WandererFan@gmail.com >
2024-12-02 12:27:39 -05:00
Pieter Hijma
46dfa2e39b
Gui: Fix VarSet dialog 2 digit problem
2024-12-02 12:17:56 -05:00
PaddleStroke
734814f495
Assembly: Make ExplodedView: a group extension. So that we don't mimick group. Fixing the delete exploded view group issue
2024-12-02 12:14:43 -05:00
Fabio Rossi
d4b495bfd5
add local OndselSolver includes only when not external
2024-12-02 12:04:54 -05:00
Florian Foinant-Willig
115667f73a
PartDesign: decouple refine and other geometric computation ( #17008 )
2024-12-02 10:57:30 -06:00
Benjamin Nauck
32e339447a
Move back the assembly util functions to AssemblyUtil ( #18020 )
...
* Move back util functions to AssemblyUtils again
* Add getPropertyByName<T>() helper
* Improve constness in AssemblyUtils
* [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-12-02 10:48:48 -06:00
Yorik van Havre
94a4727ce9
BIM: Set opening name - fixes #16948
2024-12-02 11:44:52 -05:00
Yorik van Havre
923297bc61
BIM: ensure the Base has the correct type ( #17264 )
...
* BIM: ensure the Base has the correct type - fixes #16409
* BIM: refactor according to chenne's comment
2024-12-02 10:44:11 -06:00
Chris Hennes
0f9afb13fa
Merge pull request #17826 from jbaehr/cam-fix-rename-cw-ccw-climb-conventional-main
...
CAM: Port #17655 to main: "Fix CW/CCW to Climb/Conventional rename"
2024-12-02 11:41:40 -05:00
Roy-043
bcd7373068
Solve merge conflict
...
OK, there was indeed a merge conflict due to reformatting.
2024-12-02 11:35:28 -05:00
luzpaz
ca9b0e4c58
Spreadsheet: use 'text' instead of 'foreground' in tooltip ( #18018 )
...
* Spreadsheet: use 'text' instead of 'foreground' in tooltip
2024-12-02 10:32:12 -06:00
Roy-043
2b2a80ac3c
Pattern name Diamant -> Diamond
2024-12-02 11:40:01 +01:00
Roy-043
3c21ff425e
Draft: Display default file and pattern in hatch task panel
...
Fixes #18197 .
2024-12-02 11:40:01 +01:00
martinRenou
479cf6ebf5
Fixing OfflineRenderingUtils.guidata on BIMExample.FCstd
2024-12-02 11:36:39 +01:00
wmayer
c5bb5def46
Gui: Do not ignore alpha channel when converting QImage to SoSFImage
...
Fixes #18213 : Sketcher constraints have black box backgrounds
2024-12-01 20:14:00 -05:00
Stephen Hurd
9749a07130
Fix compile on FreeBSD with spnav
...
If spnav is installed on a FreeBSD system, it will be detected,
but the build will fail. With this change, it both builds
successfully and works on FreeBSD.
2024-12-01 10:40:30 +01:00
mosfet80
0bdb8a0e22
Disable python2 support
...
Disable python2 support
2024-12-01 10:39:48 +01:00
wmayer
e4b7d7a29f
RE: Fix dialog title
2024-11-30 18:52:23 +01:00
mosfet80
5e9f2cf6ad
Clean MainWindow.cpp
...
Removed unused code
2024-11-30 14:13:46 +01:00
wmayer
f72679f6a5
Fix compiler warnings
2024-11-30 00:46:05 +01:00
Chris Mayo
7aedf91a1c
Remove MeshPy::coarsen() and code using GTS
...
FC_USE_GTS not used since before:
1162aaea88 ("Remove references to gts and ode", 2012-07-05)
GTSAlgos.h and GTSAlgos.cpp removed in:
db5c8f7db8 ("[Mesh] remove GTSAlgos", 2022-11-11)
MeshPy::coarsen() added not later than 2011 and never implemented.
2024-11-29 23:42:28 +01:00
Jiří Pinkava
edef0ba3c0
Gui: remove unused MDITabbar and MainWindowTabBar classes
2024-11-29 21:20:57 +01:00
Roy-043
a83f7f061d
Draft: Draft_Fillet: fix error in #17945 ( #18150 )
...
* Draft: Draft_Fillet: fix error in #17945
In #17945 the delete option of the command results in an error if subobjects are selected.
* Command should not be available if there is no selection
* Update copyright notice
2024-11-29 20:37:48 +01:00
Max Wilfinger
cb6bf1a9df
Update Sketcher external icons and cursors
2024-11-29 20:31:39 +01:00
wandererfan
997479c6c2
[TD]prevent use of non-exist/hidden tab in exports
2024-11-29 12:28:25 -05:00
wandererfan
c8f858a289
[TD]prevent crash on attempt to print hidden page
2024-11-29 12:28:25 -05:00
wandererfan
b9c798ca53
[TD]prevent fail on auto switch to hidden tab
2024-11-29 12:28:25 -05:00
wandererfan
cab84840b5
[TD]add preference for auto workbench switch
2024-11-29 12:28:25 -05:00
PaddleStroke
a664dd8337
Sketcher: OVP were drawn at wrong position when editing a sketch from link ( #18060 )
...
* Sketcher: OVP were drawn at wrong position when editing a sketch from a link.
* Update src/Mod/Sketcher/Gui/DrawSketchController.h
Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com >
---------
Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com >
2024-11-29 12:12:48 -05:00
Max Wilfinger
e83024ee02
replaced .xpm with .svg
2024-11-29 12:09:42 -05:00
Max Wilfinger
165f353db7
remove .xpm icons
2024-11-29 12:09:42 -05:00
Roy-043
0ce1b2176a
Merge pull request #18142 from Roy-043/Draft-fix-focus-behavior-of-radius-input
...
Draft: fix focus behavior of radius input
2024-11-29 18:08:20 +01:00
PaddleStroke
3357baef99
Core / Assembly: Add a way for vp edit modes to be restored.
2024-11-29 12:04:25 -05:00
PaddleStroke
ad22aa3a8c
PartDesign: Fix newSketch not working when editing a body from an external file.
2024-11-29 12:00:41 -05:00
Roy-043
23b67f72cc
Merge pull request #18164 from Roy-043/Draft-Fix-cursor-scaling-for-xcb-platform
...
Draft: Fix cursor scaling for xcb platform
2024-11-29 17:56:06 +01:00
bdieterm
1a00b40f12
Gui: use utf-8 encoding for saving recorded macros
...
FCMacros always have the header "# -*- coding: utf-8 -*".
But the QTextStream class in Qt5 does not always use utf-8 for saving the text file.
2024-11-29 11:55:17 -05:00
Roy-043
221a260e1f
Draft: fix color of arrays ( #18123 )
...
If `get_diffuse_color` returned a list with a single color, the list was wrongly multiplied. Regression introduced in V0.21, but in that version the error was masked by how Core handled the diffuse color.
Fixes #17052 .
2024-11-29 17:54:29 +01:00
PaddleStroke
50c4e2b4e1
Sketcher: External: Change style to : defining are solid lines. Non-defining dashed. Both use external color.
2024-11-29 11:36:55 -05:00
PaddleStroke
1d0373f40f
Sketcher: Hide External BSpline overlay informations.
2024-11-29 11:36:55 -05:00