Commit Graph

71 Commits

Author SHA1 Message Date
logari81
3c9053a599 + preparation for external geometry constraints in the sketcher
+ change value of H_Axis and V_Axis constants
+ external Geometry transferred in reverse order from SketchObject to Sketch
+ replace construction property with external property in GeoDef
+ support negative geometry indices in the Sketch class
+ whitespace and variables naming improvements, typo fixes


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5340 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 00:25:34 +00:00
wmayer
d0e7e9dabc 0000552: Add the ability to calculate inertial properties of parts
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5338 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-23 17:40:58 +00:00
wmayer
eb2e4a7a73 + add attribute MatrixOfInertia to solid
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5337 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-22 14:15:44 +00:00
wmayer
588c246918 + show wait cursor for refinement command
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5330 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 19:24:41 +00:00
wmayer
81906b86a4 + updated refinement algorithm (tanderson69)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5329 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 19:16:18 +00:00
wmayer
4cb8920c15 + fix VS2010 build errors
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5328 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 10:25:52 +00:00
wmayer
d41f67e84f + fix for refinement algorithm
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5320 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 13:15:30 +00:00
wmayer
52d65e2085 + port to OCC 6.5.2
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5318 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 12:58:47 +00:00
wmayer
040a5c16cd + fix crash in refinement algorithm
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5314 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-16 11:13:59 +00:00
wmayer
133c519ea3 0000539: Write message if off-screen rendering failed
+ use removeSplitter() in shape builder

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5308 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 17:12:45 +00:00
wmayer
3b5c2c951f + add GUI command for shape refinement
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5307 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 13:16:44 +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
b3156069ab 0000531: Python API: Mirroring rotated parts produces undesired results
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5296 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 18:01:59 +00:00
wmayer
d5d74e140e + check if creation of face was successful
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5292 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 10:30:51 +00:00
wmayer
7b724d7137 + little fix
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5291 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 10:16:33 +00:00
wmayer
9e4190f197 + optimize model refine algorithm (tanderson69)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5290 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-13 09:53:51 +00:00
wmayer
22e0d26383 + fix tolerance issue in FaceTypedPlane::isEqual()
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5287 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 23:10:37 +00:00
logari81
e2ce022839 + add axis link property to the PartDesign/Revolution feature
+ fix placement of the PartDesign/Revolution feature to the placement of its sketch/support


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5279 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 17:53:48 +00:00
wmayer
2b4147da66 0000507: Part/Part Design: allow edge preselection for chamfer/fillet
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5275 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 14:27:34 +00:00
wmayer
bde949f7e4 0000519: Patch to set proper RPATH's for system wide installation on Linux
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5270 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-11 12:36:36 +00:00
wmayer
e95de7090d + add method to get SoDetail from element name
+ fix broken selection mechanism

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5260 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 21:11:20 +00:00
logari81
fad7696ad4 + avoid code repetition in positioning of Sketch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5254 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 15:14:56 +00:00
wmayer
6e138c79d7 0000451: boolean operation display mode
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5251 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 14:17:22 +00:00
wmayer
400a4d719d + check shape type after shell construction
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5247 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 10:45:18 +00:00
wmayer
a7753882d7 + handle special case when removing splitter of a shell
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5245 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-09 18:38:03 +00:00
wmayer
831b6c010b 0000527: removeSplitter closes holes (tanderson69)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5243 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-09 12:10:01 +00:00
logari81
a5c8113aaa + fix wrong positioning of Sketch on rotated Support
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5240 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-08 20:10:57 +00:00
wmayer
d6d7914079 + in removeSplitter() only allow shells or solids
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5236 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-08 10:06:58 +00:00
wmayer
5359085335 + little fix
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5234 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-08 08:53:54 +00:00
wmayer
b9e1a370e7 + fix bug in cone where also a radius of 0 must be allowed
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5231 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-07 20:26:36 +00:00
wmayer
271291a2d0 + add Thomas Anderson's remove splitter algorithm
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5228 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-07 15:16:57 +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
e741f3a2d4 + make copy of shape and remove triangulation before exporting
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5205 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-02 11:10:23 +00:00
wmayer
25755de65e 0000497: FreeCAD crashes when calling Part.makeFilledFace with list of lines
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5197 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-28 14:44:34 +00:00
yorikvanhavre
690e5090dc + updated finnish translations I had forgotten
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5187 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-26 14:40:06 +00:00
yorikvanhavre
70d6ab1db3 + updated Part translations
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5176 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-24 23:04:52 +00:00
wmayer
2a14ddde2d + fix command Part_ReverseShape
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5158 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-23 09:10:08 +00:00
wmayer
978392f78a + remove Part_ShapeInfo command
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5157 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-23 09:05:06 +00:00
wmayer
e35a042c2d + 0000478: Segfault on insert part into 2D drawing (workaround)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5144 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 10:31:04 +00:00
wmayer
a512879ba1 + fix non-parametric makeHelix() function in Part module
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5143 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 10:02:26 +00:00
wmayer
8b72179991 + make a solid shape from a wedge
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5139 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-15 16:00:03 +00:00
wmayer
b900ccc94b + extend convention of local axes to non-aligned global axes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5137 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-15 12:40:30 +00:00
wmayer
9dcfe40a73 + consistent use of sketch base point
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5134 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-15 08:44:58 +00:00
wmayer
84be918bec + use standard views if plane normal is parallel to main axis
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5131 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-14 18:17:41 +00:00
wmayer
63b77aab4e + fix build failure
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5127 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-13 21:09:33 +00:00
wmayer
b297f4b9a0 + rename file to avoid build errors (with a Linux guest building on a Windows host)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5124 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-13 15:38:24 +00:00
wmayer
6a9dff8129 + do some code clean up
+ adjust type id according to inheritance of view providers

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5111 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-10 16:40:14 +00:00
wmayer
5f907d1278 + remove .png file extension from pixmap for Part_Primitives command
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5110 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-10 15:58:40 +00:00
jriegel
72bfc3c74b + Add fillet dialog
+ fix undo/redo bug in edit PartDesign features 
+ partially clean up module dependency in ViewProvider base class

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5108 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-09 23:23:10 +00:00
wmayer
c7985e5c06 + rework edit modes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5102 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-08 21:15:49 +00:00