Commit Graph

26661 Commits

Author SHA1 Message Date
wandererfan
402fb2fe77 [TD]fix Balloon location 2023-11-25 08:05:50 -05:00
wandererfan
9d3d7aba22 [TD]fix dimension location 2023-11-25 08:05:50 -05:00
Syres916
a6031001fe [Techdraw] Hole & Shaft Fit Error Enhancement 2023-11-25 08:05:23 -05:00
wmayer
021e0a192f Gui: fix SelectionSingleton::sHasSelection 2023-11-24 15:06:00 +01:00
wmayer
7c11ad0fb6 Part: fix TopoShapePy::optimalBoundingBox 2023-11-24 15:06:00 +01:00
wmayer
6d11e2206d Part: fix BSplineCurve2dPy::insertKnot 2023-11-24 15:06:00 +01:00
Roy-043
a3f285cb46 Draft: improve Snap bar show-hide preference
This PR replaces the showSnapBar and hideSnapBar preferences with a single new preference: SnapBarShowOnlyDuringCommands.

Additonally:
Improved some param observer callbacks.
2023-11-24 13:30:03 +01:00
Roy-043
8298396350 Merge pull request #11509 from Roy-043/Draft-getActiveObject-has-changed
Draft: Gui.ActiveDocument.ActiveView.getActiveObject has changed
2023-11-24 12:46:07 +01:00
Roy-043
0973eb6b6f Draft: gui_selectplane can rely on ParamObserver for grid changes 2023-11-24 12:18:57 +01:00
Roy-043
9bcb7cbc7e Draft: Gui.ActiveDocument.ActiveView.getActiveObject has changed
See #10405.
2023-11-24 12:08:28 +01:00
Roy-043
e94bbe1ca4 Merge pull request #11503 from yorikvanhavre/draft-toolmessages
Draft: Added a preference to turn on/off tool messages
2023-11-24 10:59:54 +01:00
pavltom
e021696b31 [TechDraw] Set Calculate Area icon units to pixels 2023-11-23 19:47:04 -05:00
pavltom
f04bac3838 [TechDraw] Fixes #7317 - Calculate Area of Arbitrary Faces 2023-11-23 19:47:04 -05:00
Yorik van Havre
b54642bf93 Draft: Added a preference to turn on/off tool messages (off by default) - fixes #7078 2023-11-23 16:27:36 +01:00
Roy-043
8944c79ebe Draft: make default anno style non-global
Additionally:
* Added the DimShowLine preference. Layout of the tab will be updated later.
* Improved handling of DraftAnnotationScale preference: catch division by zero and use it for the default anno style.
2023-11-23 09:45:12 +01:00
Roy-043
f683681e92 Remove 2 unused variables 2023-11-23 09:43:48 +01:00
Roy-043
842eedbf4b Draft: param observer: improve handling of statusbar widgets
The Draft statusbar widgets should not be displayed in the Arch and BIM workbenches.

Also updated the copyright header to the current standard.
2023-11-23 09:43:48 +01:00
Roy-043
8038fb64d3 Draft interface tab was missing 2023-11-23 09:21:55 +01:00
Roy-043
4e2ba04eb1 Arch: start Draft param observer
See #11481.
2023-11-23 09:21:55 +01:00
wmayer
0c21c6298c Base: fix google-explicit-constructor 2023-11-22 23:47:29 +01:00
wandererfan
d5d4fd8ba3 [TD]fix RTA bounding rect 2023-11-22 08:43:35 -05:00
wandererfan
f43b6002f4 [TD]fix position of RTA on Svg export 2023-11-22 08:43:35 -05:00
bgbsww
26f3254a2f Setting on 89.9 as a limit, enforce in dialog and properties 2023-11-22 10:30:54 +01:00
bgbsww
10f257ac59 Prevent attempting to create an infinite helix 2023-11-22 10:30:54 +01:00
Chris Hennes
0d1ce2cbb1 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
b26c18ad39 Material: fix Qt6 build failure and minor optimizations 2023-11-22 01:48:07 +01:00
wmayer
624b5a396a MSVC: fix warnings about unused variable 2023-11-21 23:10:03 +01:00
wmayer
fb770778d3 Qt: fix duplicate widget names 2023-11-21 23:10:03 +01:00
Roy-043
6b1a460a22 Draft: add parameter observer
To avoid having to restart FreeCAD after changing parameters.
2023-11-21 20:42:16 +01:00
Roy-043
0734b518b4 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
eab0933a36 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
59ba9146b8 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
bfc418bbf2 Make comments consistent 2023-11-21 16:19:29 +01:00
Pieter Hijma
d40404744b Add documentation for PolyHLRToShape 2023-11-21 16:19:29 +01:00
Pieter Hijma
f65ec3a00d Add constructor documentation as well 2023-11-21 16:19:29 +01:00
Pieter Hijma
572b54976c Add documentation for HLRToShape 2023-11-21 16:19:29 +01:00
Pieter Hijma
dc939f519a Remove comments from the text field 2023-11-21 16:19:29 +01:00
Pieter Hijma
bb77c0670a 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
f97906c4e3 Add documentation for HLRBRep.PolyAlgo 2023-11-21 16:19:29 +01:00
Pieter Hijma
ca159ae847 Improve the documentation of HLRBRep.Algo 2023-11-21 16:19:29 +01:00
Pieter Hijma
75e18e3cf9 Change <S> to S
Otherwise, it is invalid XML
2023-11-21 16:19:29 +01:00
Rohan Mishra
6d6f8ca1e0 Update HLRBRep_AlgoPy.xml
#10728

Updated the API documentation of HLRBRep_AlgoPy.xml.
2023-11-21 16:19:29 +01:00
Chris Hennes
c556af673a Part: Add BRepFeat_MakeRevol.hxx to Precompiled header 2023-11-20 21:43:38 -06:00
Roy-043
84deb09f0b Draft: make mod key prefs non-global 2023-11-20 21:17:18 +01:00
Chris Hennes
1372070452 Update translations 2023-11-20 13:46:22 -06:00
Roy-043
1193491f40 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
332bf7ed08 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]
0dc15c940d [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
00c94b8351 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
f434797789 [Part Workbench]Prevent error when using link in boolean cut (#11398) 2023-11-20 14:22:25 -03:00