Commit Graph

4016 Commits

Author SHA1 Message Date
Abdullah Tahiri
e41b372cbf Sketcher feature enhancement: Symmetry constraint perpendicular to axis of symmetry
Solves Mantis ticket: http://www.freecadweb.org/tracker/view.php?id=1623
Unrelated minor fix: remove unused variable
2014-09-17 18:48:15 +02:00
Abdullah Tahiri
816409c68a Sketcher visualization: Increase readability of redundant constraint solver message
Color changed to "OrangeRed" to improve readability.
2014-09-17 16:43:51 +02:00
Abdullah Tahiri
8dd77ae18a Sketcher Redundant/Conflicting art by Jim 2014-09-17 16:43:51 +02:00
Abdullah Tahiri
512d51cb7f Sketcher new feature: Select Conflict and Redundant Constraints
Based (and solves) Mantis ticket:
http://www.freecadweb.org/tracker/view.php?id=1643

The ticket refers only to redundant, and ask for deletion.

Two commands are created, one for redundant constraints and other for conflicting constraints.

As usually removing one constraint of the "at least one" is sufficient, the implementation selects the constraints (but does not delete them).

The user therefore easily identify the constraints involved and decide to delete them.

This implementation takes into account the edit->Actsketch that ViewProvidedSketch creates for solving, as it is this instance the one that generates the messages in the Sketcher Taskbar.

No buttons in the toolbar by default (can be added by the user), but an hyperlink in the solver messages which triggers the selection of the appropriate command (conflicting or redundant).
2014-09-17 16:43:50 +02:00
Abdullah Tahiri
7ab50d69d4 Sketcher new feature: Selects the elements associated with the selected constraint(s)
Ex 1: User selects constraints from the list => right click => select "select elements" from the contextual menu => The elements (edges,vertex) involved in the constraint(s) are selected.

Ex 2: User selects (a) constraint(s) => Clicks button in toolbar (if included by the user) => The elements (edges,vertex) involved in the constraint(s) are selected.

Intended as visual aid to see which elements are being affected by a constraint.

Requested by Jim on thread:
http://forum.freecadweb.org/viewtopic.php?f=19&t=6875&start=10

Solving another Mantis ticket I can not find now.
2014-09-17 16:43:49 +02:00
Sebastian Hoogen
67b01c5aae try to use Execptions in Draft module 2014-09-17 12:52:36 +02:00
Sebastian Hoogen
856c66d12d use exceptions in OpenSCAD module
derive OpenSCADError from FreeCADError if possible
2014-09-17 11:59:49 +02:00
Sebastian Hoogen
83543c71c6 issue #1701 removed further except: statements 2014-09-17 11:57:32 +02:00
Sebastian Hoogen
d49528b27e issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
Sebastian Hoogen
1bc2e5d430 removed catch (...) in Drawing
which discarded type information when rethrowing base type
2014-09-17 11:15:56 +02:00
Sebastian Hoogen
af50cbf964 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
Yorik van Havre
6cd1feb44f Arch: Hide/show windows together with their parents - fixes #1733 2014-09-16 20:03:50 -03:00
Yorik van Havre
db58e35792 Web: Added an Open Link In External Browser context menu option - fixes #1017 2014-09-16 14:16:44 -03:00
Yorik van Havre
1b38badd1e Startpage now checks for new versions - issue #1017
After loading, the startpage now checks for
http://www.freecadweb.org/version.php and compares
with current version, and displays a message accordingly.
2014-09-16 12:58:07 -03:00
Yorik van Havre
16c99a426d Draft: fixed typo 2014-09-16 11:26:47 -03:00
Abdullah Tahiri
98a78e2752 Sketcher Element Widget enhancement: Auto-switch to Edge (first valid type)
Feature requested by nahshon.
- In auto-switch to edge mode, actually switch to first valid type, which is always
edge, except for a point. It reduces the amount of clicks when dealing with points.
- Correction of a typo.
2014-09-16 10:12:53 +02:00
Yorik van Havre
a454bab2d1 Draft: replaced DraftGeomUtils.sortEdges with better version from pkoning2 - fixes #1691 2014-09-15 17:30:37 -03:00
Yorik van Havre
e207a563fc Draft: Added a button to Dimension UI to select existing edges - fixes #1636 2014-09-15 17:05:44 -03:00
Yorik van Havre
1cc6ffa375 Draft: fixed sticky fonts - fixes #1725 2014-09-15 16:43:14 -03:00
Yorik van Havre
534125c855 Draft: fixing bugs in previous commit 2014-09-15 15:56:07 -03:00
Sebastian Hoogen
eb52aa726b move encoding strings for coin to function 2014-09-15 15:45:44 -03:00
Yorik van Havre
b0190d2ba2 Draft: upgrade tool now converts single-linear-edge objects into Draft lines 2014-09-15 12:51:26 -03:00
wmayer
d67f5a3dfd + fixes #0001715: Mefisto Mesh Fails since translated by f2c 2014-09-14 18:26:12 +02:00
Sebastian Hoogen
6394e7b7d7 use utf-8 for coin4 and latin1 for coin3 2014-09-14 11:08:55 +02:00
Yorik van Havre
4b0ef52458 Arch: minor bugfix 2014-09-13 18:23:35 -03:00
Yorik van Havre
820fab6108 Arch: equipments now choose type (Part or Mesh) on creation based on the base object 2014-09-13 13:54:47 -03:00
Yorik van Havre
514df2d9bb Mis upgrades for the selection window - fixes #1737
* Added a search box that searches through object labels
* Added a context menu to selected items
* Allow to double-click an item to isolate
2014-09-13 12:02:45 -03:00
Yorik van Havre
a70bcceb54 Arch: minor improvements in panel 2014-09-11 19:27:33 -03:00
Yorik van Havre
bf4ff68633 Draft: minor fix in Shapestring 2014-09-10 15:56:50 -03:00
wmayer
47ce908531 + do not add units to translation 2014-09-10 10:35:49 +02:00
Yorik van Havre
8300f35cb4 Draft: Fixed copying of Draft points 2014-09-05 17:48:30 -03:00
Yorik van Havre
2f2b88aae2 Draft: Allow sticky fonts in ShapeString 2014-09-04 15:57:59 -03:00
wmayer
7226f436fc + fixes #0001726: Dialog for saving document should indicate documentname 2014-09-03 14:45:19 +02:00
wmayer
353d481281 + Add StackWalker to get log messages on crashes (MSVC only) 2014-09-03 11:48:34 +02:00
Yorik van Havre
230c6f0571 Arch: small fix to Remove tool 2014-09-02 23:04:44 -03:00
wmayer
df58407c51 + minor fix 2014-09-02 17:43:25 +02:00
Sebastian Hoogen
c7cfee0539 issue #1700 replace raise Exception() 2014-09-01 22:47:05 +02:00
wmayer
b0a7b0f274 + fixes #0001714: FreeCAD 0.14 Stable crashes when importing a step model 2014-09-01 19:11:46 +02:00
Sebastian Hoogen
5690b28fde exportDRAWEXE: support Part::Plane and ::Ellipse 2014-09-01 11:09:58 +02:00
Sebastian Hoogen
5ffa0d8903 python property Continuity of GeometrySurface 2014-09-01 11:04:38 +02:00
Yorik van Havre
617eff8cd3 Arch: optimizations in IFC import + furniture objects can be included in spaces 2014-08-31 23:30:02 -03:00
Yorik van Havre
7f6a22c787 Added Gui.showDownloads() py function to show the download manager, and allow to click https links in webgui browser 2014-08-31 16:51:51 -03:00
Yorik van Havre
4d58575ddf Arch: fixed import IFC again (better this time) 2014-08-31 15:03:58 -03:00
Jose Luis Cercos-Pita
7d265d8208 Plot: Fixed PyQt imported in the resources loading 2014-08-31 18:37:26 +02:00
Yorik van Havre
da4d0fbaa6 Arch: fixed bug in importIFC 2014-08-31 13:29:15 -03:00
wmayer
721cb21b42 + do not abort if user.cfg or system.cfg is empty 2014-08-31 16:10:45 +02:00
wmayer
c94403412d + fixes #0001719: Show current shortcuts (S) in menus and hover text. 2014-08-31 14:28:33 +02:00
Yorik van Havre
874b8683db Arch: allow for equipment objects to be part shapes 2014-08-30 19:17:30 -03:00
wmayer
9c534e181c + allow to load PartDesign even if PySide is not found, suppress MinGW warnings 2014-08-30 23:26:29 +02:00
Yorik van Havre
5bbdde61ea Arch: Added Equipment tool
The purpose of this tool is to handle standalone objects such as
furniture or sanitary equipment in a building. It is mesh-based,
and accepts either a mesh or a part shape as its base object.
2014-08-29 19:16:28 -03:00