Commit Graph

658 Commits

Author SHA1 Message Date
wmayer
3fa8a1ed2b + fixes #0001874: Scripted constraints not evaluated correctly 2014-12-23 15:32:03 +01:00
wmayer
02cc02eaee + fix build failure 2014-12-21 11:21:32 +01:00
Abdullah Tahiri
75377ebfd3 Part Module New Feature: Hyperbola & ArcOfHyperbola
- Completed Hyperbola c++ implementation and python wrapper
- Created ArOfHyperbola c++ and python wrapper implementation
2014-12-21 00:54:07 +01:00
Abdullah Tahiri
6997cc9991 Part Module New Feature: Parabola & ArcOfParabola
- Completed Parabola c++ implementation and python wrapper implementation
- Created ArOfParabola c++ and python wrapper implementation
2014-12-21 00:51:24 +01:00
wmayer
6af1186d27 + remove Makefile.am, remove some leftovers, avoid including unneeded headers in GCS.cpp 2014-12-20 14:06:54 +01:00
Abdullah Tahiri
a458c3e6d2 Sketcher New Feature: Ellipse support
- Ellipse introduction button via (center,majaxis extreme, a point in edge), ellipse is always CCW so that Z axis goes in the positive direction of the sketch
- Backwards compatibility with files of previous versions of ellipse not defining a phi angle
- Art by Jim (all the icons you see and the XPMs shown on creation of an ellipse)
- Element Widget support for ellipses
- Box selection for ellipses
- Point on Ellipse constraint based on the gardener's method based on Ulrich's function proposal (radcan simplified, i.e. with simplify_radical sage function)
- Tangent: Ellipse to Line based on DeepSOIC's geometric formulation (radcan simplified)

Sketcher New Feature: Internal Alignment Constraint
- The element to which internal alignment is applied has to be selected last.
- All other elements are added in the order of priority, taking into account existing elements
- Art by Jim (beautiful icons).

Sketcher New Feature: Tool to show/hide/restore the internal geometry of an element
- New functionality for show/hide internal geometry:
  toggles between hiding all unused internal geometry elements and showing all internal geometry.
  The restore function is implicit to the showing all internal geometry

Sketcher New Feature: Arc of Ellipse support
- Part::Geometry + Python implementation
- ArcOfEllipse creation method
- Art by Jim (all the icons you see and the XPMs shown on creation of arc of ellipse elements)
- Sketcher Element widget for ArcOfEllipse.

Bug fix: Select elements associated to constraints works now for foci internal alignment constraints
2014-12-20 12:33:29 +01:00
wmayer
6872b2c393 + fixes #0001736: Parts with multiple colors are displayed in a single bad color after hiding 2014-12-04 14:36:43 +01:00
wmayer
351ad4f6c7 + fixes #0001363: VRML export can produce corrupt files 2014-12-02 15:40:36 +01:00
jriegel
38fc7ba604 Merge branch 'refs/heads/master' into review-CL-Bundler 2014-11-29 15:43:19 +01:00
Sebastian Hoogen
debca91e98 remove support for automake 2014-11-26 10:26:30 +01:00
jriegel
1bc6df8eac Merge branch 'refs/heads/master' into review-CL-Bundler
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-11-22 13:51:04 +01:00
jriegel
6483c66cba small fix for VS 2013 2014-11-22 12:46:10 +01:00
WandererFan
7a201f9b74 Work around for Mantis issue 0954 on Helix Primitive
To be removed after OCC helix bug corrected.
2014-11-17 17:45:34 -05:00
wmayer
3d03e208d9 + fixes #0001829: DlgPrimitives replaces non ASCII charaters in objects Labels by ? 2014-11-17 20:36:22 +01:00
WandererFan
ba97d17b2a Fix #0001722 Left-handed helix with an angle>0 produces 1 too many turns 2014-11-06 10:49:02 -02:00
blobfish
8d8c727ac5 Part: ModelRefine: Fix for avoid edges of edgeFuse not working 2014-11-05 14:54:38 +01:00
blobfish
37e0750cd2 Part: ModelRefine: adding bspline support 2014-11-05 14:54:36 +01:00
blobfish
0a94a9b78c Part: ModelRefine: Add FixMissingSeam 2014-11-05 14:54:36 +01:00
blobfish
1b9773299a Part: ModelRefine: fix for missing tolerances. 2014-11-05 14:54:35 +01:00
Jan Rheinländer
7d359a4618 Part: ModelRefine: Enhancement for cylindrical faces 2014-11-05 14:54:34 +01:00
wmayer
d66fc092e1 + better exception handling in Part module 2014-11-04 11:03:51 +01:00
wmayer
267ca0813a + fixes #0001798: Support general ellipsoid with three radii 2014-10-30 18:02:18 +01:00
wmayer
1f450972d2 + change between AP203 and AP214 schemes 2014-10-30 13:07:25 +01:00
wmayer
92ebfab47a + customize STEP header 2014-10-30 11:48:33 +01:00
wmayer
76906d20a0 + customize IGES header 2014-10-29 16:39:33 +01:00
wmayer
b6df4a490e + header for IGES files (disabled) 2014-10-29 12:29:48 +01:00
wmayer
c67f326174 + split STEP and IGES settings into separate pages, handle Brep mode of IGES format 2014-10-28 19:27:23 +01:00
wmayer
dd392efeb1 + fixes #0001735: Ellipsoids visibility problems 2014-10-16 19:36:54 +02:00
wmayer
84bd9a4a88 + fixes #0001779: memory leak 2014-10-16 18:57:53 +02:00
wmayer
a96f390097 + fix build problems with Python & MacOSX 2014-10-13 22:02:57 +02:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
Sebastian Hoogen
f1283cf24c fixes #1782 remove unused precsion parameters
from gp_Trsf::SetValues
2014-10-11 13:03:02 +02:00
wmayer
f02da38566 + fix Qt help problems 2014-10-01 17:16:43 +02:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
Stefan Tröger
72cab0c002 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
wmayer
26e01e0900 + build with Qt < 4.7 and OCC < 6.5 2014-09-20 17:49:29 +02:00
Sebastian Hoogen
57db95a1c3 issue #1701 removed further except: statements 2014-09-17 11:57:32 +02:00
Sebastian Hoogen
ed66ada1cf issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
d1fb7fa839 + do not add units to translation 2014-09-10 10:35:49 +02:00
Sebastian Hoogen
a81a307346 issue #1700 replace raise Exception() 2014-09-01 22:47:05 +02:00
Sebastian Hoogen
256d844801 python property Continuity of GeometrySurface 2014-09-01 11:04:38 +02:00
wmayer
5c269996b8 + restore lost changes, improve whitspaces, suppress useless MSVC warnings 2014-08-28 12:37:42 +02:00
jriegel
c1f0f70b88 Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-08-27 15:39:00 +02:00
wmayer
346e5c6a77 + fix more compiler warnings 2014-08-27 13:26:44 +02:00
wmayer
cc775f9254 + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
jriegel
ee64f54765 OCL tests 2014-08-17 20:15:12 +02:00
Sebastian Hoogen
4ba56b5c29 fixes #0001684: Sweep ignores the list of subshapes 2014-08-15 14:35:59 +02:00
wmayer
7eaa4fff74 + Support Quasi methods in discretize() 2014-08-14 19:11:51 +02:00
wmayer
ee2e7fc3fa + Give example for discretize() matching the shape type 2014-08-14 11:38:39 +02:00
wmayer
9ed61f107b + support First and Last keywords in discretize 2014-08-14 11:16:54 +02:00
wmayer
3d2a2b06f0 + fix and improve discretize() method 2014-08-13 23:33:27 +02:00
jriegel
ec2198107b move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
wmayer
ced08b0416 + fix memory leak 2014-08-02 18:26:23 +02:00
wmayer
406d32aebb + Replace InputField with QuantitySpinBox 2014-07-31 15:14:27 +02:00
wmayer
7294271c0c + Allow to get clean copy of a shape from Python 2014-07-30 12:21:22 +02:00
wmayer
dc7ccc41af + remove crude workaround as this seems to work now 2014-07-28 18:43:11 +02:00
wmayer
2e6c54eedf + improve the plane fit from REEN module 2014-07-28 16:39:34 +02:00
wmayer
4dee80f4e1 + support to create faces from vertices with shape builder 2014-07-25 13:35:10 +02:00
Sebastian Hoogen
65793d22e8 recognize OCCT -dev and -beta versions
as such in version string
2014-07-24 10:31:50 +02:00
wmayer
841b4fab1b + fixes #0001630: IGES-Export in [mm] turns to [Inches] 2014-07-23 13:49:16 +02:00
wmayer
80cc2e4710 + Replace OCC_HEX_VERSION with OCC_VERSION_HEX 2014-07-18 14:51:54 +02:00
Sebastian Hoogen
a0454af685 remove all references to BRepMesh 2014-07-18 10:43:16 +02:00
wmayer
a9d1979270 + include missing header file 2014-07-15 10:27:02 +02:00
wmayer
da708faa5e + support compounds of wires or faces for extrusion with tapered angle 2014-07-12 17:44:33 +02:00
wmayer
3d87d88616 + fix Part.makeTube 2014-07-05 15:48:50 +02:00
wmayer
c31b661004 + fixes #0001569: Bounding Box of Mesh::Feature in the Gui does not respect the Placement 2014-06-02 13:06:14 +02:00
Yorik van Havre
940f7e69ba Updated translations 2014-05-24 17:35:20 -03:00
wmayer
0acb77e8de + add missing header 2014-05-24 17:10:17 +02:00
wmayer
51b2af52fd + allow to select whole wire in sweep panel 2014-05-24 15:33:23 +02:00
wmayer
91ad22e3ab + allow to select whole wire in sweep panel 2014-05-23 19:27:14 +02:00
wmayer
a871364066 + replace degree symbol with 'deg' to make sure it works on all systems, force to use right codec to display floating numbers 2014-05-19 20:56:23 +02:00
WandererFan
5d2c285785 Add UNITS to Part Primitive Gui 2014-05-19 20:34:10 +02:00
Johannes Reinhardt
a1d04d82fb fixed typos in Part module 2014-05-16 19:26:06 +02:00
wmayer
318c4b6ce9 + fixes #0001547: add Part Spiral to the selectable list of profiles for a Part Loft 2014-05-15 12:37:39 +02:00
wmayer
f9ff3b250e + fixes #0001544: Python function to retrive direct children of a shape using TopoDS_Iterator 2014-05-14 18:14:06 +02:00
wmayer
f7a42f25b9 + extend makeFilledFace 2014-05-14 13:18:23 +02:00
jmaustpc
5c8ff0bf6c Part primitives dialogue minor typo and tab stops
change the u and v parameter’s label
from "parametric" to "parameter"
also
add tabstops in DlgPrimitives.ui
to correct the order of tab stops
for torus, Helix and spiral
input fields
2014-05-14 15:04:40 +10:00
wmayer
1fbfa1c17a + fix crash in SoBrepEdgeSet::renderSelection 2014-05-13 19:12:10 +02:00
wmayer
c212e75fcc + allow to always run macros, fix disappearing grid in sketcher 2014-05-13 16:20:51 +02:00
wmayer
0874bfac75 + path selection on sweep panel 2014-05-13 14:35:48 +02:00
Yorik van Havre
ec442507e1 Updated ts files 2014-05-11 14:49:24 -03:00
wmayer
6b89c03181 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
WandererFan
33a4b6d7ba fixes #1319
allow Part.makeHelix to use 'vertical height' parm
correct lefthanded conical helixes in TopoShape::makeHelix
2014-05-10 11:05:52 +02:00
wmayer
0467777d1b + remove unneeded semicolons 2014-05-08 17:32:23 +02:00
wmayer
3b5cdda879 + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00
wmayer
94f10f5d95 + issue #0001419: FreeCAD crash on Windows 8.1. 2014-05-05 22:24:16 +02:00
wmayer
3b6d07833d + compile with clang 2014-05-05 16:24:01 +02:00
blobfish
adda1afc4c Part: Check Geometry: Config option for new, additional BOP check 2014-05-03 19:14:55 +02:00
mdinger
337f05d56e Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
66de74d14a + Remove redefinition of /EHa which causes warnings with QtCreator 2014-04-30 19:21:49 +02:00
wmayer
1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
a17cce3559 Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
1942bb7906 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00
wmayer
b7ff37e53d + Update check states in fillet dialog 2014-04-25 11:45:39 +02:00
WandererFan
62f00095cd Issue #1508 Solid tickBox for Part.Revolution
Creates Solid for closed Edges & Wires
2014-04-25 10:07:21 +02:00
wmayer
db72aa2a98 + Improve performance when selecting all edges of an edited fillet feature 2014-04-24 22:29:07 +02:00
wmayer
573c1abb29 + Improve performance when deselecting all edges of an edited fillet feature 2014-04-24 17:30:58 +02:00
wmayer
96f366671b + improve performance of editing fillet feature (patch from chrisf) 2014-04-24 13:29:25 +02:00
WandererFan
d13946da11 Add function to Close Part.Loft (Gui & scripting) 2014-04-14 16:30:56 +02:00
wmayer
78b24c9ba7 + fixes# 0001502: crash when using 'move' tool in part workbench 2014-04-08 13:59:22 +02:00
wmayer
8c91a78703 + fix bug in spiral creation 2014-04-02 10:46:13 +02:00
wmayer
37cc136310 + do meshing of shapes in parallel 2014-04-01 16:38:44 +02:00
wmayer
6d53d9d50c + allow to set deflection of a mesh with exportStl 2014-03-27 10:41:25 +01:00
wmayer
9414c938c6 + Make extrude again working for shapes without wires but edges 2014-03-25 10:16:50 +01:00
wmayer
12277cccf2 + Fix reference leak in _getSupportIndex 2014-03-25 10:15:54 +01:00
wmayer
85bf3ab9f4 + make sure to keep the same order of lines inside a line set as the edge order 2014-03-18 11:11:08 +01:00
wmayer
e1bba45f4c + use more speaking variable names 2014-03-18 10:59:20 +01:00
wmayer
6e4bac95ca + use more speaking variable names 2014-03-18 08:15:21 +01:00
WandererFan
13cdc443fa Improve geom creation, scaling and translation 2014-03-18 07:57:44 +01:00
wmayer
7bc6e74115 + ignore v/h axes and grid of sketcher on view fit 2014-03-15 16:08:24 +01:00
wmayer
66819d9dfb + allow to use copy() method for a null shape 2014-03-15 13:05:06 +01:00
wmayer
23462b70d1 + fix some issues 2014-03-15 12:36:07 +01:00
wmayer
06239e9a57 + fixes #0001049: Sketcher preferences in preferences editor 2014-03-14 19:39:11 +01:00
wmayer
f96fbcacbe + fixes #0001412: Extruding sketch doesn't make a solid 2014-03-12 18:37:49 +01:00
wmayer
fb8b88773a + fixes #0001058: Add items to Fusion by dragging item onto it 2014-03-11 17:37:36 +01:00
Yorik van Havre
3a8d83bed9 Updated ts files from source 2014-03-10 20:36:59 -03:00
wmayer
2aaa63c5eb + move sketcher related settings into own page 2014-03-09 18:07:46 +01:00
wmayer
1f478269af + use dialog button box where possible, replace old Python icon 2014-03-08 15:17:56 +01:00
wmayer
040c19b1c1 + relates to #0001421 2014-03-06 16:35:33 +01:00
wmayer
92253429c5 + fixes #0001463: setting Vertex.Tolerance modifies bound and shared shapes 2014-03-06 09:50:49 +01:00
wmayer
5fdb762236 + work on item 0000494 2014-03-05 13:53:08 +01:00
wmayer
480bf1bfa7 + fix scale in TopoShapePy 2014-03-05 11:10:55 +01:00
blobfish
4f6b64f252 Part: ModelRefine: Skip conic edges.
Extension on Mantis #1450
2014-03-03 10:32:15 +01:00
Sebastian Hoogen
3986c887c3 BrepTools::Dump to string 2014-03-02 14:42:41 +01:00
wmayer
5f7ed33c40 + improve doc string (for bug 1257) 2014-03-02 13:12:23 +01:00
Sebastian Hoogen
fe0180d6b3 parse keyword arguments in Part::TopoShapePy::makeOffsetShape 2014-03-02 08:56:08 +01:00
blobfish
7eab688032 Part: ModelRefine: Skip spherical edges for edge fuse.
Mantis #1450
2014-03-01 13:15:16 +01:00
blobfish
f8b16e0bbb Part: CheckGeometry: Adding shape content widget to task 2014-03-01 12:45:54 +01:00
WandererFan
b3d1b7a2ea 1443: Fix ShapeString user font selection on Windows 2014-02-27 15:18:18 +01:00
Yorik van Havre
3f99b6ec26 Part: Fixed python representation of Part2DObject - fixes #1387 2014-02-24 16:10:51 -03:00
Yorik van Havre
204c37aa59 Fixed a regression in wire.makePipeShell caused by commit d62ed23 2014-02-22 11:01:43 -03:00
wmayer
e8cb83a48b + fixes #0001429: don't apply booleans on null shapes 2014-02-22 13:06:30 +01:00
blobfish
19f1d974c2 Part: CheckGeometry: Mantis #0001427
Store coin referenced pointer instead of viewprovider
2014-02-22 12:13:11 +01:00
blobfish
2915712842 Part: CheckGeometry: Mantis #0001426
Empty compound throwing exception for bounding box.
2014-02-20 17:46:04 +01:00
wmayer
e26735d354 + Fix for OCC 6.6 2014-02-20 10:33:09 +01:00
blobfish
f51ffa62f3 Part: CheckGeometry:
adding build entry name for dialog
    add bounding box to all entries
    fixed the positioning of bounding box
    removal of object hierarchy. boost function dispatch
    add BOPAlgo_ArgumentAnalyzer
2014-02-19 18:16:08 -05:00
wmayer
28b5d77408 + Set const attribute to Python binding of TopoFace where needed 2014-02-17 17:19:14 +01:00
wmayer
d3760deeeb + fixes #0001388: SIGSEGV in Part::GeometryCurvePy::toBSpline 2014-02-17 11:40:09 +01:00
wmayer
8de258dded + Fix compiler warning 2014-02-17 10:45:23 +01:00
WandererFan
ea0e7bed89 revise Part.distToShape return value format 2014-02-17 10:34:14 +01:00
WandererFan
dcc4839968 Add Part.distToShape() 2014-02-17 10:34:13 +01:00
jriegel
0fbe570f9e switch the physical Properties to Quantity and add Pressure and Force 2014-02-16 22:19:56 +01:00
jriegel
c9c24cf0b6 small fix 2014-02-16 22:19:54 +01:00
wmayer
fb994e204c + fixes #0000854: Ability to change number of digits to the right of decimal place in spinboxes 2014-02-16 18:02:09 +01:00
wmayer
1be3308c21 + fixes #0001413: Part.Shape.transformGeometry on Null Shape causes SIGSEGV 2014-02-15 19:54:15 +01:00
wmayer
e08635b1e8 + fixes #0001413: Part.Shape.transformGeometry on Null Shape causes SIGSEGV 2014-02-14 15:02:26 +01:00
jriegel
f8e49be141 Added new color types to Preferences 2014-02-10 21:25:54 +01:00
wmayer
06e77239e6 + fix minor error 2014-01-28 17:19:01 +01:00
wmayer
5de7738709 + fixes: #0001369: Part::TopoShape::getMemSize fails for Bezier Curves 2014-01-28 11:29:21 +01:00