Commit Graph

13170 Commits

Author SHA1 Message Date
Bernd Hahnebach
d77f42c28e FEM: material task panel, fix custom export 2018-01-27 17:22:58 +01:00
Bernd Hahnebach
0d1d584fa3 FEM: gerneral prefs, make custom materils dir chooser really a dir chooser 2018-01-27 17:22:58 +01:00
Bernd Hahnebach
43c504c9ce FEM: pref general, make string multi os compatible 2018-01-27 17:22:58 +01:00
wmayer
b147e4c810 fix crash when deleting constraint 2018-01-27 17:08:49 +01:00
wmayer
1f8f27b5e8 improve whitespaces 2018-01-27 16:47:55 +01:00
wmayer
4730e5b608 save values before invalidating iterator, whitespace improvements 2018-01-27 13:09:44 +01:00
Abdullah Tahiri
e9732b4b0a 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
8d3c20f06e 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
32737cd425 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
25ad0148ae adjust copyright text 2018-01-27 12:13:44 +01:00
WandererFan
613ecd478d 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
6ae86bc51b libarea: imporve arc fitting 2018-01-26 18:53:09 +01:00
Zheng, Lei
fc7c34ca41 Path.Area: make wire explode respect arc accurarcy 2018-01-26 18:53:09 +01:00
luz.paz
9566ca2198 FEM: typos
[skip ci]
2018-01-26 18:49:59 +01:00
Bernd Hahnebach
f24ebb8857 FEM: udate example files 2018-01-26 18:49:59 +01:00
wmayer
6fc5efa2e7 fix const correctness, restore sketcher icon 2018-01-26 17:21:02 +01:00
Abdullah Tahiri
7df64a6ab9 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
a33f094e46 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
b74983cf5b Sketcher: Switch Virtual Plane icon 2018-01-26 17:05:00 +01:00
Abdullah Tahiri
e14f284cba Sketcher: Bug fix not updating constraints on switch of virtual space 2018-01-26 17:04:28 +01:00
Abdullah Tahiri
71e16bfbb1 Sketcher: New toolbar for VirtualSpace and Command to switch VirtualSpace 2018-01-26 17:04:08 +01:00
Abdullah Tahiri
847becb32c Sketcher: Extend virtual space switching and update to constraints widget 2018-01-26 17:03:39 +01:00
Abdullah Tahiri
471c0a4a2c Sketcher: Enable switching of virtual space in ViewProvider 2018-01-26 17:03:16 +01:00
Abdullah Tahiri
5e11e37712 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
804bbbc9cd 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
600bcf9513 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
2ec9645a6b 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
906e548912 fix bug in SmSwitchboard::doAction 2018-01-26 16:47:56 +01:00
Yorik van Havre
6c2951fa12 Arch: Fixed remaining hole bug when removing windows from walls 2018-01-25 19:21:57 -02:00
Yorik van Havre
544d481666 Draft - fixed chamfer property of Wires - fixes #3044 2018-01-25 19:07:19 -02:00
Yorik van Havre
d65a729864 Fixes in credits dialog 2018-01-25 18:57:18 -02:00
luz.paz
9ca8f2a3d2 Sketcher: comment typos
Found via `codespell`
[skip ci]
2018-01-25 18:47:34 -02:00
Bernd Hahnebach
8379835862 FEM: inp file settings, fixies fixes #3314i wrong pref on restore 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
7d250a5355 FEM: ccx tools solver, get rid of no longer needed and confusing attribute 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
05fbc0f8bf FEM: unit test, add a test for adding multiple ref shapes 2018-01-25 18:46:30 -02:00
Bernd Hahnebach
ef6c36ba64 FEM: objects, use fem name sheme for object package names 2018-01-25 18:46:30 -02:00
sliptonic
9f2e774daf Path: Fix MillFace default values
fixes #3324
2018-01-25 18:45:14 -02:00
luz.paz
a83dd308bd Path: libarea typos
Source and comment typos
2018-01-24 13:08:57 -05:00
Daniel Rogers
c79fe60e29 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
d59a2c2817 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
19efb5e099 AboutApplication.ui: typos fix
[skip ci]
2018-01-24 17:46:37 +01:00
Shai Seger
5fd64aa3eb 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
Yorik van Havre
93af0eef41 Added a dedication to Roland Frank in the About dialog 2018-01-24 12:25:05 -02:00
Markus Lampert
ba6f314a07 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
75a0322637 Path: remove redundant Path_Shape command
fixes #3276
2018-01-23 15:30:41 -06:00
Sammel Lothar LTS
34b6df2b7b PATH BUGFIX DressUP-LeadINOut-Line-Generation-SIMFix 2018-01-23 19:53:18 +01:00
Zheng, Lei
004f82b3e7 Path.Area: respect zero start point when generating path 2018-01-23 19:49:58 +01:00
Abdullah Tahiri
66f29c52ad Sketcher: Fix normal rendering when full-constraint
fixes #3320
2018-01-23 16:57:33 +01:00
luz.paz
ece3e8e3de FEM: typos 2018-01-23 14:43:54 +01:00
Bernd Hahnebach
6fa2ae54f9 FEM: ccx tools solver, fix solver type check 2018-01-23 14:01:27 +01:00