bgbsww
1eda66dfd8
Cleanup, format
2024-07-24 16:41:15 -04:00
Zheng, Lei
38269241e6
Toponaming: Transfer in getHigherElement
2024-07-24 15:10:42 -04:00
bgbsww
077f3b3ab4
Toponaming: Clean code, apply remark recommendations and Tweak tests
2024-07-22 12:55:23 -04:00
Zheng, Lei
62d1c300fb
Toponaming: Bring in composite shapes for findSubshapesWithSharedVertex ( searchSubShape )
2024-07-22 12:51:25 -04:00
Chris Hennes
42bbd953f9
Merge pull request #15501 from bgbsww/bgbsww-toponamingSaveRestore4
...
Toponaming: Transfer in getLinksTo
2024-07-22 11:23:12 -05:00
bgbsww
ee72afc51d
Refactor all element name pairs into clearer struct names - renames
2024-07-21 20:32:58 -04:00
bgbsww
678f35fda2
Toponaming: Cleanup
2024-07-21 17:40:42 -04:00
Zheng, Lei
a322f100f1
Toponaming: Transfer in getLinksTo
2024-07-21 17:36:50 -04:00
Chris Hennes
a8ec527cab
Merge pull request #15535 from bgbsww/bgbsww-toponamingSaveRestore3plus
...
Refactor all elementname pairs into clearer struct names
2024-07-21 11:40:39 -05:00
bgbsww
19e450a667
Refactor all element name pairs into clearer struct names - renames
2024-07-20 16:32:12 -04:00
bgbsww
d4d40efbc5
Refactor all element name pairs into clearer struct names - definitions
2024-07-20 16:32:12 -04:00
hlorus
d8bbb3c804
Measure: Resolve App::Link elements
2024-07-17 17:56:37 +02:00
hlorus
60d69d706d
Measure: Reduce boilerplate code by adding some helper methods
2024-07-17 17:53:12 +02:00
Pieter Hijma
851f72ee72
Core: Add missing Python interpreter locks
2024-07-16 11:57:36 +02:00
wmayer
ba6dc1fa2d
Core: Fix Python API name clash: do not expose the App::Part type to Python
...
Fixes #12539
2024-07-15 10:57:59 -05:00
bgbsww
e07d940f5b
Toponaming: Process mapped names during selection
2024-07-15 10:45:43 -05:00
PaddleStroke
5962f2aec3
Update the comment describing PropertyXLinkSubHidden
2024-07-10 10:29:03 +02:00
PaddleStroke
8ed26133ab
Core: Add App::PropertyXLinkSubHidden
2024-07-10 10:29:03 +02:00
bgbsww
dc9849bdb7
Toponaming: Add missing TNP element name code; rough in more TNP tests ( #14561 )
...
* Add missing TNP element name code; rough in more TNP tests
* Update ElementNamingUtils.cpp
---------
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2024-07-08 18:43:42 -05:00
luzpaz
2837b46c3e
Fix various typos throughout the codebase
2024-07-08 17:19:20 -05:00
Yorik van Havre
56e46e5f4e
Translations ( #15107 )
...
* Updated ts files
* Merged crowdin translations
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-02 12:21:53 +02:00
bgbsww
aa66518568
Toponaming: Fix save and restore of elementmaps
2024-06-23 23:33:12 -04:00
Chris Hennes
d0528fb155
Merge pull request #13810 from hlorus/replace_measuredistance
...
Integrate Std_MeasureDistance into unified measurement facility
2024-06-17 10:55:40 -05:00
wmayer
1dfe98a10d
Core: Improve PropertyMaterialList::readString
2024-06-17 16:30:25 +02:00
wmayer
59377a48a9
Core: Make sure that PropertyMaterialList cannot become empty
...
The PropertyMaterialList is supposed to guarantee that it always has at least one element
2024-06-15 18:31:24 -05:00
hlorus
9125631e4f
Remove Std_MeasureDistance
2024-06-11 17:57:01 +02:00
bdieterm
cd89e937e9
Core: fix import of FreeCAD in a Python 3.12 interpreter
...
Importing FreeCAD as a module in a normal Python interpreter (e.g. /usr/bin/python3) stopped working with Python 3.12 (but works normally with Python 3.11). When executing "import FreeCAD as App", the interpreter crashes with "Fatal Python error: PyImport_AppendInittab: PyImport_AppendInittab() may not be called after Py_Initialize()".
The check that causes the error message and abortion was introduced in Python 3.12 via
7f3a4b967c
(and a typo in the error message fixed via)
35dd55005e
2024-06-07 12:19:45 -05:00
Jonas Bähr
1ec0802fb0
App: add readline-based tab-completion
...
When executing FreeCAD in interactive console-mode, the init-script tries
to load readline for a better input experience and enables tab-completion.
This code is neither executed when running in GUI mode, nor when the
console is not itneractive, e.g. when reading a script from stdin.
Note that readline is not available on Windows, so we ignore import errors
for now. With pyreadline3 there may be an alternative for Windows, but I
cannot verify this on my setup.
2024-06-06 21:56:18 -05:00
bgbsww
fb25a4f32e
Toponaming: defend against uninitialized elementMap in getElementHistory
2024-06-03 20:59:36 -05:00
Chris Hennes
6404de9c21
Update translations
2024-06-03 11:04:42 -05:00
wmayer
effbe1e873
App: Prepare for clang-format
2024-06-03 12:52:30 +02:00
bgbsww
82db79b699
Toponaming: remove unused method with compile warnings
2024-06-02 18:55:13 -05:00
wmayer
87a7bc1d81
Fix compiler warnings
2024-06-02 14:59:45 +02:00
David Carter
5feb963f9d
Material: Appearance Updates 2
...
Improves the use of the ShapeAppearance property for the Part workbench.
removes DiffuseColor property
adds Python compatibility using custom attributes
transitions DiffuseColor to ShapeAppearance on open
Improved UI elements for setting object appearance, and appearance per face
Lays the foundation for future texture support
2024-06-01 19:57:16 -05:00
wmayer
40b6b847eb
Fixes #14349 : GeoFeature::getElementTypes causes undefined behaviour
2024-05-31 11:42:01 +02:00
wmayer
560cab6f31
clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
2024-05-29 13:37:07 +02:00
Chris Hennes
063499a9d4
Merge pull request #14202 from bgbsww/bgbsww-toponamingFixSubShapeBinder
...
Toponaming fix sub shape binder and restore multishape tests
2024-05-27 11:19:31 -05:00
Chris Hennes
65f3965717
Merge pull request #14082 from Ondsel-Development/issue_13522_fix_read_lock
...
Core: Add read lock to fix for possible race conditions reading/writing config files
2024-05-27 10:41:23 -05:00
Chris Hennes
73ae4102e6
Update translations
...
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
Zheng, Lei
3c112b466d
Toponaming: Missing code for shapebinder
2024-05-23 09:47:25 -04:00
Chris Hennes
0e0fce5678
Merge pull request #13906 from Rexbas/align-camera
...
Align camera to faces and edges
2024-05-20 11:28:24 -05:00
FEA-eng
14a7ca99cd
Base: Add moment unit
2024-05-16 12:51:37 -05:00
Bas Ruigrok
4c45f38574
App: Add getCameraAlignmentDirection() to GeoFeature
2024-05-13 19:01:38 +02:00
PaddleStroke
5f4dd814ea
Core: Add getRootObjectsIgnoreLinks and fix bugs in tree.cpp and AssemblyObject.cpp, CommandInsertLink.py, UtilsAssembly.py
2024-05-13 17:58:34 +02:00
Chris Hennes
bd7abe5521
Merge pull request #13907 from wwmayer/issue_13898
...
Fix memory leaks with PySequence_GetItem
2024-05-13 10:53:00 -05:00
Chris Hennes
0e3042a4e9
Merge pull request #13963 from bgbsww/bgbsww-toponamingMissingPartDesignTests2
...
Toponaming: missing code bits in App
2024-05-12 19:30:04 -05:00
Chris Hennes
9fead3682d
Update translations
2024-05-12 17:06:56 -05:00
bgbsww
53ad95b382
Toponaming: bring in missing code fragments in App
2024-05-12 17:21:49 -04:00
Ronny Standtke
afb9ce29c6
include translations of the FreeCAD App
2024-05-09 21:21:16 +02:00
wmayer
58988a7482
Core: Fix memory leaks with PySequence_GetItem
2024-05-08 23:40:27 +02:00