Commit Graph

25509 Commits

Author SHA1 Message Date
Uwe
0e9decfe33 [PD] small code improvements for Helix 2021-12-19 17:34:14 +01:00
wmayer
9b8731a326 0004807: Freecad crashes when windows username contains special characters 2021-12-19 17:02:19 +01:00
wmayer
301c2ff4c8 Web: fix storage paths of web content 2021-12-19 16:56:48 +01:00
jbaehr
b3ba98fafe PD: Fix helix property visibility/writability (#5254)
[PD]: Fix helix property visibility/writeability

* Hide irrelevant and internal helix properties
- The `HasBeenEdited` property is only used internally to check whether to
  fill certain other parameters with initial values. So there is no need
  show it in the property grid at all.
- The `Outside` property is only used in the subtractive helix and thus
  hidden for the additive helix.

* Make derived helix properties read-only
Depending on the input mode, some properties are primary input, others
are derived. Prior to this change, also the derived properties have been
writable but their values are ignored and overwritten on the next
recompute. Now, when changing the input mode, only the primary input
props are writable.

* Reorder some helix properties
This change puts the reference axis and input mode at the top to become
more prominent. Only "Base" and "Axis" are higher in the list for
consistency with the other axis-based features.
2021-12-19 16:50:51 +01:00
sliptonic
f21991802e Merge pull request #5262 from sliptonic/bug/translation
[PATH]  Bug/translation
2021-12-19 09:33:11 -06:00
Jonas Bähr
cfb3e7eaf6 PD: Fix assignment of Angle/Growth properties
Depending on the input mode, either `Growth` or `Angle` is used to create
a conical or flat spiral. The respective other can easily be calculated
to give consistent view. This is already done for the other properties,
e.g. `Height` is calculated from `Pitch` and `Turns`.
With this patch, the same is done for `Angle` and `Growth`.
2021-12-19 16:21:51 +01:00
wmayer
ee95ccc13a E57Format: respect GNU install dirs 2021-12-19 10:46:56 +01:00
Chris Hennes
eb4aacf2ff Addon Manager: Bug fixes for detailed display 2021-12-18 20:29:42 -06:00
Chris Hennes
3cc2d402cf Addon Manager: Black reformatting 2021-12-18 20:29:42 -06:00
Chris Hennes
14bcba5c55 Addon Manager: Improve display of install details
As suggested in the forums, this adds display of the installation date and
installed version to the expanded display and detail view.
2021-12-18 20:29:42 -06:00
Chris Hennes
f785436cff Addon Manager: Improve cache behavior
Also includes a number of bug fixes.
2021-12-18 20:29:42 -06:00
Chris Hennes
69a8174462 Addon Manager: Implement preferences in standard dialog 2021-12-18 20:29:42 -06:00
Chris Hennes
d79fa0ddfc Gui: Add PrefTextEdit 2021-12-18 20:29:42 -06:00
Chris Hennes
e42eec2558 Addon Manager: Begin UI redesign
Migrate to a UI that looks more like other software package managers, giving
more space to each addon by hiding the list when an addon is selected, and
providing a "back" button to get back.

Implements a two-style view option for the list of addons: expanded and
condensed, via a delegate that provides the drawing function for each row in
the table based on two different widget designs.
2021-12-18 20:29:42 -06:00
Chris Hennes
f9a6310332 GUI: Tweak verbosity of InitGui startup sequence 2021-12-18 20:29:42 -06:00
Chris Hennes
ba3d921f3f Addon Manager: Bugfixes and cleanup of refactor 2021-12-18 20:29:42 -06:00
Chris Hennes
fa8cac06f4 Addon Manager: Add support for salsa.debian.org
The pyrate has moved to salsa.debian.org, so this commit adds the
beginnings of support for those repos.The Markdown library is required
for nice rendering of repos that don't have a package.xml metadata file.
2021-12-18 20:29:42 -06:00
Chris Hennes
12e3f9f222 Core: Fix installation conflict with pkgutils 2021-12-18 20:29:42 -06:00
Chris Hennes
3aebf0aead GUI: Handle packaged Workbenches and their icons 2021-12-18 20:29:42 -06:00
Chris Hennes
a225695dd8 Addon Manager: Rework backend to use package.xml
This shifts to use the model-view-controller pattern for the list of addons,
and moves to using a full model class rather than an indexed array for the
data storage and management. This enables much more information to be stored
as part of the new AddonManagerRepo data type. It now wraps the Macro class
for macros, supports Preference Packs, and provides access to the Metadata
object.
2021-12-18 20:29:42 -06:00
Chris Hennes
aab7cb408c Core: Modify metadata Python handling to use dict
Rather than trying to use a generic Py::Object and assigning properties
to it, use a Py::Dict object for simple data structures like Url,
Maintainer, and Author.

Update metadata standard to include subdirectory
2021-12-18 20:29:42 -06:00
Chris Hennes
7c17d14139 Mesh: Correct installation location of tests 2021-12-18 17:16:34 -06:00
Chris Hennes
ba6fb8fb8e OpenSCAD: Handle missing script element from text() 2021-12-18 16:23:31 -06:00
wmayer
99dc3fec76 Fem: include FemGlobal.h 2021-12-18 14:35:20 +01:00
wmayer
ada653e591 Add Global.h headers to modules 2021-12-18 14:06:40 +01:00
Benjamin Alterauge
44d872ddb9 Include Limits
See https://forum.freecadweb.org/viewtopic.php?f=4&t=64567
2021-12-17 21:20:48 +01:00
Abdullah Tahiri
f21e7b9e9b Sketcher: Fix Debug mode GeoUndef 2021-12-17 16:48:50 +01:00
sliptonic
49f8edeaa8 Modified combobox selection
cleaned up translation method

Profile translation cleanup

Incorporating additional suggestions
2021-12-17 08:35:41 -06:00
Russell Johnson
564114e1c5 Path: Translation Solution POC 2021-12-17 08:35:41 -06:00
sliptonic
5ad32fb8cf PathOpGui Black reformat 2021-12-17 08:35:41 -06:00
Abdullah Tahiri
21e8aaab32 Sketcher: Fix recompute issue
=============================

Bug:
https://forum.freecadweb.org/viewtopic.php?f=3&t=64548

Apparently a find/replace gone wrong when moving code in:
13db9f7595d6839b46f11527baafed97b415d4fa
2021-12-17 15:05:51 +01:00
wmayer
db936b60c4 Part: add function GetCircleCenter from CommandCreateGeo.cpp of the Sketcher module to the Geom2dCircle class in the Part module 2021-12-17 13:01:59 +01:00
wmayer
0f96b7c5a9 E57Format: for CMake version < 3.11 add_library requires explicit list of source files 2021-12-17 11:18:24 +01:00
Mark Ganson TheMarkster
07fe28cf6b [MainWindow] Add toolbar name as toolbar's tooltip (#5259)
* [MainWindow] Add toolbar name as toolbar's  tooltip

Co-authored-by: Uwe <donovaly@users.noreply.github.com>
2021-12-17 03:16:30 +01:00
Uwe
f84c62bf34 [Points] minor style fixes by MSVC 2021-12-17 02:39:47 +01:00
luz paz
108a80091e Cam: translate doxygen from DE/FR to EN
For the purpose of making the source documentation uniform, source comments in this file were translated to english.
2021-12-16 23:57:04 +01:00
luz paz
1a56a24d07 PD: Adjust header uniformity 2021-12-16 23:55:48 +01:00
Yorik van Havre
753d7600b8 Draft: Added INSUNITS to exported DXF - Fixes #4517 2021-12-16 16:12:03 +01:00
Yorik van Havre
b64b3be330 Arch: Fixed display of axis bubbles and texts on DXF export and Techdraw pages 2021-12-16 15:55:58 +01:00
Chris Hennes
d9afcacf6f 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
b918517d22 Sketcher: Fix various typos 2021-12-16 03:31:23 +01:00
Uwe
a1f71bbe9e [Points] compilation fix or -> ||
- also some style fixes made by MSVC
2021-12-16 03:02:13 +01:00
wmayer
78bb8a0282 Points: implement helper method to reduce code duplication 2021-12-15 22:14:57 +01:00
wmayer
56ebdec1b7 Points: fix several warnings, fix invalid point assignment 2021-12-15 22:14:57 +01:00
wmayer
105836293e libE57Format: fix warnings -Wunused-parameter 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
71e7f47e5b If the channels xyz be missing, display error message. 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
b6db87f9c3 Load settings move to AppPointsPy 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
9d2239fbaf Add E57Reader 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
c9ca2b7709 Add e57 extension support 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
4d5ac148e5 Add the libE57Format include dirs to the point wb 2021-12-15 22:14:57 +01:00