Commit Graph

37471 Commits

Author SHA1 Message Date
André Althaus
5dca1d3e04 Change MultiTransform child detection to the previous method
isMultiTransformChild() tried to do a better job by checking
for a parent MultiTransform in the dependency list, but this
is unusable during initialization, when these dependencies are
not established.

The method is changed back to the previous one which only checks for
default property values. This will give false results during
initialization but not cause problems.
2024-05-23 12:23:32 +02:00
André Althaus
0b5e993b90 Fix solid feature detection for "Transform Body" mode
Because the Origins property is empty in "Transform Body" mode, the
features are detected as not solid.
This messes with the feature order on insertions and moves.

This is fixed by calling the isMultitransformChild() method of the
Transformed features instead of checking the Origins property in the
Body code.
2024-05-23 12:23:32 +02:00
André Althaus
648faf5d36 Fix ambiguous setValue() call 2024-05-23 12:23:32 +02:00
André Althaus
b4b41a9428 Remove unused function 2024-05-23 12:23:32 +02:00
André Althaus
a93e94dabb Modernize code 2024-05-23 12:23:32 +02:00
André Althaus
067c774292 Format code with clang-format 2024-05-23 12:23:28 +02:00
André Althaus
a6c061e19a Add a combo box to the transform featues UI for the TransformMode 2024-05-23 12:22:26 +02:00
André Althaus
45bb606095 Add a TransformMode property to the pattern features
This property controls wether the selected features tool shapes are
transformed or the whole base feature's shape.
2024-05-23 12:22:26 +02:00
André Althaus
4d9b89e265 Add function to check if a Transformed feature is a sub-feature of MultiTransform
This will check the in-list instead of relying on an empty Originals property.
2024-05-23 12:22:26 +02:00
mos
d12635246f [gui] code clean
.
2024-05-23 11:34:15 +02:00
Konstantinos Melissaratos
35e9756389 Update FeaturePartFuse.cpp
Fixed typo error
2024-05-23 11:31:37 +02:00
Konstantinos Melissaratos
ead8ad8339 Adding parallel running to the multi_fuse operation 2024-05-23 11:31:37 +02:00
wmayer
83d91d61c6 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
0484592835 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
wmayer
68889f05ec PathSimulator: Fix many compiler warnings 2024-05-23 10:12:13 +02:00
Roy-043
d90a78391b BIM: Fix BIM tutorial issues
UI file is now in a resources file.
Translate function was not defined.

Forum topic:
https://forum.freecad.org/viewtopic.php?t=87830
2024-05-23 09:37:00 +02:00
mosfet80+
c168ac3e47 [Cam] fix warning
removed unused variables
2024-05-23 08:07:23 +02:00
hasecilu
890d9aea4c Help: Fix typo whlle -> while
Detected by Carlo D on CrowdIn
2024-05-23 08:07:07 +02:00
wmayer
9ebbd2a6df Import: Replace normal message with log message when loading a STEP file 2024-05-23 00:49:10 +02:00
Martin Rodriguez Reboredo
ccaee18917 Gui: Fix NaviCube for Qt6 2024-05-22 13:57:59 -04:00
Shai Seger
ff40ef3586 New Cam simulator based on low level OpenGL functions (faster and more precise) (#13884)
* Initial opengl test window

* added core files

* some fixes for code comparability with other platforms

* more compatibility cleanup

* add missing opengl libraries

* Basic simulation window works!

* try using different define

* fix wrapper for better compatibility

* Gui is now operational

* Finally SIM works on actual freecad models

* support drill commands

* cleanup python script and add tool profile generation

* Now using actual tools specified in the operation.

* support mouse wheel and freecad-style 3d navigation

* Support accuracy gauge

* remove endsimulation reference

* show simulation speed indicator

* apply clang-format

* apply changes suggested by code review

* gui items are loaded via QT resource system instead of hard coded

* use vector instead of pointer to pass tool profile points

* Fix some more formatting errors.
2024-05-22 10:16:34 -05:00
Yorik van Havre
d119dc574b BIM: Fixed windows autohosting - fixes #14197 2024-05-22 15:53:59 +02:00
wmayer
1da8e17ffa Sheet: Make ViewProviderSpreadsheet.h self-contained
and fix a few minor issues
2024-05-22 13:32:05 +02:00
Yorik van Havre
3fd1b62aa1 BIM: Reapplied #13648 2024-05-22 10:58:23 +02:00
pre-commit-ci[bot]
2b619949eb [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-05-22 10:21:10 +02:00
mos
bf1f16ac53 [fem] clean
clean unused code
2024-05-22 10:21:10 +02:00
paullee
de40658f3d [ArchCurtainWall] Add OverrideEdges & ArchSketch Support
- Add Overridges property to let user to select particular edge(s) in a Sketch / ArchSketch to use create the shape of the Arch Curtain Wall (instead of using all edges by default).

ENHANCEMENT by External 'ArchSketch' Add-on:

- GUI 'Edit Curtain Wall' Tool is provided in external Add-on ('SketchArch') to let users to select the edges interactively.
- The selection of edges is 'Toponaming-Tolerant' if ArchSketch is used in Base (and SketchArch Add-on is installed).
- Warning : Not 'Toponaming-Tolerant' if just Sketch is used.
- Property is ignored if Base ArchSketch provided the selected edges.

Forum Discussion:

- https://forum.freecad.org/viewtopic.php?p=756554#p756554 [ ArchSketch ] - Curtain Wall, Slab, ArchWall etc. on Same ArchSketch
2024-05-22 09:52:15 +02:00
Yorik van Havre
7b369599aa BIM: Restored original copyright header of ArchCutPlane command 2024-05-22 09:20:23 +02:00
Yorik van Havre
d28a797119 BIM: Reworked preferences and setup screens
* Reworded welcome screen, removed "update" section
* Removed Webtools and Start option from setup dialog - fixes #14179
* Renamed Arch preferecnes to BIM - fixes #14121
* Moved NativeIFC preferences to BIM - fixes #14137
2024-05-22 09:18:41 +02:00
wandererfan
6b5f829ca2 [TD]fix Win CI fail a/c OCC Handle style 2024-05-21 14:14:16 -04:00
wandererfan
5003dc2733 [TD]fix conversion of BSpline to Circle/Arc 2024-05-21 14:14:16 -04:00
wandererfan
40a1ac8c8b [TD]fix autocorrect handling of older documents 2024-05-21 14:14:16 -04:00
mosfet80+
202aa359b3 [mod] removed unused variable
removed unused variable
2024-05-21 13:01:34 +02:00
Yorik van Havre
58083879b7 BIM: Allow to export groups as assemblies 2024-05-21 08:52:03 +02:00
hoshengwei
16ffcfecfc fix BIM Project Manager import error 2024-05-21 08:16:56 +02:00
bgbsww
040502280f Toponaming: Cleanup verified face calls 2024-05-20 17:48:01 -05:00
Chris Hennes
e0a0a2da7d Merge pull request #13705 from chennes/enableToponamingFix
Toponaming: Enable FC_USE_TNP_FIX code
2024-05-20 17:47:18 -05:00
Chris Hennes
f1690821a3 Toponaming: Test fixes 2024-05-20 12:40:52 -05:00
Chris Hennes
9bc5675ab3 Correct flag 2024-05-20 12:40:52 -05:00
Chris Hennes
895803a8cb Toponaming: Enable FC_USE_TNP_FIX code 2024-05-20 12:40:52 -05:00
bgbsww
1eac717f8f Toponaming: replace MultiFuse implementation to fix face colors 2024-05-20 12:40:43 -05:00
PaddleStroke
7c2a95bb0d Assembly: JCS selection: cones surfaces offers the cone's apex. Fixes #13958 2024-05-20 12:00:17 -05:00
marcuspollio
7ee83f9610 BIM : fix typos in UI strings 2024-05-20 11:59:07 -05:00
marcuspollio
7e7f9fc605 BIM : update icons with Document element 2024-05-20 11:58:24 -05:00
Michael K Johnson
42768a44a5 Fix typo in TechDraw tooltip 2024-05-20 11:57:40 -05:00
Chris Hennes
b60dd5b882 Merge pull request #13691 from Ondsel-Development/prop-view-menu
Gui: Rearrange the property view context menu
2024-05-20 11:54:00 -05:00
marcuspollio
7d2599cb75 UI : Update Spreadsheet icons (#13996) 2024-05-20 11:51:33 -05:00
Chris Hennes
74db404039 Merge pull request #14074 from NomAnor/pd-icons
Change PartDesign Pad and Revolution tree icons
2024-05-20 11:45:16 -05:00
mosfet80
8acbeb91b3 mod: clean ImportOCAF.cpp
clean  ImportOCAF.cpp
2024-05-20 11:44:08 -05:00
wmayer
27b1caa82b Sketch: Refactor Sketch::updateGeometry() 2024-05-20 11:38:06 -05:00