Commit Graph

272 Commits

Author SHA1 Message Date
wmayer
a2b4b04c13 Better exception handling when writing STEP/IGES/BREP files via Python 2013-04-26 17:18:25 +02:00
wmayer
2255bdd30b Fix build failure 2013-04-10 09:41:44 +02:00
Yorik van Havre
52b0c605d4 0001062: New Part Helix icon 2013-04-08 17:09:31 -03:00
wmayer
48c69c820c Implement GeometryCurvePy::length 2013-04-08 12:54:46 +02:00
wmayer
451a6aa723 0001080: Wrong header define PART_GEOMETRY_H in ProgressIndicator.h 2013-04-03 13:12:17 +02:00
wmayer
54a6f70c99 Disable NetgenPlugin for gcc and mingw 2013-04-01 17:40:52 +02:00
jriegel
a5c8cd9c4b Treat OCE in LibPack8.x with respect to debug/release 2013-03-31 00:16:17 +01:00
wmayer
72d2a38d85 Minor repairs per jriegel/jmaustpc (fixes from wandererfan) 2013-03-30 13:42:30 +01:00
wmayer
75e8d64d09 For shapes with no faces remove display modes >Flat lines< and >Shaded< 2013-03-28 14:39:30 +01:00
wmayer
64be2e2d6b Fix typo 2013-03-27 11:18:44 +01:00
jriegel
39824cc7bf Merge branch 'shapestring' of WndererFan and includ configure switch. Windows default off! 2013-03-26 14:51:45 +01:00
jmaustpc
eab41bf05e flip arrow directions in Part_Export and Part_Import icons 2013-03-25 11:25:12 -03:00
jmaustpc
a5817a7e61 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
4660012901 Add and display Tree icon for Part_RuledSurface 2013-03-25 11:25:12 -03:00
jmaustpc
1e584dcb40 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
7ed64d340a Tidy PyList creation code. Add test driver. 2013-03-22 10:35:34 -04:00
WandererFan
14c21746b9 Refactor PyList logic to FT2FC from AppPartPy. 2013-03-22 09:38:32 -04:00
wmayer
605e85b952 Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
WandererFan
6ecee09443 Refactor to move FC object creation from AppPartPy to FT2FC. 2013-03-21 09:14:25 -04:00
WandererFan
bbc167ac67 Eliminate temporary vector in FT2FC. 2013-03-20 19:39:03 -04:00
WandererFan
3305dd24d3 Combine UCS2 & UTF-8 logic. 2013-03-20 19:12:53 -04:00
WandererFan
1f6b249c85 Unicode cleanup. 2013-03-20 08:12:46 -04:00
WandererFan
bcf6fda59c Handle UTF-8 in Py strings. 2013-03-19 13:20:12 -04:00
WandererFan
c3da34736f Handle Py_UNICODE objects & ASCII Py_Strings 2013-03-18 18:05:38 -04:00
WandererFan
070efe9d95 Basic ASCII text to wire version. Breaks on Unicode. std::exception handling. 2013-03-16 17:07:05 -04: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