Commit Graph

28234 Commits

Author SHA1 Message Date
Kacper Donat
e4ed0d883f PartDesign: Introduce ability to disable single-solid rule
This adds "SingleSolidRuleMode" enum that controls if PartDesign will
enforce singular solid. By default the single-solid is enforced so
nothing changes for the user, it must be explicitly disabled by setting
new Allow Compound boolean property on a given body.

Default for this value is controled using user parameter under
Mod/PartDesign/AllowCompoundDefault
2024-05-20 12:25:36 -04:00
Kacper Donat
d0a35c8c03 PartDesign: Refactor single-solid rule enforcement
This refactors a single solid rule checking code from using the solid
count directly to using well abstracted `isSingleSolidRuleSatisfied`
method. This makes code easier to read and is the basis for next step
which is allowing users to disable this checks.
2024-05-20 12:25:36 -04:00
wandererfan
3c4b6bda79 [TD]allow custom format for hidden lines 2024-05-20 12:25:20 -04:00
Max Wilfinger
918d261fda make the smart dimension tool the default one 2024-05-20 11:18:59 -05:00
PaddleStroke
66fceda45e Sketcher: Fix line to arc point distance movement problem 2024-05-20 11:15:56 -05:00
PaddleStroke
0582e8b76b Sketcher: Fix distance arc helper : should appear only if constraining the edge. 2024-05-20 11:11:27 -05:00
marioalexis
9ef7328c42 Fem: Highlight active Analysis according to user defined color 2024-05-20 11:01:18 -05:00
marioalexis84
ecabfa1080 Fem: Improve constraint section print (#14046)
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2024-05-20 11:00:48 -05:00
marioalexis
8920d76d93 Fem: Load heat flux from CalculiX results - fixes #12117 2024-05-20 11:00:19 -05:00
Chris Hennes
aef423731d Merge pull request #14011 from hlorus/measure-icons
Add measurement icons
2024-05-20 10:54:06 -05:00
Max Wilfinger
323ec08e8e Update assembly icons to be consistent with main updates.
Add commands to menu/toolbar.
2024-05-20 10:46:45 -05:00
Chris Hennes
407a572d2f Merge pull request #14004 from wwmayer/prop_item
Gui: move to new-style connect() in createEditor()
2024-05-20 10:45:54 -05:00
David Carter
ed01d5cffa Material: Material API fixes
Corrects an issue in the API where a new material may not have a UUID.
Corrected the test case to reflect the changes and better document the
process.

Added a test case for material filters.
2024-05-20 10:43:02 -05:00
Max Wilfinger
ba9240a3f2 Update Part Design toolbars.
Command group for datum. Removed ShapeBinder. Added CheckGeometry.
2024-05-20 10:39:32 -05:00
Max Wilfinger
9b42f80962 update addon manager icons for legibility on dark themes 2024-05-19 16:24:31 -05:00
Pieter Hijma
cb8da09e27 AddonManager: Adapt to Qt6/PySide6
QtNetwork.QNetworkRequest has a small API change that is addressed in
this commit.
2024-05-19 16:20:04 -05:00
wandererfan
ff17df2ff5 [TD]assorted Preference updates
- section line convention label
- remove superfluous save/restore on changeEvent
- change default scrub count
- add preference for default symbol dir
- add preference for display of section cut line
2024-05-19 09:42:47 -04:00
bgbsww
6a947afda5 Toponaming: adjust tests 2024-05-18 14:12:04 -05:00
Reqrefusion
d98ef50f02 Boring changes made to better suit the guide and keyline 2024-05-18 09:23:57 -04:00
HowThatWorks
6e91b78fe0 Added freecad:autofill attribute to ISO templates 2024-05-18 09:23:20 -04:00
Roy-043
69d405b011 Draft: Draft_Hatch workaround for TD edge length limit (#14114)
Edges longer than ca. 10m are considered 'crazy' in the TD Workbench. Hatch patterns are also checked. As a workaround some intermediate scaling is applied.

Addionally: `transformShape` instead of `transformGeometry`. The latter results in B-splines.
2024-05-18 11:39:08 +02:00
Roy-043
df49763d3f Draft: improved IsActive behavior (#14103)
Related issue: #14061.
2024-05-18 11:38:38 +02:00
bgbsww
e50ef22e7b Minor test tweaks, and small fixes to pass tests 2024-05-17 19:14:01 -05:00
wandererfan
40befa8708 [TD]fix #13992 - compile warnings 2024-05-17 18:07:25 -04:00
wandererfan
f528e5a796 [TD]revert to v0.21 hatch exporting 2024-05-17 18:06:47 -04:00
Yorik van Havre
f0be8d1e00 BIM: Renamed duplicate DialogIfcProperties - fixes #14090 (#14091) 2024-05-17 17:40:50 +02:00
WandererFan
fc4cff4da2 Merge pull request #14080 from edi271/IssueExposeDimExtentInPython02
[TD]Expose DimExtent in Python (2nd attempt, replaces PR #13976)
2024-05-17 09:27:42 -04:00
bgbsww
80d43f51a1 Simplify offset tests 2024-05-17 08:10:43 -04:00
wmayer
154357f115 Assembly: Fix possible build failure with PCH 2024-05-17 13:12:24 +02:00
PaddleStroke
11e0fcf4ae Update DrawSketchDefaultHandler.h 2024-05-17 12:34:28 +02:00
PaddleStroke
53f24c849f Sketcher: fixes #13999 2024-05-17 12:34:28 +02:00
Yorik van Havre
9eec6020f7 Arch: Fixed trackers ending too soon - fixes #13915 2024-05-17 12:14:25 +02:00
edi271
fe9927f466 [TD]Expose DimExtent in Python 2024-05-17 10:55:56 +02:00
FEA-eng
ff47cbd1d5 FEM: Further improvement of the misleading constraint descriptions regarding the geometry selection (#14002)
* Update TaskFemConstraintFixed.ui

* Update TaskFemConstraintDisplacement.ui

* Update TaskFemConstraintSpring.ui

* Update TaskFemConstraintForce.ui

* Update TaskFemConstraintPressure.ui

* Update TaskFemConstraintHeatflux.ui

* Update TaskFemConstraintTemperature.ui
2024-05-16 21:20:16 -04:00
Chris Hennes
f04097d9ed Merge pull request #13900 from marioalexis84/fem-constraint_rigid_body
Fem: Add constraint rigid body
2024-05-16 21:19:30 -04:00
Furgo
c55e84c6b0 Update grid size nomenclature (#13093)
* Update grid nomenclature to major/minor. Closes #13090
2024-05-16 22:24:04 +02:00
Roy-043
b5aa0d757a Draft: Draft_Split fix unhandled exception (#14059)
Fixes #13951.

Regression introduced by #12261.
2024-05-16 22:02:56 +02:00
Roy-043
012b1179c6 Draft: Draft_Slope input did not obey Decimals pref (#14060)
Forum topic:
https://forum.freecad.org/viewtopic.php?t=87686
2024-05-16 22:02:25 +02:00
marioalexis
5da413e70f Fem: Update CalculiX writer of the constraint rigid body 2024-05-16 12:51:37 -05:00
marioalexis
42d13a3747 Fem: Update task dialog of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
5911df4ea6 Fem: Update view provider of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
cddc7b6a29 Fem: Change properties of the rigid body constraint 2024-05-16 12:51:37 -05:00
marioalexis
b5655c3a8a Fem: Add transform for extra symbol in constraints 2024-05-16 12:51:37 -05:00
FEA-eng
2d26fb5426 Fem: Add ConstraintRigidBody icon 2024-05-16 12:51:37 -05:00
FEA-eng
53b9c0b6e6 Fem: Update writer of the constraint rigid body 2024-05-16 12:51:37 -05:00
FEA-eng
f012e92e33 Fem: Update properties of ConstraintRigidBody 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
845c0e7bcd FEM: Add unit test for new ConstraintRigidBody object 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
0a6a7155e5 FEM: Add rigid body constraint to ccx writer 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
3785aec4c8 FEM: Make connections with rigid body gui and app 2024-05-16 12:51:37 -05:00
Ajinkya Dahale
a9bff5b7b3 [FEM] Add rigid body constraint 2024-05-16 12:51:37 -05:00