Commit Graph

254 Commits

Author SHA1 Message Date
wmayer
bb63f7a4d5 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
jrheinlaender
b47cdd5f50 Fixed python format flags "f" from float to double "d" 2013-03-27 18:59:41 +04:30
jrheinlaender
ad6444053b Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files 2013-03-27 11:47:18 +04:30
jrheinlaender
83f977a96d Moved Gui/InputVector,Placement,Transform from float to double 2013-03-25 19:45:37 +04:30
jrheinlaender
8cf0b17c1e Suggestions for Part module moving float -> double 2013-03-25 17:15:21 +04:30
wmayer
ef890db848 Move from float to double 2013-03-23 15:12:04 +01:00
wmayer
605e85b952 Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
jmaustpc
8b46da725d remove duplicate Include file PartFeature.h
remove
-// includes for findAllFacesCutBy()
-#include <TopoDS_Face.hxx>
-class gp_Dir;
-
from freecad/src/Mod/Part/App/PartFeatures
2013-03-16 12:02:27 -03:00
jmaustpc
ad0bedcd56 Allow faces to be profiles for a sweep & minor fix loft
Allow faces to be used as the profiles for a Part_Sweep
some minor fixes for Part_Loft
2013-03-16 12:02:27 -03:00
jmaustpc
ea5f621dde Part_Loft add ability to use a Facefor a profile
Part Loft internally uses either a vertices and/or wires as profiles.
If an edge is selected always was converted into a wire for MakeLoft.
This commit allows a face to be selected and then uses
ShapeAnalysis::OuterWire
to aquire a wire (from the outer edges of the face) to pass to MakeLoft.
2013-03-16 12:02:27 -03:00
jmaustpc
49bad2dc7d Tree icons now display Part Plane, Torus, Sphere, Cylinder,Cone
Created ViewProviders for the above.
Fixed a minor typo in the Part Line ViewProvider
2013-03-15 22:05:06 -03:00
jmaustpc
1846fc24b4 Enable Part_Mirror child item in tree
Part_Mirror now shows its child shape in the tree under
the newly created Mirror Feature. On deletion it's
child shape is set to show (if it had been hidden). Thus
making its behaviour and appearance consistant with other
Part tools, E.G. Part Fillet, Part Loft, etc.
2013-03-15 22:05:06 -03:00
jmaustpc
8d5861315d show Part_Extrude icon in the tree
Added reference to existing Part_Extrude icon
to ViewProviderExtrusion.cpp
2013-03-15 22:05:06 -03:00
jmaustpc
da2cc9cd99 display Parametric Ellipsoid Tree icon
Add the line
sPixmap = "Tree_Part_Ellipsoid_Parametric.svg";
to the Ellipsoid viewprovider
2013-03-15 22:05:06 -03:00
jmaustpc
c1a3179cae Add Parametric Part Plane Tree icon and reference in Part.qrc
Add Tree_Part_Plane_Parametric.svg and add its reference in
src/Mod/Part/Gui/Resources/Part.qrc
2013-03-15 22:05:06 -03:00
jmaustpc
79608d7496 Change the tree icon displayed for Part_Box
Change the icon file name in the viewprovider for Part_Box
Add Part Box, Cylinder, Cone, Sphere, Ellipsoid, Torus
tree icons to the Part.qrc file
2013-03-15 22:05:06 -03:00
jmaustpc
f5e3ad6532 Add Tree icons for 3d Part primitives
This commit is just the icons themselves, not
the code to display them yet.
Tree_Part_Box, Tree_Part_Cone, Tree_Part_Cylinder,
Tree_Part_Sphere, Tree_Part_Ellipsoid,
Tree_Part_Torus,
2013-03-15 22:05:06 -03:00
jmaustpc
f356c21dcb Minor mod to icons for Part Circle, Ellipse,Helix, Line
reduce size of Circle, Ellipse,Helix, Line, within the icons
To increase their spacings so when stacked they don't collide
2013-03-15 22:05:06 -03:00
jmaustpc
b327566c89 add ViewProviders & Tree icons for Part Point, Ellipse, & Helix
Add ViewProviders to select an icon for the part primitives
Point, Ellipse, Helix,
Also return Part Box tree icon to "Tree_Part.svg"
2013-03-15 22:05:06 -03:00
jmaustpc
efb2275527 new Part Primitives icons, display tree icons Part Line and Circle
New icons for Parametric Part Primitives
Point, Line, Circle, Ellipse, Helix

Display the icon in tree via independent viewproviders for
Part Parametric Line and Circle

Change Part Box tree icon to display yellow Part Box icon from the tool bar
2013-03-15 22:05:06 -03:00
wmayer
25b66b5e56 Apply Jim's patch 2013-03-07 14:54:13 +01:00
wmayer
fbca805e3a Fix wrong order of arguments in Part.makeThread 2013-03-05 12:57:26 +01:00
wmayer
b3836161e2 Validate face in extrusion feature 2013-03-03 12:24:23 +01:00
wmayer
14d0fc4d88 Fix compile error with OCC 6.5.x 2013-02-19 17:38:43 +01:00
wmayer
00cc5af5d8 Fix for sweep if selected trajectory is broken 2013-02-19 15:17:24 +01:00
jriegel
9882c15ea5 Fix for TopoShapeFacePyImp.cpp for older OCC versions 2013-02-17 15:44:49 +01:00
wmayer
bdd41c40a0 Mesh analyzing algorithms 2013-02-17 08:28:01 +01:00
logari81
135f534ff6 Part: Avoid code duplication in Part2DObject 2013-02-13 12:18:31 +01:00
jrheinlaender
fdeabbe6d9 Re-worked Part::checkIntersection to give less false positives for pattern features 2013-02-08 14:32:00 +01:00
logari81
3562efa5d5 PartDesign: Refactor pattern features and gui
- remove StdDirection,StdAxis and StdMirrorPlane properties
- support sketch H_Axis, V_Axis, N_axis as valid references in patterns
- polish reference selection gui (unified for standard axes and custom references)
2013-01-09 23:18:38 +01:00
wmayer
8189b9a869 Do not pass 0 to PyObject_IsTrue 2012-12-30 23:16:56 +01:00
wmayer
1cdcbfa77a Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
jriegel
adada37807 remove some loging for release 2012-12-20 22:23:08 +01:00
wmayer
90bdf1d3bd 0000919: Crash on upgrade from wire to face 2012-12-20 15:19:16 +01:00
Yorik van Havre
7f882a66b5 Updated with latest crowdin translations 2012-12-18 13:28:11 -02:00
wmayer
8ae01022f6 0000910: Circles Extrude Only Surfaces 2012-12-18 14:33:59 +01:00
wmayer
c8cacace17 Do some error checking for sketch based features 2012-12-13 20:59:53 +01:00
logari81
7eb5b9e6dc Sketcher: Enable positioning of sketches with the manual alignment tool 2012-12-10 13:58:45 +01:00
wmayer
78c255849f Make automake distcheck ready 2012-12-08 15:45:17 +01:00
Yorik van Havre
ed6cd0ce59 Updated translation strings 2012-12-07 10:56:57 -02:00
wmayer
430f35cb92 0000903: V0.13 - Change Individual face color on solid is missing (finish this in 0.14) 2012-12-07 12:13:36 +01:00
wmayer
15fc11c16f Fix build failures with automake 2012-12-06 20:13:24 +01:00
wmayer
3e57b08c6a Add icon for cross-sections command 2012-12-03 12:34:12 +01:00
wmayer
1d80d7e617 Define closeDialog() method in Control as slot to allow delayed destruction of task dialogs 2012-11-28 13:48:22 +01:00
wmayer
070f9ad47a Open transaction when start editing with context-menu 2012-11-28 13:24:46 +01:00
wmayer
f3efe8493d Check for compound with single solid for thickness tool 2012-11-27 11:18:25 +01:00
wmayer
93adc4cbd5 Little fix on offset/thickness task panel 2012-11-26 21:51:17 +01:00
wmayer
9c61558ffc Add thickness function 2012-11-26 21:10:09 +01:00
wmayer
53413d15e4 Add Face.OuterWire and mark Face.Wire as deprecated 2012-11-26 10:05:50 +01:00
wmayer
b38b4b7159 Offset function 2012-11-25 15:56:46 +01:00