Commit Graph

35819 Commits

Author SHA1 Message Date
Syres916
e4bb7a98e2 [Arch] [Draft] Add guard for RootNode specific child 2024-02-05 11:00:38 +00:00
Adrian Insaurralde Avalos
963652c6a7 Avoid sending unescaped quotes to python console 2024-02-04 16:44:25 -06:00
Adrian Insaurralde Avalos
808e5d9d74 Add Base::Tools::escapeQuotesFromString with corresponding test
To be used to avoid sending unescaped quotes to python console
2024-02-04 16:44:25 -06:00
marioalexis
f34861c99b Material: Avoid potential dependency of core system on application module 2024-02-04 16:42:39 -06:00
Roy-043
c5d0fbd707 Merge pull request #12250 from Roy-043/Draft-Fix-messages-that-only-worked-for-objects-supplied-as-strings
Draft: Fix messages that only worked for objects supplied as strings
2024-02-04 11:51:29 +01:00
Roy-043
7ca885eb25 Removed too much in make_label.py 2024-02-04 09:50:45 +01:00
Chris Hennes
2192031ae3 Merge pull request #12229 from bgbsww/bgbsww-toponamingGeometry
Transfer in Geometry.x changes from RT branch
2024-02-04 09:27:43 +01:00
bgbsww
12fdd27326 Switch to using enum 2024-02-04 09:27:16 +01:00
bgbsww
f3c9b8ee97 Delinting pass 2024-02-03 18:33:07 -05:00
Roy-043
32072c7f9c Merge pull request #12251 from Roy-043/Draft-Fix-messages-for-Draft_Fillet
Draft: Fix messages for Draft_Fillet
2024-02-03 23:03:58 +01:00
Roy-043
e6c68aab31 Draft: Fix messages for Draft_Fillet
There were still too many messages.
2024-02-03 19:46:20 +01:00
Roy-043
178070af5d Draft: Fix messages that only worked for objects supplied as strings
Some error messages would only work if objects were supplied as strings. These would fail if objects were passed (as objects) that had already been deleted.
2024-02-03 19:38:49 +01:00
Zheng, Lei
1bb5350c51 App: fix PropertyPythonObject persistence backward compatibility
Related #10460
2024-02-03 17:20:46 +01:00
Roy-043
ede61694e3 Merge pull request #12242 from Roy-043/Draft-Fix-Draft_Wire-conversion-function
Draft: Fix Draft_Wire conversion function
2024-02-03 01:43:50 +01:00
Roy-043
842b0b230b 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
90c90f705b 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
ee3e1cd5ce 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
834aff05a9 minor edit 2024-02-02 15:17:13 +01:00
Roy-043
cfe13dc0c3 Merge pull request #12232 from Roy-043/Draft-Draft_Point-minor-consistency-update
Draft: Draft_Point minor consistency update
2024-02-02 15:10:54 +01:00
Kevin Martin
39bee92bea Replace deprecated escapes with valid ones 2024-02-02 08:58:49 -05:00
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
ee3a5a640e Draft: Draft_Point minor consistency update 2024-02-02 14:12:57 +01:00
Roy-043
253c343d73 Draft: Draft_Arc_3Points minor consistency update 2024-02-02 14:11:55 +01:00
Roy-043
af9c60ffef Merge pull request #12233 from Roy-043/Draft-Draft_Fillet-minor-consistency-update
Draft: Draft_Fillet minor consistency update
2024-02-02 14:08:14 +01:00
Roy-043
86195fb8b3 Draft: Draft_Fillet minor consistency update 2024-02-02 11:29:43 +01:00
Adrián Insaurralde Avalos
2adc1bfce4 Test: build Mod test only if the module is being built 2024-02-02 00:04:39 +01:00
Zheng, Lei
728a880078 Transfer in Geometry.x changes from RT branch 2024-02-01 17:48:32 -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