Commit Graph

9962 Commits

Author SHA1 Message Date
Abdullah Tahiri
d559c1477b Sketcher: Enable Virtual space updates on the View Provider
===========================================================

Basic initial working implementation to hide constraints.
2018-01-26 17:02:22 +01:00
Abdullah Tahiri
cccaa6d4dc Sketcher: Extension of Constraints Widget to support checkboxes for Virtual Space
=================================================================================

The checkboxes enable a constraint to swap virtual space.

If checked the constraint is visible in the selected space and hidden in the other space (Real Space or Virtual Space).
If unchecked the constraint is visible in the other space and hidden in the selected space.
2018-01-26 17:01:35 +01:00
Abdullah Tahiri
1899680ddc Sketcher: Extension of constraints to store virtual space affiliation
=====================================================================

The constraint class has been extended so that every constraint knows and serializes whether it is in virtual space or in normal real space.
2018-01-26 17:01:11 +01:00
Yorik van Havre
b092834230 Arch: Fixed remaining hole bug when removing windows from walls 2018-01-25 19:21:57 -02:00
Yorik van Havre
f0d06f0c15 Draft - fixed chamfer property of Wires - fixes #3044 2018-01-25 19:07:19 -02:00
luz.paz
23bf7f39a3 Sketcher: comment typos
Found via `codespell`
[skip ci]
2018-01-25 18:47:34 -02:00
Bernd Hahnebach
2d1ffaa6ab FEM: inp file settings, fixies fixes #3314i wrong pref on restore 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
6d744c8c85 FEM: ccx tools solver, get rid of no longer needed and confusing attribute 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
e1e84cd34b FEM: unit test, add a test for adding multiple ref shapes 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
c85afd0e44 FEM: objects, use fem name sheme for object package names 2018-01-25 18:46:30 -02:00
sliptonic
07ae0e56c4 Path: Fix MillFace default values
fixes #3324
2018-01-25 18:45:14 -02:00
luz.paz
383825e9cf Path: libarea typos
Source and comment typos
2018-01-24 13:08:57 -05:00
Shai Seger
627c4e7906 Give default values to cutting edge angle so simulations with work even if user did not specify a valid cutting angle. 2018-01-24 17:43:06 +01:00
Markus Lampert
5cee8c9cdf Return the actual job instead of the check result of it being a job or not. 2018-01-24 01:28:47 +01:00
sliptonic
21c845a64c Path: remove redundant Path_Shape command
fixes #3276
2018-01-23 15:30:41 -06:00
Sammel Lothar LTS
59dedd1275 PATH BUGFIX DressUP-LeadINOut-Line-Generation-SIMFix 2018-01-23 19:53:18 +01:00
Zheng, Lei
8f84087e6f Path.Area: respect zero start point when generating path 2018-01-23 19:49:58 +01:00
Abdullah Tahiri
c509ec5ded Sketcher: Fix normal rendering when full-constraint
fixes #3320
2018-01-23 16:57:33 +01:00
luz.paz
3ee6b6ac94 FEM: typos 2018-01-23 14:43:54 +01:00
Bernd Hahnebach
ee321c5f84 FEM: ccx tools solver, fix solver type check 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
6ab072b1ca FEM: file modes, delete executable mode on some Python modules 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
83be75b0d4 FEM: general pref ui, make working dir chooser work again 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
4ca4aafb09 FEM: general pref ui, typo 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
299d1939fe FEM: ccx tools, typo 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
223a2b196b FEM: beam rotation, add some pre checks 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
9935150972 FEM: beam rotaion, implement writer, this fixes a very old restiction, the beam analysis in z-axis 2018-01-23 14:01:27 +01:00
FEMuser
a15474afe8 FEM: mesh tools, add method to get the beam normals for ccx 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
3699cfe7bf FEM: beam rotation object, deactivate task panel since reference shapes are not yet supported for rotations 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
fa596b891e FEM: beam rotation object, add it to the solver frame works 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
4ac2f2d37a FEM: beam rotation object, add an own icon for this object 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
bc8219cc36 FEM: beam rotation object, add this new object 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
128e5d3a72 FEM: ccx writer, slightly resort key sort creation on ccx elset creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
0145383d39 FEM: ccx writer, check for empty ccx elset on creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
66351b723a FEM: ccx writer, resorting in elset creation 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
233a32d27a FEM: ccx writer, use set and intersection instead of two nested for loops 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
6811d528f6 FEM: ccx input file, use even shorter elset names for the short names and raise exception if the elset name is still to long 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
3824df2eba FEM: ccx writer, resort elset creation methods 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
c8e87a039e FEM: ccx writer, better elset name def and raise exception if name is too long 2018-01-23 14:01:27 +01:00
mkhizenz
c78504e6eb FEM: vtk DataAtPoint, implementation 2018-01-23 14:01:27 +01:00
mkhizenz
6155884950 FEM: Auto disable mesh and solid when opening VTK functions 2018-01-23 14:01:27 +01:00
Bernd Hahnebach
e533076910 FEM: code formating 2018-01-23 14:01:27 +01:00
luz.paz
3d2856e892 Mod/Test/BaseTests.py source typo
Changed `def testRoation(self):` to  ` def testRotation(self):`
Please review.
2018-01-23 13:55:33 +01:00
WandererFan
45a1d6c906 Fix Exception when Source Shape IsNull 2018-01-22 19:10:28 -05:00
wmayer
38da0c7312 improve whitespace, fix const correctness 2018-01-23 00:40:41 +01:00
Abdullah Tahiri
c7b137fe85 Sketcher: Change nomenclature relating to Block constraint 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
a4c29ba521 Sketcher: Constraint widget adapted to Block constraint 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
c27d5a26b2 Sketcher: UI Block constraint creation sanity checks
====================================================

Avoid creation of constraints if they would lead to undesirable conflicting situations.
2018-01-22 22:52:56 +01:00
Abdullah Tahiri
9634da6811 Sketcher: Block constraint - Prevent from adding constraint if the solver has redundant/conflicting constraints 2018-01-22 22:52:56 +01:00
Abdullah Tahiri
34f533b0e1 Sketcher: Block Constraint - Advanced redundant/conflict redundant handling
===========================================================================

Block constraint is naturally redundant/conflicting with almost any other constraint applied to an edge (certainly with constraints operating only on that element).

As such, a block constraint will have very little applicability in absence of a way to handle this redundancy/conflicting. For example, in the case of a BSpline all its
internal geometry (construction circles on poles and its constraints) would have to be removed before locking. This would mean that it is not possible to define the BSpline shape
and then block it, as when removing the internal geometry the shape would be lost. In other cases, like temporally blocking to avoid that a part of the sketch moves while performing some
operation with the idea of afterwards unblocking it, it would mean removing all constraints, to add the block constraint, then perform the action, then remove the block constraint and manually
constraint it again.

Handling this situation in a user expected way means ignoring certain constraints (those causing the redundancy/conflicting), so that the solver is not aware of them and does not complain. However,
generally ignoring those constraints has a negative effect, in that constraints applied by the user on already blocked geometry, or constraints that otherwise lead to a conflicting or redundant
situation as a consequence of actions (further constraining) after the Block constrain is applied are ignored, thereby not properly informing the user of this situation, which is undesirable.

This new mechanism takes account on the position of the constraints relative to the involved blocked constraint(s). As such, redundant/conflicting constraints that were added before the Block
constraint are ignored, whereas those constraints that lead to a redundant/conflicting situation and added AFTER the block constraint was already in place, those are not ignored and are reported
accordingly.
2018-01-22 22:52:56 +01:00
Abdullah Tahiri
9b7d1d6042 Sketcher: Blocked constraint viewprovider rendering 2018-01-22 22:52:56 +01:00