Commit Graph

178 Commits

Author SHA1 Message Date
wmayer
42b54c1293 Fix build failure 2013-04-10 09:41:44 +02:00
wmayer
f43f70f395 Implement GeometryCurvePy::length 2013-04-08 12:54:46 +02:00
wmayer
39e1b2dada 0001080: Wrong header define PART_GEOMETRY_H in ProgressIndicator.h 2013-04-03 13:12:17 +02:00
wmayer
8b0bf33344 Disable NetgenPlugin for gcc and mingw 2013-04-01 17:40:52 +02:00
jriegel
60c4b3ecc4 Treat OCE in LibPack8.x with respect to debug/release 2013-03-31 00:16:17 +01:00
wmayer
c70a39c961 Minor repairs per jriegel/jmaustpc (fixes from wandererfan) 2013-03-30 13:42: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
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
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
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
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
wmayer
7408cc7589 0000919: Crash on upgrade from wire to face 2012-12-20 15:19:16 +01: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
a1bf6277f1 Check for compound with single solid for thickness tool 2012-11-27 11:18:25 +01:00
wmayer
72bba68c2b Add thickness function 2012-11-26 21:10:09 +01:00
wmayer
b0b2509457 Add Face.OuterWire and mark Face.Wire as deprecated 2012-11-26 10:05:50 +01:00
wmayer
3a0067d19a Offset function 2012-11-25 15:56:46 +01:00
wmayer
96afbb2756 Fill&sew shape and its offset 2012-11-24 21:24:58 +01:00
wmayer
aee645ee9d Make more consistent method names in TopoShape 2012-11-24 20:45:47 +01:00
wmayer
96f5e18b61 Add missing break statement in switch block 2012-11-23 12:29:54 +01:00
wmayer
babd172328 Fix crash when accessing non-existent sub-element in TopoShape 2012-11-07 11:00:03 +01:00
jrheinlaender
32628462c2 PartDesign, Transformed features: Improved intersection check 2012-10-22 17:49:54 +02:00