Commit Graph

41 Commits

Author SHA1 Message Date
wmayer
44f42a8e2c LGTM: [skip ci] fix: Declaration hides parameter
A local variable hides a parameter. This may be confusing. Consider renaming one of them.
2020-07-27 10:57:34 +02:00
wmayer
f3b460e42e boost: fix for boost < 1.60 2020-06-15 19:38:39 +02:00
wmayer
4ec45b545e boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
wmayer
ec8b1bc072 [skip ci] use QLocale class consistently to make it possible to change it application-wide 2020-03-26 16:37:45 +01:00
wmayer
a247b7e6a5 force strict ISO C++ (-Wpedantic)
for Drawing, Image, Inspection, Mesh, MeshPart, Part, Path, Points, Raytracing, ReverseEngineering, Spreadsheet, Start, Surface, Web

TODO: fix several -Woverflow in area
2019-09-18 11:32:42 +02:00
wmayer
67b06d7a36 Fix clang compiler warnings:
+ fix -Winconsistent-missing-override
+ fix -Wpessimizing-move (Geometry::clone: moving a temporary object prevents copy elision -> remove std::move call here)
2019-08-17 19:52:32 +02:00
Zheng, Lei
6da72b9859 Part: changes to Part Module
* Added Part::Feature::getTopoShape/getShape() function that can obtain
  shape from any object with proper implementation of getSubObject(). It
  can even construct compound from group object with proper implementation
  of getSubObjects().

* Modified ViewProviderExt to work on any object, because it now obtain
  the shape using Part::Feature::getShape()

* Modified various Part features to obtain base/tool shapes using
  Part::getShape(), which allows them to be any type of object,
  including Link and groups.

* Modified various Part command to relax type requirement on selected
  objects.

* Add support of link and group to dimension, and add dimension refresh
  command

* Support link and group in simple command command, and add a few more
  copy command variations.

* Add special handling of 'Shape' attribute in PropertyContainerPy and
  use Part::Feature::getShape() to return shape for any object without
  Shape property. This allows many python feature work with any object
  without modification.

* GeometrySurface/CurvePy, add convenience attribute 'Rotation'

* TopoShapePy:

    * Extended support of sub shape attribute, e.g. Compound1, Solid2,
      SubShape3 ('SubShape' is used to access child shape of a compound)

    * makeWires(), new API to sort and return wires given a list of edges.

    * transformed/translated/rotated/scaled(), return a new shape with
      some transformation.

    * findPlane(), find the plane of a planar shape

    * isCoplanar(), check if two shape are coplanar
2019-08-17 15:08:35 +02:00
wmayer
7fbd1c6beb remove some more boost.signals leftover 2018-11-07 11:42:44 +01:00
wmayer
f898eafd64 move from deprecated boost.signals to boost.signals2 library 2018-10-30 19:09:03 +01:00
Markus Lampert
0b40519f3f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
wmayer
c582b069ba fix compiler warnings with py3 and msvc 2018-04-16 18:24:53 +02:00
wmayer
54cc25d1f8 fix crash in fillet/chamfer dialog if no part exists in document 2018-01-29 22:20:15 +01:00
wmayer
57e71e5d55 port C++ code to Qt5 2016-12-13 14:22:59 +01:00
wmayer
07943d2a9a Qt4/Qt5 neutral changes:
+ move meta types to own header to avoid double declaration
2016-12-12 15:22:34 +01:00
wmayer
1ce73dda96 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
wmayer
afa37847b5 remove Application::runPythonCode 2016-09-15 23:14:31 +02:00
wmayer
4bccc5cc6e + fixes #0002273: Part: Chamfer edges and fillet edges dialog does not remember the type 2016-03-10 22:04:10 +01:00
wmayer
5574419293 + set range for quantity boxes 2016-02-29 12:29:02 +01:00
wmayer
4e29db90c6 + fixes #0002200: Application crash when modifying fillet 2016-02-28 18:56:21 +01:00
wmayer
92c2b18350 + use quantity boxes in fillet/chamfer dialog 2016-02-28 11:24:36 +01:00
Mateusz Skowroński
3b463f2138 Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
wmayer
c231866b8d + fixes #0001746: Part Fillet and Chamfer do not show correct length/radius when editing old items 2014-12-30 17:20:32 +01:00
wmayer
b7ff37e53d + Update check states in fillet dialog 2014-04-25 11:45:39 +02:00
wmayer
db72aa2a98 + Improve performance when selecting all edges of an edited fillet feature 2014-04-24 22:29:07 +02:00
wmayer
573c1abb29 + Improve performance when deselecting all edges of an edited fillet feature 2014-04-24 17:30:58 +02:00
wmayer
96f366671b + improve performance of editing fillet feature (patch from chrisf) 2014-04-24 13:29:25 +02:00
wmayer
fb994e204c + fixes #0000854: Ability to change number of digits to the right of decimal place in spinboxes 2014-02-16 18:02:09 +01:00
wmayer
90af2d5c68 + Do not limit fillet/chammfer values 2013-12-12 13:20:58 +01:00
wmayer
8e6bd39857 + Split SoBrepShape into three files 2013-11-09 13:16:42 +01:00
wmayer
c9ba79666d 0001209: Change the Word 'Radius' for Chamfering 2013-08-13 15:04:55 +02:00
wmayer
7de742b436 0000735: Feature request for better Fillet/Chamfer 2013-07-07 21:19:19 +02:00
wmayer
2b0757c3a6 0000735: Feature request for better Fillet/Chamfer 2013-07-07 16:13:38 +02:00
wmayer
d4d4c8dc62 0000596: Edge chain selection 2013-07-06 22:49:12 +02:00
wmayer
3c621107c4 Fillet edge numbering issue 2012-04-26 12:52:45 +02:00
wmayer
8698f255a0 0000286: Feature request for better Fillet/Chamfer 2012-02-29 12:21:15 +01:00
unknown
8e8b8c5768 0000286: Feature request for better Fillet/Chamfer 2012-02-29 01:56:07 +01:00
wmayer
2b4147da66 0000507: Part/Part Design: allow edge preselection for chamfer/fillet
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5275 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 14:27:34 +00:00
wmayer
c7985e5c06 + rework edit modes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5102 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-08 21:15:49 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00