Commit Graph

39946 Commits

Author SHA1 Message Date
wmayer
a123ebd6d6 Import: Fix transparency issues when loading STEP files 2025-01-20 12:18:16 -05:00
Vincent Belpois
5ed5f71125 Fix missing constrain type in type2str 2025-01-20 12:17:25 -05:00
Joona Okkonen
f0fb8ddabe Sketcher: Fixed mapping error when attempting to create a sketch inside a group. (#18971)
* Sketcher mapping error fix

Fixed an issue in the Sketcher where attempting to create a sketch while a group is selected caused a mapping error. Now, when a sketch is created with a group selected, the sketch will be placed inside the group.

* Update to use new templated countObjectsOfType

This commit updates the code to use the new templated version of countObjectsOfType, aligning with recent changes in the main branch.

---------

Co-authored-by: Joona <jookkone@edu.lapinamk.fi>
2025-01-20 11:11:09 -06:00
mosfet80
4362d31306 Update sub_buildPixi.yml
Update checkout to version 4 -> default runtime to node20
2025-01-20 12:05:53 -05:00
Boots
6321ca1fa6 GDB/LLDB debugger pretty printers w/QString support and vscode launch config (#18960)
* GDB/LLDB debugger pretty printers w/QString support and vscode launch  config

* Python code now adheres to pep8.  Slight refactor to lldb printer for readability.

* Resolved a few missed trailing whitespace errors from pylint

* Added missing trailing newline I missed in my last commit

* Apply suggestions from code review

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2025-01-20 10:55:20 -06:00
Marcus Bannerman
41ce15a070 Update ubuntu.sh dependencies to include libyaml-cpp-dev
Building on ubuntu 24.04 requires the libyaml-cpp-dev library. This adds the library to the dependencies for ubuntu.
2025-01-20 11:44:19 -05:00
Syres916
8b09934161 [Gui] Allow power users to set their own max toggle transparency 2025-01-20 11:43:18 -05:00
Kacper Donat
c95c4e8fe4 Gui: Fix render order of datum planes 2025-01-20 11:38:57 -05:00
Kacper Donat
ee50153d6e Gui: Fix crash on scrolling workbench tab bar in Qt 5.15.3 2025-01-20 11:34:17 -05:00
pre-commit-ci[bot]
4c348ee0f9 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/mirrors-clang-format: fed9a1f62c22af0bc846a260ebfeb0844368fd93 → 57e96cfddb3b0e0e11df353f5124cfd8e930a802](fed9a1f62c...57e96cfddb)
2025-01-20 11:33:17 -05:00
xtemp09
5633400ea2 Fix the crash in the interface for managing preference packs (#18726)
* Fix the crash in the interface for managing preference packs

Closes #18725

* Modernize the code by removal of redundant void
2025-01-20 10:32:47 -06:00
Mark Ganson TheMarkster
e0b6698722 [Python console] add Execute in console context menu item (#18716)
* [Python console] add Execute in console context menu item

* Update src/Gui/PythonEditor.cpp

Co-authored-by: Kacper Donat <kadet1090@gmail.com>

---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
Co-authored-by: Kacper Donat <kadet1090@gmail.com>
2025-01-19 15:36:33 -06:00
Chris Hennes
286e1d2251 Merge pull request #18807 from marioalexis84/fem-netgen_object_constraint
Fem: Use property constraints on mesh netgen object
2025-01-19 16:03:10 -05:00
Chris Hennes
e9ef7b7329 Merge pull request #18809 from wwmayer/datum_fixes
Datum fixes
2025-01-19 16:01:18 -05:00
marioalexis
f132b12df2 Fem: Use new material editor in Reinforced material task panel - fixes #18692 2025-01-19 15:36:43 -05:00
Kacper Donat
676c2fe568 Gui: Add Show Plane utility to 2D Objects 2025-01-19 15:27:15 -05:00
PaddleStroke
dc1151721f PartDesign: Fix context menu (#18919) 2025-01-19 13:41:55 -06:00
xtemp09
a07d18ca7f Prevent selection of an item in TreeWidget when user presses an eye icon
Closes #18922
2025-01-19 14:35:32 -05:00
dzid26
e7f828b9e8 Fix conda docker path 2025-01-19 14:35:01 -05:00
Bas Ruigrok
02df4f4d51 Gui: Fix camera position shift when starting rotation 2025-01-19 14:34:31 -05:00
João Matos
97e24f10f8 CMake: Improve Import dependency check for TechDraw module. (#19036)
* CMake: Fix missing Import dependency check for TechDraw module.

* CMake/TechDraw: Conditionally use Import library.

* CMake: Fix missing dependency check for Module and PartDesign measure in TechDraw.
2025-01-19 13:33:16 -06:00
Yorik van Havre
518c3b4926 BIM: Make sure we have a default context when exporting to IFC 2025-01-19 14:32:03 -05:00
Chris Hennes
03b008c8da Merge pull request #19052 from alfrix/hole_ui_hide
feat(PD): Hole UI Taskpanel: hide elements that are not applicable or useful
2025-01-19 11:31:03 -05:00
Kacper Donat
6d4f3e5ef9 Contributing: Add information about breaking changes
This adds list item for the contribution requirements to ensure that each breaking change is handled properly and documented.
2025-01-19 10:34:28 -05:00
anselm-baur
ca285f2e97 Assembly: fix missing space
Co-authored-by: Anselm Baur <anselm-baur@live.de>
2025-01-18 14:45:50 -05:00
Chris Hennes
b06693ffa2 Merge pull request #18783 from tritao/cmake-coin-target
CMake: Coin3D build fixes
2025-01-18 12:50:57 -05:00
PaddleStroke
52e68abc10 PartDesign: replace part design datum commands by the core ones 2025-01-18 11:39:44 +01:00
tritao
4c5aaeaf33 Gui: Introduce Gui::Document::createView to Python. 2025-01-17 12:35:14 -06:00
tritao
a524186ab4 Gui: Bind View3DInventorViewer::setOverrideMode to Python. 2025-01-17 12:33:47 -06:00
Joao Matos
23ccb75e58 Gui: Avoid unnecessary exception in View3DSettings::OnChange.
This gets caught in the debugger at startup, in this case its easy to
avoid it.
2025-01-17 12:28:50 -06:00
David Carter
dfee5d60c4 Macros: Save last used debugger (#18946)
* Macros: Save last used debugger

Typically users use the same debugger repeatedly. The current dialog
required users to change tabs each time the debugger is launched. This
change saves the last used debugger tab and sets that as the selected
tab when relaunching the debugger.

* Save VSCode address and port
2025-01-17 11:45:47 -05:00
Chris Hennes
d1625cd703 Merge pull request #18665 from AjinkyaDahale/sk-refactor-stage-2
[Sketcher] Round 2 of refactors
2025-01-17 10:41:52 -06:00
Roy-043
25570d60f3 Merge pull request #19089 from Roy-043/Draft-Clone-avoid-B-spline-faces-in-more-cases
Draft: Clone: avoid B-spline faces in more cases
2025-01-16 19:57:08 +01:00
Roy-043
0e1af6f076 Merge pull request #19067 from Roy-043/Draft-Save-fillet-settings
Draft: Save fillet settings
2025-01-16 19:52:31 +01:00
Roy-043
31d8120d2e Draft: Clone: avoid B-spline faces in more cases
B-spline faces can be avoided if the absolute values of the scaling factors are the same. The `transformShape` method can handle this if two additional arguments are provided.
2025-01-16 13:39:11 +01:00
Roy-043
225241e673 Clean up
The recompute and the `try` structure are no longer required.
2025-01-16 11:53:55 +01:00
Roy-043
88a6eecdbb BIM: ArchWall use moveGeometry to move sketch point
The movePoint function is no longer available in V1.1.
2025-01-16 11:53:55 +01:00
Ajinkya Dahale
af9b577621 [Sketcher] Refactor and fix an issue in transferConstraints 2025-01-16 15:56:22 +05:30
Ajinkya Dahale
60b610c8dc [Sketcher] Fix issues in knot operations
For some reason this is not caught in the tests.
2025-01-16 15:56:22 +05:30
Ajinkya Dahale
e5eda8e437 [Sketcher] Make replaceGeometries protected
This should be a `protected` or `private` operation since it doesn't handle
constraints. However, this is intended to be used by external classes that
modify a `SketchObject` (instead of these modifications like `split`, `trim`,
`join` etc. being methods of `SketchObject`). In that case, it may be best to
use the `friend` keyword.
2025-01-16 15:56:22 +05:30
Ajinkya Dahale
edbe6a54d7 [Sketcher] Fix "used" B-spline poles being deleted 2025-01-16 15:56:22 +05:30
Ajinkya Dahale
d06349e3ac [Sketcher][test] Add new test for internal geometry deletion
...when some are "used"
2025-01-16 15:56:21 +05:30
Ajinkya Dahale
8bc51aa5ee [Sketcher] Incorporate review of #18665 by kadet
1. Replace `find_if` with `any_of` when the iterator is not used.
2. Use PascalCase for templated class.
2025-01-16 15:56:19 +05:30
Ajinkya Dahale
e71b25d942 [Sketcher] Refactor SketchObject::split
1. Now uses `Part::Geometry::createArc`.
2. Removed type-specific codes. It can be generalized now.
2025-01-16 15:55:14 +05:30
Ajinkya Dahale
a04b30deda [Sketcher] Further refactor modifyBSplineKnotMultiplicity 2025-01-16 15:55:14 +05:30
Ajinkya Dahale
8b6d5728e7 [Sketcher] Incorporate review of #18665
...by hyarion on December 29.
2025-01-16 15:55:14 +05:30
Ajinkya Dahale
0c2e621141 [Sketcher] Fix some issues in trim
Fixes fails at cases where one (or both) of the remaining segments is (are)
degenerate. This existed pre-refactor.

Fixes cases where there are some constraints on internal geometry that do not
get deleted cleanly.

Also fixes a memory leak.
2025-01-16 15:55:14 +05:30
Ajinkya Dahale
e38e3f17d1 [Sketcher] Refactor SketchObject::trim
Cognitive complexity down to 57.
2025-01-16 15:55:14 +05:30
Ajinkya Dahale
8cb30c3c53 [Sketcher] Refactor SketchObject::modifyBSplineKnotMultiplicity 2025-01-16 15:55:14 +05:30
Ajinkya Dahale
da71365ff3 [Sketcher] Refactor SketchObject::insertBSplineKnot() 2025-01-16 15:55:14 +05:30