Alexander Golubev
64783a4ee5
PartDesignGui: move shared code for all dressUp features into common place.
...
Also this allows the old workflow for thickness and draft features.
2016-04-12 18:12:15 +02:00
Alexander Golubev
5e5c1ece40
PartDesign/Gui: enable sketches on datum planes inside bodies
2016-04-12 18:12:14 +02:00
Alexander Golubev
f9fe1e319f
PartDesign/Gui: more old workflow support
...
* remove an error message if adding a sketchbased feature without a body
* add champfer or fillet old workflow support
Also rework finishFeature() so at least champfer and fillet may be
inserted into any place of any apropriate body(not only the active one) of the body.
2016-04-12 18:12:14 +02:00
Alexander Golubev
974a434e1f
PartDesign/Gui: enhance the TaskFeaturePick with new cotegory of sketches: notInBody
...
Also add option tp show already used sketches and fix some spacing.
2016-04-12 18:12:14 +02:00
DeepSOIC
cd4dce2f1b
PartDesign workflow without part/body
...
PartDesign: make datum features work outside of body/part
PartDesign old workflow: remove a few messageboxes about no part
PartDesign: old workflow: multitransform without body
Still has visibility issues, but generally works.
2016-04-12 18:12:14 +02:00
Stefan Tröger
b8ccce827e
prevent part design features from accidently cross referencing
2016-04-12 18:12:14 +02:00
Stefan Tröger
1711dd4739
fix independent copy and cross reference
2016-04-12 18:12:14 +02:00
Stefan Tröger
a2dba9be6e
first take on enhanced feature pick task
2016-04-12 18:12:14 +02:00
Stefan Tröger
ac5307cbd3
fix loft tool naming
2016-04-12 18:12:13 +02:00
Stefan Tröger
c2a73bbfe2
fix body and part tool texts
2016-04-12 18:12:13 +02:00
DeepSOIC
3e8b547354
Datum UI: fixes
...
* fix messagebox not popping when clicking OK but status is error
* accept preselection
* unify code for all datum commands
* edit selected datum if type matches, instead of creating new one
2016-04-12 18:12:13 +02:00
DeepSOIC
8babf7c2dc
PartDesign: transfer Datums to become AttachableObjects
...
Crude and quick, needs cleanup.
2016-04-12 18:12:12 +02:00
DeepSOIC
b6152364af
Attacher: change Part2DObject's MapMode default to mmDeactivated, and set mode to mmFlatFace only when reading files of old format.
...
PartDesign, Sketcher: set mapping mode when setting support
Mapping mode mmFlatFace is no longer default, so an explicit assignment
is required.
2016-04-12 18:12:12 +02:00
DeepSOIC
288873f13a
PartDesign: accomodating to sketch's multisupport
...
* FeatureSketchBased getSupportFace check for mapping mode
* Fixes failure to place sketches on DatumPlanes
2016-04-12 18:12:12 +02:00
DeepSOIC
74c1b4e825
PartDesign: fix refuse to pad
...
When something was depending on a sketch (another sketch, for example),
padding (revolving, pocketing, etc) it was impossible. This is fixed.
Also, padding or revolving a single sketch twice was allowed (with a
warning msg displayed).
2016-04-12 18:12:11 +02:00
Alexander Golubev
a0545327b0
PartDesign: make MoveFeatureInTree command use new insert functions
2016-04-12 18:12:11 +02:00
Alexander Golubev
e7dd714e63
PartDesign: add migrating sketch support to MoveFeature command
2016-04-12 18:12:11 +02:00
Alexander Golubev
94c066772b
PartDesign: fix spacing in several files
2016-04-12 18:12:11 +02:00
Alexander Golubev
099d79b7fb
PartDesign: fix a couple of crashes
...
The first crash was reported here:
http://forum.freecadweb.org/viewtopic.php?f=20&t=11205&start=50#p91052
The second one accures then moving a feature from a body without solid
features.
2016-04-12 18:12:11 +02:00
Stefan Tröger
b733d38064
better active part and document tip handling
2016-04-12 18:12:10 +02:00
Stefan Tröger
d18cd54743
make part design loft functional
2016-04-12 18:12:10 +02:00
Danny Lepage
aa3a7283f1
Fix Debug Assert in CmdPartDesignDuplicateSelection::activated
...
Under Windows, "Edit/Duplicate selected object" raised a
Debug Assertion Failed "Expression: sequence not ordered".
2016-04-12 18:12:10 +02:00
Danny Lepage
8aca518b6e
Fix Boolean operation tooltip text.
...
As reported by triplus
2016-04-12 18:12:10 +02:00
Stefan Tröger
7fc0111944
better pipe view handling
2016-04-12 18:12:09 +02:00
Stefan Tröger
468c380bd2
prevent inverted pipes and correct camera adjustment
2016-04-12 18:12:09 +02:00
Stefan Tröger
835085bc7c
add basic part design pipe infrastructure
2016-04-12 18:12:09 +02:00
Stefan Tröger
eba61e360d
make origin work correct with multiple parts
2016-04-12 18:12:08 +02:00
Stefan Tröger
69b02b6ac5
add command for adding a new part
...
note that the icon is a placeholder as currently parts have a system icon which can not be set for commands
2016-04-12 18:12:08 +02:00
Stefan Tröger
6301fce72c
add part design thickness
2016-04-12 18:12:08 +02:00
Stefan Tröger
afee98c1e9
allow to add faces to fillet and chamfer
2016-04-12 18:12:07 +02:00
Stefan Tröger
3d32b098c4
don't create unneeded second body if part is created
2016-04-12 18:12:07 +02:00
Stefan Tröger
e48bdc5d89
make transform features work with non-sketch based features
2016-04-12 18:12:07 +02:00
DeepSOIC
da545f3978
Fix crash when adding datum and there's no active body
...
Plus fix double messageboxes about the lack of the body,
2016-04-12 18:12:07 +02:00
DeepSOIC
a8f070ce8e
Fix revolution and groove that mistakenly made a pocket.
2016-04-12 18:12:06 +02:00
Stefan Tröger
b0817ff086
allow non-sketch based additive and subtractive features
2016-04-12 18:12:06 +02:00
Stefan Tröger
d5d6b30af3
move feature pick dialog into the task view
2016-04-12 18:12:05 +02:00
blobfish
09e98d96cf
Part Design: Fillet: Task: cleanup upon dialog rejection
2016-04-12 18:12:05 +02:00
Stefan Tröger
cb82f5f196
Show feature choose dialog for sketch if nothing is selected
2016-04-12 18:12:04 +02:00
blobfish
9b9d79d2fe
Part Design: adding const char PDBODYKEY and using. No functional change.
2016-04-12 18:12:04 +02:00
blobfish
c159866747
Part Design: Sketch: command find planes with app::Part::BaseplaneTypes
2016-04-12 18:12:04 +02:00
blobfish
b7735098ba
updating to setActiveObject call
2016-04-12 18:12:03 +02:00
jriegel
d7c932d714
Changing active object handling in PartDesign
2016-04-12 18:12:03 +02:00
jriegel
d87d0e8376
Assembly: Rename to setActiveBody and make link indeipendant Part initialization
2016-04-12 18:12:02 +02:00
jriegel
4d6e26e2fd
Assembly: Document handling and some fixes
2016-04-12 18:12:02 +02:00
jriegel
cf9158abc9
Make Part working
2016-04-12 18:12:02 +02:00
jriegel
0288bb756f
Moving Part creation into PartDesign Workbench
2016-04-12 18:12:02 +02:00
jmaustpc
81e2e4714d
Add new icons to Assembly work bench
...
Including new body icons for the treeview and
PartDesign create new body command.
Move all Assembly constrains icons into their
own sub directory of the icons directory
add "STEP, IGES or BREP" to the tool tip
of Assembly add existing Component command
2016-04-12 18:12:00 +02:00
jrheinlaender
03ed49c3eb
Fix bug that didn't allow to select base plane to create a sketch on it
2016-04-12 18:11:54 +02:00
jrheinlaender
c5ca269980
Allow transforming a Pattern feature into a MultiTransform feature
2016-04-12 18:11:54 +02:00
jrheinlaender
fbac1f4afb
Prevent user from selecting a sketch plane that is not in the active body
2016-04-12 18:11:54 +02:00