Commit Graph

8906 Commits

Author SHA1 Message Date
Abdullah Tahiri
1b59e74568 Sketcher: Solver Simplification for basic case
==============================================

This commit is intended to allow to early merging to master of BSpline support. Parts of it will be reverted when a more advanced solver implementation is available.

The intention is to have an advances solver implementation in the future.

This commit cripples part of the potential functionality, but allows a very simplistic solver structure (no de Boor, no recursion).

In particular:
1. Knots are not solver parameters and the solver acts as if such a parameter did not exist.
2. For non-periodic case, the start point and the endpoint coincide with the first pole and the last pole respectively. This is only valid under certain first and last
knot multiplicity. If the user manually changes this multiplicities, the sketch will remain unsolved. For the periodic case, end and start points are not even solver
parameters as an end and start point is an ilusion and we really do not care where that happens. It is not reasonable to ask the user to constrain where this point should
be.
2017-01-13 23:42:57 +01:00
Abdullah Tahiri
0ef082bcd4 Sketcher: Construction of periodic BSplines 2017-01-13 22:25:10 +01:00
Abdullah Tahiri
348d4cf320 Sketcher: Periodic bspline icons 2017-01-13 22:24:55 +01:00
sliptonic
b0abdd1c1d PATH: remove old holding tag code and GUI elements 2017-01-13 09:20:04 -06:00
Yorik van Havre
c704c28920 Draft: Added stretch tool - fixes #1163 2017-01-13 11:25:25 -02:00
Alexander Gryson
5929ad3957 correct clipping issue 2017-01-13 11:23:11 -02:00
Alexander Gryson
42a2faf05a Update Helix Metadata 2017-01-13 11:23:11 -02:00
Alexander Gryson
62b08cd4a4 Update helix icon 2017-01-13 11:23:11 -02:00
Markus Lampert
e76333f300 Fixed segmentation of xy-plane arcs, made # segments factor a property. 2017-01-12 17:42:29 -08:00
Abdullah Tahiri
671e588739 Sketcher: BSpline autoconstraints on creation 2017-01-12 23:45:03 +01:00
Abdullah Tahiri
b255ada03a Sketcher: Sketcher Elements support for BSpline 2017-01-12 22:55:31 +01:00
Abdullah Tahiri
1076b70056 Part: BSpline creation method corrected as per Werner's indication
==================================================================

http://forum.freecadweb.org/viewtopic.php?f=10&t=19700
2017-01-12 22:44:07 +01:00
wwmayer
0c34f1b749 Merge pull request #433 from agryson/arch-artwork-alignment
Arch artwork alignment
2017-01-12 22:01:59 +01:00
Abdullah Tahiri
c9de3687af Sketcher: BSpline restore internal geometry 2017-01-11 23:51:06 +01:00
Abdullah Tahiri
2a4353a940 Sketcher: BSpline delete internal geo on deletion 2017-01-11 23:44:45 +01:00
Abdullah Tahiri
d66242bd08 Sketcher: Contraint class extension
===================================

An additional index for internal geometry elements is introduced, to be stored only Internal Aligment constraint and backwards compatible.
2017-01-11 23:00:43 +01:00
Alexander Gryson
032ead09b5 fix broken shadow 2017-01-11 21:23:15 +01:00
Alexander Gryson
8e87cd6611 Revert modifications to 3rd party icon
3rd party icons will be reviewed after alignment of all other icons
See [this forum discussion for more on this issue](http://forum.freecadweb.org/viewtopic.php?f=23&t=19556&p=151812#p151812)
I'm mainting this as it's own commit for easy reversion in the future should we decide to update 3rd party icons
2017-01-11 21:23:15 +01:00
Alexander Gryson
1f43ad7943 Minor updates and polish
* New icon had been added since I started work, so aligned that
* Removed a copy/paste artefact on a clone icon
2017-01-11 21:23:15 +01:00
Alexander Gryson
4bf8b512c8 Update Arch Workbench icon metadata 2017-01-11 21:23:14 +01:00
Alexander Gryson
39e48dd10f Align Arch Workench icons to Tango 2017-01-11 21:23:14 +01:00
Markus Lampert
9d544209a8 Added support for rounded tags. 2017-01-11 12:05:23 -08:00
Markus Lampert
126fe81689 Translation of strings. 2017-01-11 12:05:23 -08:00
Markus Lampert
3cbf1c32b4 Reduced debug logging. 2017-01-11 12:05:23 -08:00
Markus Lampert
891add9bd3 Added preferences for holding tags. 2017-01-11 12:05:23 -08:00
Markus Lampert
70c3fc8686 Automatically disable tags if they overlap with previous tag and/or do not fall on the base wire. 2017-01-11 12:05:23 -08:00
Markus Lampert
2403890965 Minimum # tags is 2, makes sense and avoids the endless loop. 2017-01-11 12:05:23 -08:00
Markus Lampert
190aa1fc74 Retrieve colors from settings. 2017-01-11 12:05:22 -08:00
Markus Lampert
45893d7783 Fixed adding new tags - sorting required. 2017-01-11 12:05:22 -08:00
Markus Lampert
706875b3cc Fixed v-scrollbar issue and added edit button. 2017-01-11 12:05:22 -08:00
Markus Lampert
f89eea7b59 Using InputField for width and height and use proper properties. 2017-01-11 12:05:22 -08:00
Markus Lampert
6792e2c4b9 Minor name cleanups. 2017-01-11 12:05:22 -08:00
Markus Lampert
0781cf75d6 Added support for manual point input. 2017-01-11 12:05:22 -08:00
Markus Lampert
8f7102e2bf Adding and modifying tags with mouse works - event and selection handlers are properly registered and removed again. 2017-01-11 12:05:22 -08:00
Markus Lampert
e6c968cb79 Basic tag visualization and selection. 2017-01-11 12:05:22 -08:00
wmayer
c2f2a25054 issue #0002739: Mac users must Command click instead of Ctrl click multiple elements. 2017-01-11 20:58:49 +01:00
wmayer
a9530bc678 issue #0002739: Mac users must Command click instead of Ctrl click multiple elements. 2017-01-11 13:25:46 +01:00
sliptonic
678f36c989 PATH: some simple core tests 2017-01-10 22:00:56 -06:00
Abdullah Tahiri
1155022a82 Sketcher: BSpline Weights internal geometry support 2017-01-11 01:17:07 +01:00
Abdullah Tahiri
6bd801d363 Sketcher: expose Bspline pole internal geometry 2017-01-11 01:16:33 +01:00
Abdullah Tahiri
d949f52878 Sketcher: BSpline solver Internal Geometry for poles 2017-01-10 23:34:49 +01:00
Abdullah Tahiri
07eebb1c52 Sketcher: Constraint Third Redefinition for internal geometry
=============================================================

Internal alignment of BSplines requires an extra index for unbounded same-type internal geometry (poles, probably also in the future knots).

Value shall not be used, as it interferes with the update mechanism for constraint values.

An alternative solution would be to add another int to all the constraints just for this case.

As internal geometry does not use Third, it seems reasonable to reuse it for this indexing purpose.
2017-01-10 23:26:28 +01:00
Abdullah Tahiri
609c80b71a Part: Fixes triggered by Werner's comments on my branch 2017-01-10 20:05:18 +01:00
Abdullah Tahiri
e7dacb9178 Part: Bezier serialization support extension to periodic
=======================================================

Extension for periodic + suggestions by Werner.
2017-01-10 14:44:43 +01:00
wmayer
0e2cf2ebca fixes #0002837: Misspell in PY module 2017-01-09 21:21:36 +01:00
Sebastian Stetter
b7c012775c PATH: changed default opened tabs in panel ui files back to base gemoetry 2017-01-09 13:24:51 +01:00
Sebastian Stetter
21b116649e PATH: fix for 2805
changed TaskPanels to use unit conversions via FreeCAD.Units
commented out references to segLen since it si used nowhere
2017-01-09 13:24:23 +01:00
wmayer
0e65256f3f issue #0000466: Sketcher: allow moving the dimension datums in two directions 2017-01-09 13:17:27 +01:00
wmayer
f5367d7afc fix warning and improve code formatting 2017-01-09 10:16:11 +01:00
wwmayer
61c3f2c8ad Merge pull request #428 from vejmarie/step
Step import code update
2017-01-09 10:11:06 +01:00