Abdullah Tahiri
97effe4017
Sketcher: fix failure to notify solver issues, like redundancies, when using setUpSketch in SketchObject
2018-05-31 11:41:48 +02:00
Abdullah Tahiri
d2558643f3
Fix MatrixIndexType
2018-05-31 11:41:37 +02:00
Abdullah Tahiri
9b11cc086d
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
3ae3f25cf1
GCS: Fix report view formating and duplicated endline
2018-05-31 11:41:16 +02:00
Abdullah Tahiri
c7682464a1
Sketch: DoF finder icon/resource file
2018-05-31 11:41:04 +02:00
Abdullah Tahiri
7410647c22
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
ab5a22883d
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
d75be1cd03
Sketcher: Support for clickable DoFs to launch DoF finder
2018-05-31 11:40:28 +02:00
Abdullah Tahiri
040923fcef
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
eb5bf9894a
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
0a4df1f8da
GCS: Support for solver constraints to store driven/driving status
2018-05-31 11:39:53 +02:00
Abdullah Tahiri
f60873bae6
Sketcher: New Command to select geometric elements with dependent parameters
2018-05-31 11:39:41 +02:00
Abdullah Tahiri
05e8a7cec2
GCS: Extension of solver geometric elements to store whether they have dependent parameters
2018-05-31 11:39:28 +02:00
Abdullah Tahiri
f88daf23cc
Solver: Solver Sketch level dependent parameters and solver geometric element management
2018-05-31 11:39:15 +02:00
Abdullah Tahiri
31e902d204
GCS: Solver dependent parameters retrieval
2018-05-31 11:39:02 +02:00
Mark Ganson TheMarkster
0980b1c168
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
a36b449529
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2018-05-30 19:07:48 -03:00
wandererfan
bffc23f02f
Format Dxf Group Codes as 3 chars
2018-05-30 19:06:58 -03:00
wmayer
f2ae921768
expose function to Python to get optimal bounding box
2018-05-30 21:27:49 +02:00
wandererfan
ae2c717923
Fix typo in AddonManager
2018-05-29 09:57:10 +02:00
wandererfan
2a39bdc24c
Write Dimension Blocks to Dxf file
2018-05-28 19:54:45 +02:00
wandererfan
d855f94b31
Add Header with version to dxf output file
2018-05-28 19:54:45 +02:00
wandererfan
e8fc79ee3d
Avoid Qt warning re mdi window not in workspace
2018-05-28 13:27:11 -04:00
wandererfan
ce99d383fb
Ignore selection changes while closing Page
2018-05-28 13:26:26 -04:00
Janne Keränen
37c4bda776
Correct small bug in CompoundFilter in command line
...
Without this, CompoundFilter does not work in Python script in non-GUI-mode.
See:
https://forum.freecadweb.org/viewtopic.php?f=10&t=27593&p=222303
and
https://www.freecadweb.org/tracker/view.php?id=3381
2018-05-28 16:55:15 +02:00
pekkaroi
cf4aa9807a
PathSimulator, fix typo false->False
2018-05-28 10:27:53 -03:00
pekkaroi
bce18dfb5c
Improve backwards compatibility
2018-05-28 10:12:07 -03:00
pekkaroi
4cff32cc25
Cleaning
2018-05-28 10:12:06 -03:00
pekkaroi
645f980a31
Improved naming of the new parameters
2018-05-28 10:12:06 -03:00
pekkaroi
2fdfb0a485
Add IgnoreAbove parameter to not generate ramp above certain heights
2018-05-28 10:12:03 -03:00
Bernd Hahnebach
57c3044aa9
FEM: mesh netgen command, fix meshing while task panel is opened
2018-05-28 12:22:11 +02:00
Bernd Hahnebach
daef5693be
FEM: material editor, add it to materials menue
2018-05-28 08:58:17 +02:00
Bernd Hahnebach
1df7b8c235
FEM: menue entries, add submenue for materials
2018-05-28 08:58:17 +02:00
Bernd Hahnebach
7292b05cfc
FEM: selection widget module, fix console print message
2018-05-28 08:58:17 +02:00
Bernd Hahnebach
022c980977
FEM: Python VP, add return variable to unSetEdit methods and improve reseting the edit mode
2018-05-28 08:58:17 +02:00
Bernd Hahnebach
949084f056
FEM: material widget, add button to fix material property editing
2018-05-28 08:58:10 +02:00
Abdullah Tahiri
e97e616686
Sketcher: Fix crash on applying dimensional constraint to external element
2018-05-27 19:43:05 +02:00
wmayer
564b2ea86c
fixes #0003493 : Python Shape.isClosed() returns false for any solid, including primitive Parts
2018-05-27 15:10:44 +02:00
wmayer
f3dc1adc2c
fix inconsistency with default value of random shape color
2018-05-26 18:52:58 +02:00
Yorik van Havre
6a837c1ebe
Draft: Fixed draft2sketch not working with ellipses
2018-05-25 18:48:04 -03:00
Mark Ganson TheMarkster
1701af26ee
fix copy/paste error, add back 3 lines
...
Good catch, Yorik. I never intended to remove those lines. Must have happened when I was editing the documentation string.
2018-05-25 17:26:00 -03:00
Mark Ganson TheMarkster
33f15e7d6f
Update Draft.py
2018-05-25 17:26:00 -03:00
Mark Ganson TheMarkster
0fd1f732ba
Update Draft.py
2018-05-25 17:26:00 -03:00
DeepSOIC
0f4d9c23d2
Part: fix imports of Show.TempoVis
2018-05-25 17:24:57 -03:00
DeepSOIC
aae98415ba
Show: improve container support
2018-05-25 17:24:57 -03:00
DeepSOIC
22620e3c3a
Show: toggle support for sketch clipping plane
2018-05-25 17:24:57 -03:00
DeepSOIC
4b253c2281
Show: fixes
2018-05-25 17:24:57 -03:00
Abdullah Tahiri
dbfb81dc47
Sketcher: Section Command enabling the clipping planes
2018-05-25 17:24:57 -03:00
Abdullah Tahiri
cf55431980
Sketcher: Section view artwork
2018-05-25 17:24:57 -03:00
DeepSOIC
7e950a4036
Show: fix forgotten cmakelists
2018-05-25 17:24:57 -03:00