Commit Graph

9492 Commits

Author SHA1 Message Date
Abdullah Tahiri
167240e197 Sketcher: BSpline solver Internal Geometry for poles 2017-01-10 23:34:49 +01:00
Abdullah Tahiri
0f8db07e90 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
b0dc19eca9 Part: Fixes triggered by Werner's comments on my branch 2017-01-10 20:05:18 +01:00
Abdullah Tahiri
c8d56c5663 Part: Bezier serialization support extension to periodic
=======================================================

Extension for periodic + suggestions by Werner.
2017-01-10 14:44:43 +01:00
Abdullah Tahiri
5d28434ef5 Part: BSpline serialization
===========================

It stores a rational BSpline even if non-rational.

It should be extended to store in addition whether it is periodic or not, i.e. to support periodic BSplines.
2017-01-08 00:42:30 +01:00
Abdullah Tahiri
546e5a20c5 Sketxher: Basic creation method
===============================

For non-periodic case.

No autoconstraints or internal geometry at this point.
2017-01-07 20:21:19 +01:00
Abdullah Tahiri
8b3cab262a Sketcher: BSpline icons courtesy of Jim 2017-01-07 14:35:43 +01:00
Abdullah Tahiri
ca8b39516b Part: Enable BSpline creation from poles 2017-01-07 02:00:12 +01:00
Abdullah Tahiri
6a1d30d350 Sketcher: ViewProvider BSpline Representation 2017-01-06 00:08:30 +01:00
Abdullah Tahiri
832c3a6381 Sketcher: Validation of BSpline 2017-01-05 22:10:31 +01:00
Abdullah Tahiri
ddd8ce238c Sketcher: Enable BSpline creation in SketchObjectPy 2017-01-05 21:52:35 +01:00
Abdullah Tahiri
49cffc495f Sketcher: BSpline basic SketchObject support 2017-01-05 21:45:47 +01:00
Abdullah Tahiri
41889bab50 Sketcher: BSpline solver sketch basic implementation
====================================================

Creation of solver geometry definitions from Part::BSpline geometries and update of solved geometry back.
2017-01-05 12:01:11 +01:00
Abdullah Tahiri
f35432a734 Sketcher: BSpline FreeGCS geometry definition
=============================================

multiplicities, degree and periodic are left as non-parameters of the solver, while still allowing certain manipulations to be effected from the solver
in certain situations (for example modifying the multiplicity of start/end nodes when applying G1,G2,G3 constraints between BSplines).
2017-01-05 11:58:35 +01:00
Abdullah Tahiri
e026378e7d Part: GeomBSpline extension for basic BSPline Sketcher support
==============================================================

1) Basic set/get interface for poles, weights, knots and multiplicities

2) Introduction of GeomBoundedCurve class replicating OCC hierarchy. Why? To provide seamless start/end point interface for any bounded curve, i.e. Bezier, BSpline,

Note: The ArcOfConic start/end point interface relies on GeomTrimmedCurve, and introduces CCW/CW correcting code which relies on Axis. Axis are introduced in GeomConic and are
not part of GeomBounded.

Note 2: In the future, it may be thought to make GeomArcOfConic (the equivalent of GeomTrimmedCurve) deriving from GeomBoundedCurve, as to fully replicate OCC hierarchy. GeomBoundedCurve
defines the functions as virtual to allow seamless integration.
2017-01-05 11:58:33 +01:00
Bernd Hahnebach
43a15a2083 FEM: fix unit tests in the regard of new material module name 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
eec9718e6a FEM: adapt FEM examples to new material module name 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
7c19fa1654 FEM: move modules MechanicalMaterial to a more general FemMaterial 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
532dfe76d5 FEM: GUI, move create node set tool to mesh tools 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
ee06b74738 FEM: solver ccx task panel, typo 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
23e914268e FEM: netgen mesh obj, move a new obj inside an active analysis if there is one 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
c2ffbef82a FEM: GMSH mesh obj, switch to FEM WB on double click on obj 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
6837b66dbb FEM: GMSH mesh task panel, add an ok and cancel button, remove close button 2017-01-02 18:03:24 -02:00
Bernd Hahnebach
76c6092042 FEM: code formating, flake8 and delete not used imports 2017-01-02 18:03:24 -02:00
wmayer
8bfb73b34b fix major bug in ExtensionContainer::restoreExtensions 2017-01-02 19:39:13 +01:00
wwmayer
edb91204c5 Merge pull request #410 from mlampert/issue-2825
Path: Setting a minimum # interpolations for displaying an arc - fixes issue 2825
2017-01-02 13:25:48 +01:00
wwmayer
dbb41b14e5 Merge pull request #409 from eivindkv/ObjectLabelObserver
Moved ObjectLabelObserver from Gui::Application to App::Application.
2017-01-02 13:24:33 +01:00
Markus Lampert
a029429b49 Setting a minimum # interpolations for displaying an arc. 2017-01-01 22:41:28 -08:00
Eivind Kvedalen
0e2e34fb33 Moved ObjectLabelObserver from Gui::Application to App::Application. 2017-01-01 21:41:11 +01:00
Yorik van Havre
f0c5ae7019 Merge pull request #408 from agryson/raytracing-artwork-alignment
Raytracing artwork alignment
2017-01-01 15:14:03 -02:00
Alexander Gryson
b17e62d959 Added Metadata 2016-12-31 21:20:45 +01:00
Alexander Gryson
c508f10c60 Update Raytracing Workbench icons 2016-12-31 21:20:45 +01:00
Yorik van Havre
0e040fd6e0 Draft: Do not import non-instanciated blocks - fixes #2822 2016-12-31 15:48:01 -02:00
wwmayer
9060becfe7 Merge pull request #407 from dev-at-stellardeath-org/linuxcnc_post_without_gui
Path: linuxcnc_post without GUI
2016-12-31 12:18:56 +01:00
wmayer
4db41b0b4b register Quantity type for shiboken2, handle exception to fix abort when setting quantity property of InputField via Python 2016-12-30 22:51:17 +01:00
Lorenz Hüdepohl
6f09fd8aa4 Path: linuxcnc_post without GUI
A simple fix to be able to easily use the linuxcnc_post module without
the GUI present
2016-12-30 22:33:15 +01:00
Yorik van Havre
39ddebc337 Arch: Fixed bug with arch objects that are a clone and have a material 2016-12-30 19:25:42 -02:00
Yorik van Havre
f75a10350a Arch: Correctly export profiles with holes to IFC 2016-12-30 19:24:54 -02:00
Yorik van Havre
36bc5f37b3 Arch: Added utility command to create an undefined Arch component clone of an object 2016-12-30 18:07:13 -02:00
wmayer
33dfc33389 implement getWrapperName to get class name with shiboken wrapper 2016-12-30 16:52:59 +01:00
Yorik van Havre
7c7aea1308 Arch: fixed typo in yesterdays commmit 2016-12-30 12:10:38 -02:00
wwmayer
9f5c6895be Merge pull request #405 from eivindkv/DependencyGraphColors2
Added color to edges contained in a cycle in the dependency graph.
2016-12-30 14:53:52 +01:00
wmayer
6bf33753d6 comment out unused global functions, fix -Wconstant-logical-operand 2016-12-30 14:38:49 +01:00
wmayer
e0a89c17d2 fix & suppress warnings of generated code 2016-12-30 13:31:31 +01:00
wmayer
79ddef18f2 rearrange headers to avoid warning 2016-12-30 13:31:08 +01:00
wmayer
9607ce0a8f suppress -Woverloaded-virtual warnings from smesh 2016-12-30 12:11:35 +01:00
Eivind Kvedalen
2bf7710bda Added color to edges contained in a cycle in the dependency graph. 2016-12-30 09:22:03 +01:00
Yorik van Havre
4f53c7b1ec Arch: Fixed export of materials to IFC to be understandable by revit 2016-12-29 21:02:54 -02:00
Yorik van Havre
4284e437d3 Arch: Make sure the BaseMaterial property contains a Material object 2016-12-29 20:42:30 -02:00
wmayer
a0af969a47 recreate lexer files without deprecated register keyword 2016-12-29 23:18:23 +01:00