Commit Graph

1023 Commits

Author SHA1 Message Date
wmayer
d065c2fe5b fix whitespaces 2017-01-20 19:22:50 +01:00
wmayer
a3e30b8ca7 make indexes of GeomBSplineCurve consistent to OCC API 2017-01-20 18:49:59 +01:00
wmayer
7017a847f1 in geometry classes raise RuntimeError instead of basic exception type 2017-01-20 18:09:02 +01:00
wwmayer
edec0b62af Merge pull request #447 from abdullahtahiriyo/bspline_2017
Bspline 2017
2017-01-20 17:34:01 +01:00
wmayer
5ba9056af1 spend own type for Python wrappers of FeaturePrimitive and BodyBase 2017-01-20 15:42:50 +01:00
wmayer
bdd49f2ad5 issue #0002867: AttachExtension crash 2017-01-20 13:17:11 +01:00
abdullahtahiriyo
8d9af6f203 Merge branch 'master' into bspline_2017 2017-01-18 22:48:27 +01:00
looooo
44e497f093 python3: neutral fixes 2017-01-14 19:22:15 +01:00
Abdullah Tahiri
43f2940262 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
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
wwmayer
3eb0e59600 Merge pull request #426 from brawaga/patch-2
Update Part_ru.ts
2017-01-09 10:08:59 +01:00
wwmayer
a65130b753 Merge pull request #421 from dev-at-stellardeath-org/master
Fix non-GUI usage in BOPTools
2017-01-08 18:48:14 +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
brawaga
933ff7e764 Update Part_ru.ts
Added translations, corrected some existed for grammar, syntax or style.
2017-01-07 23:55:55 +08:00
Abdullah Tahiri
ca8b39516b Part: Enable BSpline creation from poles 2017-01-07 02:00:12 +01:00
Lorenz Hüdepohl
be23f8654b Fix non-GUI usage in BOPTools
Only define the translation related functions if the GUI is up
2017-01-06 18:25:56 +01:00
triplus
8dc516878f Update BOA common and section documentation 2017-01-05 20:11:18 +01:00
wmayer
18738afc1e replace Qt keyword slots with Q_SLOTS 2017-01-05 14:27:19 +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
wwmayer
e198383242 Merge pull request #413 from realthunder/sortEdges
Add C++ implementation of Part.sortEdges
2017-01-04 17:12:10 +01:00
Stefan Tröger
8bd07747ae PartDesign: Change body viewprovider to group 2017-01-04 16:01:58 +01:00
Stefan Tröger
526d895a5d PartDesign: Port body to be a origin group 2017-01-04 16:01:58 +01:00
Stefan Tröger
a025a20bed Extensions: GeoFeatureGroup only for GeoFeature 2017-01-04 16:01:58 +01:00
wmayer
413550d5b1 cleanup work: overload methods instead of using new method names 2017-01-04 15:39:27 +01:00
triplus
ff986b80f1 Add Part BOA multiCut, multiCommon and multiSection methods 2017-01-04 14:06:12 +01:00
Zheng, Lei
0bae247c0f Added Part.sortEdges
Unlike Part.__sortEdges__ which only return a list of connected edges,
and discard the rest. Part.sortEdges return a list of list of
connected edges, which includes all input edges.
2017-01-03 16:59:16 +08:00
wmayer
7d842679bd in forward declaration replace class keyword when struct is expected
comment out unused parameters
2016-12-29 17:52:39 +01:00
Yorik van Havre
34a511174f BOPTools: Fix to work without the GUI 2016-12-28 17:00:59 -02:00
wmayer
a421803c09 fix whitespaces 2016-12-28 14:22:42 +01:00
wmayer
9d8f765738 move methods setXAxisDir/getXAxisDir to base class 2016-12-28 14:22:12 +01:00
wwmayer
52a65710f8 Merge pull request #401 from abdullahtahiriyo/parabola_2017
Parabola 2017
2016-12-28 13:48:13 +01:00
wmayer
7b631625c7 if UnicodeUTF8 is not defined use a fallback implementation of translate() 2016-12-27 20:12:39 +01:00
Yorik van Havre
49c8d65bfe updated ts files 2016-12-26 12:36:24 -02:00
Abdullah Tahiri
a2acb7ad30 Sketcher: Parabola fix loading from file 2016-12-24 22:15:41 +01:00
Abdullah Tahiri
2ab4297069 Part::Geometry: ArcOfParabola CCW emulation support/fix
=========================================================

Correction of the emulation so that arcs of parabola are always CCW.
2016-12-24 16:11:15 +01:00
Bernd Hahnebach
209d96125c Part: boolean splitt tools, remove trailing whitspaces 2016-12-21 11:27:42 -02:00
Bernd Hahnebach
780d08c007 Part: boolean splitt tools, add type property to the objects 2016-12-21 11:27:42 -02:00
wmayer
7a5771a0f7 fix drag and drop of boolean operations 2016-12-21 11:39:26 +01:00
Abdullah Tahiri
505dd6e440 Part: Parabola Python Creation from Focus, Center and Normal Vector 2016-12-19 17:35:39 +01:00
wmayer
8afd7dc231 fix CID 154895 2016-12-18 11:32:45 +01:00
Abdullah Tahiri
7f2f9a19c3 Part: ArcOfParabola extension to set the symmetry axis 2016-12-18 00:03:53 +01:00
Abdullah Tahiri
abb3e1d0b5 Part: Parabola Extension to support getting occ focus 2016-12-17 22:50:46 +01:00
wmayer
743b83e853 Add switch to select between Qt4 and Qt5 2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8 remove superfluous Qt includes 2016-12-13 15:40:49 +01:00
wmayer
19c9a9f819 remove superfluous Qt includes 2016-12-13 14:33:16 +01:00
wmayer
5096f55ccb port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
aaef82e41e Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +01:00
wmayer
7eb6f1d795 PartGui: set export macro to fix linking errors in PartDesignGui 2016-12-08 10:33:47 +01:00
Stefan Tröger
90aabe7207 Extension: remove unneeded debug messages 2016-12-07 06:41:40 +01:00