Commit Graph

24544 Commits

Author SHA1 Message Date
Yorik van Havre
030bda5ce9 Merge pull request #4609 from hyarion/cleanup-draft-load-texture
Draft: Simplify load_texture after py3 requirement
2021-03-26 11:30:50 +01:00
Yorik van Havre
dce69f3c7b Merge pull request #4550 from chennes/lgtmDice3DSIssues
[Arch] LGTM issues in Dice3DS
2021-03-26 11:30:11 +01:00
Yorik van Havre
511df2fa5d Merge pull request #4630 from luzpaz/typos
Fixed misc. typos [skip ci]
2021-03-26 11:29:34 +01:00
Yorik van Havre
08f9406814 Merge pull request #4631 from sde1000/webgl-export-camera-buttons
Fix camera position buttons in WebGL export
2021-03-26 11:29:03 +01:00
Yorik van Havre
32a3e3177a Merge pull request #4656 from chennes/draftContextMenuFallback
[Draft] Enable Transform context menu item
2021-03-26 11:28:36 +01:00
Yorik van Havre
6797cfcd33 Merge pull request #4658 from chennes/draftFixScaleDataEntryGlitch
[Draft] Fix bug in data entry on scale w/ uniform scaling on
2021-03-26 11:27:30 +01:00
Yorik van Havre
32b48549be Merge pull request #4661 from chennes/draftImportDXFNoGUI
[Draft] Eliminate required GUI for importDXF
2021-03-26 11:26:50 +01:00
Yorik van Havre
470a39f456 Merge pull request #4667 from oliveroxtoby/master
AddonManager: Fixed minor logic glitch affecting non-github addons
2021-03-26 11:25:14 +01:00
Yorik van Havre
4c1635706e Merge pull request #4453 from regularfry/lgtm-arch-unused-imports
Arch: removes unused imports
2021-03-26 11:22:11 +01:00
Yorik van Havre
94b9374b37 Merge pull request #4348 from marioalexis84/draft-coordinate_input
[0.20] [Draft] Add global mode to enter points - Fixes #0004108
2021-03-26 11:18:23 +01:00
sliptonic
e445658596 Merge pull request #4634 from mlampert/bugfix/issue-2839-dogbone-visualisation
[Path]: Bugfix/issue 2839 dogbone visualisation
2021-03-25 22:17:31 -05:00
sliptonic
32255dfe8a Merge pull request #4639 from claasahl/claasahl-patch-1
[Path] post procesing for GRBL with option "--translate_drill" should also suppress G99
2021-03-25 17:43:34 -05:00
wmayer
cd458165c3 OpenSCAD: [skip ci] pipeshell -> pipe_shell 2021-03-25 21:45:03 +01:00
Chris Hennes
57c93cd6b3 [OpenSCAD] Improve helical extrusion, fix scaling
Modify the auxiliary spine to be a true helix, resulting in a much
smoother linear extrusion when a twist angle is applied. This also
corrects a bug in the scaling during linear extrusion, where non-uniform
scaling was not handled correctly.
2021-03-25 21:23:29 +01:00
Chris Hennes
a0464d1b00 [OpenSCAD] Fix bug in resize code
The resize code must recompute some kinds of objects prior to requesting
their bounding box, or the bounding box can be invalid.
2021-03-25 21:20:47 +01:00
Przemo Firszt
241be51afa Add missing files to fedora.spec
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2021-03-25 18:20:10 +01:00
donovaly
f71dd32ae9 [Part] change icon to math the other Part icon scheme
The other Part icons have red lines indicating wires, only the new make faces ion does not. The PR changes this to use the same for all icons.
2021-03-25 18:11:49 +01:00
donovaly
d65cc5c63f [Part] uniform feature sorting
at the moment the sorting is confusing, the sorting in the menu differs from the toolbars and some features even belong in the menu to another category than in the toolbars and one feature has not yet a toolbar entry

This PR implements a uniform sorting for the menu and toolbar and adds the missing toolbar icon
2021-03-25 18:04:35 +01:00
Benjamin Nauck
bb5ac30e24 TechDraw: [skip ci] convert source files from iso-8859 to utf-8
All other source files are either plain ascii or utf-8, this converts
the last few to utf-8.
2021-03-25 18:02:12 +01:00
bitacovir
9e4d6d68fb [UI] Replace SVG icons for Sketcher commands 2021-03-25 18:00:55 +01:00
wmayer
747c9aba57 FEM: [skip ci] re-add removed comma 2021-03-25 17:50:31 +01:00
donovaly
00a7221a95 [PD] some fixes for the new pad length feature
- disable 2 properties when no custom direction is used
- rename a property because its name is the opposite of what it is doing
2021-03-25 17:44:30 +01:00
bitacovir
3b4e96d4a7 [UI] Replace Bitmap icon of Part_PointsFromMesh command 2021-03-25 17:42:26 +01:00
lorenz
e415b22a97 cmake: update command to find python-site-packages
https://stackoverflow.com/a/40006251
2021-03-25 17:40:01 +01:00
wmayer
6159c6da13 Mesh: [skip ci] use enum to define the various 2D meshing algorithms 2021-03-25 17:28:13 +01:00
donovaly
3f3ce8ff90 [Mesh] fix Gmsh mesh algorithms
the numbers written to the geo file were wrong

- also update the list of currently supported algorithms (as of Gmsh 4.6 or newer)
2021-03-25 17:20:15 +01:00
donovaly
6c67300d62 [Base] add electrical conductivity
- this is necessary to perform electrodynamics simulations. Since the typical values are in the range of 1e6 S/m, we need the new units kS and MS

- since this is for simulations, also add electrical conductivity to the FEM material cards
2021-03-25 17:13:52 +01:00
Chris Hennes
7857a88c4d [GUI] Remove explicit triangle styling from tabs
On Windows the lower tabs of the PropertyView were being set to
triangular, which breaks stylesheets. This removes that code, so they
now take on whatever the standard shape is on the system.

Fixes #0004599
2021-03-25 15:44:19 +01:00
donovaly
b0051d1d5f [skip ci] [FEM] don't hide Gmsh mesh by default
it is very annoying that the mesh is hided when closing the task dialog because one often has to play with the Gmsh properties and need to see the mesh.
See also https://forum.freecadweb.org/viewtopic.php?f=18&t=56401&start=10#p489734
2021-03-25 09:01:51 +01:00
donovaly
2b6da56241 [FEM] fix typo
- the property has the name "Element order" thus the dialog should use the same name to avoid confusions

-also uniform naming for the element dimension and remove the redundant "Mesh" (is already in the UI groupBox heading
2021-03-25 08:59:42 +01:00
Bernd Hahnebach
865b9d27da FEM: fix gui test problems introduces with 1b83da9deb9c 2021-03-25 08:55:36 +01:00
Oliver Oxtoby
428868fb09 AddonManager: Fix logic for fallback to displaying raw markdown
The logic was inverted in commit 1caf62c6375d9eb82245d1c977dbc799fbf4ed89
2021-03-24 22:38:30 +02:00
Chris Hennes
ba949222c9 LGTM: Remove some additional legacy files [skip ci] 2021-03-24 17:11:32 +01:00
Bernd Hahnebach
ec7bffa94b FEM: gmsh mesh, set back standard element order to 2nd, changed in eefb6bc0babf, 2021-03-24 17:05:06 +01:00
donovaly
e001b133a9 [FEM] add missing material cards to CMakeLists.txt
This fixes issue 1. reported here: https://forum.freecadweb.org/viewtopic.php?f=18&t=56912#p489666
2021-03-24 17:02:06 +01:00
donovaly
ac6f25ea4a [FEM] add mesh algorithms
- Gmsh has since a while 2 new mesh algorithms
- on the other hand the two algorithms ""Frontal Delaunay" and "Frontal Hex" are deprecated and not listed anymore in the docs: https://gmsh.info/doc/texinfo/gmsh.html#index-Mesh_002eAlgorithm3D
and indeed all attempts with these 2 algorithms fail
2021-03-24 17:01:47 +01:00
donovaly
21e511f63f [FEM] add GMSH mesh order setting to dialog
- also set default to 1st order mesh
2021-03-24 17:00:12 +01:00
UR-0
9274a0baca [FEM] refactor GeometryElementsSelection, introduce parameter to modify help text for several task panels using GeometryElementsSelection. 2021-03-24 16:57:16 +01:00
Chris Hennes
4f95ffe7a3 [Draft] Eliminate required GUI for importDXF 2021-03-23 20:21:52 -05:00
Chris Hennes
2977cadc41 [Draft] Fix bug in data entry on scale w/ uniform
When entering a scale factor, if uniform scaling is on, the current code
keeps appending zeroes as you type, forcing you to delete them before
entering your next digit. This commit fixes that by ensuring that the
widget that you are currently editing is not updated continuously.

Fixes #0004601
2021-03-23 14:18:19 -05:00
sliptonic
fcb40c05f0 Merge pull request #4624 from mlampert/bugfix/dogbone-on-straight-edges-and-noop-moves
[Path]: Bugfix/dogbone on straight edges and noop moves
2021-03-23 12:58:44 -05:00
sliptonic
26954929d7 Merge pull request #4622 from mlampert/bugfix/job-setup
[Path]: Bugfix/job setup
2021-03-23 12:58:25 -05:00
Chris Hennes
8097a9f3f8 [Draft] Enable Transform context menu item
The "Transform" and "Set Colors..." context menu items did not work on
most Draft objects because the View Provider has a setEdit() function,
which overrides any edit action provided at a higher level (e.g. by
Part). This commit checks the mode of the edit, and if it is not zero,
behaves as though the setEdit() function does not exist, allowing Part
to provide the required context menu behavior.
2021-03-23 09:12:56 -05:00
mlampert
3394e8d984 Merge branch 'master' into bugfix/issue-2839-dogbone-visualisation 2021-03-22 22:42:53 -07:00
mlampert
0cb9b5d112 Merge branch 'master' into bugfix/dogbone-on-straight-edges-and-noop-moves 2021-03-22 14:45:41 -07:00
mlampert
f82caaddb8 Merge branch 'master' into bugfix/job-setup 2021-03-22 14:44:44 -07:00
sliptonic
c88d75296a Merge pull request #4615 from Russ4262/fix_pocketshape_combine_shapes
[Path] Fix connected multi-face clearing bug
2021-03-22 13:53:55 -05:00
mlampert
2598d339fb Merge branch 'master' into bugfix/job-setup 2021-03-22 10:52:28 -07:00
mlampert
74c528e8f0 Merge branch 'master' into bugfix/dogbone-on-straight-edges-and-noop-moves 2021-03-22 10:52:08 -07:00
mlampert
96267c6e92 Merge branch 'master' into bugfix/issue-2839-dogbone-visualisation 2021-03-22 10:51:43 -07:00