Commit Graph

35793 Commits

Author SHA1 Message Date
Kevin Martin
02ebb17558 Eliminate many "doing what you told me to" messages
These messages were perhaps originally intended as a debuggin aid but now add clutter to the output panes. Remaining messges are mostly the result of methods to display attributes of an object (which one could call from the Python console) or actually provide some information which would not be obvious from the circumstances
2024-02-02 08:58:45 -05:00
Roy-043
9dafb71ca5 Merge pull request #12226 from Roy-043/Draft-Avoid-draftToolBar.getDefaultColor-outside-DraftGui.py
Draft: Avoid draftToolBar.getDefaultColor outside DraftGui.py
2024-02-01 20:08:16 +01:00
Roy-043
0eb8f1f750 Draft: Avoid draftToolBar.getDefaultColor outside DraftGui.py
The draftToolBar.getDefaultColor() function is an indirect way of retreiving a parameter. It is better to avoid it where possible.
2024-02-01 18:02:10 +01:00
Roy-043
4e37153f36 Draft: preferences-drafttexts.ui fix some issues
Increase step size from 0.05 to 0.1
Increase max for scale multiplier from 100 to 10,000
2024-02-01 17:21:14 +01:00
CalligaroV
d23b288faf Tests/Toponaming: Add test for simple shapes
* Added test for Tag Info generated by makeShapeWithElementMap
 * Make sure that there's at least one mapped element before checking the element map

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-02-01 15:19:42 +01:00
Roy-043
cabcd6b2d9 Arch: Add "Opening only" preset to Arch_Window
As discussed on the forum:
https://forum.freecad.org/viewtopic.php?p=734920#p734920
2024-02-01 15:18:44 +01:00
PaddleStroke
66de7f3968 SoDatumLabel: Add arrowheads to angles. And improve arrowhead rendering. 2024-02-01 14:27:07 +01:00
Chris Hennes
ff4c22a1e7 Addon Manager: Add support for codeberg.org repos 2024-02-01 14:24:47 +01:00
Adrian Insaurralde Avalos
a0623f103d Github ci: fix moving libpack bin directory failure 2024-02-01 12:56:09 +01:00
PaddleStroke
8afa940ca2 [Sketcher] Scale DSH : adds a tool to scale geometries. (#11265)
* Scale DSH : sketcher tool to scale geometries.
* Sketcher: Rotate and Scale : Move indexInVec to Utils.h as indexOfGeoId

---------

Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2024-02-01 09:08:58 +01:00
Chris Hennes
a54840c2c5 Sketcher: Add check for handler's existence 2024-02-01 09:08:16 +01:00
Vincenzo Calligaro
e6004ff6c9 Toponaming shapeprotector Nullify() check (#12177)
* Moved the check inside the Nullify() method.

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-01-31 17:36:30 +01:00
PaddleStroke
e43b46c41f Part: Add BRepFill_Generator to the OpenCascadeAll.h 2024-01-31 17:35:14 +01:00
Roy-043
89bca1ee93 Merge pull request #12111 from 3x380V/draft_wb_qt6
Draft: Qt6 fixes
2024-01-31 11:31:38 +01:00
Roy-043
206711b8fe Merge pull request #12040 from Roy-043/Arch-Bring-back-Axis-bubbles-and-show-annotation-DrawStyle-in-ArchView
Arch: Bring back Axis bubbles and show annotation DrawStyle in ArchView
2024-01-31 10:07:18 +01:00
Roy-043
5db2893ab6 Merge pull request #12038 from Roy-043/Arch-Revised-preference-ui-files-remove-WindowColor
Arch: Revised preference ui files, remove WindowColor
2024-01-31 10:05:42 +01:00
Roy-043
f112107301 Gui: "Default unit system" in title case in prefs 2024-01-30 17:27:24 +01:00
PaddleStroke
d7ee978e42 Sketcher: Fix sketcher_Copy bug when a single geometry was copied, geoId was not correct in constraints. 2024-01-30 17:26:42 +01:00
Roy-043
98712d228b Sketcher: minor fixes to 2 prefs ui files
* Titles in sentence case.
* No space before colon.
* Choose instead of chose.
* Vertex item first in "Colors outside Sketcher" as well.
2024-01-30 17:25:34 +01:00
LemonBoy
044d90b4d0 Make the random color assignment undo-able
Create a transaction in the currently selected document to allow the
user to roll-back the color assignment.

Closes #11689
2024-01-30 17:15:32 +01:00
Chris Hennes
002f246989 Addon Manager: Allow primary branch name change 2024-01-30 16:52:16 +01:00
Chris Hennes
59a8c5a562 Merge pull request #12134 from bgbsww/bgbsww-toponamingMakeElementShape
Toponaming: makeElementShape transfer and tests
2024-01-30 14:00:59 +01:00
Chris Hennes
760aaf4afe Addon Manager: Complete migration away from GitPython 2024-01-30 11:12:01 +01:00
bgbsww
43e333771e Cleanup merge issues and linter concerns 2024-01-29 22:48:25 -05:00
Jacob Oursland
7edf473a28 Conda: Pin PCL to v1.13.1 to fix build errors on Windows. (#12190) 2024-01-30 00:30:40 -03:00
marioalexis
f19735b702 Material: Use "et" format unit to parse path 2024-01-29 22:07:58 +01:00
marioalexis
723159d2f5 Material: Return new reference to Python boolean 2024-01-29 22:07:58 +01:00
bgbsww
ff153e32e4 Merge branch 'main' into bgbsww-toponamingMakeElementShape 2024-01-28 11:19:11 -05:00
bgbsww
ac63598572 Clean code and add tests 2024-01-28 11:04:34 -05:00
Zheng, Lei
671b43c4d5 Transfer in makeElementShape 2024-01-28 10:57:13 -05:00
Zheng, Lei
90d36f60c3 FeaturePartCommon code move in 2024-01-28 06:55:01 -07:00
Chris Hennes
7e8265fb10 Merge pull request #12157 from chennes/toponamingMakeShapeWithElementMap
Toponaming make shape with element map
2024-01-27 13:25:56 -07:00
Chris Hennes
e24ed34867 Tests/Toponaming: Post-merge cleanup 2024-01-27 14:01:35 -06:00
bgbsww
88b5191b5e Cleaned up complex test (#15)
* Element Map Test

* Rename test and add more assertions

* Reduce test complexity
2024-01-27 12:00:12 -06:00
Vincenzo Calligaro
2e98912266 Tests for makeShapeWithElementMap (#12)
* Tests for makeShapeWithElementMap
 * Added nullShapesThrows tests for the classes derived from <TopoDS_Shape>
 * Added test passing as "sources" parameter of the tested method an empty vector of TopoShapes objects
 * Added test with unmappable sources
 * Added test to find shapes inside other shapes made from the first ones
* Tests for makeShapeWithElementMap with simple shapes
 * Added test to find source shapes' sub-shapes name in the elements maps
 * Added test to find the "MAK" OpCode in the elements maps names

---------

Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com>
2024-01-27 12:00:12 -06:00
bgbsww
5135564fb4 Rename test and add more assertions 2024-01-27 12:00:12 -06:00
bgbsww
43f4db445a Element Map Test 2024-01-27 12:00:12 -06:00
Chris Hennes
f91d39bac3 Tests/Toponaming: Add test framework for makeShapeWithElementMap 2024-01-27 12:00:12 -06:00
Chris Hennes
d43fe277a7 Part/Toponaming: Basic linter cleanup of makeShapeWithElementMap
No major refactoring.
2024-01-27 12:00:12 -06:00
Zheng, Lei
d768706ebe Part/Toponaming: Add original code for makeShapeWithElementMap
Called TopoShape::makESHAPE in the original Toponaming branch. The code here has been modified as little as possible to get it to compile in current main.
2024-01-27 11:59:56 -06:00
Roy-043
c3d2f00ab1 Merge pull request #12123 from Roy-043/Arch-BuildingPart-fix-setEdit-and-unsetEdit
Arch: BuildingPart fix setEdit and unsetEdit
2024-01-27 15:44:06 +01:00
Roy-043
16d1a15018 Merge pull request #12127 from Roy-043/Draft-Scale-widget-did-not-handle-FEM-unit-system
Draft: Scale widget did not handle FEM unit system
2024-01-27 15:43:29 +01:00
wandererfan
02c6a90c16 [TD]fix extension bolt hole circle re scale/rotate 2024-01-27 08:07:59 -05:00
Chris Hennes
3d6fb38de1 Addon Manager: Fix git detection on mac 2024-01-26 17:43:54 -07:00
Chris Hennes
8109d8a3ae Addon Manager: Allow .py filenames
Also improve macro removal.
2024-01-26 17:43:37 -07:00
Chris Hennes
f0a1e049cc Addon Manager: Fix #11120 2024-01-26 17:43:18 -07:00
bgbsww
eb7c658a06 Add helper methods 2024-01-26 17:42:51 -07:00
Chris Hennes
441b1d2783 Merge pull request #12133 from marioalexis84/fem-contact_tie 2024-01-26 14:21:02 -07:00
marioalexis
38f7283016 Fem: Improve constraint tie - partial fixes #11653 2024-01-26 13:44:16 -03:00
marioalexis
6e75703425 Fem: Improve constraint contact - partial fixes #11653 2024-01-26 13:44:16 -03:00