Commit Graph

10009 Commits

Author SHA1 Message Date
Bernd Hahnebach
dc4c4d27db FEM: code formating, use a variable which is not used to get flak8 quiet 2018-01-31 19:04:29 +01:00
luz.paz
7fbd5b286a FEM: Misc. comment typo 2018-01-31 19:04:29 +01:00
Bernd Hahnebach
227a25a686 FEM: code formating, flake8 2018-01-31 19:04:29 +01:00
Bernd Hahnebach
7405b886a2 FEM: result taks panel, better comment 2018-01-31 19:04:29 +01:00
luz.paz
3efe2e2872 FEM: source comment typo 2018-01-31 19:04:29 +01:00
Bernd Hahnebach
4a430c5c74 FEM: materials, fix users material path in task panel 2018-01-31 19:04:29 +01:00
joha2
7072b3f938 FEM: issue #3038 Fenics integration
- minor changes in xdmf saving dialog
- fixed missing locals() reference in get_FemMeshObjectElementTypes for python3 compatiblity in xml/xdmf import/export
- fixed open() and write() commands for python3 compatiblity in xml/xdmf export
- fixed further python3 issues in xml/xdmf import/export
2018-01-31 19:04:29 +01:00
wmayer
70399e6c9c fixes #0003302: PDN cloned object have duplicated 'Unnamed' ghost on every file reopen 2018-01-30 19:26:06 +01:00
wmayer
865593b66a fixes #0002559: Body becomes visible upon changing DisplayModeBody 2018-01-30 15:58:32 +01:00
easyw
76d27f4645 updated Init.py with import type 2018-01-29 22:57:06 +01:00
easyw
92021e0c6f adding stpZ format: STEP compression format support 2018-01-29 22:57:06 +01:00
easyw
dac8cd50f3 moving comment at right place 2018-01-29 22:41:29 +01:00
easyw
44e57a3675 adding 'import sys' needed when opening a dxf file 2018-01-29 22:41:29 +01:00
Zheng, Lei
2520785b13 libarea: fix arc fitting bug
Bug introduced in fb16c867ed
2018-01-29 22:37:07 +01:00
WandererFan
7d6f6dd933 Correct Scaling/boundingRect of Svg Symbols
- Svg symbols were over scale and reporting their
  boundingRect incorrectly.
2018-01-29 22:35:47 +01:00
wmayer
54cc25d1f8 fix crash in fillet/chamfer dialog if no part exists in document 2018-01-29 22:20:15 +01:00
wmayer
d9627d5311 tmp. disable unit test for link goes out of scope 2018-01-28 00:38:07 +01:00
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
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
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
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