Commit Graph

472 Commits

Author SHA1 Message Date
jrheinlaender
f954a51430 Pad/Pocket: Allow extrude up to a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender
b815656649 Refactored code of SketchBased features to have common code in an abstract superclass 2016-04-12 18:11:50 +02:00
jrheinlaender
0bcdb0511f Added Reversed button to Pocket UI if the sketch plane is a datum plane 2016-04-12 18:11:50 +02:00
jrheinlaender
6915d8b734 Miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender
3b95517a70 Drop into insert mode when user double-clicks on a PartDesign feature in the Tree 2016-04-12 18:11:50 +02:00
jrheinlaender
bc7dff7339 Moved unsetEdit() to ViewProvider to avoid code duplication in all feature ViewProviders 2016-04-12 18:11:50 +02:00
jrheinlaender
ba17aa2839 Try to be consistent with sketch plane orientation PartDesign module <-> Sketcher module 2016-04-12 18:11:50 +02:00
jrheinlaender
fe2e490645 Allow selecting back of base planes, miscellaneous fixes 2016-04-12 18:11:50 +02:00
jrheinlaender
0e8921c21f Simplified datum features by making use of the placement property 2016-04-12 18:11:50 +02:00
jrheinlaender
f6fb4814d1 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
2aea9bbf96 Automatically adjust datum line/plane size to Body bounding box 2016-04-12 18:11:49 +02:00
jrheinlaender
a6431ee5cf Improved bounding box calculation for datum feature display size 2016-04-12 18:11:49 +02:00
jrheinlaender
02dfb8551d Moved some methods from PartDesign::Body to Part::BodyBase so the SketchObjects will be removed cleanly from the Body when deleted 2016-04-12 18:11:49 +02:00
jrheinlaender
5b3d5e6bd8 Moved generic Datum class to Part module to avoid Sketcher dependency on PartDesign 2016-04-12 18:11:49 +02:00
jrheinlaender
20ba1983a4 Datum planes with offset and angle. Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
bb1a3a532f Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
7a6c399a14 Make Datum features pickable 2016-04-12 18:11:49 +02:00
jrheinlaender
6effd7d864 Visualization of datum lines and planes 2016-04-12 18:11:49 +02:00
jrheinlaender
b7fe543ca9 Fix compile error after rebase 2016-04-12 18:11:49 +02:00
jrheinlaender
1c1531278c Specialized viewproviders for datum features, create points from intersection of edges and faces 2016-04-12 18:11:49 +02:00
jrheinlaender
8682b5f490 Switch to PartDesign workbench as soon as a PartDesign feature is edited 2016-04-12 18:11:49 +02:00
jrheinlaender
ce224298a7 Automatically add Body feature to Parts if the PartDesign workbench is active 2016-04-12 18:11:49 +02:00
jrheinlaender
45af3e2a78 Miscellaneous fixes 2016-04-12 18:11:49 +02:00
jrheinlaender
7330d4357e Made the rest of the PartDesign features aware of the Body 2016-04-12 18:11:49 +02:00
jrheinlaender
4bb14de504 Honour the ordering of the children returned by claimChildren() in the TreeWidget 2016-04-12 18:11:49 +02:00
jrheinlaender
1b7fbeb622 Update ActivePartObject etc. on switching documents, creating new documents, and loading documents in the PartDesign workbench 2016-04-12 18:11:48 +02:00
jrheinlaender
4f80b72508 Work on Gui of Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
d8d945a8b6 Work on reference selection for Datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
3b81168e41 Second step for implementing datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
63f782d8f0 More bug fixes for Body insertion/deletion of features 2016-04-12 18:11:48 +02:00
jrheinlaender
ee47c53339 Bug fixes for Body feature insert/remove functionality 2016-04-12 18:11:48 +02:00
jrheinlaender
3e4986f163 Add skeleton support for datum features 2016-04-12 18:11:48 +02:00
jrheinlaender
e184c9f229 More work on highlighting and hiding/showing 2016-04-12 18:11:48 +02:00
jrheinlaender
1ec99c5d32 Work on inserting, removing, hiding and showing features in the body 2016-04-12 18:11:48 +02:00
jrheinlaender
df7983fe10 Moved BaseFeature Property from SketchBased to PartDesign::Feature because all PartDesign features need it 2016-04-12 18:11:48 +02:00
jrheinlaender
f7d9bf90c4 Moved getBody() to PartDesign namespace in Workbench.cpp because ActivePartObject is also declared there now 2016-04-12 18:11:48 +02:00
jrheinlaender
7d84c7e6f0 Made Pocket, Revolution and Groove aware of the SketchBased::BaseFeature property 2016-04-12 18:11:48 +02:00
jrheinlaender
c93d425393 Renamed SketchBased::Base property to BaseFeature because of name clash with Revolution::Base property 2016-04-12 18:11:48 +02:00
jrheinlaender
339666adcf Highlight current insert point (Tip feature) in blue 2016-04-12 18:11:48 +02:00
jrheinlaender
10c8ba7e9b Moved ActivePartObject etc. to PartDesignGui namespace and added extern declaration to Workbench.h as suggested by logari81 2016-04-12 18:11:48 +02:00
jrheinlaender
2f658733b7 Feature tree: Insert mode for SketchBased features 2016-04-12 18:11:47 +02:00
jrheinlaender
6235385c5a Create Base property for SketchBased features and changed Pad to use it 2016-04-12 18:11:47 +02:00
jrheinlaender
417576d5eb Show three base planes (XY, YZ, XZ) at the beginning of the feature tree and allow to create sketches on them 2016-04-12 18:11:47 +02:00
jrheinlaender
7dee0b7018 Create standard XY, XZ, YZ planes when running the PartDesign_Body command if they don't exist yet 2016-04-12 18:11:47 +02:00
jrheinlaender
acd88878af When switching to the PartDesign workbench, activate the Body feature that was active when the document was last saved,
and move the selection to its Tip feature so that the user can start creating new features right away
2016-04-12 18:11:47 +02:00
jrheinlaender
1b809f305e Add command PartDesign_Body and integrate it into the Workbench 2016-04-12 18:11:47 +02:00
jrheinlaender
ae9aae703c Hide previous Tip shape when adding a new SketchBased feature 2016-04-12 18:11:47 +02:00
jrheinlaender
f3e8c331da Preliminary work on Transformed feature's pick dialog to make Command.cpp compile 2016-04-12 18:11:47 +02:00
jrheinlaender
94b6b89610 Enhanced Pick dialog for PartDesign feature's sketches 2016-04-12 18:11:47 +02:00
jrheinlaender
5dbc66ae84 Integrated PartDesign::Pad into Body feature workflow 2016-04-12 18:11:47 +02:00
wmayer
cdd16de8e6 Fix some build and runtime failures 2016-04-12 18:11:46 +02:00
jriegel
fc7db6369c Assembly import script & PartDesign Solid object 2016-04-12 18:11:46 +02:00
jriegel
aa216ee69d Some fixes in Body visualls (ongoing) 2016-04-12 18:11:46 +02:00
jriegel
50652895d4 3D subgrouping for Body 2016-04-12 18:11:46 +02:00
jriegel
71b9ded9a1 some adjustments on WB auto-switch 2016-04-12 18:11:45 +02:00
jriegel
db460cff8a auto WB switching for editing Sketches and new TaskWatcher 2016-04-12 18:11:45 +02:00
jriegel
fbd763a8f4 switch PartDesign to Bodies 2016-04-12 18:11:45 +02:00
jriegel
bf26a422cb clean up in- and out-list code 2016-04-12 18:11:45 +02:00
jriegel
903855ad82 Automatic WB switching and Active PartDesign body 2016-04-12 18:11:45 +02:00
jriegel
b825571562 implement active body in PartDesign 2016-04-12 18:11:45 +02:00
jriegel
6700512efe Add some commands to assembly 2016-04-12 18:11:44 +02:00
wmayer
19bc5077c8 + perform validation check after partdesign chamfer operation 2016-04-09 11:47:31 +02:00
Yorik van Havre
ca7c5d31a4
updated translations 2016-04-06 22:39:34 -03:00
mandeeps708
c1b652f21e fixes typo in Part Design workbench 2016-04-06 02:51:03 +05:30
wmayer
87293fac9b + add extra check if fillet operation returns valid shape 2016-04-04 14:26:27 +02:00
wmayer
7052fde4de + clear selection before hiding the linked object when editing fillet/chamfer 2016-04-02 15:29:08 +02:00
Yorik van Havre
bcb75d5477 Updated translation files from crowdin 2016-03-17 23:29:11 -03:00
Yorik van Havre
d1b4f23388 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
triplus
d432c72a15 Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
28b6c82555 Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
wmayer
869e7870f5 + in pad dialog make sure not to compare quantities with different units 2016-02-23 11:34:04 +01:00
wmayer
fe8be472a9 + fix unit tests 2016-02-09 16:00:38 +01:00
Yorik van Havre
2e2192f88a Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
37b1bdbe27 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
wmayer
91d6e24f1e + simplify porting of PartDesign module to Python3 2016-01-20 17:00:43 +01:00
wmayer
53024a6140 + do not include from .qrc generated .cpp file from other .cpp file but add it to build system 2016-01-05 17:35:58 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Yorik van Havre
1747fb643f Updated ts files prior to translation cycle 2016-01-03 19:45:29 -02:00
wmayer
50d7793442 + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
2b2358e70b + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
wmayer
6944658bd4 + Add parametric feature to create face from sketches 2015-11-12 19:44:24 +01:00
Eivind Kvedalen
be5e79601a PartDesign: Fixed similar issue compared to #2302 with unit handling when using an expression for the chamfer size. 2015-11-09 21:37:24 +01:00
Eivind Kvedalen
acd0f6a79e PartDesign: Fixed issue #2302 with unit handling when using an expression for the fillet radius. 2015-11-09 21:37:08 +01:00
wmayer
dff58e5df3 + fix documentation of task dialog 2015-11-09 19:22:19 +01:00
wmayer
b7be7aec13 + Prefer prefix ++/-- operators for non-primitive types 2015-10-07 13:38:17 +02:00
wmayer
aa5b388f4a + unlimit the value for occurrences 2015-10-04 10:32:58 +02:00
Eivind Kvedalen
5dc75b73bf PartDesign: bugfix, invoke ui->spinOccurrences->apply(). 2015-09-30 15:54:19 +02:00
Eivind Kvedalen
9a0c58986f PartDesign: Replaced QuantitySpinBox by SpinBox for "occurrences" input field. 2015-09-30 15:54:19 +02:00
wmayer
60062892a6 + backward compatibility of Linear and Polar pattern 2015-09-22 18:04:07 +02:00
Mateusz Skowroński
43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer
b936514937 + fix build problems with MSVC and libpack 2015-09-21 14:51:12 +02:00
Eivind Kvedalen
ddfbe349cf PartDesign: Added support for expressions. 2015-09-21 14:51:09 +02:00
Yorik van Havre
163d206513 Updated ts files 2015-09-14 14:31:47 -03:00
Abdullah Tahiri
27bace846e Part Design: Bug fix Sketcher tools Menu in Part Design Menu
============================================================

As per forum request:
http://forum.freecadweb.org/viewtopic.php?f=10&t=11840&start=40#p97205

This actually was a bug of last year when I wanted to introduce it, coded it, but failed to actually make it shown.
2015-08-30 12:08:46 +02:00
wmayer
617bd8c859 + re-insert removed line 2015-08-03 10:53:36 +02:00
wwmayer
e7441149f0 + fix many minor warnings, activate -Wall for gcc 2015-08-02 22:32:18 +02:00
wmayer
b81482d597 + harmonize Coin3D cmake variables with official check 2015-07-28 14:55:15 +02:00
wmayer
7d98705396 + harmonize XercesC cmake variables with official check 2015-07-28 14:17:49 +02:00
wmayer
d95003e92c + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00