Commit Graph

27067 Commits

Author SHA1 Message Date
Roy-043
f6e1287be8 Draft: Fix Draft_Wire conversion function
The Draft_Wire command can combine selected Draft_Wires and Draft_Lines into a single wire. This function did not always behave properly.
* Edges were not sorted, the result could have a different shape (with the correct vertexes).
* If edges formed  a closed shape the resultant wire was not closed.
2024-02-02 22:54:34 +01:00
Roy-043
174938a52a Merge pull request #12234 from Roy-043/Draft-Draft_Arc_3Points-minor-consistency-update
Draft: Draft_Arc_3Points minor consistency update
2024-02-02 18:07:37 +01:00
Roy-043
aa421a60f1 Merge pull request #12230 from kpemartin/Issue11876
Remove excessive output from Draft object creation and editing
2024-02-02 18:06:02 +01:00
Roy-043
0bd6f0d6c7 minor edit 2024-02-02 15:17:13 +01:00
Kevin Martin
78eba96f1c Replace deprecated escapes with valid ones 2024-02-02 08:58:49 -05:00
Kevin Martin
2b9fa18b68 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
285c655834 Draft: Draft_Point minor consistency update 2024-02-02 14:12:57 +01:00
Roy-043
ac46a1ecf4 Draft: Draft_Arc_3Points minor consistency update 2024-02-02 14:11:55 +01:00
Roy-043
0fbe5f75bf Draft: Draft_Fillet minor consistency update 2024-02-02 11:29:43 +01:00
Roy-043
51035731e7 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
ff5f5c407a 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
Roy-043
60de976f4a 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
Chris Hennes
09d7e1132d Addon Manager: Add support for codeberg.org repos 2024-02-01 14:24:47 +01:00
PaddleStroke
a2c1596a03 [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
746fbff8f2 Sketcher: Add check for handler's existence 2024-02-01 09:08:16 +01:00
Vincenzo Calligaro
2ac19a9699 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
78173fa790 Part: Add BRepFill_Generator to the OpenCascadeAll.h 2024-01-31 17:35:14 +01:00
Roy-043
47f6c756e3 Merge pull request #12111 from 3x380V/draft_wb_qt6
Draft: Qt6 fixes
2024-01-31 11:31:38 +01:00
Roy-043
739b4a7c04 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
3d3e9737df 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
PaddleStroke
30bea2dd8e 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
c94186b88d 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
Chris Hennes
39043cf176 Addon Manager: Allow primary branch name change 2024-01-30 16:52:16 +01:00
Chris Hennes
430b6c75cb Merge pull request #12134 from bgbsww/bgbsww-toponamingMakeElementShape
Toponaming: makeElementShape transfer and tests
2024-01-30 14:00:59 +01:00
Chris Hennes
c622e6ca42 Addon Manager: Complete migration away from GitPython 2024-01-30 11:12:01 +01:00
bgbsww
408b4dcd85 Cleanup merge issues and linter concerns 2024-01-29 22:48:25 -05:00
marioalexis
f0201bcb78 Material: Use "et" format unit to parse path 2024-01-29 22:07:58 +01:00
marioalexis
9c27b3e747 Material: Return new reference to Python boolean 2024-01-29 22:07:58 +01:00
bgbsww
29213ecb57 Merge branch 'main' into bgbsww-toponamingMakeElementShape 2024-01-28 11:19:11 -05:00
bgbsww
42435333ff Clean code and add tests 2024-01-28 11:04:34 -05:00
Zheng, Lei
d4012e1190 Transfer in makeElementShape 2024-01-28 10:57:13 -05:00
Zheng, Lei
05a7bae6cb FeaturePartCommon code move in 2024-01-28 06:55:01 -07:00
Chris Hennes
4740ac88f2 Tests/Toponaming: Post-merge cleanup 2024-01-27 14:01:35 -06:00
Chris Hennes
ca6d9f9944 Part/Toponaming: Basic linter cleanup of makeShapeWithElementMap
No major refactoring.
2024-01-27 12:00:12 -06:00
Zheng, Lei
f592b66ecb 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
d9a8316cc4 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
1071937b87 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
f57c7a5aa5 [TD]fix extension bolt hole circle re scale/rotate 2024-01-27 08:07:59 -05:00
Chris Hennes
c1b6a6e657 Addon Manager: Fix git detection on mac 2024-01-26 17:43:54 -07:00
Chris Hennes
bcb60d7d7e Addon Manager: Allow .py filenames
Also improve macro removal.
2024-01-26 17:43:37 -07:00
Chris Hennes
0ef7f3d0d8 Addon Manager: Fix #11120 2024-01-26 17:43:18 -07:00
marioalexis
3dbb4b3dd3 Fem: Improve constraint tie - partial fixes #11653 2024-01-26 13:44:16 -03:00
marioalexis
7e5bb7361a Fem: Improve constraint contact - partial fixes #11653 2024-01-26 13:44:16 -03:00
wandererfan
9e080d13ce [TD]fix extension hole thread re scale/rotate 2024-01-26 10:02:36 -05:00
wandererfan
9e9cd1342a [TD]fix extension Extend function re scale/rotate 2024-01-26 10:02:36 -05:00
Roy-043
b1b0c48742 Draft: Scale widget did not handle FEM unit system
The FEM UserSchema (8) was not handled by the code.
2024-01-26 13:09:07 +01:00
Roy-043
fba23029ff Arch: BuildingPart fix setEdit and unsetEdit
The Transform option from the Tree view context menu did not work.
2024-01-26 10:43:42 +01:00
Chris Hennes
f9c8c1034b Addon Manager: Remove new-style type hints 2024-01-25 17:07:54 -07:00
Chris Hennes
7f14714706 Merge pull request #12087 from bgbsww/bgbsww-toponamingMakeElementShell
Toponaming makeElementShell
2024-01-25 12:49:07 -07:00
Chris Hennes
ec545b4cec Addon Manager: Improve macro readme rendering 2024-01-25 09:02:27 -07:00