wmayer
e4f98b4512
Base: add convenience functions to create a QString from quantity or double
2021-04-20 14:07:20 +02:00
Yorik van Havre
cf23e622ed
Merge pull request #4536 from hyarion/feature-updatecrowdin-api-v2
...
[0.20] Tools: updatecrowdin.py rewrite to support new api
2021-04-20 11:51:11 +02:00
Yorik van Havre
07c914a8bb
Merge pull request #4710 from marioalexis84/draft-draftgui
...
Draft: Sync input fields in task panel
2021-04-20 11:50:22 +02:00
Yorik van Havre
f78960179e
Merge pull request #4743 from steelman/horizontal-snap-widget
...
Draft: Ensure horizontal orientation of snap_widget
2021-04-20 11:49:09 +02:00
Yorik van Havre
d366c38922
Merge pull request #4389 from marioalexis84/draft-close_button
...
[0.20] [Draft] Call finish method if Close button is pressed in dumb taskdialog
2021-04-20 11:36:03 +02:00
Łukasz Stelmach
9458e5c12f
Draft: Ensure horizontal orientation of snap_widget
...
From time to time when switching to other workbenches snap_widget changes
orientation to vertical. Make sure it stays horizontal.
Signed-off-by: Łukasz Stelmach <stlman@poczta.fm >
2021-04-19 19:58:06 +02:00
luz paz
a1fc733ddf
App: remove Py2 code from several src/App .cpp files
2021-04-19 15:27:06 +02:00
wmayer
80415446cf
CMake: disable moc for some targets and fix failure for existing builds
2021-04-19 15:13:17 +02:00
Mateusz Skowroński
9ade68e9bf
Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6.
2021-04-19 15:10:53 +02:00
luz paz
6f83a4a815
Crowdin: represent whitespace in code instead of string
2021-04-19 06:23:07 -04:00
luz paz
e312b5f740
Crowdin: remove obsolete translation manually [skip ci]
...
For some reason updatets.py is not successfully removing obsolete translations. This is a long standing issue. The workaround is to manually remove them from the .ts file.
ref: https://forum.freecadweb.org/viewtopic.php?f=21&t=51825&p=483474#p482519
crowdin: https://crowdin.com/translate/freecad/7254/en-pl?filter=basic&value=0#6572886
2021-04-19 06:23:07 -04:00
luz paz
aa4d17a457
Crowdin: remove obsolete translation manually [skip ci]
...
For some reason updatets.py is not successfully removing obsolete translations. This is a long standing issue. The workaround is to manually remove them from the .ts file.
2021-04-19 06:16:09 -04:00
luz paz
b94ee8b275
Crowdin: represent whitespace in code instead of in string [skip ci]
...
Removing possible whitespace from strings lead to more accurate translations
2021-04-19 06:16:09 -04:00
Yorik van Havre
3f3df7d8e3
Merge pull request #4726 from chennes/openscadLinearExtrudeAngleFix
...
[OpenSCAD] Fix twist angle to not limit to 360 deg
2021-04-19 11:23:14 +02:00
Yorik van Havre
65c31470ab
Merge pull request #4727 from bitacovir/TransformManip_Icon
...
[UI] Add SVG icon for Std TransformManip command
2021-04-19 11:21:53 +02:00
Yorik van Havre
c22ed87c9f
Merge pull request #4735 from easyw/master
...
allowing to export stpZ files on different disk drivers
2021-04-19 11:20:34 +02:00
Yorik van Havre
247905fd91
Merge pull request #4728 from sde1000/webgl-export-javascript-update
...
Arch: Improve WebGL export javascript template
2021-04-19 11:14:01 +02:00
Yorik van Havre
9dd3b2b8ae
Merge pull request #4729 from marioalexis84/draft-gui_trimex
...
Draft: Fix regression in trimex command
2021-04-19 11:13:12 +02:00
tomate44
2daf6a03e4
Part: Shape.ReflectLines: add 2D/3D, visibility and EdgeType options
2021-04-18 08:26:26 +02:00
Alexander Golubev
197a0692d3
TD: fix center line style settings
...
forum thread: https://forum.freecadweb.org/viewtopic.php?f=35&t=57783
2021-04-17 11:39:13 +02:00
luz paz
60030e5f31
[TD] remove icons/cursor-balloon.png and replace references w/ SVG file
...
Replacing w/ the already installed`TechDraw_Balloon.svg` file in the same directory.
2021-04-17 11:38:10 +02:00
luz paz
18e707c6b7
[TD] Replace techdraw-lock.png and rename with TechDraw_Lock.svg
2021-04-17 11:38:10 +02:00
luz paz
d070091fc7
[TD] Cont. organizing TechDraw.qrc file
...
Use similar approach that is used in `src/Mod/Fem/Gui/Resources/Fem.qrc`
2021-04-17 11:38:10 +02:00
luz paz
f1eb1ff44e
[TD] Renamed ProjectionGroup, Hatch, GeomericHatch
2021-04-17 11:38:10 +02:00
luz paz
035d146d88
[TD] Renamed ClipGroup, ClipGroupAdd, ClipGroupRemove
2021-04-17 11:38:10 +02:00
luz paz
d13e450343
[TD] Renamed SpreadsheetView, RichTextAnnotation, SectionView...
...
`Quadrants`, `DetailView`, `ShowAll`
2021-04-17 11:38:10 +02:00
luz paz
fe3d5d0728
[TD] icon name uniformity (cont.)
...
`WeldSymbol`, `PageDefault`, `PageTemplate`, `Symbol`, `ExportPageSVG`. `ExportPageDXF`, and `Tile`
Moved `icons/arrow*` files further down the list + continuing to sort.
2021-04-17 11:38:10 +02:00
Chris Hennes
97af7fd1f0
Merge branch 'master' into openscadLinearExtrudeAngleFix
2021-04-16 11:52:58 -05:00
turn211
739a2a92a2
Gui: ProDark Stylesheet QT Icon Fix
...
forum thread: https://forum.freecadweb.org/viewtopic.php?f=34&t=57427
2021-04-15 10:52:57 +02:00
donovaly
89e101403f
[PD] [skip ci] fix sprocket icon
...
in the Wiki it is displayed wrong because e.g. Firefox cannot handle the strange code inside the SVG
2021-04-14 15:20:49 +02:00
luz paz
ab44403118
[TD] Fix minor superfluous whitespace [skip ci]
2021-04-14 15:20:20 +02:00
luz paz
6b4e7fb9d7
[TD] Fix typo in Gui/CommandAnnotate.cpp [skip ci]
2021-04-14 15:19:51 +02:00
donovaly
a0dd2dbdcf
[GUI] new icon to mark for recomputation
...
The icon is from @bitacovir
2021-04-14 14:57:40 +02:00
luz paz
a213071c87
Gui: remove Py2 code from several src/Gui .cpp files
2021-04-14 14:56:02 +02:00
Chris Hennes
a54eab7187
[GUI] Stylesheet fix for icons in Qt file dialog
...
Work by @turn211.
2021-04-14 13:33:40 +02:00
wmayer
2fd0bb6859
PD: [skip ci] fixes -Wreturn-std-move
2021-04-13 18:55:18 +02:00
easyw
7036706945
allowing to export stZ files on different drivers
...
os.rename() doesn't move its actual data on the disk
shutil.move() method allows to transfer files between two different drives
2021-04-13 15:56:31 +02:00
Uwe
d573386ec1
[FEM] add support for 3D recombinations ( #4706 )
...
* [FEM] add support for 3D recombinations
currently we only support surface recombinations but for some applications 3D recombinations are useful as well
* add support for the recombination algorithms
using a sensible algorithm is important to get useful results, see https://wiki.freecadweb.org/FEM_MeshGmshFromShape#Properties
where I described examples
2021-04-13 07:32:44 +02:00
wmayer
b15e41fdb1
Base: [skip ci] add convenience function to get PyObjectBase from GeometryT
2021-04-12 15:12:21 +02:00
wmayer
0566443907
Base: [skip ci] remove Py2 code from PyObjectBase
2021-04-12 14:17:16 +02:00
donovaly
a275de7202
[PD] fix bug that reference selection is always on
...
It is annoying because error-prone, that on opening e.g. primitives the reference selection mode is always on. You then e.g. click in the model and get a new attachment. But when opening existing primitives you don't always want to change the attachment (often only the parameters). And even if you want to change the attachment, you want to select which one and you like to know when you are in selection mode.
2021-04-12 03:20:18 +02:00
wmayer
08ee40692a
Gui: fix memory leak
2021-04-12 00:06:18 +02:00
wmayer
a61c930aaa
Py: fix memory leak
2021-04-12 00:06:00 +02:00
wmayer
333859d618
Py: fix memory leak
2021-04-12 00:05:42 +02:00
marioalexis
d0c1935cbf
Draft: Fix regression in trimex command
2021-04-11 16:24:02 -03:00
wmayer
dbbac56185
Base: do not report C++ exception when converting it to Python exception
...
See https://forum.freecadweb.org/viewtopic.php?f=23&t=56464
2021-04-11 14:54:11 +02:00
Russell Johnson
d08aef58a9
Path: Correct GUI visualization of circular-face visualizations
...
Path: Fix internal circular extension visualization
2021-04-10 14:09:22 -05:00
Russell Johnson
9da9bf0f93
Path: Fix outside extension of circular faces with inner holes
...
Fix bug identified by MLampert. This fix addresses extensions for circular faces that have non-extended holes in the face.
.
Unlike polygon extensions that only need one wire to define the extension shape, some circular extensions require two wires (a face would be better) to define the extension area.
.
Restructure to accommodate future `Extensions` improvements
2021-04-10 14:09:22 -05:00
Stephen Early
c617b252ff
Improve WebGL export javascript template
...
Several improvements to the javascript in the template:
* Render on demand rather than continuously
* Support high-DPI displays
* Fix the frustum depth for both cameras
* Deal correctly with the browser window being resized
* Only show controls for objects with geometry
Also some changes made for code clarity:
* Use 'const' and 'let' instead of 'var', as appropriate
* Use for...of and .map() instead of iterating over arrays
using a loop counter
2021-04-10 18:03:09 +01:00
wmayer
8c4b2506bd
Import: [skip ci] for glTF export set scale factor of 0.001 because lengths are measured in meters
2021-04-10 18:37:56 +02:00