Commit Graph

26860 Commits

Author SHA1 Message Date
FreeCAD-Tools
d884273eb4 Update CommandCreateGeo.cpp 2021-09-27 15:55:48 +03:00
FreeCAD-Tools
aa4918fa71 Update CommandConstraints.cpp 2021-09-27 15:47:23 +03:00
FreeCAD-Tools
0efabc3861 Update CommandConstraints.cpp 2021-09-27 15:44:55 +03:00
FreeCAD-Tools
bbd39a4e57 Update CommandAlterGeometry.cpp 2021-09-27 15:39:17 +03:00
FreeCAD-Tools
e22335ec2e Update Command.cpp 2021-09-27 15:38:41 +03:00
Chris Hennes
4319fc9d50 Merge pull request #5066 from Roy-043/TechDraw-typo-in-menu-extension-pack
TechDraw: typo in menu extension pack
2021-09-27 07:38:06 -05:00
Chris Hennes
4ff3299975 Merge pull request #5065 from Roy-043/Draft-move-Draft_AddNamedGroup-in-menu
Draft: move Draft_AddNamedGroup in menu
2021-09-27 07:37:22 -05:00
Roy-043
be24cbbcc0 TechDraw: typo in menu extension pack
Typo: "center line(s)" should be "centerline(s)". Same as in the name of the submenu: "Extensions: centerlines and threading".
2021-09-27 14:25:24 +02:00
Roy-043
893f0cbd3c Draft: move Draft_AddNamedGroup in menu
Draft_AddNamedGroup before Draft_AddToGroup, same as in the toolbar.
2021-09-27 10:34:53 +02:00
Chris Hennes
fe06f869a5 [Addon Manager] Silence LGTM warnings about urls
The URLs used to detect whether a repo is at github, gitlab, or framagit
could potentially be mis-detected by a maliciously-crafted URL,
resulting in incorrect detection of the README file, etc. To silence the
LGTM warning about this, proper URL sanitization and comparison is now
used.
2021-09-26 20:13:02 -05:00
Chris Hennes
e4116758c5 [Draft] Silence LGTM warnings about unused vars
LGTM only recognizes "_" and "unused" as variable names that are
expected to be unused, so switch to "_".
2021-09-26 13:34:16 -05:00
carlopav
ffbaaa3526 Draft: updated working plane BIM figure
Display the human figure at the grid corner.
        The silhouette is displayed only if:
        - BIM Workbench is available;
        - preference BaseApp/Preferences/Mod/Draft/gridShowHuman is True;
        - the working plane normal is vertical.
2021-09-26 12:12:51 +02:00
carlopav
5bb28069a0 Draft: Grid added option in preferences dialog to display the human figure
.
2021-09-26 12:12:51 +02:00
carlopav
12f797ef65 Draft: Grid added option to disable human figure representation
The "gridShowHuman" preference was introduced to disable the human figure representation in the grid.
2021-09-26 09:59:34 +02:00
Chris Hennes
0a4648101d [Mesh] Improve unit tests
Add a test for the CTRIA3 element, and add code to check the used nodes
and cancel the file load if they don't all exist.
2021-09-25 19:42:00 -05:00
Chris Hennes
ef69100df6 Merge pull request #5052 from chennes/meshNastranFileFormat
[Mesh] Improve NASTRAN input support for non-delimited GRID element
2021-09-25 17:28:19 -05:00
Chris Hennes
abf031d4bf Improve display of Apply button 2021-09-25 17:17:35 -05:00
Chris Hennes
d7bf76e3cc Merge branch 'master' into meshNastranFileFormat 2021-09-25 16:34:33 -05:00
Chris Hennes
ba5adca79b [Mesh] Add unit tests for NASTRAN reader
Also make some minor deprecation and verbosity cleanups to the Mesh unit
test cases.
2021-09-25 16:05:19 -05:00
Abdullah Tahiri
4847d5cab3 Sketcher: Rectangular Array Snap mode
=====================================

Rectangular Array gets a snap mode every 10 degrees when pressing CTRL (for consistency with Multiline arc, which also snaps using CTRL).

Request:
https://forum.freecadweb.org/viewtopic.php?p=535691#p535691
2021-09-25 21:58:14 +02:00
Abdullah Tahiri
380e123626 Sketcher: fix warning unreferenced local variable 2021-09-25 21:06:50 +02:00
wmayer
d310013cd0 Web: support to query values via TCP/IP communication 2021-09-25 19:52:14 +02:00
wmayer
8041f98ab7 Mesh: [skip ci] change MeshTopoAlgorithm::SplitOpenEdge to return a boolean to indicate if the operation succeeded or not 2021-09-25 14:52:49 +02:00
Chris Hennes
c2e1f9937d Redesign pref pack GUI 2021-09-24 16:09:17 -05:00
Chris Hennes
5b415978ac Merge pull request #5060 from Roy-043/Draft-fix-2-svg-pattern-issues
Draft: fix 2 SVG pattern issues
2021-09-24 10:34:31 -05:00
Chris Hennes
4b4098442f Merge pull request #5058 from Roy-043/Draft-fix-2-edit-mode-issues
Draft: fix 2 edit mode issues
2021-09-24 10:33:34 -05:00
Chris Hennes
3d85ad70b5 Merge branch 'master' into spreadsheetPasteCleanup 2021-09-24 07:59:21 -05:00
Chris Hennes
05fa605851 Merge branch 'master' into fixMixedLanguageTranslationExtraction 2021-09-24 07:58:15 -05:00
Chris Hennes
25fa22f23c Merge branch 'master' into hiddenPrefToLockToolbars 2021-09-24 07:56:45 -05:00
Chris Hennes
cc53377985 Merge branch 'master' into addThemeSupport 2021-09-24 07:51:04 -05:00
Chris Hennes
65e5faa3bb Merge branch 'master' into selection2021SelectionViewAutoShow 2021-09-24 07:44:28 -05:00
Russell Johnson
6a47bc3f5d Path: Fixes #4645
Fixes bug #4645.
This PR adds a simple `integrityCheck()` method to Job object class.  The method is called on the Gui side before openning the task panel to edit the job.  The same method is also called upon document restoration.
2021-09-24 06:43:16 -05:00
Russell Johnson
1931c6b013 Path: Delete unnecessary comments 2021-09-24 06:40:53 -05:00
Russell Johnson
8e09da7f0b Path: LGTM cleanup 2021-09-24 06:40:53 -05:00
Russell Johnson
628f640d7c Path: Fix Face Region boundary shape usage
This commit removes automatic edge extension for `Face Region` boundary shape.  It applies the `Clear Edges` toggle for `Face Region`.  It applies `Exclude Raised Areas` correctly.  The problem of collision paths for `Clear Edges` with `Exclude Raised Areas` for certain use cases remains and is not fixed with this commit.
2021-09-24 06:39:25 -05:00
Russell Johnson
faaf33c2b5 Path: Remove unused import 2021-09-24 06:39:25 -05:00
Russell Johnson
4b3cb142ea Path: Add docString and comments for getAllIncludedFaces() method 2021-09-24 06:39:25 -05:00
Russell Johnson
7f0b3c40bb Path: LGTM fix
Prompted by LuzPaz in Gitter.im/FreeCAD/Path chatroom
2021-09-24 06:39:25 -05:00
Russell Johnson
5e9cd07ef6 Path: Black code formatting only 2021-09-24 06:38:39 -05:00
Russell Johnson
2384ad9860 Path: Add Base.Active check early in execute() method
This commit adds a `Base.Active` check to determine if the Base is Active.  If the Base is Inactive, the new code sets the `obj.Path` property to the same inactive message used in PathOp module and the `execution()` method returns immediately, stopping further execution.
2021-09-24 06:38:39 -05:00
Abdullah Tahiri
e0405d377f Sketcher: Hide/show constraints according to filter
===================================================

Updates the visibility to the filter selection on the moment of checking the "track filter selection" checkbox.
2021-09-24 13:33:27 +02:00
Roy-043
0daac05a7f Draft-fix-2-svg-pattern-issues hatch45R.svg
Changed pattern id.
2021-09-24 11:05:34 +02:00
Roy-043
60a0ce8289 Draft-fix-2-svg-pattern-issues hatch45L.svg
Changed pattern id.
2021-09-24 11:03:37 +02:00
Roy-043
fb484a2367 Draft-fix-2-svg-pattern-issues
List of patterns is now sorted A-Z.
2021-09-24 10:54:51 +02:00
Abdullah Tahiri
4cc6fbfc5d Sketcher: Minor fixes sketcher radius/diameter presentation
===========================================================

Some minor fixes:

https://forum.freecadweb.org/viewtopic.php?p=535406#p535406

https://forum.freecadweb.org/viewtopic.php?p=535511#p535511
2021-09-24 06:57:59 +02:00
0penBrain
7485c7d805 [Sketcher] Add an option to get randomness in radius/diameter display angle 2021-09-24 06:57:09 +02:00
0penBrain
e0ca4cf93c [Sketcher] Display radius/diameter constraints with some angle
So they are easily differentiated from distance constraints
 Default angle can be customized with 'BaseApp/Preferences/Mod/Sketcher/RaDiaAngle'
2021-09-24 06:57:09 +02:00
0penBrain
50623c73ee [Sketcher] Code simplification by systematically using 'finishDistance' to determine label distance 2021-09-24 06:57:09 +02:00
jimzim111
d89075626c Merge branch 'FreeCAD:master' into PathArray_Z 2021-09-23 20:07:45 -07:00
marioalexis
e2b3310277 Draft: Fix Unicode and UTF-8 encoding character behavior 2021-09-23 21:21:24 -03:00