Commit Graph

26657 Commits

Author SHA1 Message Date
luz paz
a5bfba2665 PD: Adjust header uniformity 2021-12-16 23:55:48 +01:00
Yorik van Havre
8585149ab4 Draft: Added INSUNITS to exported DXF - Fixes #4517 2021-12-16 16:12:03 +01:00
Yorik van Havre
568dbcea9e Arch: Fixed display of axis bubbles and texts on DXF export and Techdraw pages 2021-12-16 15:55:58 +01:00
Chris Hennes
b1beadd2e9 Core: Fix std::string init from null pointer
Constructing a string from a null pointer is undefined behavior: it
turned out to work with gcc and MSVC, but with XCode/clang it results in
a segmentation fault. Theis fix assumes that the expected behavior is to
yield an empty string.
2021-12-16 00:09:05 -06:00
luz paz
ab66d7b34f Sketcher: Fix various typos 2021-12-16 03:31:23 +01:00
Uwe
e485fed06f [Points] compilation fix or -> ||
- also some style fixes made by MSVC
2021-12-16 03:02:13 +01:00
wmayer
b94b28838e Points: implement helper method to reduce code duplication 2021-12-15 22:14:57 +01:00
wmayer
71b8af6bb1 Points: fix several warnings, fix invalid point assignment 2021-12-15 22:14:57 +01:00
wmayer
86b230d191 libE57Format: fix warnings -Wunused-parameter 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
40180dd311 If the channels xyz be missing, display error message. 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
698a876ba1 Load settings move to AppPointsPy 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
8da1799956 Add E57Reader 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
fb97812148 Add e57 extension support 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
5772328061 Add the libE57Format include dirs to the point wb 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
ab315f05ef Add the libE57Format to 3rdParty
The library supports the E57 file format. Source code is clone from the fork https://github.com/asmaloney/libE57Format. The licenses are BSL-1.0 and MIT.
2021-12-15 22:14:57 +01:00
luz paz
e2d04f61e2 ReverseEngineering: translate doxygen from DE to EN
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
2021-12-15 16:55:48 +01:00
wmayer
8a2ea97276 PD: support of wires in ReferenceHighlighter 2021-12-15 16:25:06 +01:00
wmayer
b428fb2afa PD: handle Base::Exception in Loft::execute 2021-12-15 16:24:42 +01:00
wmayer
5bef110491 PD: do not throw an exception in TaskSketchBasedParameters::make2DLabel as otherwise editing a broken loft/pipe won't be possible 2021-12-15 15:36:36 +01:00
wmayer
94d8a2034a PD: hide the sections of a loft only if it can be recomputed successfully 2021-12-15 15:13:33 +01:00
wmayer
a87c8dca31 PD: hide the profile of a sketch based feature only if it can be recomputed successfully 2021-12-15 15:13:03 +01:00
wmayer
b5e67c14a5 Gui: remove pop-up dialog in case the macro directory is empty 2021-12-15 13:52:12 +01:00
Uwe
6ae061e5be [Win installer] fix typos 2021-12-15 12:42:39 +01:00
Uwe
bcd278c860 [Win installer] add info 2021-12-15 12:03:31 +01:00
0penBrain
2bfbbb9973 [Gui] Ensure dockwidget is stacked on top when activated 2021-12-14 17:35:59 +01:00
wmayer
2353563cb7 Start: do not show RuntimeError when opening/saving a file after Start page has been closed 2021-12-14 08:08:46 +01:00
wmayer
0183d28f62 Start: avoid flushing the buffer after each new line 2021-12-14 08:01:37 +01:00
wmayer
2d9c403cc0 PD: in ViewProviderLoft::highlightSection follow the same logic as in Loft::execute for selected profiles/sections 2021-12-14 00:30:59 +01:00
wmayer
a853d80c73 Gui: make the Copy command of the report window working if an object in the tree is selected 2021-12-13 18:57:28 +01:00
wmayer
df76209f58 PD: use class ReferenceHighlighter inside ViewProviderDressUp 2021-12-13 16:56:48 +01:00
wmayer
418ef59625 PD: use class ReferenceHighlighter inside ViewProviderPipe 2021-12-13 15:58:55 +01:00
wmayer
098927fb54 PD: properly reset line colors when un-highlighting loft profile/sections 2021-12-13 15:46:04 +01:00
wmayer
6289ff40d5 PD: highlight current profile and sections of a loft when selecting a new profile/section 2021-12-13 15:01:08 +01:00
wmayer
2b65ef8fcf PD: make Loft working again when two sketches are pre-selected 2021-12-13 10:32:40 +01:00
Uwe
7db38c0e78 [Win installer] change naming scheme
as suggested by the release team to follow the existing naming in our releases
2021-12-13 01:15:55 +01:00
wmayer
b6527a7098 Gui: add function View3DInventorViewer::projectPointToLine and expose to Python 2021-12-12 12:49:53 +01:00
wmayer
4dae213b45 Gui: harmonize classes View3DInventorViewer and View3DInventorPy 2021-12-12 11:33:04 +01:00
wmayer
651a4d7626 Part: set explicit format version number for binary BRep files to support all OCC versions 2021-12-12 01:15:56 +01:00
Jonas Bähr
7dcd59d9fb PD: Enhance the helix property docs
Most strings are based on descriptions from the wiki [1]. Some have been
extended where I saw need. Note that I'm not a native speaker, though.

[1]: https://wiki.freecadweb.org/PartDesign_AdditiveHelix
2021-12-11 23:33:28 +01:00
wmayer
f212a8ef76 Part: set explicit format version number for BRep files to support all OCC versions 2021-12-11 23:31:41 +01:00
Abdullah Tahiri
17836f5d39 Sketcher: GeoList remove _PreComp 2021-12-11 21:48:21 +01:00
Roy-043
ac0bae2337 Draft: fix Draft_Arc_3Points task panel issues
Fixed the following task panel issues:
1. Wrong title and icon.
2. Continue toggle missing.
2021-12-11 19:00:31 +01:00
mwganson
8f0aecbcf3 [python editor] add keywords False, nonlocal, and True to keywords list for syntax highlighting 2021-12-11 18:49:58 +01:00
Mateusz Skowroński
a2b6f55d17 Fix Qt deprecation warning. QPrinter::setOrientation() is obsolete. 2021-12-11 18:46:29 +01:00
Abdullah Tahiri
e20039cbbb Sketcher: GeoList Improvements
==============================

- Improve GeoList to support GeoElementId input
- Support VertexId to GeoElementId conversion
- GeoListModel gets separate getGeometry and getGeometryFacade naked pointers
- Sketcher: GeoList - make index mappings mutable
- Improve documentation
2021-12-11 17:02:00 +01:00
Abdullah Tahiri
3c43b50608 Sketcher: Improve documentation of GeoEnum, PointPos and GeoElementId 2021-12-11 17:01:39 +01:00
Abdullah Tahiri
97c82a6703 Sketcher: Convert PointPos into an enum CLASS 2021-12-11 16:17:21 +01:00
Abdullah Tahiri
bb76be1371 Sketcher: GeoId, GeoElementId and GeoUndef refactor
===================================================

This commit is an independent refactor of the identifications used at Sketcher level.

It introduces a new type "GeoElementId" as a combination of GeoId and PointPos.

It moves the Undefined GeoId, previous Constraint::GeoUndef to GeoEnum, together with all
other fixed values of GeoIds.
2021-12-11 16:17:21 +01:00
wmayer
56d86df5bb Base: fix memory leak when creating object with factory method 2021-12-11 14:26:40 +01:00
wmayer
2f99b5b56d Base: [skip ci] allow to access the twin pointer of a PyObjectBase 2021-12-11 08:33:50 +01:00