Stefan Tröger
c82e4117e9
add feature loft
2016-04-12 18:12:10 +02:00
Alexander Golubev
f4a5bf6acd
PartDesign: remove Body::isFeature() because it's the same as BodyBase::hasFeature()
2016-04-12 18:12:10 +02:00
DeepSOIC
36fe5994b9
Revolution: fix crash when selecting stuff during task
2016-04-12 18:12:10 +02:00
Danny Lepage
8aecb00a8d
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
63bdbe5561
Fix Boolean operation tooltip text.
...
As reported by triplus
2016-04-12 18:12:10 +02:00
DeepSOIC
578f038cf9
Fix programming error in DatumCS
2016-04-12 18:12:10 +02:00
DeepSOIC
7653d2d48f
Fix build on Windows
2016-04-12 18:12:10 +02:00
DeepSOIC
a362829d1e
Add QAbstractEventDispatcher to Qt4All.h
2016-04-12 18:12:10 +02:00
blobfish
54a3336af5
Core: Gui: DAGView: Basic Functionality
2016-04-12 18:12:10 +02:00
blobfish
a85328c546
Core: Gui: DAGView design
2016-04-12 18:12:10 +02:00
blobfish
1586399c80
Core: Gui: DAGView: adding icons
2016-04-12 18:12:10 +02:00
blobfish
3e65723472
Core: Gui: DAGView: skeleton implemented
...
Need to enable through parameter BaseApp/Preferences/DAGView
2016-04-12 18:12:10 +02:00
blobfish
6349a3d478
Core: Gui: DAGView design
2016-04-12 18:12:09 +02:00
Stefan Tröger
ab2cc10ac7
add missing return value
2016-04-12 18:12:09 +02:00
Stefan Tröger
c0e850cd0d
remove import dependency on assembly workbench
2016-04-12 18:12:09 +02:00
Stefan Tröger
84cd1588d0
Update pipe icon and add it to the taskwatcher
2016-04-12 18:12:09 +02:00
Stefan Tröger
20d551bc88
fix part and body search for invalid objects
2016-04-12 18:12:09 +02:00
Stefan Tröger
3aae4ce011
respect part design placement rules in pipe
2016-04-12 18:12:09 +02:00
Stefan Tröger
620b2bb5d7
simple bugfixes
2016-04-12 18:12:09 +02:00
Stefan Tröger
68ee7f4f27
add two scaling modes
2016-04-12 18:12:09 +02:00
Stefan Tröger
df386cc3c1
make multisection work
2016-04-12 18:12:09 +02:00
Stefan Tröger
d796ca2bf9
better pipe view handling
2016-04-12 18:12:09 +02:00
Stefan Tröger
a727a9b93d
prevent inverted pipes and correct camera adjustment
2016-04-12 18:12:09 +02:00
Stefan Tröger
342ba89afd
generalize preview mode
2016-04-12 18:12:09 +02:00
Stefan Tröger
68d172687b
implement faster pipes with inner wires
2016-04-12 18:12:09 +02:00
Stefan Tröger
0db83e816a
allow sketches with inner wires as pipe profiles
2016-04-12 18:12:09 +02:00
Stefan Tröger
9c4e1070eb
add options for pipe tool
2016-04-12 18:12:09 +02:00
Stefan Tröger
e7803eca61
add basic part design pipe infrastructure
2016-04-12 18:12:09 +02:00
Stefan Tröger
0f30096cec
make new document views obey the scene graph children stacking
2016-04-12 18:12:08 +02:00
Stefan Tröger
54646ef5bd
fix wrong torus addition
2016-04-12 18:12:08 +02:00
Stefan Tröger
a8f27937de
fix sketch editing within transformed parts
2016-04-12 18:12:08 +02:00
Stefan Tröger
e7284ecde8
fix crash on cancel primitive
2016-04-12 18:12:08 +02:00
Stefan Tröger
6347fe8c86
make origin work correct with multiple parts
2016-04-12 18:12:08 +02:00
Stefan Tröger
ec68192fcf
fix primitive following cs in edit mode and add python console output when closing the task
2016-04-12 18:12:08 +02:00
Stefan Tröger
a19eaf201e
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
d8a0e398a9
make origin lines usable in groove
2016-04-12 18:12:08 +02:00
Stefan Tröger
ec125cf9f2
make origin lines usable in revolution
2016-04-12 18:12:08 +02:00
Stefan Tröger
c5ae4530ab
add primitive preview visualization
2016-04-12 18:12:08 +02:00
Stefan Tröger
0a82185b66
add more point possibilities for cs references
2016-04-12 18:12:08 +02:00
Stefan Tröger
4087ffaef7
make datum feedback more prominent
2016-04-12 18:12:08 +02:00
Stefan Tröger
d3a7e9a928
fix selection error on datum exception
...
and add user feedback for failed selections
2016-04-12 18:12:08 +02:00
Stefan Tröger
7cb6606dc2
add remaining coordinate system selections
2016-04-12 18:12:08 +02:00
Stefan Tröger
96584f776a
viewprovider for coordinate system update
2016-04-12 18:12:08 +02:00
Stefan Tröger
42264b43ca
add a few coordinate system reference systems
2016-04-12 18:12:08 +02:00
Stefan Tröger
c3f35d9f05
add part design thickness
2016-04-12 18:12:08 +02:00
Stefan Tröger
7971bdbb8e
delete primitive if initial task is canceled
2016-04-12 18:12:07 +02:00
Stefan Tröger
fc1e8b8d17
allow to add faces to fillet and chamfer
2016-04-12 18:12:07 +02:00
Stefan Tröger
329064d671
don't create unneeded second body if part is created
2016-04-12 18:12:07 +02:00
Stefan Tröger
49973895f9
fix primitive offset setting issues
2016-04-12 18:12:07 +02:00
Stefan Tröger
6067c64060
allow subtractive primitive only if base available
2016-04-12 18:12:07 +02:00
Stefan Tröger
49eb5467f7
add gui for remaining primitives
2016-04-12 18:12:07 +02:00
Stefan Tröger
3be4939bcc
add remaining primitive features
2016-04-12 18:12:07 +02:00
blobfish
c61718c63b
PartDesign: Gui: build error. couldn't find ui generated file in part build directory.
2016-04-12 18:12:07 +02:00
blobfish
c5935d0d60
Gui: ViewProviderPart: fix crash when no origin objects
2016-04-12 18:12:07 +02:00
Stefan Tröger
fec86abc09
visualize the primitive add/sub shape in edit
2016-04-12 18:12:07 +02:00
Stefan Tröger
1f180a11da
make primitive task box work
2016-04-12 18:12:07 +02:00
Stefan Tröger
7654659c18
add primitive widget to task dialog
2016-04-12 18:12:07 +02:00
Stefan Tröger
296339f980
allow shapes as coordinate system references
2016-04-12 18:12:07 +02:00
Stefan Tröger
a7396dcb74
adopt code to new getBody parameter
2016-04-12 18:12:07 +02:00
Stefan Tröger
0385734339
primitive bug fixes, add cylinder and sphere
2016-04-12 18:12:07 +02:00
Stefan Tröger
8fdde38e75
add coordinate system datum
2016-04-12 18:12:07 +02:00
Stefan Tröger
d923bebccc
make transform features work with non-sketch based features
2016-04-12 18:12:07 +02:00
Stefan Tröger
cf83242f5b
fix basic additive box
2016-04-12 18:12:07 +02:00
DeepSOIC
31e4fd8994
Sketcher: fix free-standing sketches
...
See forum thread, Sketch support == NULL
http://forum.freecadweb.org/viewtopic.php?f=20&t=10942
2016-04-12 18:12:07 +02:00
DeepSOIC
439f392e88
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
fe59e5286e
assert before crashing
2016-04-12 18:12:07 +02:00
DeepSOIC
83777a9610
Fix revolution and groove that mistakenly made a pocket.
2016-04-12 18:12:06 +02:00
DeepSOIC
f31aed1c40
Sketcher: Fix duplicate external avoidance false positives
...
Attempting to link to Edge1 of one object failed when there was already
an Edge1 linked from another object.
2016-04-12 18:12:06 +02:00
DeepSOIC
05b9dd60e3
fix build with MSVC11 aka 2012
2016-04-12 18:12:06 +02:00
Stefan Tröger
52c8a19d4d
basic infrastructure for part design primitives
2016-04-12 18:12:06 +02:00
Stefan Tröger
7194413d6b
code clean up
2016-04-12 18:12:06 +02:00
Stefan Tröger
730f2af80b
fix crash when deleting body
2016-04-12 18:12:06 +02:00
Stefan Tröger
0e8b78d2fb
make bodies, origins, planes and lines unmovable
2016-04-12 18:12:06 +02:00
Stefan Tröger
1880d46ec6
don't show placement for part design features
2016-04-12 18:12:06 +02:00
Stefan Tröger
9a2f5eea65
allow non-sketch based additive and subtractive features
2016-04-12 18:12:06 +02:00
blobfish
fab4ec990c
PartDesign: Workbench: comment out switchToDocument inside 'slots'
...
This causing a crash when opening a previous versioned file while already in part design.
Can't predict timing of migration call from signals.
2016-04-12 18:12:06 +02:00
blobfish
a3a5db33e9
Gui: Part: Viewprovider: check sub objects for valid view provider
2016-04-12 18:12:06 +02:00
blobfish
8fffa8b564
Part: BodyBase: typo in property header macro
2016-04-12 18:12:06 +02:00
Stefan Tröger
051e93238b
fix body boolean placements
2016-04-12 18:12:06 +02:00
Stefan Tröger
c1928f0b7b
less intrusive base plane colors
2016-04-12 18:12:06 +02:00
Stefan Tröger
f99b0031d3
adopt mirror feature to base plane selection
2016-04-12 18:12:06 +02:00
Stefan Tröger
2aa4d2c210
switch polar pattern to coordinate system axis
2016-04-12 18:12:06 +02:00
Stefan Tröger
d6440b4143
switch linear pattern to coordinate system axis
2016-04-12 18:12:05 +02:00
Stefan Tröger
4c29efea1f
allow origin lines in datum features
2016-04-12 18:12:05 +02:00
Stefan Tröger
63015c769e
allow pick task selection from 3d view
2016-04-12 18:12:05 +02:00
Stefan Tröger
c7555eaa63
interactively show origin objects for feature pick
2016-04-12 18:12:05 +02:00
Stefan Tröger
4b545f9e6f
remove unneeded files
2016-04-12 18:12:05 +02:00
Stefan Tröger
83ab03a491
move feature pick dialog into the task view
2016-04-12 18:12:05 +02:00
Stefan Tröger
c92e0f5870
add origin icon
2016-04-12 18:12:05 +02:00
Stefan Tröger
fcdb80eab3
Prevent origin and base entities from transforming
2016-04-12 18:12:05 +02:00
Stefan Tröger
3f5caa2181
group coordinate planes and lines
2016-04-12 18:12:05 +02:00
Stefan Tröger
915b8ef446
add base lines
2016-04-12 18:12:05 +02:00
Stefan Tröger
e59b3cef4b
highlight planes
2016-04-12 18:12:05 +02:00
blobfish
45844c2fd2
Part Design: Gui: Workbench: assign activePart and activeBody when doc has tip
2016-04-12 18:12:05 +02:00
blobfish
40d144b11b
Part Design: Datum Task: recompute document upon dialog rejections
2016-04-12 18:12:05 +02:00
blobfish
e826e7a683
Part Design: Fillet: Task: cleanup upon dialog rejection
2016-04-12 18:12:05 +02:00
Stefan Tröger
05f9ee5af2
make hidden base plane parts dashed
2016-04-12 18:12:05 +02:00
Stefan Tröger
8134cf3cf4
Adopt planes to Part size
2016-04-12 18:12:04 +02:00
blobfish
ae3916229d
Gui: ActiveObject: remove upon delete
...
Squashed with:
Gui: MDIView: connection bug.
Gui: MDIView: forgot disconnect.
2016-04-12 18:12:04 +02:00
blobfish
c161ffaf44
Part Design: Workbench: commonize construciton of default part and body
2016-04-12 18:12:04 +02:00
blobfish
f35871f6b9
App: Document: recompute document upon delete
2016-04-12 18:12:04 +02:00
blobfish
b2104e97e1
Gui: View3DInventorViewer: check if child exists before removal
2016-04-12 18:12:04 +02:00
blobfish
a412d309c5
App: Doc: affected labels list in delete command
2016-04-12 18:12:04 +02:00
blobfish
4a1978aae9
Part Design: add temp PartDesign_MoveTip icon to stop error
2016-04-12 18:12:04 +02:00
blobfish
cd9fcc58ba
PartDesign: Gui: Update doc after setuppart
2016-04-12 18:12:04 +02:00
Stefan Tröger
f873fb80e9
Remove BasePlanes from part design
2016-04-12 18:12:04 +02:00
Stefan Tröger
eb226967f3
Show feature choose dialog for sketch if nothing is selected
2016-04-12 18:12:04 +02:00
Stefan Tröger
13fea20cdd
fix datum plane transparency
...
one can not change the transparany type in the scene graph. Furthermore no normals are used, hence no normal binding is needed.
2016-04-12 18:12:04 +02:00
Stefan Tröger
f357e045de
fix blocking datum plane
...
BrepFaceSet implementation was faulty, if normal cache locks have been aquired they need to be released
2016-04-12 18:12:04 +02:00
blobfish
10a7f15c37
Part Design: adding const char PDBODYKEY and using. No functional change.
2016-04-12 18:12:04 +02:00
blobfish
56af3ca44d
PartDesign: adding some asserts to workbench
2016-04-12 18:12:04 +02:00
blobfish
7248888e05
PartDesign: Workbench: set active body post migration
2016-04-12 18:12:04 +02:00
blobfish
d90fec4de1
Part Design: Workbench: don't try to remove active body
2016-04-12 18:12:04 +02:00
blobfish
baa0fa97b9
Part Design: Sketch: command find planes with app::Part::BaseplaneTypes
2016-04-12 18:12:04 +02:00
blobfish
b9512a2663
App: Part: rename base planes.
2016-04-12 18:12:03 +02:00
blobfish
7be3e654f8
not typo
2016-04-12 18:12:03 +02:00
blobfish
6877cbbd51
updating to setActiveObject call
2016-04-12 18:12:03 +02:00
Stefan Tröger
d112c41eca
improve active object handling
2016-04-12 18:12:03 +02:00
jriegel
884ae139fa
Several enhancements
...
+ PLMXML Reader
+ Some meta information sorting
+ Making ProductRefs invisibly in Tree
2016-04-12 18:12:03 +02:00
jriegel
b38f63f391
+ add PlmXmlParser
...
+ add test data for PLMXML and JT
2016-04-12 18:12:03 +02:00
jriegel
45f7c99c1c
Changing active object handling in PartDesign
2016-04-12 18:12:03 +02:00
jriegel
775744c1ac
some fixes in Active object handling on Viewer
2016-04-12 18:12:03 +02:00
jriegel
842604a2f8
small warning fix
2016-04-12 18:12:03 +02:00
jriegel
16ab7f710b
Active object manager for the Viewer
2016-04-12 18:12:03 +02:00
jriegel
240f2f7428
fix Jt merge
2016-04-12 18:12:03 +02:00
jriegel
1e01f8c223
fix errors from merge of master
2016-04-12 18:12:03 +02:00
jriegel
ade02b5643
implementing Element reading
2016-04-12 18:12:03 +02:00
jriegel
1ca23c33c7
tchnical commit
2016-04-12 18:12:03 +02:00
jriegel
81b4bcd4af
further implementing
2016-04-12 18:12:03 +02:00
jriegel
248b228dbf
start new Jt Reader
2016-04-12 18:12:02 +02:00
jriegel
5271a24476
[Assembly] fixing the commands and some import
2016-04-12 18:12:02 +02:00
jriegel
d59904fd37
some fixes
2016-04-12 18:12:02 +02:00
jriegel
dc4fdc2c53
Assembly: Rename to setActiveBody and make link indeipendant Part initialization
2016-04-12 18:12:02 +02:00
jriegel
271bb65cbd
Assembly: Plane ViewProvider Size property and smaller standard size
2016-04-12 18:12:02 +02:00
jriegel
51b46e1e37
Assembly: Add GeoFeatureGroup and helpers
2016-04-12 18:12:02 +02:00
jriegel
0013374818
Assembly: Document handling and some fixes
2016-04-12 18:12:02 +02:00
jriegel
0feabcc8ff
Assembly: Add non PartDesign feature group to Part also
2016-04-12 18:12:02 +02:00
jriegel
952d598ca9
Assembly: Add warning on conversion
2016-04-12 18:12:02 +02:00
jriegel
e9744c842d
Make Part working
2016-04-12 18:12:02 +02:00
jriegel
1f1f6f81ce
Moving Part creation into PartDesign Workbench
2016-04-12 18:12:02 +02:00
jriegel
602aeecaaf
add Python objects for Part and GeoFeature
2016-04-12 18:12:02 +02:00
jriegel
015183a0d7
Error handling if NumPy is not there
2016-04-12 18:12:02 +02:00
jriegel
396f188f30
Tip property in Document and special load save handling
2016-04-12 18:12:02 +02:00
jriegel
104d94ae0f
compiles on LibPack 10
2016-04-12 18:12:02 +02:00
jriegel
86bbde4bda
Add path and view provider for Part
2016-04-12 18:12:02 +02:00
jriegel
608dddd998
Restructure the Assembly data model (again)...
2016-04-12 18:12:01 +02:00
jriegel
09fe593ae0
small fix
2016-04-12 18:12:01 +02:00
Jan Rheinländer
72b6d02a43
Allow selecting sketch axes in Polarpattern, same as in LinearPattern and Mirrored
2016-04-12 18:12:01 +02:00
Jan Rheinländer
0ddff2419f
Fixed bugs in Transformed features
2016-04-12 18:12:01 +02:00
jriegel
35e35527db
Start of rework of class structure
2016-04-12 18:12:01 +02:00
jriegel
9d25c717b4
Add additional loging
2016-04-12 18:12:01 +02:00
jriegel
14efce0655
fix #1348
2016-04-12 18:12:01 +02:00
jriegel
43eab0c491
Implement some diagnostics
2016-04-12 18:12:01 +02:00
jriegel
6344c42525
Open new track for importing Assembly structures with OCSF reader.
2016-04-12 18:12:01 +02:00
jriegel
4ad93594a6
Fixes some merge Bugs
2016-04-12 18:12:01 +02:00
jriegel
91196ee244
dripping Body in Assembly (ongoing)
2016-04-12 18:12:01 +02:00
jriegel
80a9d4274e
Generall Drag/Drop interface
2016-04-12 18:12:01 +02:00
jriegel
c46097654f
Const correctness in DocumentObjectGroup
2016-04-12 18:12:01 +02:00
jriegel
a08fdaa648
New Dialog for Quenstions and Warnings and the usage in Assembly
2016-04-12 18:12:01 +02:00
Stefan Troeger
ad8ae753d9
fix the precompiled redefinition problem
2016-04-12 18:12:01 +02:00
Stefan Troeger
32e6091366
add assembly item destructor to avoid strange linker problemn
2016-04-12 18:12:01 +02:00
Stefan Tröger
de9c61e150
restore externalisation behaviour with gcc/clang compilers
2016-04-12 18:12:01 +02:00
Stefan Troeger
c070d41e1e
fix wrong conditional statement
2016-04-12 18:12:01 +02:00
Stefan Troeger
5fd47ad881
fix typo in preprocessor else if statement
2016-04-12 18:12:01 +02:00
Stefan Troeger
5ef6fb5dd5
msvc and gcc/clang are not satisfiable with the same code...
2016-04-12 18:12:01 +02:00
Stefan Troeger
3b4db93332
resolve windows issues
2016-04-12 18:12:01 +02:00
Stefan Tröger
18aceffce8
dissallow cyclic system until they work reliabe
...
l
2016-04-12 18:12:01 +02:00
Stefan Tröger
9bd19328ca
multiple debug updates
2016-04-12 18:12:00 +02:00
jmaustpc
cdd83966b1
update remaining Assembly constraint icons to new theme
...
update remaining Assembly constraint icons
to new cylinder theme
Also increase the emphasis on the constriants
by thickening them, in the
Assembly_constraints_tree icon
2016-04-12 18:12:00 +02:00
jmaustpc
1de931355e
update Assembly constraint icons to cylinder theme
2016-04-12 18:12:00 +02:00
jmaustpc
8be5d0eb3e
update Assembly Workbench icon in InitGui.py
2016-04-12 18:12:00 +02:00
jmaustpc
38b1d497dd
Update icon references in Task Assembly Constraint
...
to include the new sub-directory "constraints" in the path
for the Assembly constraints icons
2016-04-12 18:12:00 +02:00
Jan Rheinländer
4c9b9adde6
Fixed usage of std::abs() in polar pattern
2016-04-12 18:12:00 +02:00
blobfish
4b2f107cc1
Part Design: support for overlapping and coincident patterns
...
Fixed crash after rejecting a MultiTransform dialog
remove overlap check
adding getSolid to cut operation
add extrema method to part::checkinterference
move refineshape call out of loops
divideTools functions
2016-04-12 18:12:00 +02:00
Jan Rheinländer
deb9e85d03
Fixed crash after rejecting a MultiTransform dialog
2016-04-12 18:12:00 +02:00
Jan Rheinländer
af25c0c793
Reference highlighting for fillets and chamfers
2016-04-12 18:12:00 +02:00
Jan Rheinländer
1772eb70bc
PartDesign::Transformed: Transformed shapes that touch are now rejected as overlapping in the interest of boolean operation stability
2016-04-12 18:12:00 +02:00
Jan Rheinländer
7839099fea
Fix bug in PartDesign conversion that choked on unconsumed sketches
2016-04-12 18:12:00 +02:00
Stefan Tröger
4b5e387da4
extend debug facilities with state writing and add externalisation to make it compile with a decent amout of memory
2016-04-12 18:12:00 +02:00
Stefan Tröger
fce34e05fc
avoid rescales when scale value is in allowed range
2016-04-12 18:12:00 +02:00
jmaustpc
0f1ae0d95b
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
Stefan Tröger
2737db260c
calculate geometry point on the correct storage
2016-04-12 18:12:00 +02:00
Stefan Tröger
34921ff034
don't rescale on rotation solver
2016-04-12 18:12:00 +02:00
Stefan Tröger
1f99cb347b
fix full system failure when using the fix constrain
2016-04-12 18:11:59 +02:00
Stefan Tröger
894249473b
make nonrigid subbassemblys work when they hold subassemblys themself
2016-04-12 18:11:59 +02:00
Stefan Tröger
4441d9d2c7
make subassembly constraints always accessible
2016-04-12 18:11:59 +02:00
Stefan Tröger
0a750b1bc5
only use scale value for rotation-only solving, not the transformed clusters. This gives the more expected results
2016-04-12 18:11:59 +02:00
Stefan Tröger
66f9afbef3
fix unsupported geometry crashs, add visual feedback for unsupported geometry and fix crash on both parts in subassemblys
2016-04-12 18:11:59 +02:00
Stefan Tröger
61a47d7c22
improve solvability of seperated rotation/translation
2016-04-12 18:11:59 +02:00
Stefan Tröger
81ccdeb331
further distinguish between rotation and translation solving
2016-04-12 18:11:59 +02:00
Stefan Tröger
ee5d3be3cc
implement subsystem callbacks
2016-04-12 18:11:59 +02:00
Stefan Tröger
d4fdb92957
new openDCM version
2016-04-12 18:11:59 +02:00
jriegel
9d196708b1
small fixes after merge from master
2016-04-12 18:11:59 +02:00
Jan Rheinländer
273e0f0b71
Fixed bug that did not allow selecting datum planes as external references in sketches
2016-04-12 18:11:59 +02:00
jriegel
0b28a757ab
Workaround for a wired linker problem on Windows. Actually still not solved...
2016-04-12 18:11:59 +02:00
Stefan Tröger
054dba0847
rename the add commands
2016-04-12 18:11:59 +02:00
Stefan Troeger
f0ed9c81c3
include dcm core directly to use the warning supression
2016-04-12 18:11:59 +02:00
Stefan Tröger
8b0fe845bf
use freecad resource, not local one
2016-04-12 18:11:59 +02:00
Stefan Troeger
aa5d84196c
supress useless msvc warnings
2016-04-12 18:11:58 +02:00
Stefan Tröger
dce4061ee6
treat multiple assignment operator warning on msvc
2016-04-12 18:11:58 +02:00
jrheinlaender
9851450174
Fixed bug in Body conversion code
2016-04-12 18:11:58 +02:00
jrheinlaender
53189fd36f
Cosmetic change in FemConstraint.cpp
2016-04-12 18:11:58 +02:00
Stefan Tröger
bd484ca7ca
suppress useless msvc warning
2016-04-12 18:11:58 +02:00
Stefan Tröger
348f4c5476
make sure active assembly object extern variable is always the same type, as visual studio can't find it if derived classes are used
2016-04-12 18:11:58 +02:00
Stefan Tröger
ab4ca88fef
placehoder text not supported in libpack qt version
2016-04-12 18:11:58 +02:00
Stefan Tröger
bc8d2d2294
reduce solver calls and fix cylinder-cylinder coincident options
2016-04-12 18:11:58 +02:00
Stefan Tröger
e9540eadcc
let assembly part numbering use standart freecad sheme
2016-04-12 18:11:58 +02:00
Stefan Tröger
ad855d1cf5
remove exeption on solver error
2016-04-12 18:11:58 +02:00
Stefan Tröger
dd1044a5e8
slightly better error reporting from app to gui
2016-04-12 18:11:58 +02:00
Stefan Tröger
932c4b5e11
fix perpendicular initial position issue and add better tooltips
2016-04-12 18:11:58 +02:00
Stefan Tröger
0099bfd0fd
fix failing angle constraint on bad starting position: treat LGZ before first error check
2016-04-12 18:11:58 +02:00
Stefan Tröger
9fdeef50fe
update logging to be used with boost1.54 and make it a compile option
2016-04-12 18:11:58 +02:00
Stefan Tröger
c1d799e831
prevent dangling pointers by clearing the active assembly after it was deleted
2016-04-12 18:11:57 +02:00
Stefan Tröger
64ec142d61
Fix solution space behaviour and further distinguish alignment/coincident
2016-04-12 18:11:57 +02:00
Stefan Tröger
45a3f149c3
make solution spaces accessible from GUI and fix some solver implementation errors
2016-04-12 18:11:57 +02:00
Stefan Tröger
3abda4dd67
new dcm version
2016-04-12 18:11:57 +02:00
jrheinlaender
5376e3a3e5
Fixed bugs in various features that reversed the list of selections
2016-04-12 18:11:57 +02:00
Stefan Tröger
f91d5013a3
revidsed assembly constraint gui interaction
2016-04-12 18:11:57 +02:00
jrheinlaender
9569dd3beb
Fix bug in PartDesignGui Workbench that may cause a crash
2016-04-12 18:11:57 +02:00
Stefan Tröger
acd4109d5b
add missing template specifier (gcc error)
2016-04-12 18:11:57 +02:00
Stefan Tröger
5dea42c995
multiple files added
2016-04-12 18:11:57 +02:00
Stefan Tröger
e8dda0b25a
add core defines file
2016-04-12 18:11:57 +02:00
Stefan Tröger
8ec3907a03
test commit
2016-04-12 18:11:57 +02:00
Stefan Tröger
710540c0b0
line line distance works with parallel lines too
2016-04-12 18:11:57 +02:00
Stefan Tröger
b3058a4f5a
windows adoptions
2016-04-12 18:11:57 +02:00
jrheinlaender
7981edd639
Allow selecting and removing fillet and chamfer references in the dialog (part 2)
2016-04-12 18:11:57 +02:00
jrheinlaender
ee7f50a554
Allow selecting and removing fillet and chamfer references in the dialog
2016-04-12 18:11:56 +02:00
jrheinlaender
8b19d2cf16
Unify code of Dressup features (part 2: Draft)
2016-04-12 18:11:56 +02:00
jrheinlaender
3229b322ec
Fix some errors in the PartDesign ViewProvider code
2016-04-12 18:11:56 +02:00
jrheinlaender
a2359adb2e
Unify code of Dressup features (part 1: Draft)
2016-04-12 18:11:56 +02:00
Stefan Tröger
6c494157f5
updated dcm version
2016-04-12 18:11:56 +02:00
Stefan Tröger
913ec86fdd
treat gradient zeros at residual!=0
2016-04-12 18:11:56 +02:00
jrheinlaender
fcea39b0d8
Enable multiple originals for the transformed features
2016-04-12 18:11:56 +02:00
jrheinlaender
a59901ee4b
Some code unification for DressUp features
2016-04-12 18:11:56 +02:00
jrheinlaender
d32317229d
Fix bug in workbench
2016-04-12 18:11:56 +02:00
jrheinlaender
904799d462
Color already selected faces of Draft feature when adding more or removing faces
2016-04-12 18:11:56 +02:00
Stefan Tröger
a15fbf3db6
add parts and components to the selected or active assembly only and add user information
2016-04-12 18:11:56 +02:00
Stefan Tröger
14b3246974
dont remove already removed view providers from the toplevel inventor node
2016-04-12 18:11:56 +02:00
Stefan Tröger
f007608c81
throw exception at unsuported geometrie instead of crashing
2016-04-12 18:11:56 +02:00
jrheinlaender
3ff550f977
Fixed double clicking bug in the viewprovider
2016-04-12 18:11:56 +02:00
jrheinlaender
0a743b27da
Python code of Hole Feature
2016-04-12 18:11:56 +02:00
jrheinlaender
45ce3b7822
Enable Python to read the value of a sketcher constraint
2016-04-12 18:11:55 +02:00
jrheinlaender
f6958f391c
Fix bug where external reference was ignored without an error message
2016-04-12 18:11:55 +02:00
jrheinlaender
37a8c02bc6
Improved SketchObject error reporting
2016-04-12 18:11:55 +02:00
jrheinlaender
0ab6a77442
Update SketchObject Placement when the Support property changes
2016-04-12 18:11:55 +02:00
jrheinlaender
5c18e947e6
getActivePart() python function as complement to setActivePart()
2016-04-12 18:11:55 +02:00
jrheinlaender
f7874306b9
Allow Pyton features inside bodies
2016-04-12 18:11:55 +02:00
jrheinlaender
ae1890f56b
Python functions to intersect curves and surfaces
2016-04-12 18:11:55 +02:00
jrheinlaender
8e1ea4ac14
Removed some old code
2016-04-12 18:11:55 +02:00
jrheinlaender
853adf7d9d
Highlighting for datum features
2016-04-12 18:11:55 +02:00
jrheinlaender
e993480ca0
Made Body::claimChildren() stabler against NULL items
2016-04-12 18:11:55 +02:00
jrheinlaender
4623f3a7d3
Some code cosmetics
2016-04-12 18:11:55 +02:00
jrheinlaender
cdb49c28e5
Allow datum point and line from circular reference
2016-04-12 18:11:55 +02:00
jrheinlaender
b6932b0bdb
Allow datum points and lines to have offsets from their references
2016-04-12 18:11:55 +02:00
jrheinlaender
22e3aaa2d6
Fix bug in SketchObject::execute() that throws exception instead of returning an error
2016-04-12 18:11:55 +02:00
jrheinlaender
a4ad9a6a55
ViewProviderBody::claimChildren() : Claim all children not claimed by another object
2016-04-12 18:11:55 +02:00
jrheinlaender
02ce7395aa
Centralize the check for valid external geometry to ensure consistency (part 2)
2016-04-12 18:11:55 +02:00
jrheinlaender
be9365679f
Centralize the check for valid external geometry to ensure consistency
2016-04-12 18:11:55 +02:00
jrheinlaender
2c37723217
Fixed bug in external geometry selection of sketcher
2016-04-12 18:11:55 +02:00
jrheinlaender
99fe9b6178
Moved Body::isAfterTip() to BodyBase
2016-04-12 18:11:55 +02:00
jrheinlaender
9dba4c01e2
Added some comments about things to be fixed in the future
2016-04-12 18:11:55 +02:00
jrheinlaender
010761d162
Fix bug that did not show the correct shape to select a reference (e.g. face) from when editing a SketchBased feature in the tree
2016-04-12 18:11:54 +02:00
jrheinlaender
8a041ffc8e
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
92d51a6e1d
Fixed bug that prevented proper switching to PartDesign workbench
2016-04-12 18:11:54 +02:00
jrheinlaender
c21f21666f
Fixed bug that didn't clean up the Body when deleting an object from it
2016-04-12 18:11:54 +02:00
jrheinlaender
f9b0e5908a
Allow transforming a Pattern feature into a MultiTransform feature
2016-04-12 18:11:54 +02:00
jrheinlaender
5d39df88ee
Prevent user from selecting a sketch plane that is not in the active body
2016-04-12 18:11:54 +02:00
Stefan Tröger
6a6997087f
windows: add type specifier
2016-04-12 18:11:54 +02:00
Stefan Tröger
30e8fc7b8c
revert solving precission to 1e-6 dou to too much cases failing
2016-04-12 18:11:54 +02:00
Stefan Tröger
483357de77
set solving precission to 1e-8
2016-04-12 18:11:54 +02:00
Stefan Tröger
5ce6c68a57
avoid transformation of highlighted constraint
2016-04-12 18:11:54 +02:00
Stefan Tröger
3dafb038b2
remove unneeded display modes from viewprovider
2016-04-12 18:11:54 +02:00
Stefan Tröger
9a50535a4b
adopt correct default colors and avoid crash due to context menu
2016-04-12 18:11:54 +02:00
Stefan Tröger
f61ae2e90c
allow to set rigid property via context menu
2016-04-12 18:11:54 +02:00
Stefan Tröger
e9e1b45280
allow non-rigid subassemblies
2016-04-12 18:11:54 +02:00
Stefan Tröger
bf8d5e7aa9
fix subassembly transformation bug
2016-04-12 18:11:54 +02:00
Stefan Tröger
14c20fbe89
remove console messages
2016-04-12 18:11:54 +02:00
Stefan Tröger
7fe1d94a21
fix rotational/translational solver bugs in cylce detection and mapping
2016-04-12 18:11:54 +02:00
Stefan Tröger
98d81ed483
make subproduct solving work
2016-04-12 18:11:54 +02:00
Stefan Tröger
26cd6de30f
avoid drawing artefacts when adding new constraint
2016-04-12 18:11:54 +02:00
Stefan Tröger
e0efc30893
add visualisation to the constraints
2016-04-12 18:11:53 +02:00
Stefan Tröger
46700422fd
make constaints and group not greyed in tree
2016-04-12 18:11:53 +02:00
Stefan Tröger
61430e67e1
put constraint selection message in dialog window
2016-04-12 18:11:53 +02:00
jrheinlaender
d550506f28
Fix handling of MultiTransform features when migrating to Body
2016-04-12 18:11:53 +02:00
jrheinlaender
f3fbf6f285
Improved migration of PartDesign parts to the new Body structure
2016-04-12 18:11:53 +02:00
jrheinlaender
b8dc8181bc
Added menu item to move a feature in the tree inside a body
2016-04-12 18:11:53 +02:00
jrheinlaender
6a02b5849f
Body: Transformed Features inside a MultiTransform are not considered to be solid features
2016-04-12 18:11:53 +02:00
jrheinlaender
36a00f45b6
PartDesign Body migration: Fix migration of MultiTransform sub-features
2016-04-12 18:11:53 +02:00
jrheinlaender
b2dd70e635
PartDesign Body migration: Handle sketch planes offset from base planes
2016-04-12 18:11:53 +02:00
jrheinlaender
7174a259f0
Two minor fixes
2016-04-12 18:11:53 +02:00
jrheinlaender
4d674831d3
Fix broken placement of boolean operations
2016-04-12 18:11:53 +02:00
jrheinlaender
38ab82a94d
Allow external references from other body but not from same body outside the support
2016-04-12 18:11:53 +02:00
jrheinlaender
e735cf7c3a
Allow moving features between bodies from context menu of tree view
2016-04-12 18:11:53 +02:00
jrheinlaender
f1b5a6044d
Allow extruding from a datum plane to another face or plane, optionally with an offset
2016-04-12 18:11:53 +02:00
jrheinlaender
fa020cf867
Allow selecting geometry from another body inside the same part as a reference
2016-04-12 18:11:53 +02:00
jrheinlaender
2d080dd92b
Prevent unnecessary error messages while loading a part
2016-04-12 18:11:52 +02:00
jrheinlaender
1e615043cd
Give user feedback about not being able to extrude UpToFace if sketch is on a datum plane
2016-04-12 18:11:52 +02:00
jrheinlaender
c5358ee307
Prevent unknown exception thrown while loading a part
2016-04-12 18:11:52 +02:00
jrheinlaender
da12aa8805
Allow mapping a sketch to a datum plane
2016-04-12 18:11:52 +02:00
jrheinlaender
97fb44ddd5
Detect external geometry that is a circle which becomes a bspline after projection
2016-04-12 18:11:52 +02:00
jrheinlaender
9e7b463113
Allow geometry from other bodies in the same par as external geometry for sketches
2016-04-12 18:11:52 +02:00
Stefan Tröger
f26ca75e50
msvc adaptions
2016-04-12 18:11:52 +02:00
Stefan Tröger
02311333b9
userfriendly part movement
2016-04-12 18:11:52 +02:00
jrheinlaender
34acc5f8b4
Allow creating a datum plane tangential to a cylinder and parallel to another plane
2016-04-12 18:11:52 +02:00
jriegel
a0ec4752d9
fix icons
2016-04-12 18:11:52 +02:00
jriegel
9ce0d04175
fix on unclear types
2016-04-12 18:11:52 +02:00
Stefan Tröger
d7ea6f8905
remove logging for sure
2016-04-12 18:11:52 +02:00
Stefan Tröger
8fc24fd824
remove loggin
2016-04-12 18:11:52 +02:00
Stefan Tröger
661e3bba8d
update and bug corection
2016-04-12 18:11:52 +02:00
Stefan Tröger
3058d86b23
enable scaling
2016-04-12 18:11:52 +02:00
jrheinlaender
401c4d6dc0
Miscellaneous fixes
2016-04-12 18:11:52 +02:00
jrheinlaender
04e5d83366
Revolution/Groove: Check that rotation axis is coplanar with sketch plane
2016-04-12 18:11:51 +02:00
jrheinlaender
026242231e
Changed tree ordering of booleans and bodies
2016-04-12 18:11:51 +02:00
jrheinlaender
106efeec02
Miscellaneous fixes
2016-04-12 18:11:51 +02:00
jrheinlaender
75dc92fd90
Enable edges and datum lines as rotation axis for Groove and Revolution features
2016-04-12 18:11:51 +02:00
jrheinlaender
999b1c028b
Allow inserting at the beginning of a body
2016-04-12 18:11:51 +02:00
jrheinlaender
7983862b52
Some code unification for sketchbased features
2016-04-12 18:11:51 +02:00
jrheinlaender
0e9ee59129
Some code unification for Gui selections
2016-04-12 18:11:51 +02:00
jrheinlaender
a8e4f0f1ca
Allow Pad and Pocket up to a face with sketch located on datum plane
2016-04-12 18:11:51 +02:00
jrheinlaender
02ba800430
Added a few preliminary icons for the new features
2016-04-12 18:11:51 +02:00
jrheinlaender
c4fe27d093
Miscellaneous fixes
2016-04-12 18:11:51 +02:00
jrheinlaender
638cfd2682
Allow booleans of bodies in PartDesign
2016-04-12 18:11:51 +02:00
jrheinlaender
ed2657380c
Fix bug that produced 'cannot update representation' error message on adding a fillet
2016-04-12 18:11:51 +02:00
jrheinlaender
b18958b3d9
Miscellaneous fixes
2016-04-12 18:11:51 +02:00
jrheinlaender
c751eefc00
Miscellaneous fixes
2016-04-12 18:11:51 +02:00
jrheinlaender
934c68faa5
Draft: Accept datum lines and planes as references
2016-04-12 18:11:50 +02:00
jrheinlaender
d8462d135b
Miscellaneous fixes
2016-04-12 18:11:50 +02:00
jrheinlaender
ffc09ec50c
Duplicate Selection: Add duplicated features to active Body
2016-04-12 18:11:50 +02:00
jrheinlaender
880587a627
Allow datum lines and planes for Transformed features' references
2016-04-12 18:11:50 +02:00
jrheinlaender
4645fdcd37
Miscellaneous fixes
2016-04-12 18:11:50 +02:00
jrheinlaender
1f42d4e3a3
bugfix for extrude to datum plane
2016-04-12 18:11:50 +02:00
jrheinlaender
cda9b57b6c
miscellaneous fixes
2016-04-12 18:11:50 +02:00
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
2c378a4f8c
Add check in Document.cpp recompute() to check for invalid pointers
2016-04-12 18:11:49 +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