Commit Graph

264 Commits

Author SHA1 Message Date
wmayer
73bcc4234c For shapes with no faces remove display modes >Flat lines< and >Shaded< 2013-03-28 14:39:30 +01:00
wmayer
95e19226c1 Fix typo 2013-03-27 11:18:44 +01:00
jriegel
a07f64a38a Merge branch 'shapestring' of WndererFan and includ configure switch. Windows default off! 2013-03-26 14:51:45 +01:00
jmaustpc
3c9dbdebbe flip arrow directions in Part_Export and Part_Import icons 2013-03-25 11:25:12 -03:00
jmaustpc
0ccbcffbf5 RuledSurface fixes, Switch Part_Mirror to SVG icon
RuledSurface fixes,
  claim children
  correct tool tip
  change default name from "Filled_shape" to "Ruled Surface"

Part_Mirror
  Switched icon in the tool bar, menu, and tree from
  the existing PNG icon to the also existing SVG icon
2013-03-25 11:25:12 -03:00
jmaustpc
f18ddea1b3 Add and display Tree icon for Part_RuledSurface 2013-03-25 11:25:12 -03:00
jmaustpc
7975633807 Add an icon for Part_Export
Add the icon and make it display in the
Part workbench Part menu
2013-03-25 11:25:12 -03:00
WandererFan
c723cc99d1 Tidy PyList creation code. Add test driver. 2013-03-22 10:35:34 -04:00
WandererFan
830743d2e6 Refactor PyList logic to FT2FC from AppPartPy. 2013-03-22 09:38:32 -04:00
wmayer
ce0e6e5cef Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
WandererFan
b507f618bb Refactor to move FC object creation from AppPartPy to FT2FC. 2013-03-21 09:14:25 -04:00
WandererFan
da8b6d4a81 Eliminate temporary vector in FT2FC. 2013-03-20 19:39:03 -04:00
WandererFan
6465e367eb Combine UCS2 & UTF-8 logic. 2013-03-20 19:12:53 -04:00
WandererFan
9c5608d8d2 Unicode cleanup. 2013-03-20 08:12:46 -04:00
WandererFan
88d037f26e Handle UTF-8 in Py strings. 2013-03-19 13:20:12 -04:00
WandererFan
d030445d39 Handle Py_UNICODE objects & ASCII Py_Strings 2013-03-18 18:05:38 -04:00
WandererFan
8b2c763e4a Basic ASCII text to wire version. Breaks on Unicode. std::exception handling. 2013-03-16 17:07:05 -04:00
jmaustpc
a3d68a1d34 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
a3ef789f5a 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
0a7a9d9cf2 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
59de0b5a9f 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
ecc28163bb 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
0b025ef5af 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
13601fbcd8 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
5c7c7b5bda 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
cb45f66745 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
e3777dafcc 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
1804fc5718 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
85bcb92856 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
7e3807ab49 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
c2114d25fd Apply Jim's patch 2013-03-07 14:54:13 +01:00
wmayer
5bd1427f1d Fix wrong order of arguments in Part.makeThread 2013-03-05 12:57:26 +01:00
wmayer
3025c6e292 Validate face in extrusion feature 2013-03-03 12:24:23 +01:00
wmayer
288f2f6476 Fix compile error with OCC 6.5.x 2013-02-19 17:38:43 +01:00
wmayer
00b4c9e192 Fix for sweep if selected trajectory is broken 2013-02-19 15:17:24 +01:00
jriegel
bbac07e846 Fix for TopoShapeFacePyImp.cpp for older OCC versions 2013-02-17 15:44:49 +01:00
wmayer
0abef4d4e3 Mesh analyzing algorithms 2013-02-17 08:28:01 +01:00
logari81
9c7719e91b Part: Avoid code duplication in Part2DObject 2013-02-13 12:18:31 +01:00
jrheinlaender
18da371546 Re-worked Part::checkIntersection to give less false positives for pattern features 2013-02-08 14:32:00 +01:00
logari81
525cddaaf3 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
0ebffa930a Do not pass 0 to PyObject_IsTrue 2012-12-30 23:16:56 +01:00
wmayer
1b345c193e Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
jriegel
fb2f381c1d remove some loging for release 2012-12-20 22:23:08 +01:00
wmayer
7408cc7589 0000919: Crash on upgrade from wire to face 2012-12-20 15:19:16 +01:00
Yorik van Havre
f4a47f089c Updated with latest crowdin translations 2012-12-18 13:28:11 -02:00
wmayer
f176811a4a 0000910: Circles Extrude Only Surfaces 2012-12-18 14:33:59 +01:00
wmayer
043dc60403 Do some error checking for sketch based features 2012-12-13 20:59:53 +01:00
logari81
1f51ebf8cf Sketcher: Enable positioning of sketches with the manual alignment tool 2012-12-10 13:58:45 +01:00
wmayer
d838f44e3c Make automake distcheck ready 2012-12-08 15:45:17 +01:00
Yorik van Havre
71b1777e8a Updated translation strings 2012-12-07 10:56:57 -02:00