Commit Graph

26639 Commits

Author SHA1 Message Date
bgbsww
aa6da42ca1 Setting on 89.9 as a limit, enforce in dialog and properties 2023-11-22 10:30:54 +01:00
bgbsww
e7a84ea725 Prevent attempting to create an infinite helix 2023-11-22 10:30:54 +01:00
Chris Hennes
023e65c790 Merge pull request #11478 from pieterhijma/missing-api-doc-py-hlr
[Part] Missing API documentaton Python HLR
2023-11-21 19:10:50 -06:00
wmayer
ab8be62f2f Material: fix Qt6 build failure and minor optimizations 2023-11-22 01:48:07 +01:00
wmayer
de7c598b33 MSVC: fix warnings about unused variable 2023-11-21 23:10:03 +01:00
wmayer
3ab5165291 Qt: fix duplicate widget names 2023-11-21 23:10:03 +01:00
Roy-043
ccd7d33d70 Draft: add parameter observer
To avoid having to restart FreeCAD after changing parameters.
2023-11-21 20:42:16 +01:00
Roy-043
6960f95a00 Merge pull request #11477 from Roy-043/Draft-improved-handling-of-snap-prefs
Draft: improved handling of snap prefs
2023-11-21 18:40:42 +01:00
Roy-043
d592a0ffc6 Merge pull request #11467 from Roy-043/Draft-make-mod-key-prefs-non-global
Draft: make mod key prefs non-global
2023-11-21 18:40:10 +01:00
Roy-043
94a649b128 Draft: improved handling of snap prefs
* Some trackers had 2 color nodes.
* Added a setColor function to some trackers.
* Added a set_snap_style function to the Snapper class.
2023-11-21 17:14:17 +01:00
Pieter Hijma
d91e54dfab Make comments consistent 2023-11-21 16:19:29 +01:00
Pieter Hijma
10c6d64e34 Add documentation for PolyHLRToShape 2023-11-21 16:19:29 +01:00
Pieter Hijma
99f7bc700d Add constructor documentation as well 2023-11-21 16:19:29 +01:00
Pieter Hijma
974651e159 Add documentation for HLRToShape 2023-11-21 16:19:29 +01:00
Pieter Hijma
eeb56dd914 Remove comments from the text field 2023-11-21 16:19:29 +01:00
Pieter Hijma
80aecd0508 Fix a small problem with parameters
This is the same problem as in https://github.com/FreeCAD/FreeCAD/pull/10727.
Apparently it was also present in PolyAlgo.
2023-11-21 16:19:29 +01:00
Pieter Hijma
ef1e119405 Add documentation for HLRBRep.PolyAlgo 2023-11-21 16:19:29 +01:00
Pieter Hijma
bdca56e766 Improve the documentation of HLRBRep.Algo 2023-11-21 16:19:29 +01:00
Pieter Hijma
0d2609bf37 Change <S> to S
Otherwise, it is invalid XML
2023-11-21 16:19:29 +01:00
Rohan Mishra
c0a1f81ca5 Update HLRBRep_AlgoPy.xml
#10728

Updated the API documentation of HLRBRep_AlgoPy.xml.
2023-11-21 16:19:29 +01:00
Chris Hennes
632d5e80ee Part: Add BRepFeat_MakeRevol.hxx to Precompiled header 2023-11-20 21:43:38 -06:00
Roy-043
f2b1051d25 Draft: make mod key prefs non-global 2023-11-20 21:17:18 +01:00
Chris Hennes
90dc4aeb13 Update translations 2023-11-20 13:46:22 -06:00
Roy-043
9563a40e32 Draft: gridShowHuman did not work
* The gridBorder pref was ignored.
* BimProject has been renamed to BimProjectManager.
2023-11-20 19:54:24 +01:00
David Carter
0a094d4872 Material: Continued Material enahncements
Continues the work of the material subsystem improvements.

Several important items are included in this merge. In terms of new
capabilities, this merge adds List and MultiLineString as valid
property types, complete with editing dialogs. This will help with
backwards compatibility for external workbenches, such as Render.

Stability has been a big focus. New unit tests help to verify features
work as expected. Bugs have been fixed and crashes avoided.

Material cards have had a renaming to their tree structure. For
example, 'StandardMeterials' is redundant, so this was renamed to
'Standard'. The cards themselves are more compliant fully passing the
yamllint tests.

More soon.
2023-11-20 12:19:29 -06:00
pre-commit-ci[bot]
91dc7285e1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-11-20 18:25:29 +01:00
Kevin Martin
4e12621954 Use PyObject_CallObject rather than interpreting generated code
Rather than generating Python code and interpreting it, which, in C++, is fraught with issues of creating the correct syntax for a str token when the text contains certain special characters like double-quote and backslash, the modified code makes call(s) to PyObject_CallObject which takes the C++ string and makes the appropriate conversion itself. The steps in building the Position passed to make_text are also done using c++ objects until the final Python Placement object is needed.
2023-11-20 18:25:29 +01:00
Mark Ganson TheMarkster
a86ae2790b [Part Workbench]Prevent error when using link in boolean cut (#11398) 2023-11-20 14:22:25 -03:00
tmksw
b8d529466d [Start WB] extend file info in MRU tooltip (#11450) 2023-11-20 14:21:12 -03:00
Paddle
ea5abfda0d Fix autoconstraints of arcslot tool. 2023-11-20 14:19:51 -03:00
Chris Hennes
283c4d7ef5 Merge pull request #11421 from Pesc0/vscode-split-4--upgrade-python-debugger
Vscode split 4  upgrade python debugger
2023-11-20 11:18:36 -06:00
LarryWoestman
4e80ae6fca Path: Added separator lines to make the tests easier to find (#11423)
Co-authored-by: LarryWoestman <LarryWoestman@users.noreply.github.com>
2023-11-20 10:13:44 -07:00
PaddleStroke
e56359d6d7 [Sketcher] Auto horizontal/vertical (#11330)
* Refactor sketcher horizontal / vertical constraints and adds a horizontal/vertical command.

* Sketcher : HorVer : change tool icon.

---------

Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2023-11-20 11:00:22 -06:00
bgbsww
8cc48c488f Defend against surface not created from invalid face 2023-11-20 13:59:01 -03:00
Paddle
59b64ebab0 Group Trim/extend/split. 2023-11-20 10:58:17 -06:00
Rohan Mishra
8d2d3e5315 Update ShapeFix_EdgePy.xml (#11193)
* Update ShapeFix_EdgePy.xml

Issue #11182
---------

Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org>
2023-11-20 10:49:41 -06:00
Adrián Insaurralde Avalos
2cef4cfdbe Merge pull request #7193 from AjinkyaDahale/pd-more-revol-options
PD: more options for revolution/groove
2023-11-20 13:36:34 -03:00
wmayer
9a14239d76 Part: add test for Geom2d.toShape 2023-11-20 13:00:09 +01:00
tomate44
207bcfa80d Part : fix edge creation of Geom2d curves 2023-11-20 12:35:09 +01:00
Roy-043
3b32f50a47 Arch: remove global precision variables
To avoid having to restart after changing the Draft precision parameter.
2023-11-20 12:21:28 +01:00
bgbsww
5b4d287034 Reverse misuse of list comprehension 2023-11-20 11:36:39 +01:00
bgbsww
f087c4b3ef Parse inventor format without commas between points 2023-11-20 11:36:39 +01:00
Roy-043
6d83326307 Draft: store more command modes in prefs
With this PR the following 5 command modes are automatically stored in the preferences:
* "ContinueMode"
* "RelativeMode"
* "GlobalMode"
* "fillmode" (existing preference, removed from the Preferences Editor)
* "SubelementMode"

Additionally:
Three commands (Draft_Ellipse, Draft_Rectangle and Draft_Stretch) call `setRelative` after the 1st point has been specified and would permanently switch on relativeMode. After this PR this switch is temporary.
2023-11-18 21:03:26 +01:00
Roy-043
f30e643c82 Merge pull request #11440 from Roy-043/Draft-make-Draft_Edit-prefs-non-global
Draft: make Draft_Edit prefs non-global
2023-11-18 19:45:00 +01:00
Roy-043
9409f68294 Merge pull request #11436 from Roy-043/Draft-constraining-did-not-respect-global-mode
Draft: constraining did not respect global mode
2023-11-18 19:44:40 +01:00
Roy-043
34e49b50d8 Draft: make Draft_Edit prefs non-global 2023-11-18 19:18:23 +01:00
Roy-043
f6f0ace4c7 Draft: constraining did not respect global mode
Fixes #10496.
2023-11-18 13:36:35 +01:00
Roy-043
03e8ac4ac6 Draft: make in-command shortcuts non-global
Fixes #8329.
2023-11-17 12:57:56 +01:00
Roy-043
e9e4554c06 Draft: minor updates related to precision pref 2023-11-17 09:49:01 +01:00
Roy-043
16a9f09940 Merge pull request #11419 from Roy-043/Draft-Draft_Join-should-call-join_wires
Draft: Draft_Join should call join_wires
2023-11-17 09:30:01 +01:00