Commit Graph

472 Commits

Author SHA1 Message Date
wmayer
834c0a642d + include missing header files 2015-07-01 13:02:29 +02:00
Abdullah Tahiri
0e92e6356f Sketcher: Major re-structuration: New Solving Model: General Sketch Solve call reduction
=======================================================================================

ActSketch in ViewProvider dissapears. The temporal sketch (sketch.cpp) for solving is now a data member of SketchObject.cpp (hereinafter solvedSketch). All the solving is concentrated in SketchObject.cpp.

SketchObject provides an interface to expose its solver, as it is still currently needed for some UI operations from ViewProviderSketch, like dragging points (solving rubber bands).

ViewProviderSketch still can select whether to draw the solvedSketch geometry (previously ActSketch) geometry (UI staff) or the SketchObject geometry. Performancewise, it makes sense to separate this two
geometries, as the SketchObject one involves modifying the Geometry and Constraint Properties (including all the undo related functionality), which would mess the undo functinality and incur in a big
peformance penalisation while dragging. One characteristic of solvedSketch is that its geometry is solved, whereas the geometry of SketchObject may not have been solved yet.

These geometries may differ at for the following reasons:
1. The geometry corresponds to an ongoing dragging operation, so solvedSketch has the last calculated dragging geometry, while SketchObject has the one corresponding to initial position.
2. Geometry/constraints were added to the sketch, but no solve/execute was triggered yet (envisioned situation is the future group creation functionality not in this commit).

What do I gain?

- Inserting a (simple) geometry element now costs 1 solver execution.
- Inserting a constraint now costs 1 solver executions.

For reference, in previous versions inserting a constraint involved 5 solver executions.

The following information provide a historical review of the coding of this commit (formed of 10 squashed commits):

This is a general sketch solve call reduction, not only during geometry creation (this commit does not include until here any specific measure to reduce calls on geometry creation, that is another branch)

After a lot of profiling, it seems that the "cause"(tm) that creates so many solver calls is that every update generates a solving in ViewProviderSketch, regardless of the need for that update,
many times with the only aim of providing the DoF for the message dialog and keeping ActSketch in sync with SketchObject in case it is needed (currently UI moving points, constraints,...).

Sketch solver is now a data member of SketchObject instead of a temporal object that gets initilized and destroyed.

This allows:
1. Potentially more synergy reducing calls to setUpSketch (still to be seen, still to be optimized)
2. Allowing SketchObject to access the latest geometry that has been solved => In future, allow objects that use SketchObject to obtain the latest
solved geometry instead the geometry of SketchObject that may still be unsolved. This is relevant for drawing the geometry

No more solving in ViewProviderSketch. Solving a Sketch is now an exclusive competence of SketchObject.

There is however a lot of cleaning to do in ViewProviderSketch

(I mean, not that these commits are making a mess in VPSketch,
but that as a consequence of the changes, it should be possible to
optimize VPSketch, specially moving and drawing methods)

Very useful comment for future developers that may wonder why a solve per constraint just upon addition is necessary.

Added a new function to get the size of the geometry of the instance of the solver object (Sketch.cpp).
The previous way was to extract the geometry, which is costly and error prone, as you have to delete it afterwards.

Inserted comment about the necessity of triggering a Part2D update during edit mode
2015-06-15 22:53:59 +02:00
Przemo Firszt
c5903523ea Part: PartDesign: Fine tune chamfer, fillet and draft icons
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-24 10:52:26 +01:00
wmayer
00a124cea1 + Pad type UpToFirst and UpToFace doesn't produce expected results. 2015-05-16 14:19:20 +02:00
wmayer
a6436f7d12 + fixes #0001655: Pocket type UpToFirst and UpToFace doesn't produce expected results. 2015-05-16 12:44:07 +02:00
Sebastian Hoogen
db13fbb7b3 add angularDeflection property to ViewProvider
issue #1868
2015-03-21 19:27:43 +01:00
DeepSOIC
08f7afb0e4 PartDesign: fix wrong sketch pad (#1854)
Fixes the issue where, when a sketch is cloned, and selected for
padding, the clone gets padded instead of the sketch.
It also allows padding of a sketch that is already used by anything
else, except for PartDesign features.
+ the same fix for PartDesign Revolution.
2015-03-14 14:18:34 +01:00
Yorik van Havre
0009e58291 Merged crowdin translations 2015-03-07 15:17:58 -03:00
Yorik van Havre
8d8eba6dac Updated ts files from source 2015-02-27 18:56:51 -03:00
Yorik van Havre
8d98921dd7 Updated translations from crowdin 2015-02-27 18:46:03 -03:00
Yorik van Havre
ae3fafea6c Updated base translation files for crowdin 2015-01-13 20:00:09 -02:00
wmayer
477099bbfe + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
wmayer
010fc6f307 + fixes #0001721: PartDesign Pad 'Up to face' face selection in the 3D view not working 2015-01-06 18:38:33 +01:00
wmayer
fb19ea5089 + fixes #0001870: Revolution and Groove in Part-Design do not hide the sketch and parent-feature for some geometries 2015-01-06 15:00:24 +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
7801fbef3a + fixes #0001849: Enable Spin Boxes support for Pad, Fillet and Chamfer 2014-12-11 18:25:30 +01:00
wmayer
2608d0aaf2 + 0001849: Enable Spin Boxes support for Pad, Fillet and Chamfer 2014-12-07 00:38:02 +01:00
Sebastian Hoogen
debca91e98 remove support for automake 2014-11-26 10:26:30 +01:00
wmayer
a622d14c2d + port to CMake 3.0 2014-11-15 18:48:58 +01:00
wmayer
f02da38566 + fix Qt help problems 2014-10-01 17:16:43 +02:00
Sebastian Hoogen
e820a32653 issue #1701 2014-09-27 13:07:30 -03:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
wmayer
003c2bf77d + fix warnings with clang 2014-09-24 15:55:36 +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
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
wmayer
7c89591ff6 + allow to load PartDesign even if PySide is not found, suppress MinGW warnings 2014-08-30 23:26:29 +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
cc775f9254 + fix -Wnull-conversion, -Woverloaded-virtual, -Wlogical-not-parentheses, -Wsometimes-uninitialized 2014-08-26 19:14:13 +02:00
wmayer
854596aaa0 minor fixes in gear panel 2014-08-08 13:21:06 +02:00
Aglef Kaiser
420e71afbb Involute gear script extended for internal gears 2014-08-08 12:10:38 +02:00
jriegel
ec2198107b move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
Johan K
7fadaa0a55 Added more regular polygons to the sketcher gui 2014-07-27 00:25:40 +02:00
wmayer
dfea0206ca + fix doc string 2014-07-22 14:49:25 +02:00
wmayer
c693916fb1 + support units in hole panel 2014-07-22 14:47:37 +02:00
wmayer
cb5e72974c + support units in hole panel 2014-07-22 14:47:09 +02:00
wmayer
57cdb8aed5 + support units in draft panel 2014-07-22 14:44:20 +02:00
wmayer
3585403ee2 + support units in polar pattern panel 2014-07-22 14:39:23 +02:00
wmayer
67b85ff8c3 + support units in revolve panel 2014-07-22 14:30:30 +02:00
wmayer
4b644b2821 + support units in groove panel 2014-07-22 14:23:10 +02:00
wmayer
ea6c5407d9 + support units in pocket panel 2014-07-22 14:13:45 +02:00
wmayer
a5e27444d0 + minor issue solved with message label of linear pattern panel 2014-07-22 11:08:43 +02:00
wmayer
107a7f50dc + fix bug in chamfer/fillet when aborting command 2014-07-22 11:02:45 +02:00
wmayer
d2cbd6817f + fixes 0001563: Add units to Linear Pattern in PartDesign 2014-07-22 10:39:44 +02:00
wmayer
4ae0d4db53 + do not allow negative numbers in fillet and chamfer panel 2014-07-18 15:23:36 +02:00
wmayer
af4aa69d35 + fix crash when trying to edit broken revolve object 2014-07-13 11:34:36 +02:00
wmayer
d7fafdb2b6 + split create/edit sketch command into two commands 2014-07-13 10:17:50 +02:00
wmayer
f91c64aba9 + fix crash when trying to edit broken revolve object 2014-07-12 16:13:13 +02:00
wmayer
82b8df576d + select value in task pad panel 2014-06-10 12:33:56 +02:00
wmayer
30e8c12f54 + fixes #0001562: Add units to Fillet and Chamfer in PartDesign 2014-06-10 12:33:14 +02:00
wmayer
8923810e1d + fixes #0001562: Add units to Fillet and Chamfer in PartDesign 2014-06-10 12:32:57 +02:00
wmayer
c05801d6ed + fixes for sketcher 2014-06-03 11:24:49 +02:00
Yorik van Havre
940f7e69ba Updated translations 2014-05-24 17:35:20 -03:00
wmayer
17b7003ea7 + fixes #0001549: crash with Draft move tool while sketch is in edit mode 2014-05-20 15:25:03 +02:00
Johannes Reinhardt
95dd0cc5a1 fix typos in PartDesign module 2014-05-16 19:26:29 +02:00
wmayer
c212e75fcc + allow to always run macros, fix disappearing grid in sketcher 2014-05-13 16:20:51 +02:00
Yorik van Havre
ec442507e1 Updated ts files 2014-05-11 14:49:24 -03:00
wmayer
068452f0ac + add '_' as prefix for PartDesign module to fix name clash 2014-05-10 14:12:25 +02:00
wmayer
6b89c03181 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
wmayer
3b5cdda879 + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00
wmayer
3b6d07833d + compile with clang 2014-05-05 16:24:01 +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
1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
5fbc308ce4 Comment to document why this module alone is installed differently 2014-04-30 13:41:17 +02:00
mdinger
88a3e5bf0e Add 4th optional parameter to set linux install path 2014-04-30 13:41:17 +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
3ceb840f5d + put fillet, chamfer, array features into the same group 2014-04-25 19:42:35 +02:00
wmayer
5370e20ce8 + fixes #0001514: Padding a sketch inside a group fails with error message 2014-04-25 17:28:32 +02:00
wmayer
e47b85994c + fix possible crashes in mirror and polar pattern feature 2014-03-31 16:35:22 +02:00
wmayer
aaeba38e78 + Fix crash when editing the linear pattern feature, suppress some warnings in release mode 2014-03-31 14:42:55 +02:00
wmayer
ce7a3ecaa2 + fixes #0001490: Implement a perimeter circle (3 point circle) similar to solidworks in sketcher (mdinger) 2014-03-29 12:03:17 +01:00
wmayer
225184270a + set correct group information to pad and pocket properties 2014-03-21 15:18:26 +01:00
wmayer
d1341f36f7 + issue #0001475: Implement a 3 point arc similar to solidworks in sketcher 2014-03-16 16:03:32 +01:00
wmayer
ea4abcb57a + issue #0001475: Implement a 3 point arc similar to solidworks in sketcher 2014-03-15 12:50:24 +01:00
Yorik van Havre
3a8d83bed9 Updated ts files from source 2014-03-10 20:36:59 -03:00
wmayer
849e39f576 + Disable debug prints in gear feature, fix JSON error on save and load 2014-02-28 10:21:49 +01:00
wmayer
6b578d13fc + Avoid to open two transactions when creating a pad 2014-02-28 10:02:59 +01:00
wmayer
1e2268e8b6 + PySide migration 2014-02-27 19:15:46 +01:00
jriegel
6d1d55dc15 Implement the python gear feature 2014-02-16 22:19:59 +01:00
jriegel
587f6b220b add fcgear
http://forum.freecadweb.org/viewtopic.php?f=9&t=5703
2014-02-16 22:19:55 +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
893a5d3a86 + PropertyLength inherits PropertyQuantity 2014-02-13 17:03:48 +01:00
wmayer
6f2f417976 + Fix undo/redo issue with pad 2014-02-12 16:15:24 +01:00
wmayer
e9b275c7e6 + support loading projects with old pad features, fix critical bug where the unit gets replaced 2014-02-12 15:14:02 +01:00
jriegel
893f330043 Fix default bug in Pad dialog 2014-02-09 19:21:01 +01:00
jriegel
a97f53a5e7 Fully implement Units in PartDesign Pad 2014-02-09 16:23:06 +01:00
jriegel
3f9642136c Merge remote-tracking branch 'refs/remotes/s7726-repo/PadToolDatum' 2014-02-09 16:23:05 +01:00
Gavin Swanson
a40a5dd12d Add fancy unit/math input to pad tool
Pad tool does not currently save the units, so the result is still in mm.
2014-02-07 22:10:31 -08:00
Joshua Christopher
0af6f52369 Set enable-disable states for Reversed checkbox 2014-02-05 15:41:35 -02:00
Joshua Christopher
165a4e530a Added a reversed checkbox. 2014-02-05 15:41:35 -02:00
jrheinlaender
2954d9a960 Port of WizardShaft to PySide 2014-01-06 16:21:09 -02:00
wmayer
847b6b79e0 + Replace math.h with cmath 2014-01-05 11:25:40 +01:00
Yorik van Havre
782cae1d22 Updated forum links to the new subdomain 2013-11-11 11:42:34 -02:00
Yorik van Havre
355942355f Updated links to the new forum 2013-11-06 19:32:45 -02:00
wmayer
957cedc1ff + Add a sketch validation panel 2013-10-15 17:11:49 +02:00
jriegel
30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
44c07da571 integrate Quantities into PropertyView and activate preferences again 2013-09-25 21:59:24 +02:00
jriegel
664c1d4862 Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
wmayer
3cc032c11e + Add option to refine solid on sketch-based features 2013-09-21 09:16:44 +02:00
wmayer
f1f3151345 +Relicense from GPL to LGPL 2013-09-19 11:21:03 +02:00
wmayer
de9ad5ddfb 0001110: Decimal point entry in LinearPattern length field 2013-07-12 17:15:05 +02:00
wmayer
f511d5cc96 Remove updateUi() from slot functions 2013-07-12 12:55:37 +02:00
wmayer
227b1f6eb2 0001110: Decimal point entry in LinearPattern length field 2013-07-12 12:49:37 +02:00
wmayer
bebd37a39a 0000459: Revolving a single line sketch fails 2013-07-10 15:26:31 +02:00
wmayer
f86c65644c Try alternative sort method 2013-07-09 10:40:37 +02:00
wmayer
14ced6b202 0001133: crash at padding a sketch with 42 holes 2013-07-03 07:56:36 +02:00
wmayer
e5224f1140 Fix license of script 2013-06-19 10:21:01 +02:00
wmayer
6551cc4d81 Command to reorient sketch 2013-04-29 21:12:45 +02:00
jriegel
60c4b3ecc4 Treat OCE in LibPack8.x with respect to debug/release 2013-03-31 00:16:17 +01:00
wmayer
f69b57459b Support to write vector list and float lists in old format, fix issues in property editor, move back to float for curvature type 2013-03-30 12:32:53 +01:00
jrheinlaender
8df84e76c4 PartDesign module moving float -> double 2013-03-25 17:42:29 +04:30
jrheinlaender
be36a348c8 Shaft Wizard: Right-click on column header brings up context menu 2013-03-24 16:28:13 +04:30
jrheinlaender
f9d677e594 Shaft Wizard: Removed unnecessary (and erroneous) class variables which now allows the wizard to be called multiple times in a session... 2013-03-24 15:52:15 +04:30
wmayer
efc29e4422 Move from float to double 2013-03-23 15:12:04 +01:00
jrheinlaender
a085e21e9a Bug fixes 2013-03-22 19:29:45 +04:30
jriegel
a44f1f32ff Intgrate Jans FEM PullRequest 2013-03-22 12:49:05 +01:00
jrheinlaender
d6dadf0a3b Fixed unit mismatches in Shaft Wizard 2013-03-22 08:12:05 +04:30
wmayer
ce0e6e5cef Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
jrheinlaender
ac91d8b0ec Enhancements to Shaft Design Wizard, e.g. display of stresses for three axes and bending curve for shaft 2013-03-21 16:58:40 +04:30
jrheinlaender
d48542cf56 Split code into separate files for each constraint type 2013-03-21 16:56:57 +04:30
jmaustpc
9da66cbb02 Add and display PartDesign Tree icons
created Partdesign_Hole, Tree_PartDesign_Pad, and
Tree_PartDesign_Revolution SVG icons
Referenced the above in the PartDesign.qrc file
Modified the ViewProviders to display the Tree_icons
for Chamfer, Fillet, Draft, Groove, Hole, LinearPattern,
Mirrored, MultiTransform, PolarTransform, Revolution,
Scaled, Pad and Pocket.
PartDesign_Hole has not been implemented yet however
the ViewProvider has been, so I added the icon
2013-03-19 11:11:51 -03:00
jrheinlaender
8235008ae7 PartDesign: Show overlapping transformations as rejected 2013-02-26 11:29:03 +01:00
jriegel
11b4abf24a Log in FemMesh view provider and some warnings fixed 2013-02-18 22:29:02 +01:00
wmayer
3b80f64e6c 0001013: 0.13 program crash 2013-02-17 08:43:21 +01:00
logari81
046504234f PartDesign: Intelligent defaults for the Reversed flag of Revolution/Groove features 2013-02-14 16:06:23 +01:00
logari81
ccf15f968c PartDesign: Add method suggesting Revolution Reversed property so that material is always added to the support 2013-02-14 00:39:10 +01:00
jrheinlaender
8eef02111d PartDesign: Add method suggesting Groove Reversed property so that material is always removed from the support 2013-02-14 00:32:02 +01:00
logari81
d13afa7c3c PartDesign: Highlight in red the rejected transformations when editing pattern features 2013-02-13 14:06:36 +01:00
logari81
e2e351b3ba PartDesign: Remove unnecessary updateActive calls from creating pattern commands 2013-02-13 12:24:12 +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
5df7f2db88 PartDesign: fix exiting a TransformedFeature editing while in reference selection mode 2013-02-07 23:46:53 +01:00
logari81
9907c09efd PartDesign: Custom sketch axes as references in linear pattern and mirrored feature 2013-02-07 21:04:00 +01:00
logari81
39792f0773 PartDesign: Fix mirrored feature with respect to custom sketch axis 2013-01-18 09:51:50 +01:00
logari81
860a65d0a6 PartDesign: Deactivate nesting of original features in patterns 2013-01-09 23:35:32 +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
f80c88b0cd Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2013-01-09 14:10:49 +01:00
wmayer
5af75be21b License issues 2013-01-09 14:09:22 +01:00
logari81
afb3355193 Make Multitransform children inherit its Placement 2013-01-06 23:33:00 +01:00
jriegel
f9da20f097 fix of #917 2012-12-20 19:10:29 +01:00
Yorik van Havre
f4a47f089c Updated with latest crowdin translations 2012-12-18 13:28:11 -02:00
wmayer
8b006b27dd Disable Placement editing for part design transformation features 2012-12-18 10:35:30 +01:00
wmayer
9cbb88941f Improve algorithm to check intersection of axis and sketch 2012-12-16 16:32:17 +01:00
wmayer
043dc60403 Do some error checking for sketch based features 2012-12-13 20:59:53 +01:00
wmayer
0a6979e0b9 Improve algorithm to check intersection of axis and sketch 2012-12-13 19:11:37 +01:00
wmayer
22cfda67de Fix bug in check for intersection of axis with sketch 2012-12-11 20:06:56 +01:00
wmayer
bd5359f542 Some little fixes 2012-12-10 14:02:37 +01:00
logari81
85585cf49e PartDesign: Enable manual alignment tool for PartDesign features 2012-12-10 13:58:44 +01:00
wmayer
d838f44e3c Make automake distcheck ready 2012-12-08 15:45:17 +01:00
wmayer
3c3abd456b Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-12-07 14:04:03 +01:00
wmayer
515f30c1a0 0000906: Segmentation Fault when try to use linear pattern on Part, fix some issues with selection gate 2012-12-07 14:01:49 +01:00
Yorik van Havre
71b1777e8a Updated translation strings 2012-12-07 10:56:57 -02:00
wmayer
64e1c3635d Fix build failures with automake 2012-12-06 20:13:24 +01:00
wmayer
f9cff4c8a2 Improved algorithm to detect intersections of rotation axis and sketch 2012-12-06 13:21:10 +01:00
wmayer
6455c4edad Update draft and shaft icons 2012-12-04 12:21:54 +01:00
wmayer
1b957e98bc Fixes for OCC 6.3 2012-12-04 11:32:30 +01:00
jrheinlaender
40e3fa7a21 FeatureDraft: Omitted use of Remove() because of OCC bug 2012-12-04 10:59:46 +01:00
jrheinlaender
d6bd7f1a7d Added for bore feature 2012-12-04 10:59:45 +01:00
jrheinlaender
3d4bca27b9 Added bore command to partdesign workbench 2012-12-04 10:59:45 +01:00
jrheinlaender
8371982dfc Added check to Revolution and Groove for sketch axis intersecting the sketch face 2012-12-04 10:59:44 +01:00
jrheinlaender
8a1c9f0651 Fixed UI bugs 2012-12-04 10:59:44 +01:00
jrheinlaender
37b3c3df0f Icon for PartDesign_Draft 2012-12-04 10:59:43 +01:00
jrheinlaender
d763053925 Fixed two bugs, thanks to wmayer 2012-12-04 10:59:42 +01:00
jrheinlaender
ac6f7a434b Removed unnecessary boundary check for FloatConstraint property 2012-12-04 10:59:42 +01:00
jrheinlaender
3871b75d3e Some notes on pad and draft features for future developments 2012-12-04 10:59:41 +01:00
jrheinlaender
0773311d5b Created Draft feature for PartDesign 2012-12-04 10:59:41 +01:00
jrheinlaender
ea1ae29985 WizardShaft: Automatic adjustment of axes length 2012-12-03 21:43:45 +01:00
jrheinlaender
3a8b127e6a Added inner diameter parameter for shaft wizard 2012-12-03 21:43:45 +01:00
jrheinlaender
48f06f64b8 Fixed bug that showed wrong scaling (m instead of mm) on x axis 2012-12-03 21:43:45 +01:00
wmayer
58a0ad50ec 0000896: ShaftDesign wizard incorrectly calls the active document 2012-12-03 14:28:56 +01:00
wmayer
14cdb9cd40 Add icons for sketcher commands 2012-12-03 12:50:31 +01:00
wmayer
747a0f1241 Add shaft icon without feature key 2012-12-03 12:12:09 +01:00
wmayer
c2d972d5f5 Add correct shaft icon 2012-12-03 12:11:03 +01:00
wmayer
6dddb653d3 Add icon to wizard shaft, error handling of missing python modules, slight changes to the wizard shaft command 2012-12-02 15:24:55 +01:00
jrheinlaender
179f526cd2 Added accept() method 2012-12-02 13:29:07 +01:00
jrheinlaender
0a98b35fea Moved the UI from a dock window into a task window
Added menu entry in PartDesign workbench menu
2012-12-02 13:29:06 +01:00
jrheinlaender
a375f6b4a9 Use plot module for graphs 2012-12-02 13:29:06 +01:00
jrheinlaender
1eb738fc3f Changed list views to comboboxes in the table 2012-12-02 13:29:05 +01:00
jrheinlaender
5c1948d8b6 Created shaft wizard (moved here from PartDesign branch) 2012-12-02 13:29:05 +01:00
wmayer
cc4734cafb Raise an exception if creating a face from wire of a sketch fails 2012-12-02 11:38:30 +01:00
wmayer
dd67c22837 Open transaction when start editing with context-menu 2012-11-28 13:24:46 +01:00
wmayer
4af7221a70 Resort sketcher commands 2012-11-26 12:24:01 +01:00
wmayer
f268a0ddb0 Add TKFeat to PartDesign module 2012-11-16 19:43:24 +01:00
jriegel
8a40df6c22 [#874] remove x,y,z from linear patter, cause makes no sense 2012-11-15 19:55:23 +01:00
wmayer
4ee5f7df47 include header 2012-11-10 01:11:55 +01:00
wmayer
08cfb85eba Fix compile error with OCC >= 6.5.2 2012-11-09 20:28:38 +01:00
wmayer
70e083267a Make remapping function more flexible 2012-11-09 13:48:40 +01:00
wmayer
d7d6bcda37 0000871: Changing size rotates other sketches 2012-11-07 20:01:36 +01:00
wmayer
1fb178db62 Reset modified flag after document is loaded, touch pad/pocket if its Type has changed 2012-11-06 21:12:39 +01:00
wmayer
c30c06caba Fix error in up to face option 2012-11-06 20:44:31 +01:00
jrheinlaender
ac2f2dc20e Fixed bug where sketch support face was used for distance measuring instead of sketch face itself (doesn't resolve problem of false positives, though) 2012-11-06 20:37:53 +01:00
jrheinlaender
b796b3af78 Fixed bug in Pad where option TwoLengths was broken if Symmetric had been selected before 2012-11-06 20:37:52 +01:00
jrheinlaender
6cdd265ca1 Enabled "Reversed" option for Pad up to first/last 2012-11-06 20:37:52 +01:00
jrheinlaender
44f15d5868 Pad/Pocket: Fixed bug that led to failed UpToFace when finishing the feature (thanks to wmayer for pointing this out) 2012-11-06 20:37:51 +01:00
wmayer
e432930f21 Algorithm to do a geometric matching (planes only) 2012-11-05 14:50:02 +01:00
wmayer
0149742d62 Fix problems when chaning language while pad/pocket panel is open 2012-11-05 10:57:52 +01:00
wmayer
efd61d256d Algorithm to remap support shape, fix bugs in pad/pocket 2012-11-04 16:48:52 +01:00
logari81
482a73b302 PartDesign: improve error handling in Pocket task dialog 2012-11-03 23:23:58 +01:00
jrheinlaender
13d68e99aa PartDesign, 758, 766, 773, 775: several improvements, fixes and code refactoring for Pad and Pocket 2012-11-03 23:07:48 +01:00