Commit Graph

22914 Commits

Author SHA1 Message Date
Jean-Marie Verdun
f35d30bc58 Fix travis build for MacOS
Signed-off-by: Jean-Marie Verdun <jmverdun3@gmail.com>
2020-11-03 14:58:43 +01:00
donovaly
62f315df04 [PD] hole - fix typo
- also update profile changing method since fraction diameters no longer end with a '0' in profile ISO coarse
2020-11-03 14:54:01 +01:00
luz paz
44636aca2f Spreadsheet: Make all file headers uniform [skip-ci] 2020-11-03 14:52:53 +01:00
wmayer
c9923ab153 Gui: [skip ci] Revert workaround to avoid to handle wheel events twice inside the 3d view
This workaround caused a regression with Qt 5.15. For more details see: https://forum.freecadweb.org/viewtopic.php?f=3&t=50231
2020-11-03 14:50:06 +01:00
wmayer
f4aceec54b Part: [skip ci] make arguments const references 2020-11-03 13:12:23 +01:00
wmayer
0324d2de64 Gui: [skip ci] when closing document via context-menu ask the user first how to continue
See also forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=51746
2020-11-03 12:09:28 +01:00
Abdullah Tahiri
709c0b546f Sketcher: Documentation editorial change 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
b0bc4b5dc6 Sketcher: Improve documentation of SketchGeometryFacade and ExternalGeometryFacade 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
79b192978e Sketcher: Restrict ability to create empty GeometryFacade and ExternalGeometryFacade objects to Python 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
7dcac46229 Sketcher: Facade for geometry and external geometry extension 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
4a166e0a50 Sketcher: Change GeometryFacadePy representation 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
93dee6ccd7 Sketcher: Separate ExternalGeometryExtension interface from class 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
10102f45f7 Sketcher: Utility functions to simplify common operations with GeometryFacade 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
284c4d93f7 Sketcher: Extend SketchObject Python Interface to get/set SketchGeometryExtension GeometryId (convenience interface) 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
0fd808dfc1 Sketcher: Geometry Facade interface for Geometry and SketchGeometryExtension 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
7bfec92bdf Sketcher: SketchGeometryExtension separation to interface 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
5b415f6d74 Part: Geometry extensions constness correction 2020-11-03 12:01:22 +01:00
Abdullah Tahiri
33b4d00872 Part: Geometry - refactor py functions into class for code reuse 2020-11-03 12:01:22 +01:00
wmayer
e81482c7f9 Mesh: [skip ci] improve reading OFF mesh format 2020-11-03 11:15:37 +01:00
wmayer
ebb43351d1 Mesh: [skip ci] improve reading OFF mesh format 2020-11-02 16:36:07 +01:00
wmayer
9eb080488d PartDesign: [skip ci] minor cosmetic changes 2020-10-31 13:32:18 +01:00
M G Berberich
6d1b292280 [PartDesign] Dynamic hole cut-types
‣ Make countersink and counterbore on metric holes freely definable by user.

‣ Fixed the Naming of M1.6, M2, M2.5 and M3.5

‣ Added constructor for custom enums from Enums to PropertyEnumeration

‣ Put definitions of cut-types (counterbore/countersink) for
  screwtypes into json-files for easy modification.

‣ Allow users to put its own definitions in json-files in
  [UserDir]/Mod/PartDesign/Resources/Hole

‣ Contains several examples of cut-type definition json-files that are
  propably not production-ready.

This uses a local copy of nlohmann::json¹ to read json-files.

__________
¹ This is a very nice,header-only C++ library under the MIT License
  (https://github.com/nlohmann/json). I copied the single-file-version
  and the forward-declaration-header into …/PartDesign/App/ so no new
  dependencies arise.
2020-10-31 12:49:00 +01:00
M G Berberich
e84fa25c0b [PartDesign] Hole countersink for metric
fix a problem with counterbore and countersink in PartDesign Hole feature.

It was not possible to custom define counterbores or countersinks if a
metric thread hole was selected.

Handle the cut-types None, Counterbore and Countersink euqal
regardless of type of thread and let the user customize:
None:        none
Counterbore: diameter and depth
Countersink: diameter and angle
2020-10-31 12:49:00 +01:00
sliptonic
0a42189173 Merge pull request #4006 from dubstar-04/TurningPartOperation
[Path] Add selection gate and set default turning diameter
2020-10-30 09:44:54 -05:00
wmayer
462efdab37 Part: [skip ci] After removing a knot check if the B-spline is still valid 2020-10-30 13:55:31 +01:00
wmayer
6ebee86867 Sketcher: [skip ci] avoid possible memory leak 2020-10-30 13:21:51 +01:00
wmayer
53441613cc Part: [skip ci] handle OCCT exception in GeomBSplineCurve::copy() 2020-10-30 10:54:25 +01:00
Daniel Wood
9c296217e5 [Path] Tidy imports 2020-10-29 21:35:24 +00:00
Daniel Wood
c1302fb4fa [Path] PEP8 whitespace fixes 2020-10-29 21:29:25 +00:00
Daniel Wood
4f6c7797ab [Path] set the default max diameter 2020-10-29 21:27:32 +00:00
Daniel Wood
65e3476e20 [Path] PEP8 Formatting fixes 2020-10-29 19:55:45 +00:00
Daniel Wood
5c4ad1a7de [Path] Add TurnPart selection 2020-10-29 19:55:05 +00:00
Roy-043
aebf568eae Draft: Draft_Dimension_linked_geometry_fix
Linked geometry was not handled if the selected edge started or ended at vertex zero.
2020-10-29 19:26:55 +01:00
Yorik van Havre
cd8af3656a Arch: Added Text settings to SectionPlanes 2020-10-29 18:28:35 +01:00
wmayer
0371a67dae Base: [skip ci] expose Type::createInstance and Type::createInstanceByName to Python 2020-10-29 17:18:10 +01:00
sliptonic
20a52f3f68 Merge pull request #4003 from dubstar-04/feature/jobsetupplane
[Path] Enable Face selection for axis alignment (JobSetUp)
2020-10-29 08:53:33 -05:00
Daniel Wood
4852ac73dc Merge branch 'master' into feature/jobsetupplane 2020-10-28 17:19:10 +00:00
Daniel Wood
e64cb66a32 Reorder imports to match PEP8 guidance 2020-10-28 17:10:51 +00:00
Daniel Wood
7618dba49d silence lgtm warnings 2020-10-28 17:09:49 +00:00
PRDC
f7532b91d4 Update ClipPlane.py 2020-10-28 17:12:21 +01:00
Yorik van Havre
7c9e0f3a99 Merged crowdin translations 2020-10-28 12:04:37 +01:00
Yorik van Havre
5eafaa37fd Updated ts files 2020-10-28 10:46:51 +01:00
Yorik van Havre
c3672f6e1d Tools: Made updatets delete temporary json files 2020-10-28 10:45:44 +01:00
Daniel Wood
7a55d5120d PEP8 whitespace fixes 2020-10-28 06:50:04 +00:00
Daniel Wood
811fa90efe [Path] Enable Face selection for axis selection (JobSetUp) 2020-10-27 21:28:30 +00:00
Yorik van Havre
0f875168b6 Material: Mateiral editor UI fixes
- Fixed color buttons
- Introduced "Section Color" property
- Fixed named properties
- Added preview icons
- Remember UI dimensions and expanded states
2020-10-27 19:16:58 +01:00
Bernd Hahnebach
d0eb71517c FEM: python, get rid of bare excepts 2020-10-27 08:24:27 +01:00
sliptonic
7f83281551 Merge pull request #3991 from Russ4262/patch-1
Path: Fixes ticket #4471
2020-10-26 20:29:23 -05:00
sliptonic
3c307b7a3c Merge pull request #3969 from sliptonic/bug/bugfixes
[PATH]  Minor bugfixes
2020-10-26 08:12:20 -05:00
sliptonic
66d3f7b057 Merge pull request #3978 from mlampert/feature/path-voronoi-vcarve-refactor
Path: Feature/path voronoi vcarve refactor
2020-10-26 08:11:34 -05:00