Commit Graph

34387 Commits

Author SHA1 Message Date
wmayer
4732cbf3b9 Gui: fix -Wlogical-op-parentheses 2024-03-04 11:23:09 -06:00
Josh Coalson
a8ae56e06a Part: Rename AttachExtension::Support property to AttachmentSupport, to avoid name conflict with base features. Fixes #7052 2024-03-04 18:22:43 +01:00
Max
4e29ce1fcf add description of colinear function to Sketcher_ConstrainTangent 2024-03-04 18:20:18 +01:00
FEA-eng
fe885e7bd3 Remove the need to include geometrical nonlinearity when nonlinear material is used in CalculiX FEM (#12703)
* Update commands.py

* Update checksanalysis.py
2024-03-04 11:16:54 -06:00
Chris Hennes
4b1decfc6b Merge pull request #12694 from CalligaroV/toponaming-PartFeature-FeatureCreate
Part/Toponaming: Transfer Part::Feature::create()
2024-03-04 11:14:41 -06:00
Roy-043
8145eed95f Sketcher: Sketcher_ConstrainHorizontal before Sketcher_ConstrainVertical in GUI
Changes to TaskSketcherElements.cpp are not required, but were done for consistency. The order in the file follows the GUI.
2024-03-04 11:12:38 -06:00
FEA-eng
9df688b8e6 FEM CalculiX isotropic and kinematic hardening (#12666)
* Update material_mechanicalnonlinear.py

* Update write_femelement_material.py

* Update material_mechanicalnonlinear.py
2024-03-04 11:11:48 -06:00
sliptonic
7d3c265769 Merge pull request #12661 from djmdjm/adaptive-glitch-fix
PATH: Fix adaptive glitch by removing coincident points
2024-03-04 10:09:21 -07:00
Bas Ruigrok
14cbd1716b Gui: Set rotation center when entering dragging in TinkerCAD style 2024-03-04 11:09:04 -06:00
sliptonic
dd0ff19859 Merge pull request #12652 from djmdjm/centroid-g43
Add G43 tool height compensation to centroid post
2024-03-04 10:08:31 -07:00
FEA-eng
0bfdf6ca0e Elmer FEM 2D electromagnetic examples fix (#12646)
* Update equation_magnetodynamics_2D_elmer.py

* Update equation_magnetostatics_2D_elmer.py
2024-03-04 11:08:07 -06:00
bdieterm
019adbb846 Base: add missing axis and angle update for Rotation::setEulerAngles 2024-03-04 11:07:21 -06:00
Chris Hennes
047d99e8a7 Merge pull request #12607 from AjinkyaDahale/sketcher-join-curves-2
Sketcher: Improve Join Curves
2024-03-04 10:57:41 -06:00
Florian Foinant-Willig
f633fa476a Introduce object freeze (#12580)
* Introduce object freeze

* do nothing at property change
2024-03-04 17:54:25 +01:00
mosfet80
028739df61 [main] clean FCConfig.h
removed discontinued code
__MWERKS__ OSX discontinued from 2005
winnt and cygwin are removed
2024-03-04 10:53:57 -06:00
LemonBoy
1bcefaf9b1 GUI: Follow the widget indications when docking them (#12530)
* GUI: Follow the widget indications when docking them

The overlay manager handles the creation and drawing of the title bars
for the docked widgets. When adding a QDockWidget the manager ignored
the set of features (closable, movable, floatable) provided by the
widget and always showed all the actions.

Amend the code to take into account the features specified by the
widget.

Closes #11944
2024-03-04 10:41:55 -06:00
Chris Hennes
15b3b1d5dd Merge pull request #12205 from Rexbas/animation-easing
Gui: Add easing to navigation animations
2024-03-04 10:37:06 -06:00
Chris Hennes
cf88b0e5f6 Addon Manager: Refactor primary view and enable composite (#12693)
* Addon Manager: Refactor primary view and enable composite

This brings back something akin to the original Addon Manager display, with the side-by-side display of the list and details views.
2024-03-04 08:56:55 -06:00
sliptonic
17835ea7c1 Merge pull request #12711 from jffmichi/fix_tagdressup
Path: fix error in Tag dressup when adding a point.
2024-03-04 07:22:09 -07:00
sliptonic
9c73d34f92 Merge pull request #12504 from davidgilkaufman/zigzagoffset_ordering
[Path] Fix path ordering for Offset and ZigZagOffset Pockets
2024-03-04 07:17:58 -07:00
Roy-043
e0d164ceb9 Merge pull request #12745 from Roy-043/Draft-applyConstructionStyle-was-missing-in-params.py
Draft: applyConstructionStyle was missing in params.py
2024-03-04 14:17:51 +01:00
Chris Hennes
e0ecd213b2 PD: Translate wire not closed exception
This is a user-visible exception, shown in a dialog box
2024-03-04 11:40:18 +01:00
Roy-043
8e6a308e03 Draft: applyConstructionStyle was missing in params.py 2024-03-04 11:33:10 +01:00
Chris Hennes
debc7df148 Draft: Translate annotation styles editor 2024-03-04 11:30:31 +01:00
wmayer
cc8fbf83e7 Gui: Enable SoModelMatrixElement
The element type SoModelMatrixElement must be enabled for the node types SoHighlightElementAction and SoSelectionElementAction.
Otherwise an assert() will fail and causes a crash in debug mode.
2024-03-04 11:24:39 +01:00
Ladislav Michl
0420f72ca0 Gui: PythonWrapper: Consolidate typeName handling
Use typeName consistently for both PySide and Python interface
code paths.
2024-03-03 15:20:48 +01:00
wmayer
866909e2f6 Gui: PythonWrapper: Make qt_getCppType more robust
Handle gracefully possible shiboken's Python API changes.
2024-03-03 15:20:48 +01:00
wmayer
26dedb03ce Gui: PythonWrapper: Fix possible crash in qt_wrapInstance 2024-03-03 15:20:48 +01:00
Ladislav Michl
a11d8710c1 Gui: PythonWrapper: Use getPyTypeObjectForTypeName consistently 2024-03-03 15:20:48 +01:00
Ladislav Michl
769d14a1f1 Gui: PythonWrapper: Raise exception on qt_wrapInstance failure
When qt_wrapInstance fails it returns Py::Object with internal
pointer set to null. Make PythonWrapper::from* methods raise
exception when this happens to be consistent with PySide code path.
2024-03-03 15:20:48 +01:00
Ladislav Michl
da64119797 Gui: Implement PythonWrapper::fromQAction
Wrapping QAction through QObject does not work as QAction class
is a part of QtGui not QtCore, so Py::Object with internal
pointer being null is returned causing a crash later.
Therefore implement fromQAction conversion method.
2024-03-03 15:20:48 +01:00
Max Wilfinger
31b12ae9e2 remove code block quotes from about info 2024-03-03 12:08:12 +01:00
jffmichi
101121f0d7 Path: fix error in Tag dressup when adding a point. 2024-03-03 03:57:17 +01:00
FEA-eng
7eae061bf1 FEM CalculiX 2D mechanical analyses (plane stress, plane strain and axisymmetric) (#12562) 2024-03-02 11:46:18 -06:00
Zheng, Lei
32b68b6125 Part/Toponaming: Transfer PartFeature Feature::create()
* Imported Feature::create() method in Part::Feature class
2024-03-02 09:41:36 +01:00
Chris Hennes
6c8ee59645 Part: Add BRepOffsetAPI_MakeFilling.hxx to OpenCascadeAll.h 2024-02-29 22:22:02 -06:00
Chris Hennes
b3b773eb1b Part: Add BRepOffsetAPI_MakeEvolved.hxx to OpenCascadeAll.h 2024-02-29 21:29:07 -06:00
Chris Hennes
b6c8f8d460 Update translations 2024-02-29 17:25:46 -06:00
wandererfan
d5116ca99c [TD]fix printAll formats 2024-02-29 18:06:04 -05:00
Rexbas
7e2f8c3056 Gui: Add easing to navigation animations 2024-02-29 13:29:37 -06:00
Rexbas
5e3425f753 Gui: Set default navigation animation duration to 500 ms 2024-02-29 13:29:37 -06:00
Vincenzo Calligaro
0e7aa5f7bc Part/Toponaming: Tests for flushElementMap and resetElementMap (#12471)
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Added test for resetElementMap()
 * Added test for flushElementMap()
 * restored ComplexGeoData::resetElementMap to RT fork
 * modified TopoShape::resetElementMap to match the restored signature of ComplexGeoData::resetElementMap
 * added checks in TopoShape::makeShapeWithElementMap to avoid segfaults
 * added check in TopoShape::setElementComboName to avoid segfaults
 * restored testFindSubShapesForSourceWithTypeAndIndex
 * modified test saveDocFileWithNoElementMap to match the restored signature of ComplexGeoData::resetElementMap
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * Removed comments in ComplexGeoData::resetElementMap()
 * Changed TopoShape::resetElementMap():: from virtual to override
 * Removed comment in TopoShape::resetElementMap()
 * Added comments about differences between main and RT fork
 * Removed comment in test saveDocFileWithNoElementMap
 * Updated expected test result in makeElementCompoundTwoShapesGeneratesMap
 * Updated expected test result in resetElementMapTest
 * Fixed typo in test flushElementMapTest
* Part/Toponaming: tests for flushElementMap and resetElementMap
 * updated expected tests results after previous methods modifications

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-29 13:27:27 -06:00
wandererfan
cbc39e989f [TD]fix Projection Group front view position
- also fix checkbox correspondence with view position
2024-02-29 13:06:22 -05:00
Florian Foinant-Willig
677cadee5e PD: Use SuppressibleExtension 2024-02-29 18:24:27 +01:00
bgbsww
68fd2934cf Testing for makeElementEvolve 2024-02-29 09:26:22 -06:00
Zheng, Lei
110f3e000d Toposhape/Part: Transfer in makEEvolve 2024-02-29 09:26:22 -06:00
Chris Hennes
a03ad7f49b Merge pull request #12201 from bgbsww/bgbsww-toponamingGetElementName
Toponaming: transfer in getElementName and dependencies
2024-02-28 21:05:54 -06:00
Chris Hennes
a4efcf0533 Toponaming/Part: Clang-format cleanup 2024-02-28 19:18:45 -06:00
Damien Miller
d6720f95ff Fix adaptive glitch by removing coincident points
Remove adjacent coincident and nearly-coincident points from Path.

This is based on PR#5276 by sundtek, but only collapses adjacent points
on the Path. It also addresses (IMO) most of the feedback on the original
PR.

see also discussion on the forum:
https://forum.freecadweb.org/viewtopic.php?f=15&t=42755&start=10#p555566
2024-02-29 11:38:16 +11:00
bgbsww
7d0afaec54 Toposhape/Part: cleanup and test getElementName 2024-02-28 17:07:36 -05:00