Commit Graph

13871 Commits

Author SHA1 Message Date
Bernd Hahnebach
1035a032fc FEM: material editor, add command to open the editor ot icon toolbar, use copy of Arch material group icon 2018-06-01 08:20:59 +02:00
wandererfan
f0964a9c05 Implement R12 version of Polyline 2018-05-31 20:57:01 +02:00
wandererfan
6b6a0569be Add 999 Application group code
- also remove variable $MAXACTVP - not valid in some
  appls.
2018-05-31 20:57:01 +02:00
wandererfan
ea5617ee01 Initialize #pts for LWPolyLine 2018-05-31 20:57:01 +02:00
luz.paz
79a4aa3ef4 Misc. typos
Found via `codespell`
[skip ci]
2018-05-31 12:50:58 -04:00
Abdullah Tahiri
bf03c7bcb1 Sketcher: Empty list means all geometry for Python addCopy addRectangularArray and addMove 2018-05-31 14:36:21 +02:00
Abdullah Tahiri
39e82c79f6 Sketcher: New tool bar icon under the copy command to move 2018-05-31 14:35:54 +02:00
Abdullah Tahiri
7c586b6c1a Sketcher: move icon art 2018-05-31 14:35:14 +02:00
Abdullah Tahiri
cffa76b0cc Sketcher: Python support for moving Geometry 2018-05-31 14:34:58 +02:00
Abdullah Tahiri
7df7667774 Sketcher: Moving Geometry Support 2018-05-31 14:34:31 +02:00
Abdullah Tahiri
ec6eaa509d Sketcher: Improved B-Spline creation 2018-05-31 14:33:58 +02:00
Abdullah Tahiri
4805927170 Sketcher: Extend existing rendering order for lines to points 2018-05-31 14:31:29 +02:00
Abdullah Tahiri
dccb86a5db Sketcher: Optional extended naming for constraints widget giving first-second-third information 2018-05-31 14:29:00 +02:00
wmayer
78b7510ee1 fix inconsistent default parameters, fix warnings 2018-05-31 13:47:31 +02:00
wmayer
4a80564783 fix cmake warning due to inconsistent naming 2018-05-31 13:44:03 +02:00
wmayer
3cb6890bcc suppress warning C4996 2018-05-31 13:42:35 +02:00
wmayer
717abd0cf3 fix string 2018-05-31 13:27:38 +02:00
wmayer
d4354af79b fix const correctness 2018-05-31 13:15:31 +02:00
wmayer
63cefaf4a6 fix const correctness 2018-05-31 12:49:23 +02:00
Abdullah Tahiri
8d7622b4a9 Sketcher: error message when trying to increase the degree of not-a-bspline fixes #3471 2018-05-31 11:42:24 +02:00
Abdullah Tahiri
bfef80f9c0 Sketcher: bspline knot increase wrong string fixes #3470 2018-05-31 11:42:11 +02:00
Abdullah Tahiri
8a31a6c5b4 Tests: Update test to remove redundants that failed to be detected with the old solver 2018-05-31 11:41:59 +02:00
Abdullah Tahiri
60a57107cf Sketcher: fix failure to notify solver issues, like redundancies, when using setUpSketch in SketchObject 2018-05-31 11:41:48 +02:00
Abdullah Tahiri
61b1a15524 Fix MatrixIndexType 2018-05-31 11:41:37 +02:00
Abdullah Tahiri
03c3539dbf GCS: Improvement in redundant constraint detection
==================================================

The solver uses some heuristics to determine the "redundant to remove" and notify it to the user.

Basically it would pick the solver redundant constraint that affects most groups of redundants (popularity contest).

In the simple cases, all the redundants are equally popular and the popularity contest is untied by using the tagid (let say for simplicity it is the number at sketcher level Constraint3, the tagid=3).

This means that in simple cases, the solver systematically decides that the redundant constraint to handle from those showing a linear dependency is the one appearing the last.

This commits changes the way to untie the popularity contest, by giving more priority to those sketcher constraints that need a lower number of solver constraints (in other words,
those constraints that remove a lower amount of DoF). In case of tie, the tagid is then used to break the tie.

At least:
fixes #3434
fixes #1557
2018-05-31 11:41:26 +02:00
Abdullah Tahiri
9e901dbc59 GCS: Fix report view formating and duplicated endline 2018-05-31 11:41:16 +02:00
Abdullah Tahiri
d75be15f64 Sketch: DoF finder icon/resource file 2018-05-31 11:41:04 +02:00
Abdullah Tahiri
f7a7d2bade Sketcher Toolbar: Removing DoF finder from the toolbar, as it can be accessed from the solver messages now
- Renaming of command
2018-05-31 11:40:53 +02:00
Abdullah Tahiri
14c7349e2e Sketcher: DoF finder command while using the default SparseQR
=============================================================

- Modification to transparently switch from SparseQR to DenseQR and back to SparseQR when using the DoF finder command.
- Command Tools dof finder command name change
2018-05-31 11:40:40 +02:00
Abdullah Tahiri
1d63ed717a Sketcher: Support for clickable DoFs to launch DoF finder 2018-05-31 11:40:28 +02:00
Abdullah Tahiri
9926105643 Solver: solver sketch level support for driven constraints and parameters
- Support for addition of driving information to GCS constraints
- Support for keeping track of value parameters of driven constraints
- Support for getting which QR algoritm is being used at GCS level
2018-05-31 11:40:16 +02:00
Abdullah Tahiri
858f4cb85b GCS: Full detection of dependent parameters with Dense Full Household pivoting QR decomposition
- Improve Debug information.
- Support for addition of constraints with driving information for the solver constraints.
- Removal of the driven constraints from the Jacobian for QR decomposition
- Removal of the value freewheeling parameter from the Jacobian for QR decomposition
- Full detection of dependent parameters where DoF are present for Dense QR.
2018-05-31 11:40:05 +02:00
Abdullah Tahiri
d531e98eac GCS: Support for solver constraints to store driven/driving status 2018-05-31 11:39:53 +02:00
Abdullah Tahiri
ce4503ae40 Sketcher: New Command to select geometric elements with dependent parameters 2018-05-31 11:39:41 +02:00
Abdullah Tahiri
6f7e06fa49 GCS: Extension of solver geometric elements to store whether they have dependent parameters 2018-05-31 11:39:28 +02:00
Abdullah Tahiri
ed25902e12 Solver: Solver Sketch level dependent parameters and solver geometric element management 2018-05-31 11:39:15 +02:00
Abdullah Tahiri
2e70d9c75f GCS: Solver dependent parameters retrieval 2018-05-31 11:39:02 +02:00
looooo
8e2c682a3d fix windows problem:
https://forum.freecadweb.org/viewtopic.php?f=4&t=29014
2018-05-31 11:02:33 +02:00
looooo
d38fabf264 cmake:occt: add fallback 2018-05-31 11:02:33 +02:00
looooo
baed57f01a conda: osx configuration 2018-05-31 11:02:33 +02:00
Mark Ganson TheMarkster
2c982e0c45 Remove extra definition of obj.IntervalZ
Remove extra definition of obj.IntervalZ in Draft array object.

Was:
obj.IntervalZ = Vector(0,0,1)
obj.IntervalZ = Vector(0,0,0)

Now:
obj.IntervalZ = Vector(0,0,1)
2018-05-31 10:58:58 +02:00
Yorik van Havre
262d7c0cd0 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2018-05-30 19:07:48 -03:00
wandererfan
2760dabb3c Format Dxf Group Codes as 3 chars 2018-05-30 19:06:58 -03:00
wmayer
009b18a553 expose function to Python to get optimal bounding box 2018-05-30 21:27:49 +02:00
wmayer
b8fca77c5a respect settings of locatation navicube when creating a new view 2018-05-30 09:45:44 +02:00
wandererfan
3b02ff2a94 Fix typo in AddonManager 2018-05-29 09:57:10 +02:00
wmayer
b54f0353b0 revert commit d1588052ff 2018-05-29 09:38:23 +02:00
wandererfan
73d597710f Write Dimension Blocks to Dxf file 2018-05-28 19:54:45 +02:00
wandererfan
064a261cc2 Add Header with version to dxf output file 2018-05-28 19:54:45 +02:00
wandererfan
a6e9eec5ad Avoid Qt warning re mdi window not in workspace 2018-05-28 13:27:11 -04:00