Commit Graph

27996 Commits

Author SHA1 Message Date
paullee
2d2647efc0 [ArchCurtainWall] add self.Type definition like other Arch Objects
All Arch Objects have self.Type defined, add here for Arch Curtain Wall.

        self.Type = "Axis"
        self.Type = "AxisSystem"
        self.Type = "Building"
        self.Type = "BuildingPart"
        self.Type = "Component"
        self.Type = "Equipment"
        self.Type = "Fence"
        self.Type = "Floor"
        self.Type = "Frame"
        self.Type = "Grid"
        self.Type = "MaterialContainer"
        self.Type = "Panel"
        self.Type = "Pipe"
        self.Type = "Precast"
        self.Type = "Profile"
        self.Type = "Project"
        self.Type = "Rebar"
        self.Type = "Reference"
        self.Type = "Roof"
        self.Type = "Schedule"
        self.Type = "SectionPlane"
        self.Type = "Site"
        self.Type = "Space"
        self.Type = "Stairs"
        self.Type = "Structure"
        self.Type = "Truss"
        self.Type = "Wall"
        self.Type = "Window"

FC Forum Discussion - https://forum.freecad.org/viewtopic.php?t=87210
2024-05-03 01:20:10 +08:00
Roy-043
66f36fd7d2 Draft: update Draft Point viewprovider to account for ShapeAppearance
Without this mod there is an error when opening a V0.21 file with a Draft Point. As well as when creating a Draft Point in V0.22.
2024-05-02 10:09:28 +02:00
Adrián Insaurralde Avalos
c4b5115f9e Measure: write init message to log instead 2024-05-02 08:09:39 +02:00
tomate44
b17f744ed7 add unit test for edge split method 2024-05-01 22:15:09 +02:00
tomate44
f0a72fbe59 Preserve pcurves in TopoShapeEdge.split 2024-05-01 22:15:09 +02:00
0penBrain
1483838c19 Make: use single dash argument for Apple toolchain 2024-05-01 14:04:45 -04:00
Chris Hennes
d112e8661f Merge pull request #13727 from wwmayer/fix_warnings
Fix compiler warnings
2024-05-01 10:29:21 -05:00
Roy-043
9c4ea89f84 Merge pull request #13589 from yorikvanhavre/arch-move-with-host
Arch: Fixed move with host
2024-04-30 21:18:04 +02:00
wmayer
56e865e102 Start: fix possible build failure 2024-04-30 17:00:27 +02:00
wmayer
2ea6bc17b6 Fix various compiler warnings:
* fix -Wunused-parameter
* fix -Wunused-function
* fix -Wunused-private-field
* fix -Wunused-variable
* fix -Winconsistent-missing-override
2024-04-30 16:59:31 +02:00
wmayer
6a6fc7eb4d Part: Remove cyclic dependency to Measure module
Although there is no cyclic dependency between the shared libraries it's still odd to have it on source files
2024-04-30 16:23:23 +02:00
WandererFan
f0fa456080 Merge pull request #13703 from Reqrefusion/main
Gui:Making Technical Drawing icons compatible with Part Design and Assembly icon
2024-04-30 07:45:42 -04:00
Dov Grobgeld
e66e90b512 Fix run time errors with python3.12 and pyside6 (#13337)
* Change pyopen=open expression to from builtins import open as pyopen

---------

Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
2024-04-30 00:28:01 -04:00
sliptonic
3f46f1f8cc Merge pull request #13650 from chennes/firstStartWidget
Start: First start widget
2024-04-29 11:42:50 -05:00
WandererFan
dd09bd2b53 Merge pull request #9750 from hlorus/gsoc2023_measure
GSoC 2023: Unified Measurement Facility
2024-04-29 12:41:54 -04:00
Florian Foinant-Willig
0feb9367de FEM: prevent python added properties to be removed 2024-04-29 18:33:45 +02:00
Syres916
26ab2473c5 [FEM] CCX Solver and Gmsh Mesh Task Panel Colour output improvements (#13684)
* [FEM] CCX Solver and Gmsh Mesh Task Panel Colour output improvements

* [FEM] CCX Solver TP make time code more prominent

* [FEM] Gmsh mesh TP make time code more prominent
2024-04-29 11:29:00 -05:00
sliptonic
2d72ad0040 Merge pull request #13673 from chennes/startFixCardWidth
Start: Correct card size calculation
2024-04-29 11:27:19 -05:00
0penBrain
a8cdbe4672 Cmake: pass 'undefined' with double dash so alternative linker can be used 2024-04-29 18:25:17 +02:00
Chris Hennes
ec7585e467 Merge pull request #13576 from wwmayer/issue_13518
Sketcher: Make ValidateSketch scriptable
2024-04-29 11:11:13 -05:00
PaddleStroke
2849fb5c9d TechDraw: remove 'Project Shape' from Techdraw toolbar 2024-04-29 18:08:50 +02:00
Chris Hennes
35eab0914f Merge pull request #13642 from wwmayer/fix_memory_leaks
Fix memory leaks
2024-04-29 10:57:51 -05:00
wmayer
63e495b269 Sketcher: Fix possible crash inside ~CurveConverter()
Accessing the parameter manager inside ~CurveConverter() is undefined behaviour because it will be accessed after the main() function
has been exited.

Fixes #13622
2024-04-29 10:56:15 -05:00
marioalexis84
7962136169 Fem: Add radiation heat transfer (#13466)
* FEM: Add radiation heat transfer
* FEM: Add radiation heat transfer to CalculiX writer
* FEM: Update .inp files
* Fem: Rename heat flux ui members

---------

Co-authored-by: FEA-eng <59876896+FEA-eng@users.noreply.github.com>
2024-04-29 10:53:59 -05:00
marioalexis
983ac9b238 Fem: Remove unused view properties 2024-04-29 10:52:52 -05:00
marioalexis
6aabe77a1a Fem: Constraint symbol scaling based on shape size - fixes #7030 2024-04-29 10:46:40 -05:00
Nexusnui
b6b7bc876c Update importCSG.py
Fixed Scaling with one parameter
2024-04-29 17:46:10 +02:00
WandererFan
51bcf6946d Merge pull request #13407 from Ondsel-Development/sk_reorganize_tbs
Sketcher: Small reorganization of toolbars
2024-04-29 11:43:52 -04:00
Max
e457644063 update icon for assembly recompute 2024-04-29 17:36:00 +02:00
Roy-043
30536de9a8 Only imported modules can be reloaded 2024-04-29 16:15:58 +02:00
Roy-043
4e908ee9bd Draft: legacy DXF importer: downloaded libs should be reloaded
Otherwise old versions will still be used in the current FreeCAD session.
2024-04-29 16:15:58 +02:00
Roy-043
9325a1cd5a Draft: legacy DXF importer fix group and layer behavior
Fixes #13621.

Currently the legacy DXF importer creates a main group with the DXF name if a DXF is imported into an existing FreeCAD document. For each DXF layer it then creates a sub-group (or Draft Layer) inside that main group. Objects are nested in the sub-groups (or Draft Layers).

This does not make sense for Draft Layers as they should be nested in the LayerContainer, which should be in the root of the FreeCAD document.

Both for Draft Layers and sub-groups there is the issue that if mutliple DXF files are imported in the same FreeCAD document, exising Draft Layers and sub-groups are not taken into account. For each DXF a new "0" group/layer is created (with a Label that is not "0" and therefore not recognized), and if there are objects on that layer a new group/layer is created for each object (labelled "0001", "0002", "0003", etc).

To solve this the main group with the DXF name is no longer created in the revised code and the layers variable is initialized with the groups/layers that already exist in the FreeCAD document.

Additionally the formatObject function should not format objects that are in Draft Layers. Its action conflicts with the layer mechanism resulting in the last imported object having an incorrect color.
2024-04-29 16:15:16 +02:00
Roy-043
d1791815b8 Import: C++ DXF importer wrongly scaled polyline bulges
Fixes #13600.
2024-04-29 16:12:17 +02:00
hlorus
74d055e11a [Part/PD] Remove measure tools 2024-04-29 09:27:22 -04:00
wandererfan
722fab240e [Measure] Change icon
Co-Authored-By: Max Wilfinger <6246609+maxwxyz@users.noreply.github.com>
2024-04-29 09:27:22 -04:00
hlorus
bed703a6f9 [Measure] Add features, viewproviders and preferences for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
309e1c4155 [Sketcher] Add handlers for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
6318586353 [PD] Add handlers for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
eb59021118 [Part] Add handlers for unified measurement facility 2024-04-29 09:27:22 -04:00
hlorus
8524ed6daf [Part] Move VectorAdapter into own file in PartGui 2024-04-29 09:27:22 -04:00
hlorus
dc54fdd5b8 [Part] Move ArcEngine into own file in Gui module 2024-04-29 09:27:22 -04:00
Reqrefusion
3e91ca658a Correction of some line colors 2024-04-29 15:44:39 +03:00
Reqrefusion
7851bf65e0 Making Technical Drawing icons more compatible with Part Design and Assembly icons Continue
Another overlooked logo was combined and hidden lines were made into dash lines
2024-04-29 15:18:37 +03:00
paullee
9b4d511352 [ArchWall] fix onChanged() length to support ArchSketch 2024-04-29 10:30:09 +02:00
Furgo
61ad5e5000 Arch: Add HeightPropagate tooltip info (#13584) 2024-04-29 10:27:10 +02:00
Reqrefusion
d032654889 Making Technical Drawing icons more compatible with Part Design and Assembly icons
It is aimed to provide integrity by including the shape used in other workbenches in technical drawing icons. For the hidden line, color variation was used instead of dashed. The reason for this is to comply with the art guide. I think the dashed line looks better.
2024-04-28 23:59:51 +03:00
Chris Hennes
b4b548025d Start: Invert sense of checkbox 2024-04-28 12:57:42 -05:00
Chris Hennes
5c46dfd600 Start: Create 'First Start' screen 2024-04-28 12:57:00 -05:00
wmayer
491cb5ffcb PD: Fixes crash if sub-element name of reference axis is empty
This fixes #13656
2024-04-27 07:43:40 +02:00
bgbsww
7961e82c66 Toponaming/Part: Fix all getBaseTopoShape calls. Tests and missing code. 2024-04-26 21:15:11 -05:00