Commit Graph

612 Commits

Author SHA1 Message Date
Przemo Firszt
c5903523ea Part: PartDesign: Fine tune chamfer, fillet and draft icons
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-24 10:52:26 +01:00
wmayer
27863408c9 + remove references to SoFCSelection where not needed 2015-05-20 19:24:12 +02:00
wmayer
78671cb27e + raise exceptions in TopoShape::makeOffsetShape if needed 2015-05-15 20:20:37 +02:00
wmayer
4fe99f2658 + whitespace improvement 2015-05-15 20:07:55 +02:00
blobfish
0950e1963a Part: Offset: fill rework. 2015-05-15 20:00:47 +02:00
blobfish
cb2002d188 Part: ModelRefine: fix for bug# 2097 2015-05-15 18:06:33 +02:00
wmayer
fbdfeef2a3 + add method getPolesAndWeights() to NURBS surfaces and curves 2015-05-09 00:58:07 +02:00
wmayer
13070cbe23 + improve doc string 2015-05-04 15:20:23 +02:00
wmayer
f6c25f94de + code cleanup: remove deprecated class ViewProviderPartBase 2015-05-02 00:37:05 +02:00
wmayer
dd2b39ddd6 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer
b3cbf2b3da + fix Part.__sortEdges__, check for object type in Part.Wire 2015-04-10 18:25:31 +02:00
wmayer
960be3c809 + fix memory leak in toBiArcs 2015-04-05 17:19:04 +02:00
wmayer
79de781304 + remove leftover 2015-04-05 16:50:58 +02:00
wmayer
1d1e71b52f + integrate biarcs algorithm 2015-04-05 14:10:03 +02:00
wmayer
b36c34b105 + fixes #0002033: boolean failure, model refine 2015-04-03 07:39:17 +02:00
blobfish
eba335c615 Part: ModelRefine: catch bspline isEqual exception 2015-03-22 18:43:39 +01:00
wmayer
5ff38ba7d5 + add methods to get GProps from curves and surfaces 2015-03-22 18:39:49 +01:00
Sebastian Hoogen
db13fbb7b3 add angularDeflection property to ViewProvider
issue #1868
2015-03-21 19:27:43 +01:00
Sebastian Hoogen
565a875365 add shape.proximity(shape) 2015-03-21 13:29:30 +01:00
Yorik van Havre
0009e58291 Merged crowdin translations 2015-03-07 15:17:58 -03:00
Stefan Tröger
d5ee7a6efe implement correct vertex normals
- use mesh vertices uv value to get correct normals from face
- remove unused normal and shading options for parts
2015-02-28 15:09:38 +01:00
Yorik van Havre
8d8eba6dac Updated ts files from source 2015-02-27 18:56:51 -03:00
Yorik van Havre
8d98921dd7 Updated translations from crowdin 2015-02-27 18:46:03 -03:00
wmayer
f69b38dcde + fix doc string of Part.makeLoft 2015-02-25 21:36:40 +01:00
wmayer
007f939731 + check for correct OCC version 2015-02-23 16:05:17 +01:00
wmayer
b5b54c59f1 + fix for OCC 6.3 2015-02-22 18:41:18 +01:00
wmayer
153e988237 + make argument of multiFuse const reference 2015-02-21 12:48:12 +01:00
Sebastian Hoogen
c2ce8f5eba add TopoShape::multiFuse method
to fuse multiple shapes at once.
2015-02-21 12:35:21 +01:00
Sebastian Hoogen
acfafc0b2b Use multiple tool shapes for MultiFuse Feature
issue #1971
2015-02-21 12:35:20 +01:00
DeepSOIC
0767cd35f8 Sketcher: fix reversed geometry and rotated arcs
Fixes a bug where an arc, ellipse, or arc-of-ellipse, being reversed in
XY plane, behaved badly in sketcher (see forum thread "Sketch: how to
handle reversed external arcs?"
http://forum.freecadweb.org/viewtopic.php?f=10&t=9130 ).
Also fixes a problem with rotated arcs (see forum thread "Rotating Arc
in Sketcher"
http://forum.freecadweb.org/viewtopic.php?f=22&t=9145#p74262 ).

This is done by adding an emulation flag to a few methods in
Part::GeomXXX, which makes the shape to pretend being non-reversed
(CCW). This causes endpoints of reversed arcs of circles lineked as
external geometry to swap, causing broken sketches sometimes.
2015-02-17 12:27:31 +01:00
Sebastian Hoogen
cd771f65c6 meshing was removed from StlTransfer
with OCCT CR0025357 issue #1906
2015-02-12 13:46:14 +01:00
Sebastian Hoogen
8ec87dbdf2 rename python classes for shapes and
implememnt __getstate__ and __setstate__ to enable pickling
issue #1948
2015-02-04 17:07:29 +01:00
Yorik van Havre
d8146a0cf8 Updated ts files 2015-01-26 16:23:48 -02:00
wmayer
be38772631 + fixes #0001482 2015-01-24 16:32:21 +01:00
Sebastian Hoogen
17a85e4352 Set offset mode for extrusion draft 2015-01-20 11:30:13 +01:00
wmayer
1f44226882 + copy DiffuseColor property when creating simple copy 2015-01-16 23:31:07 +01:00
wmayer
f5c363db9d + fixes #0001922: occ exception during python shell.makeHalfSpace 2015-01-16 23:11:07 +01:00
wmayer
ee4436b2c0 + add toShape() to Part.Point, allow to pass Part.Point in Part.Vertex 2015-01-15 11:39:53 +01:00
Yorik van Havre
ae3fafea6c Updated base translation files for crowdin 2015-01-13 20:00:09 -02:00
wmayer
fa4f8b0735 + do not throw exception from inside signal handler to get useful stack trace for segmentation faults 2015-01-13 22:01:59 +01:00
wmayer
477099bbfe + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
wmayer
5289967304 + fixes #0001482: v0.14 Mirrored objects parent the original object 2015-01-13 00:03:20 +01:00
wmayer
82edb4b50a + fixes #0001662: IGES does not export correctly 2015-01-11 12:14:41 +01:00
Sebastian Hoogen
fe4ab358e5 issue #1450 2015-01-10 12:09:00 -02:00
wmayer
f24e216db4 + fixes #0001652: Proper support of units for all geometric primitives 2015-01-07 15:31:07 +01:00
wmayer
be2e191681 + fixes #0001669: Part operation with parts in groups splits again when moved back into group 2015-01-07 11:02:52 +01:00
wmayer
ee86871bed + fixes #0000763: Bad IGS import 2015-01-05 16:28:40 +01:00
wmayer
26666a1fda + minor optimization 2015-01-02 12:26:29 +01:00
Abdullah Tahiri
ec03fb541f Part: Extension of Geometry::Curve
Part: Extension of Geometry::Curve to wrap more functions of OCC

Apart from:
    bool tangent(double u, gp_Dir&) const;
that was already implemented, now it also implements:
    Base::Vector3d pointAtParameter(double u) const;
    Base::Vector3d firstDerivativeAtParameter(double u) const;
    Base::Vector3d secondDerivativeAtParameter(double u) const;
    bool normal(double u, gp_Dir& dir) const;
    bool closestParameter(Base::Vector3d point, double &u);

i.e. apart from giving the tangent vector for a given curve at parameter value u,
it also gives:
   - The point cartesian coordinates of the curve point at parameter value u
   - The vector of the first derivative at parameter value u
   - The vector of the second derivative at parameter value u
   - The normal vector to the curve at parameter value u
   - The parameter value of a curve closest ot a given point

Code cleanup: Changing Trim functionality of Ellipse to use OCC calculations

Part Curve functions extension: closestParameterToBasicCurve

It provides the parameter of the curve closest to a given point. If the curve is a Trimmed curve, the parameter of the basic underlaying curve closest to the point is provided.
2015-01-02 11:48:28 +01:00
wmayer
f545455466 + fixes #0001889: Crash when undoing move of base object of a part fillet 2015-01-01 21:05:19 +01:00