Commit Graph

13179 Commits

Author SHA1 Message Date
wmayer
ed893ff504 fix -Winconsistent-missing-override 2018-01-28 00:30:56 +01:00
wmayer
0718e2c56a fix -Winconsistent-missing-override 2018-01-28 00:20:11 +01:00
wmayer
7fed1a29c1 do not raise exception if link is out of scope, but write a warning 2018-01-28 00:15:12 +01:00
wmayer
d1949f6e28 add command to show/hide several constraints at once 2018-01-27 21:10:01 +01:00
sliptonic
12968ed4a4 Path: Limit tool angle input
fixes #3158
2018-01-27 19:45:36 +01:00
luz.paz
11b8f91c5d Misc. typos 2018-01-27 19:43:18 +01:00
luz.paz
666c5c8b86 FEM: typo fix
[skip ci]
2018-01-27 19:41:24 +01:00
wmayer
ada88a3dd1 expose more members of Constraint class to Python 2018-01-27 19:35:02 +01:00
Bernd Hahnebach
55d9d4dbae FEM: task panel, fix loading of broken material file 2018-01-27 17:22:58 +01:00
Bernd Hahnebach
83c8e43dc0 FEM: material task panel, fix custom export 2018-01-27 17:22:58 +01:00
Bernd Hahnebach
dc73b9d691 FEM: gerneral prefs, make custom materils dir chooser really a dir chooser 2018-01-27 17:22:58 +01:00
Bernd Hahnebach
7095ad9379 FEM: pref general, make string multi os compatible 2018-01-27 17:22:58 +01:00
wmayer
7f3b40a9ca fix crash when deleting constraint 2018-01-27 17:08:49 +01:00
wmayer
e9e0071ccc improve whitespaces 2018-01-27 16:47:55 +01:00
wmayer
acded1c954 save values before invalidating iterator, whitespace improvements 2018-01-27 13:09:44 +01:00
Abdullah Tahiri
94ca105315 Sketcher: Setting in Preferences to switch on/off notification of constraint substitution
=========================================================================================

By default notification is on, so that Newbies do not complain why FC is deleting that other constraint they have added before.

Power users generally will set it off, as they do not want to be bothered by pop ups and know what they are doing.
2018-01-27 12:33:11 +01:00
Abdullah Tahiri
620188073e Sketcher: Avoid single tangency plus coincident when preexisting single tangency
================================================================================

fixes #3299 (remaining)

Draw a line. Draw an arc. Make edge to edge tangency. Select endpoints. Try to create a coincident constraint. You now get an Endpoint-to-Endpoint tangency.
2018-01-27 12:33:11 +01:00
Abdullah Tahiri
180d722a53 Sketcher: Avoid single tangency when preexisting coincident
==========================================================

partly fixes 3299

Draw a line. Draw an arc. Make one endpoint of each coincident. Select the line. Select the Arc. Hit tangency. You now get an Endpoint-to-Endpoint tangency.
2018-01-27 12:33:11 +01:00
wmayer
5d35713aa2 adjust copyright text 2018-01-27 12:13:44 +01:00
WandererFan
da1d69ce4c Relax regex for editable text in Template
- the regex for finding editable text fields in
  the svg code of Templates was too strict and
  missed some fields if the svg had extra characters
  between </tspan> & </text>.
2018-01-26 17:45:31 -05:00
Zheng, Lei
fb16c867ed libarea: imporve arc fitting 2018-01-26 18:53:09 +01:00
Zheng, Lei
7e5d2bd92f Path.Area: make wire explode respect arc accurarcy 2018-01-26 18:53:09 +01:00
luz.paz
0ff676abec FEM: typos
[skip ci]
2018-01-26 18:49:59 +01:00
Bernd Hahnebach
2e049fd5e8 FEM: udate example files 2018-01-26 18:49:59 +01:00
wmayer
f8eaa6eff4 fix const correctness, restore sketcher icon 2018-01-26 17:21:02 +01:00
Abdullah Tahiri
696eb7433f Sketcher: Switch virtual space toolbar button to operate on selection
======================================================================

The switch virtual space toolbar button operated just to switch from one virtual space to the other (without any element selected), so switching the "mode".

Now if there is a selection, all the constraints are moved to the alternative virtual space.

It works similar to the toggle buttons for geometry elements and constraints
2018-01-26 17:05:58 +01:00
Abdullah Tahiri
740afeb642 Sketcher: constraints' widget checkbox as python command
========================================================

Enables do/undo after switching constraints from one space to the other
2018-01-26 17:05:25 +01:00
Abdullah Tahiri
879ff70886 Sketcher: Switch Virtual Plane icon 2018-01-26 17:05:00 +01:00
Abdullah Tahiri
8a2ec12b5a Sketcher: Bug fix not updating constraints on switch of virtual space 2018-01-26 17:04:28 +01:00
Abdullah Tahiri
4b7ef1c5b0 Sketcher: New toolbar for VirtualSpace and Command to switch VirtualSpace 2018-01-26 17:04:08 +01:00
Abdullah Tahiri
0c888309d6 Sketcher: Extend virtual space switching and update to constraints widget 2018-01-26 17:03:39 +01:00
Abdullah Tahiri
d987930338 Sketcher: Enable switching of virtual space in ViewProvider 2018-01-26 17:03:16 +01:00
Abdullah Tahiri
31189b6c20 Sketcher: Python Interface for Constraint Virtual Space
=======================================================

set/get/toggle python interface to enable to set the virtual space status of a constraint via SketchObject.
2018-01-26 17:02:46 +01:00
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
wmayer
1719d0ba6b fix bug in SmSwitchboard::doAction 2018-01-26 16:47:56 +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
Yorik van Havre
141caeb53e Fixes in credits dialog 2018-01-25 18:57:18 -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
Daniel Rogers
2b1012f706 Add missing const_cast
I missed a const_cast and a pointer dereference when inlining the
code from shiboken2
2018-01-24 17:51:42 +01:00
Daniel Rogers
6ce8e1a0ae Fix compliation against shiboken2 head
shiboken2 changed type conversion and removed a wrapper.
This just deleted the class definition that is not longer valid and inlines
code in a few places.

fixes #3287
2018-01-24 17:51:42 +01:00
luz.paz
7791ba4f18 AboutApplication.ui: typos fix
[skip ci]
2018-01-24 17:46:37 +01:00