Commit Graph

25894 Commits

Author SHA1 Message Date
Chris Hennes
2e504ab3b6 [OpenSCAD] Add ability to communicate via pipes
In 2021.01 OpenSCAD added the ability to read from stdin and write
output to stdout: this allows us to communicate with an OpenSCAD process
that does not have read/write access to the same directories that
FreeCAD does (for example, if one or the other is installed via a Snap
package).

This commit adds an additional preference to the OpenSCAD workbench
allowing the user to choose between communication methods, as well as to
optionally specify their own temporary directory for the data transfer,
for use in cases where their version of OpenSCAD is installed via Snap,
etc., but does not yet support the piped input and output.
2021-09-29 09:36:58 -05:00
wmayer
b8c1877133 PD: [skip ci] fix minor issues:
* don't need to clear an empty vector
* remove two code blocks that effectively do nothing (except of producing a warning :) )
2021-09-28 15:43:25 +02:00
wmayer
83ac792fb4 TD: [skip ci] fixes #issue 4755: Copying a section view segfaults 2021-09-28 13:37:43 +02:00
Yorik van Havre
a47afb71d4 Merge pull request #5062 from chennes/meshImproveNastranUnitTests
[Mesh] Improve Nastran unit tests
2021-09-28 11:45:16 +02:00
Yorik van Havre
04e98be597 Merge pull request #5064 from chennes/lgtmAddonManagerFixes
[Addon Manager] Silence LGTM warnings about urls
2021-09-28 11:37:09 +02:00
Yorik van Havre
33eb4b1a61 Merge pull request #5068 from FreeCAD-Tools/master
Request for remove more than 100 duplicate translations from Sketcher.ts
2021-09-28 11:35:30 +02:00
FreeCAD-Tools
82a17a72fe Merge branch 'master' into master 2021-09-28 10:26:41 +03:00
sliptonic
0afe01dc5e Merge pull request #5009 from Russ4262/fix/ramp_dressup
[Path] Fix for inactive ramp dressup base operation
2021-09-27 15:34:43 -05:00
sliptonic
fdfe0291fd Merge pull request #5050 from jimzim111/PathArray_Z
Path: PathArray translate copies along Z axis as it does along X/Y
2021-09-27 15:19:43 -05:00
sliptonic
c062384976 Merge pull request #4975 from Russ4262/cleanup/pathprofile
[Path] LGTM cleanup of PathProfile module
2021-09-27 15:16:20 -05:00
sliptonic
d4f4e25157 Merge pull request #4973 from Russ4262/fix/millface
[Path] Fix `Face Region` boundary shape usage and LGTM cleanup
2021-09-27 15:13:21 -05:00
FreeCAD-Tools
55d99d0fed Merge branch 'master' into master 2021-09-27 21:23:47 +03:00
Chris Hennes
9ad741249b Merge pull request #4685 from donovaly/PD-pad-direction-selection
[PD] add feature to select pad direction via an edge
2021-09-27 13:11:40 -05:00
Chris Hennes
bf8c3eb0e9 Merge pull request #5051 from 0penBrain/rotation
[Core] Rotation : improve gimbal lock handling
2021-09-27 10:23:12 -05:00
0penBrain
e1dc69f56d [Core] Rotation : improve gimbal lock handling
Tolerance copied from OCC "gp_Quaternion.cxx"
2021-09-27 16:52:21 +02:00
Chris Hennes
0b97a54e83 Merge pull request #3256 from 0penBrain/spinBoxDecPoint
[Gui] Allow dot as decimal separator for locales not using it as thousand separator
2021-09-27 09:41:15 -05:00
FreeCAD-Tools
67aeaba4c1 Merge branch 'master' into master 2021-09-27 16:31:32 +03:00
Chris Hennes
fb83c70669 Merge pull request #5067 from Roy-043/Draft-avoid-word-hatch-when-dealing-with-svg
Draft: avoid word "hatch" in preferences when dealing with SVG patterns
2021-09-27 08:30:56 -05:00
FreeCAD-Tools
ffd7223d55 Update CommandSketcherVirtualSpace.cpp 2021-09-27 16:09:54 +03:00
Roy-043
1f6e48de3f Draft: avoid word "hatch" in preferences when dealing with SVG patterns 2021-09-27 15:07:33 +02:00
0penBrain
510cbf523a Gui : susbtitute dot with local decimal separator for spin boxes
Main goal is to improve user-friendlyness for several locales
 Substitution of dot is performed :
 * Always if dot is neither decimal nor group/thousand separator of current locale
 * Only on NUMPAD dot if dot is not decimal but is group separator of current locale
2021-09-27 15:06:36 +02:00
FreeCAD-Tools
690f191165 Merge branch 'FreeCAD:master' into master 2021-09-27 16:05:13 +03:00
FreeCAD-Tools
2186b03fc2 Update CommandSketcherTools.cpp 2021-09-27 15:59:31 +03:00
FreeCAD-Tools
c828948457 Update CommandSketcherBSpline.cpp 2021-09-27 15:57:12 +03:00
FreeCAD-Tools
9229c461bb Update CommandCreateGeo.cpp 2021-09-27 15:55:48 +03:00
FreeCAD-Tools
caeffd21b4 Update CommandConstraints.cpp 2021-09-27 15:47:23 +03:00
FreeCAD-Tools
ff1b29ffe1 Update CommandConstraints.cpp 2021-09-27 15:44:55 +03:00
FreeCAD-Tools
a94888ec3d Update CommandAlterGeometry.cpp 2021-09-27 15:39:17 +03:00
FreeCAD-Tools
65df3b46e2 Update Command.cpp 2021-09-27 15:38:41 +03:00
Chris Hennes
68fbf89e38 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
322b420a61 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
0dd4119369 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
c1dec8e792 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
a44a1ecf12 [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
c505ac1ee3 [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
Chris Hennes
bd4623a2a3 [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
1b20118dfa 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
b10dc6757a Merge branch 'master' into meshNastranFileFormat 2021-09-25 16:34:33 -05:00
Chris Hennes
d3509a63fd [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
c9eaa2393d 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
c37af5e737 Sketcher: fix warning unreferenced local variable 2021-09-25 21:06:50 +02:00
wmayer
5387e12e80 Web: support to query values via TCP/IP communication 2021-09-25 19:52:14 +02:00
wmayer
bd46e970d9 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
e94d7c32b5 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
0e03427736 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
Russell Johnson
2bb8baec06 Path: Delete unnecessary comments 2021-09-24 06:40:53 -05:00
Russell Johnson
dd03e616d0 Path: LGTM cleanup 2021-09-24 06:40:53 -05:00
Russell Johnson
fcd8b8558e 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
7ec38a5c3b Path: Remove unused import 2021-09-24 06:39:25 -05:00
Russell Johnson
1fbb7412b7 Path: Add docString and comments for getAllIncludedFaces() method 2021-09-24 06:39:25 -05:00