Commit Graph

37520 Commits

Author SHA1 Message Date
Yorik van Havre
01ca12ef6e BIM: Fixed missing import in TDView - #14224 2024-05-27 11:13:13 -05:00
Yorik van Havre
458e2727d2 BIM: Fixed more wrong resource loading - #14210 2024-05-27 11:12:44 -05:00
Yorik van Havre
b7fb03fadd BIM: improved IsActive behaviour - fixes #14061 2024-05-27 11:10:36 -05:00
marcuspollio
7561eef962 UI : update zoom-all.svg icon
Following PR 13932 (based on Forum and Discord discussions)

Second PR
2024-05-27 11:08:09 -05:00
hlorus
24ca6056f4 [MeasureGui] Make initial measurement placement zoom independent 2024-05-27 11:07:19 -05:00
mos
967dd8a8ed [MeshPart] clean
removed old commented code.

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

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

revert comments

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

for more information, see https://pre-commit.ci
2024-05-27 11:06:30 -05:00
FEA-eng
f854eb2ee6 Update Command.cpp 2024-05-27 11:03:19 -05:00
marioalexis
6714af1bc8 Fem: Update ReferenceNode property from task dialog - fixes #14172 2024-05-27 11:02:59 -05:00
dependabot[bot]
f7c2512188 ---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-27 10:57:45 -05:00
Jacob Oursland
1f7ab1efc9 Conda: Remove Qt WebEngine. 2024-05-27 10:56:41 -05:00
Chris Hennes
764dc4cc31 Merge pull request #13968 from marcuspollio/UI-TaskPanels-cleanup-1
UI : Task panels cleanup - Sketcher and Part Design headers
2024-05-27 10:56:07 -05:00
0penBrain
4857ef19f2 Gui: offer possibility to editing view provider to handle "Select All" command 2024-05-27 10:52:00 -05:00
David Carter
a0fdc86948 Material: Appearance and Material inspectors
Dialogs to view the Appearance and Material properties of an object

These inspectors are intended to be used when debugging Appearance and
Material issues in a model.

The Appearance inspector displays the appearance properties of an
object. This will be more useful once PR 13792 is merged which migrates
parts to use ShapeAppearance instead of DiffuseColor. This shows each
of the appearance properties per face for the object.

The Material inspector shows the material, models, and properties
assigned to a model. It displays useful debugging information such as
the UUID and file paths associated with eacch of the items. This is
useful when finding and resolving model conflicts.

The material inspector now gives the option of copying the information
to the clipboard.
2024-05-27 10:50:35 -05:00
Pieter Hijma
bed8b23e7f AddonManager: Support selecting addon on start 2024-05-27 10:47:52 -05:00
Jiří Mácha
635616c88f Missing property Object1 or Object2 of fixed joint causing crash (#13912)
* Assembly: removal of object of fixed joint causing crash

FreeCAD is crashing if the 'Object'
property of fixed joint (Assembly/Joints/Fixed/Joint Connector 1/Object1 or
Assembly/Joints/Fixed/Joint Connector 2/Object2) is manually removed.

Steps to reproduce:

 - make simple Assembly e.g. of two cubes with Fixed joint
 - Select Fixed joint in the tree and go-to property 'Data' tab
 - Select 'Object1' or 'Object2' of the 'Joint Connector 1' or 'Joint Connector 2'
   and remove this reference
 - click by your pointing device (mouse) to the arbitrary other property

The FreeCAD will crash here because the call
App::DocumentObject* obj = getObjFromNameProp(joint, propObjName, propPartName);
will return NULL pointer.

This problem is similar to the
8d5348ad066aa216c387582bfdcf066966a4fe09.

* Assembly: fixed warning message text

The warning message text is not describing two cases which can happen,
but only one - property of specific joint.

* Assembly: avoiding possible crash in rack pinion joint code

Similar problems:

07c6df61f8456a6b02e88b369dcef5643ac1574e
and
8d5348ad066aa216c387582bfdcf066966a4fe09

were causing real crashes (Linux + Sway Wayland compositor) when
Fixed joint type was used.

This patch tries to avoid the same situation, but now for the
rack pinion joint type.

The returned pointer value (part1 and obj1) can get NULL pointer value
and is used in the code:

    if (obj1->getNameInDocument() != part1->getNameInDocument()) { ....

a few lines later.
2024-05-27 10:46:02 -05:00
PaddleStroke
127ee90cec TechDraw: Enable snapping section views to their base views. 2024-05-27 11:44:31 -04:00
PaddleStroke
f0ebd62637 TechDraw: Remove TechDraw_ExtensionPosChainDimensionGroup and TechDraw_ExtensionCascadeDimensionGroup from toolbar since we can snap. 2024-05-27 11:44:31 -04:00
PaddleStroke
f523f6c3ad TechDraw: Introduce dimension snapping 2024-05-27 11:44:31 -04:00
PaddleStroke
80fb3a492c TechDraw: Dimension: Allow snapping label to its center position. 2024-05-27 11:44:31 -04:00
PaddleStroke
94d3fa45db TechDraw: Enable snapping views to align them with other views vertically and horizontally. 2024-05-27 11:44:31 -04:00
Chris Hennes
65f3965717 Merge pull request #14082 from Ondsel-Development/issue_13522_fix_read_lock
Core: Add read lock to fix for possible race conditions reading/writing config files
2024-05-27 10:41:23 -05:00
Chris Hennes
dbdb700f03 Merge pull request #14096 from maxwxyz/external-wb-icons
Addon manager: update external WBs icons
2024-05-27 10:39:11 -05:00
Max Wilfinger
41d2c04448 Add details for UI changes 2024-05-27 10:38:30 -05:00
Max Wilfinger
2595cbf06b replace selection filter icon with no filter icon 2024-05-27 10:37:24 -05:00
Chris Hennes
a8073a2f56 Merge pull request #13869 from Ondsel-Development/sk_redpoints_perp
Sketcher: Fixes red points issue #13849
2024-05-27 10:36:27 -05:00
marioalexis
1f1dbc3271 Fem: Increase size of reference node symbol in rigid body constraint - fixes #14133 2024-05-27 10:34:12 -05:00
marioalexis
69731b9d1b Fem: Don't hide input filter with DataAtPoint and DataAlongLine - fixes #14135 2024-05-27 10:31:28 -05:00
wmayer
28bbdc2633 CAMSim: Fix build failure with Qt6 2024-05-27 14:00:46 +02:00
Roy-043
5eeaeed104 Draft: update fuse behavior in facebinder.py
Fixes #14242.

In the current dev fusing an empty shape with a face or solid no longer works (probably introduced with #14169). The reason for starting with an empty shape was the assumption that the end result would then always have a default placement. But that is only correct if multiple objects are fused.

In the new version of the code fusing no longer starts with an empty shape. The default placement issue is solved by always returning a compound.

Additionally the value for the Area property is now taken after offsetting and fusing the faces.
2024-05-27 12:16:24 +02:00
wmayer
0a5a049c87 Sketcher: Fixes #14240 2024-05-27 12:09:35 +02:00
Furgo
fa367dffdb [BIM] Fix translate function typo for IfcOpenShell installer 2024-05-27 10:45:59 +02:00
wandererfan
f96ab9af05 [TD]prevent recalculation of dimension type during repair 2024-05-26 15:30:24 -04:00
wandererfan
ac436f454b [TD]allow multiple primitives in complex selections 2024-05-26 15:30:24 -04:00
sliptonic
3980f5281f add combobox selector to toolbit dock (#14297)
Create a more useful tooltip

checkpoint

fix missing dovetail shape

CAM tool fix

remove image stuff
2024-05-26 13:35:50 -05:00
obelisk79
21e6911a81 Resolves missing include for GCC14 compilers 2024-05-26 10:11:50 -04:00
Chris Hennes
73ae4102e6 Update translations
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
Yorik van Havre
070a160839 BIM: Fixed grid settings in setup tool - fixes #14215 (#14231) 2024-05-25 22:11:02 +02:00
Yorik van Havre
bfba5ea12e BIM: Fixed decimal separator error - Fixes #14208 (#14229) 2024-05-25 22:04:37 +02:00
Yorik van Havre
d44bbee5af BIM: Removed duplicate Part icons - fixes #14232 (#14235) 2024-05-25 22:02:47 +02:00
paul
391e17bedc [Arch] Fix bug at Arch.py : makeStairs & makeRailing (#14271)
Bug reported at:
https://github.com/FreeCAD/FreeCAD/issues/14262
2024-05-25 21:50:08 +02:00
wandererfan
8543bd6595 [TD]Fix selection issue in DimensionRepair 2024-05-24 18:42:58 -04:00
wmayer
0825b4dda0 Port python modules documentation to Py 3.11
Fixes #14148: Automatic python modules documentation index page broken
2024-05-24 20:34:12 +02:00
wmayer
170f117ae2 Gui: refactor PythonOnlineHelp 2024-05-24 20:34:12 +02:00
bgbsww
60ef70b81e Toponaming used mapped index to find shape. fix #14194 2024-05-23 23:48:34 -05:00
WandererFan
50f970efd7 [TD]Cosmetic function overhaul (#14216)
* [TD]Cosmetic geometry and tools update

- all cosmetics to store geometry in same form
- all cosmetics to survive scaling and rotation
- extension functions to survive scaling and rotation

* [TD]overhaul leader point storage and editing

- add py routine makeLeader(points)

* [TD]add leader conversion utility

* [TD]Set Leader RotateWithView default to true

* [TD]fix intersection vertex position

* [TD]add CosmeticEdge::makeLineFromCanonicalPoints

* [TD]fix 2 Extension tools

- positioning in DrawCosmeticCircle
- mishandling of points in execLineParallelPerpendicular

* [TD]Remove duplicate constexpr

* [TD]fix 2x Cosmetic arc tools

* [TD]refactor LineFormat out of Cosmetic

* [TD]move cosmetic appearance settings to LineFormat

* [TD]remove 2 unused methods

* [TD]apply format to blue line & circle tools

* [TD]fix ballon arrowhead does not rotate with view

* [TD]fix CosmeticCircle3Points

* [TD]allow multiple cosmetic object deletions

* [TD]fix extend/shorten centerline
2024-05-23 09:41:42 -04:00
mos
a8d093280e [gui] code clean
.
2024-05-23 11:34:15 +02:00
Konstantinos Melissaratos
22a1497c3f Update FeaturePartFuse.cpp
Fixed typo error
2024-05-23 11:31:37 +02:00
Konstantinos Melissaratos
333f2913fe Adding parallel running to the multi_fuse operation 2024-05-23 11:31:37 +02:00
wmayer
f89a0cec28 Sketcher: Fix accessibility of some group commands
The affected commands are:
* Sketcher_CompLine
* Sketcher_CompCreateArc
* Sketcher_CompCreateConic
* Sketcher_CompCreateFillets
* Sketcher_CompCurveEdition
* Sketcher_CompSlot
* Sketcher_CompHorVer
* Sketcher_CompToggleConstraints
2024-05-23 10:14:46 +02:00
wmayer
1d78063df8 Fix accessibility of some group commands
Several group commands are active but require an active document to work. This PR overrides the method isActive() to
disable the commands if no active document exists.

The affected commands are:
* Std_ViewGroup
* Std_LinkActions
* PartDesign_CompDatums
* PartDesign_CompSketches
2024-05-23 10:14:46 +02:00