Commit Graph

41 Commits

Author SHA1 Message Date
wmayer
e02695b91f Replace Base::Exception with appropriate subclass 2018-11-14 19:45:20 +01:00
wmayer
c582b069ba fix compiler warnings with py3 and msvc 2018-04-16 18:24:53 +02:00
Peter Lama
a75a98ef27 Use OCCT Handle macro for Handle_ classes
This is the result of running OCCT's upgrade script provided
with OCCT 7.0. See
https://www.opencascade.com/content/freecad-occt710-and-windows-rtti-data-missing#comment-form
and
https://www.forum.freecadweb.org/viewtopic.php?f=4&t=21405&start=120#p169019
for why this is necessary for OCCT >= 7.1
2017-04-20 12:27:34 +02:00
wmayer
1ce73dda96 fix -Wextra in Part 2016-09-22 11:49:28 +02:00
wmayer
f44df3cdf0 do not use doCommand without using format string, add overloaded method of runCommand 2016-09-15 18:53:37 +02:00
wmayer
e8b36592c0 fix Coverity issues 2016-08-21 18:46:40 +02:00
wmayer
bca7a1866e + port to OCC 7.0 2016-05-14 16:53:27 +02:00
wmayer
5574419293 + set range for quantity boxes 2016-02-29 12:29:02 +01:00
wmayer
a59b915132 + code clean-up 2016-02-28 19:01:23 +01:00
wmayer
32a5340b0b + use application-wide number of decimals in primitive creation dialog 2016-02-28 12:30:42 +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
3d03e208d9 + fixes #0001829: DlgPrimitives replaces non ASCII charaters in objects Labels by ? 2014-11-17 20:36:22 +01:00
wmayer
267ca0813a + fixes #0001798: Support general ellipsoid with three radii 2014-10-30 18:02:18 +01:00
wmayer
a96f390097 + fix build problems with Python & MacOSX 2014-10-13 22:02:57 +02:00
wmayer
406d32aebb + Replace InputField with QuantitySpinBox 2014-07-31 15:14:27 +02:00
wmayer
a871364066 + replace degree symbol with 'deg' to make sure it works on all systems, force to use right codec to display floating numbers 2014-05-19 20:56:23 +02:00
WandererFan
5d2c285785 Add UNITS to Part Primitive Gui 2014-05-19 20:34:10 +02:00
wmayer
3b5cdda879 + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +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
2f330674fe + Use icons and translated names for Part primitives 2013-12-09 11:11:51 +01:00
jmaustpc
41adfdaf87 fix property names for Part RegularPolygon and Prism
Prism properties: - Polygon, Circumradius and Height
RegularPolygon  : - Polygon and Circumradius

DraftTools updated to reflect the change in property names
2013-11-18 11:08:29 +11:00
jmaustpc
ec4f2be7b1 rebase auto merge error fixes
Signed-off-by: jmaustpc <jmaustpc@users.sourceforge.net>
2013-11-14 13:30:25 -02:00
jmaustpc
06567358db Add Part_RegularPolygon,
regular polygon edge in Part workbench "create primitives",

Add icons Part_Polygon and Part_Spline
2013-11-14 13:30:25 -02:00
wmayer
d5757b7089 + fixes #0001247 2013-11-07 14:17:41 +01:00
wmayer
712bc170c2 0001290: Add spiral tool in Part Module 2013-10-30 14:48:42 +01:00
jriegel
66ee73f54b Further doubel suggestions from Jan
Moved Gui/InputVector,Placement,Transform from float to double
Moved Sketcher from float to double
more suggestions for moving float -> double
2013-09-24 11:01:01 +02:00
wmayer
24a3c2cdd9 0001239: Part --> Geometric Primitives --> Regular Prism 2013-09-21 14:20:04 +02:00
wmayer
d9971311ed Fix problems with picking callback function 2012-07-05 13:27:17 +02:00
wmayer
b4aff85333 Fix critical warnings 2012-06-13 18:49:10 +02:00
wmayer
11358e1b86 left hand helix 2012-05-01 13:17:10 +02:00
wmayer
f3b9ee8e9a 0000548: 3D Circle from three points in Part wb
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5388 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-04 16:44:55 +00:00
wmayer
f01807be7e 0000548: 3D Circle from three points in Part wb
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5387 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-04 16:17:57 +00:00
wmayer
984ce43fb5 0000546: Ellipse added to create primitive dialogue
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5371 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-31 18:54:45 +00:00
wmayer
0c70ddf595 + implement primitive dialog as task panel
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5367 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-30 20:49:59 +00:00
wmayer
891421d805 + implement primitive dialog as task panel
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5365 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-30 17:27:21 +00:00
wmayer
dfbea1de96 + move vec_traits into its own module
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5363 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-30 11:45:28 +00:00
wmayer
431406a5aa 0000536: Parametric Edge in Part wb via create primitives dialogue gui
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5297 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 19:11:38 +00:00
wmayer
efa1dd9c63 0000508: Part: Parameterized Primitive: Plane - new planes with normals x or y are placed wrong
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5221 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-05 15:41:39 +00:00
wmayer
b005a7cf0b + 0000452: in "Part" added create "vertex" to the create primitives dialgue gui
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5049 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-21 15:50:10 +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