Commit Graph

28356 Commits

Author SHA1 Message Date
paul
0261ab8977 [ArchWall] Add Offset per Edge Feature (#14277)
* [ArchWall] Add Offset per Edge Feature

ArchWall.py - Add Override Offset property & ground work for Multi-Layer Wall
Offsets.py - Add offset per edge support to ArchWall

Forum Discussion :
- https://forum.freecad.org/viewtopic.php?p=759634#p759634

* [ArchWall]  Fix bug found by unit test

'off' is no longer used, 'offsets' is used.
2024-05-28 10:39:21 +02:00
Roy-043
66dd1dede5 BIM: fix missing translate function 2024-05-28 10:23:14 +02:00
Ladislav Michl
d6e388483d BIM: Make buildPsets python3 friendly 2024-05-28 10:18:06 +02:00
Ladislav Michl
7fa2efba40 BIM: Fix url to IFC on buildingSMART 2024-05-28 10:18:06 +02:00
Yorik van Havre
85b88effb5 BIM: Fixed wall paramerers - fixes #14283 (#14315) 2024-05-28 09:51:52 +02:00
Roy-043
f7d8af592b Draft: fix _get_shapes in shape2dview.py (#14319)
Fixes #14312.

The `new _get_shapes` function could return the original object shape. This caused a problem if `sh.reverse()` executed.

Note that the file in the linked issue does not produce the error as it does not contain a shape with a negative volume.
2024-05-28 09:45:48 +02:00
Roy-043
0557bac0d3 Draft: Draft_Layer new Material handling (#13949)
Discussion: #13657.

This PR adds  the ShapeAppearance view property to Draft Layers.

The DefaultShapeColor is used for the DiffuseColor of the ShapeAppearance material. Other material properties are not based on the preferences when a layer is created.

The old ShapeColor and Transparency properties remain (ShapeColor as a hidden property) and are kept in synch with the ShapeAppearance. This is consistent with how ShapeAppearance is implemented in Core.

The gui_layers.py and make_layer.py files do not have to be changed. They manipulate the vobj via the mentioned old properties.
2024-05-28 09:45:05 +02:00
obelisk79
178bac70b7 [UI] Logo Update (#14284)
* Updating instances of FreeCAD's old logo to reflect the new Logo

* updating additional instances of the Logo

* updating additional instances of the Logo

* Update logo for windows installer

* Update logo reference to /src/Gui/Icons/freecad.svg
2024-05-27 15:33:55 -04:00
wmayer
72fb5782ed Sketch: Add test case for validating constraints 2024-05-27 19:15:18 +02:00
wmayer
43949be50d Sketch: Add test case for deleting constraints with external geometry 2024-05-27 19:15:18 +02:00
wmayer
1e81b7f393 Sketch: Add test case for degenerated geometry 2024-05-27 19:15:18 +02:00
wmayer
b579567465 Sketch: Fix TestSketchValidateCoincidents 2024-05-27 19:15:18 +02:00
Syres916
ed26ade04a [Sketcher] Add new Fix Missing Coincident test 2024-05-27 19:15:18 +02:00
David Carter
dfe024ed99 Material: Material Filter API (#14292)
* Naterial: Material Filter API

Adds a material filtering function to the
MaterialManager Python object

* Remove whitespace
2024-05-27 12:00:39 -05:00
PaddleStroke
5fb3589f26 Assembly: Add 'Angle', 'Perpendicular' and 'Parallel' joints. 2024-05-27 11:59:06 -05:00
Max Wilfinger
03cab3d1fc Revert UI command change in Sketcher and PartDesign 2024-05-27 11:51:02 -05:00
dzid26
78eb91d8c3 Enforce OpenMP version 4.0 2024-05-27 11:44:05 -05:00
efferre79
4be2196717 add horizontal scrollbar to startpage
On systems with legacy monitors the display might be not as large as needed to display completely the start page. In that case the user is forced to use the keyboard to scroll horizontally the start page.
2024-05-27 11:43:39 -05:00
PaddleStroke
a7c2b9cc6f Sketcher: Fix copy of geo constrained to axis. Fixes #14233 2024-05-27 11:37:33 -05:00
David Carter
c5df1b3e55 Materials: Editor UI enhancements
When creating a new material, assigning the basic
rendering model to the material resulted in an all
black color. This will now be assigned the default
color as specified in the preferences.

The name of the material Properties tab has been
changed to Physical for improved consistency in
the user interface.
2024-05-27 11:35:00 -05:00
Yorik van Havre
a9b0b1f534 Draft: Enable TPN in SelectPlane - fixes #14196 2024-05-27 11:29:29 -05:00
Syres916
6baf2f3715 [Sketcher] Change HeadlightIntensity entering and exiting Edit Mode (#14013)
* [Sketcher] Change HeadlightIntensity entering and exiting Edit Mode

* [Gui] Fix Lint Warning

* [Sketcher] Fix Lint Warning

* [Sketcher] Remove duplicate parameter check

* [Gui] Add const
2024-05-27 11:27:11 -05:00
Max Wilfinger
a6e8fa4bb1 Adjust shaft wizard icon to match other Part Design icons 2024-05-27 11:24:21 -05:00
Chris Hennes
063499a9d4 Merge pull request #14202 from bgbsww/bgbsww-toponamingFixSubShapeBinder
Toponaming fix sub shape binder and restore multishape tests
2024-05-27 11:19:31 -05:00
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
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
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
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
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