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
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
4280334751
Make sure that App::Plane sketch placement is identical to deprecated SketchOrientationDialog placement
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
efd33c8465
Added check in Tree.cpp DocumentItem::slotChangeObject to check for invalid pointers returned by claimChildren()
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
d16a886ad9
Automatically create Body feature when choosing "New PartDesign Project" from StartPage
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
jrheinlaender
6654b859eb
Fixed build error on Ubuntu
2016-04-12 18:11:47 +02:00
Stefan Tröger
394085133c
add missing files
2016-04-12 18:11:47 +02:00
Stefan Tröger
d4f788f9e3
remove unneeded files
2016-04-12 18:11:47 +02:00
Stefan Tröger
ca60024447
add more constraints and rebuild solver system everytime it needs to be executed
2016-04-12 18:11:47 +02:00
Stefan Tröger
1e8a304036
remove typename outside templates
2016-04-12 18:11:46 +02:00
Stefan Tröger
35a9f1c693
remove gui dependencies in app
2016-04-12 18:11:46 +02:00
Stefan Tröger
bf447d3a7c
add solver.hpp
2016-04-12 18:11:46 +02:00
Stefan Tröger
b1d7dbe2f0
add missing files
2016-04-12 18:11:46 +02:00
Stefan Tröger
952d9140d3
add opendcm constraint solver
2016-04-12 18:11:46 +02:00
Stefan Tröger
474fbbcb3e
basic infrastructure
2016-04-12 18:11:46 +02:00
jriegel
638cfcc2cf
Start AssemblyLib.py
2016-04-12 18:11:46 +02:00
jriegel
b81bc0c27f
Update Item with new UUID tool
2016-04-12 18:11:46 +02:00
jriegel
4d49b0b059
PropertyMap and new Attributes for the Assembly object and the Document
2016-04-12 18:11:46 +02:00
wmayer
e6387c6acf
Connect task box labels with commands as queued connection
2016-04-12 18:11:46 +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
fca3b9dffb
Added Base planes with the Body
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
2403af2e6c
Fix bug in switching active Part/Assembly object when document with active one was closed
2016-04-12 18:11:45 +02:00
jriegel
b08b2f6140
addition of constraints
2016-04-12 18:11:45 +02:00
jriegel
f29c33c7dc
add .gitignore for *.pyc files
2016-04-12 18:11:45 +02:00
jriegel
8f11dc5492
start Constraints
2016-04-12 18:11:45 +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
f5cfa8d72a
change inheritance of Item (again)
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
117238da50
make SoFCUnifiedSelection work with nested children in 3DView
2016-04-12 18:11:45 +02:00
jriegel
e5c4d2aa70
testing selection
2016-04-12 18:11:45 +02:00
jriegel
ea57c04117
fix in Plane and Placement visual
2016-04-12 18:11:45 +02:00
jriegel
09f199ed9e
View nesting working!
2016-04-12 18:11:45 +02:00
jriegel
d5663b4122
Slightly change start up code to run Workbench activate later and some implementations
2016-04-12 18:11:45 +02:00
jriegel
29507a44ed
First claimChildren3D implementation and Starting PartItem implementation
2016-04-12 18:11:45 +02:00
jriegel
8537926edc
Finally fixing the highlight code
2016-04-12 18:11:44 +02:00
jriegel
0ec1c40d25
fix startup AssemblyGui
2016-04-12 18:11:44 +02:00
jriegel
58313b0853
implementing commands
2016-04-12 18:11:44 +02:00
jriegel
72b49dbc6b
fixes in highlight code
2016-04-12 18:11:44 +02:00
jriegel
26afb6ee77
Add highlighting of tree view items
2016-04-12 18:11:44 +02:00
jriegel
80217bf10f
Commands and object making
2016-04-12 18:11:44 +02:00
jriegel
6700512efe
Add some commands to assembly
2016-04-12 18:11:44 +02:00
jriegel
4f0f3e8c94
implementing Plane visual
2016-04-12 18:11:44 +02:00
jriegel
ed5a055444
implementing PlacementObject
2016-04-12 18:11:44 +02:00
jriegel
79cb8362a0
duplicate zoom node to Gui and add doc tool module
2016-04-12 18:11:44 +02:00
jriegel
23285e6fd2
add ProjectView
2016-04-12 18:11:44 +02:00
jriegel
f98a811bd1
Add more objects for Assembly
2016-04-12 18:11:44 +02:00
U-EMEA\jriegel
1bb3fbc119
Add ViewProvider for Assembly and Part and add FreeGCE3D
2016-04-12 18:11:44 +02:00
jriegel
1feafdd2c5
Adding ViewProvider
2016-04-12 18:11:44 +02:00
jriegel
04feea80b1
Starting DocTool for FreeCAD documents
2016-04-12 18:11:44 +02:00
jriegel
9396e5e02d
First work for LibPack8 and PropertyUUID
2016-04-12 18:11:44 +02:00
jriegel
a224d93d8c
Add Assembly App objects and some python bindings
...
Make Part working
2016-04-12 18:11:44 +02:00
jriegel
95c9259765
Run arbitrary scripts from Cmd command line
2016-04-12 18:11:44 +02:00
jriegel
33318314d8
starting implementing assembly
2016-04-12 18:11:44 +02:00
wmayer
8aaae0ba22
+ make 'Merge project' undo/redoable
2016-04-10 17:59:58 +02:00
Ian Rees
b555a70eac
Added some logging to Windows 3Dconnexion handler
2016-04-10 13:01:14 +12:00
Bernd Hahnebach
93810b8406
FEM: Mesh ViewProvider, remove some console log prints
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
45f2b8ce70
FEM: Mesh Viewprovider, add faces and edges of pyra13
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
0730b3a331
FEM: Mesh ViewProvider, add faces and edges of penta15
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
0c51820293
FEM: Mesh ViewProvider, add faces and edges of pyra5
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
e83f9d102f
FEM: Mesh ViewProvider, add faces and edges of penta6
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
11adf30ac5
FEM: Mesh ViewProvider, add faces and edges of hexa20
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
6edb3146b4
FEM: Mesh ViewProvider, add faces and edges of quad8
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
e8e5876249
FEM: Mesh ViewProvider, change node order and painting of hexa8
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
66d95cf401
FEM: Mesh ViewProvider, change painting and some comments of quad4
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
60a6107730
FEM: Mesh ViewProvider, change node order and painting of tetra10
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
2b20cf00c9
FEM: Mesh ViewProvider, change node order and painting of tria6
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
c42ea61323
FEM: Mesh ViewProvider, change painting of tetra4
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
ed83b85ee0
FEM: Mesh ViewProvider, change painting of tria3
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
b2711eaed6
FEM: Mesh ViewProvider, add some console log prints
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
c9810831a8
FEM: Mesh ViewProvider, move comments in adding the nodes loop
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
7effa0db1f
FEM: Mesh ViewProvider, sort intends
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
488c18359c
FEM: Mesh ViewProvider, change some comments and exception messages
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
1ebfcff681
FEM: Mesh ViewProvider, sort empty lines
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
677b5ca513
FEM: Mesh ViewProvider, remove some trailing white spaces
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
06e6f04423
FEM: Mesh ViewProvider, fix faces count for penta6 and penta15
2016-04-09 21:00:58 +02:00
Bernd Hahnebach
2ecab3a63c
FEM: Mesh ViewProvider, fix wrong break in switch
2016-04-09 21:00:58 +02:00
wmayer
85cad47468
+ activate new implementation of QuarterWidget::viewportEvent
2016-04-09 19:04:21 +02:00
wmayer
384316f691
+ skip FreeCAD version when saving&reading main window state
2016-04-09 17:06:50 +02:00
wmayer
1d75efea75
+ increase minor and build number, rework creation of Version.h
2016-04-09 15:15:29 +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
wwmayer
db2580088d
Merge pull request #132 from mandeeps708/master
...
fixes typo in Part Design workbench
2016-04-06 17:28:04 +02:00
mandeeps708
c1b652f21e
fixes typo in Part Design workbench
2016-04-06 02:51:03 +05:30
Eivind Kvedalen
8fe0d42450
Spreadsheet: Fixed undo/redo (issue #2483 ).
2016-04-04 19:58:19 +02:00
wmayer
87293fac9b
+ add extra check if fillet operation returns valid shape
2016-04-04 14:26:27 +02:00
wmayer
f7322989df
+ add convenience methods to SoQTQuarterAdaptor
2016-04-04 12:53:06 +02:00
wmayer
a4f0f5c129
+ fix crash when viewer has no camera
2016-04-04 12:48:58 +02:00
Yorik van Havre
3003f16389
Arch: fixed wrong storing of IFC uid in FreeCAD objects
2016-04-03 13:05:30 -03:00
Bruce B. Lacey
f2d8daa1fb
Add include of <sstreeam> to fix commit 08692f811
breakage to Ubuntu Precise 12.04 builds.
2016-04-02 11:19:28 -07:00
wmayer
7052fde4de
+ clear selection before hiding the linked object when editing fillet/chamfer
2016-04-02 15:29:08 +02:00
Eivind Kvedalen
484ba25ce6
Spreadsheet: Added test cases.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
a21571a652
Spreadsheet: Removed own expression parser and instead use the one in App.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
c506881614
Expressions: Simpified parser, fixed precedence (parentheses)
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
909727ade8
Expressions: Fixed parsing of unit expressions similar to 1/unit.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
1626c69494
Expressions: Moved Expression::priority to cpp file.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
b37e6ece98
Expressions: Refactored aggregate functions.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
08692f811b
Expressions: Added support for aggregate functions and ranges.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
6c80dd4eae
Spreadsheet: Fixed crash when invalid unit was given as input.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
e230f3c5e7
Spreadsheet: Expose parse error to user.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
c861505bc9
PropertyPlacement: Convert x, y, z values to Quantities when using them in expressions.
2016-04-02 12:01:04 +02:00
Eivind Kvedalen
d6052a5a27
Quantity: Added -= and += operators.
2016-04-02 12:01:04 +02:00
wmayer
0e45008f9a
+ rework parameter dialog
2016-04-01 15:18:56 +02:00
Yorik van Havre
f526ff8f48
Draft: small fix in snaps - issue #2487
2016-03-31 19:33:50 -03:00
wmayer
d4ec3a985a
+ move creation of SoFCSelection node to ViewProviderBuilder to avoid code duplication
2016-03-31 15:54:33 +02:00
wmayer
2521718820
+ fix bug in GLImageBox
2016-03-31 14:14:59 +02:00
wmayer
0875dfad34
+ remove unneeded namespace
2016-03-31 14:14:22 +02:00
wmayer
031711120d
+ improve MeshSelection class
2016-03-31 13:35:55 +02:00
wmayer
7dbcbc0f76
+ check if OCCGEOMETRY is already defined
2016-03-28 11:05:51 +02:00
Ian Rees
27f12ae3de
Find Netgen/nglib on MacOS with MacPorts
2016-03-28 10:48:49 +02:00
wwmayer
c69aae4b2f
Merge pull request #129 from ianrrees/20160327-use-SystemExitException-code
...
More fixes around Python exit codes
2016-03-28 10:17:13 +02:00
Yorik van Havre
153e87d36c
fixed wrong info in fcinfo tool
2016-03-28 00:27:43 -03:00
wmayer
fa77887d09
+ fix issue with cursor on viewer widget, prepare code for improved event handling
2016-03-28 00:55:37 +02:00
wmayer
d43443a832
+ improve GraphicsScene class
2016-03-27 16:22:30 +02:00
wmayer
7993938ab6
+ delete transient directory if sub-directory fc_recovery_files is empty
2016-03-27 11:32:29 +02:00
Ian Rees
bc71c6e64b
More fixes around Python exit codes
2016-03-27 13:01:04 +13:00
wmayer
b86e14afff
+ improve GraphicsScene class
2016-03-26 19:02:15 +01:00
wmayer
bd46939070
+ make GraphicsView get working again, remove unneeded code
2016-03-26 14:30:36 +01:00
Ian Rees
3cd752417b
Catch exceptions in FreeCADCmd like FreeCAD
2016-03-26 20:49:47 +13:00
wmayer
287f3d94ca
+ resize scene size when resizing graphics view
2016-03-25 18:11:56 +01:00
wmayer
05ed514bcf
+ replace insecure x/fabs(x) with sgn function
2016-03-24 11:07:30 +01:00
wwmayer
368cd7b731
Merge pull request #125 from triplus/patch-1
...
Pan support (LMB + RMB) Blender navigation
2016-03-24 09:46:16 +01:00
wmayer
3af29639c6
+ various minor fixes, whitespaces improvements
2016-03-23 23:28:56 +01:00
wmayer
a69ee20f0c
+ fix warning of unused variable
...
+ when clearing scene graph then also empty internal lists
+ whitespace changes
2016-03-22 19:25:38 +01:00
Yorik van Havre
9e75213c92
Document.openTransaction() now accepts unicode
2016-03-22 12:20:58 -03:00
wmayer
6453040cd8
+ fix mesh merge
2016-03-22 11:06:04 +01:00
wwmayer
9299a73cf1
Merge pull request #126 from bblacey/new-document-icons
...
Added osx freecad-doc.icns icon resource file.
2016-03-21 19:31:55 +01:00
wmayer
7df94ca9af
+ fix crash when raising SystemExitException if not called inside Python function
2016-03-21 18:50:57 +01:00
Bruce Lacey
feac22b00d
FreeCADTest.py invokes sys.exit() instead of the more aggressive os._exit()
...
With the ability to now pass the <exitCode> from sys.exit() up the
call stack to the shell, FreeCADTest.py should use sys.exit() instead
of the more aggressive os._exit() method that does not allow for
post-exception cleanup.
2016-03-21 18:28:46 +01:00
Bruce Lacey
9816e48b07
Propagate sys.exit(code) up the call stack to the shell
...
SystemExitException is instantiated and thrown by Base::Interpreter
whenever the python interpreter executes a sys.exit(<exitCode>) call.
However, in the current implementation, the SystemExitException
effectively swallows the <exitCode> hence under this change,
SystemExitException has been extended to save the <exitCode> passed to
the sys.exit() call when it is instantiated and provides a new
getExitCode() accessor method to retrieve the <exitCode> in a
try/catch block. MainGui.cpp was change to pass the corresponding
<exitCode> to the system exit() call so it is accessible in the shell.
2016-03-21 18:28:29 +01:00
wmayer
5393196c0e
+ add clean-up function to recovery dialog
2016-03-21 17:56:18 +01:00
Bruce B. Lacey
0f2943bde5
Added osx freecad-doc.icns icon resource file.
2016-03-20 19:51:24 -07:00
Yorik van Havre
aa83224594
Merge pull request #124 from bblacey/new-document-icons
...
Add high-resolution variant of FreeCAD document icon resources for al…
2016-03-20 21:41:33 -03:00
triplus
aebcea070c
Pan support (LMB + RMB) Blender navigation
2016-03-20 20:24:17 +01:00
Bruce B. Lacey
4ac1e89b65
Add high-resolution variant of FreeCAD document icon resources for all platforms
...
We did not have document icons defined for OS X and the existing legacy
icons were low resolution. For this change, we have created a
freecad-doc.svg icon that serves as the basis for generating
platform-specific FreeCAD document icon sets for the supported
platforms. Extended the OS X bundle definition to include the
high-resolution document icon set and regenerated the existing 64x64
Gui/Icon/freecad-doc.png from the new svg variant.
2016-03-19 19:10:13 -07:00
wmayer
c2bf2d0daa
+ fix build failure on Windows
2016-03-19 21:44:33 +01:00
wmayer
a4dc263846
+ always get occ version information in About dialog
2016-03-19 15:55:09 +01:00
wmayer
297e84e3f0
+ fix compiler warnings
2016-03-19 10:12:04 +01:00
Bernd Hahnebach
eca9e3339a
FEM: preference setting to disable restore result dialog settings
2016-03-18 21:53:13 +01:00
Bernd Hahnebach
1280a185c2
FEM: add FIXME comment to CommandQuickAnalysis
2016-03-18 21:53:12 +01:00
Bernd Hahnebach
c9d1fbdc7d
FEM: fix result stats in result widget for frequency analysis
2016-03-18 21:53:12 +01:00
Yorik van Havre
8829848f35
fixed startpage link
2016-03-18 16:21:33 -03:00
Yorik van Havre
bcb75d5477
Updated translation files from crowdin
2016-03-17 23:29:11 -03:00
Yorik van Havre
2542cb490a
Merge pull request #120 from pgilfernandez/FreeCAD_stylesheets204
...
Dark and Light stylesheets v2.04
2016-03-17 23:17:12 -03:00
Jonathan Wiedemann
010121d8c1
Arch Roof : Fix BOPCheck failed
...
cf http://forum.freecadweb.org/viewtopic.php?f=23&t=14711
2016-03-17 23:24:17 +01:00
wmayer
e6f0346521
+ make method ManualAlignment::setViewingDirections more reliable
2016-03-17 14:11:03 +01:00
Eivind Kvedalen
9d617ce4c8
Expressions: Changed precedence of ?, :, EQ, NEQ, LT, GT, GTE, and LTE.
2016-03-15 18:28:23 +01:00
Pablo Gil
348303a6cf
Stylesheets:
...
+ selected Tab bar has now opaque background color
+ styles for buttons inside Task Panel that are in reality QToolButtons
+ styles for QListWidget and QTreeView items with checkboxes
+ simplified regular QCheckBox styling
2016-03-15 15:09:28 +01:00
wwmayer
711f34f5ae
Merge pull request #119 from dev-at-stellardeath-org/python_lib64
...
Add lib64 to python path
2016-03-14 21:09:56 +01:00
Bernd Hahnebach
a0af9e2da0
FEM: unit test, update test result files and expected result files
2016-03-14 20:38:42 +01:00
Bernd Hahnebach
eca76c3781
FEM: unit test, add some helper to create result files
2016-03-14 20:38:41 +01:00
Bernd Hahnebach
a0a989fe4c
FEM: unit test, update FreeCAD file with objects from module TestFem
2016-03-14 20:38:40 +01:00
Bernd Hahnebach
0ffb412aaf
FEM: unit test, change load and pressure to some more reasonable values
2016-03-14 20:38:40 +01:00
Bernd Hahnebach
4e407ac4d6
FEM: unit test, remove not used files
2016-03-14 20:38:39 +01:00
wmayer
4f92f5cbbb
+ fix minor issue with url redirection
...
+ remove const reference
2016-03-14 18:04:31 +01:00
wmayer
fadf2dbc3b
+ when using QGLFramebufferObject check if a GL context is active
2016-03-14 10:35:13 +01:00
wmayer
18f0cc6346
+ issue: #0002440 : 0.16 Build rev 6395 Several display issues
2016-03-13 12:56:08 +01:00
Lorenz Hüdepohl
7f355febda
Add lib64 to python path
...
On certain distributions the library directories are called "lib64" on
amd64 machines
2016-03-13 01:18:18 +01:00
wmayer
a2b1c3915f
+ do not hide expression dialog when using the line edit's context-menu
2016-03-12 22:35:36 +01:00
DeepSOIC
5c3024e9f8
Sketcher: negative constraint value avoidance
...
by swapping elements being constrained at creation time, should the
precalculated value happen to be negative.
2016-03-12 21:28:37 +01:00
DeepSOIC
e624a1d00d
Sketcher: never ever hide constraint value sign, anymore
2016-03-12 21:28:22 +01:00
wmayer
b25ef6235d
+ on rename of contraint make sure that new name is different, on swap constraint names make sure they have user-defined names
2016-03-12 20:02:18 +01:00
wmayer
a17870c93c
+ fixes #0002471 : In constraint context menu, 'Change Value' is always greyed out
2016-03-12 15:26:06 +01:00
wmayer
d0e52d3578
+ prepare ViewProvider2DObject to read in GridSize from old projects
2016-03-11 23:06:47 +01:00
wmayer
f124f6e70b
+ minor whitespace fix, fix warnings
2016-03-11 21:39:15 +01:00
wmayer
32760491a6
+ fixes #0002433 : Window weirdness after changing constraint value in sketcher
2016-03-11 13:33:23 +01:00
wmayer
4bccc5cc6e
+ fixes #0002273 : Part: Chamfer edges and fillet edges dialog does not remember the type
2016-03-10 22:04:10 +01:00
wmayer
3f79dfffb6
+ allow to get user friendly names for navigation styles
2016-03-10 18:37:48 +01:00
Pablo Gil
20ee0ba82f
Stylesheets:
...
+ simplified toolbar button separators
+ added hover and pressed states for toolbar buttons to improve user experience
+ partial fix for button with icons inside Task panel
+ fixed styles for fields inside a table cell
2016-03-10 11:58:33 +01:00
Bruce Lacey
272cbd198d
Exit with non-zero status when unit tests fail.
...
1. Enhanced TestApp.py to return the unittest TestResult object to the calling method
2. FreeCADTest.py now checks the TestResult object. If all tests pass, FreeCADTest.py exits with a 0 however if any tests fail, then it exits with 1. FreeCADTest.py calls os._exit() with the exit code instead of sys.exit() because Base::Interpreter:SystemExitException intercepts sys.exit() calls and swallows the exit code so there is no way to propogate the non-zero code from the python test cases through the interpreter to the shell in the current call stack.
2016-03-09 21:57:57 -08:00
wmayer
3ca1ec2c28
+ issue #0002468 : freecad-0.15.4671/src/Base/Handle.cpp:61: bad test ?
2016-03-09 22:13:05 +01:00
wmayer
37b7334df6
+ remove extra qualification on normalEstimation
2016-03-09 18:57:36 +01:00
Bernd Hahnebach
fcd4603b66
FEM: fix translation issue of FEM Menue
2016-03-09 18:52:22 +01:00
wmayer
d8430f191f
+ simplify fix to avoid memory leaks in keySequenceToAccel
2016-03-09 17:19:19 +01:00
wmayer
7ee6214415
+ fix unit tests for spreadsheet
2016-03-09 17:03:48 +01:00
wmayer
8a91e7de24
Merge branch 'master' of https://github.com/FreeCAD/FreeCAD
2016-03-09 15:53:03 +01:00
wmayer
2e43774c2f
+ terminate xerces at program exit
2016-03-09 15:52:42 +01:00
wmayer
033eb6590e
+ fix possible build failure
2016-03-09 15:25:15 +01:00
wmayer
6da5c23990
+ add algorithm to estimate normals of points
2016-03-09 14:46:19 +01:00
Yorik van Havre
9af03d9b68
Fem: Fixed a translation bug
2016-03-08 21:44:06 -03:00
Yorik van Havre
65f53354c3
Merge pull request #113 from bblacey/mac-osx-packaging
...
Improved Mac OS X Application Packaging.
2016-03-08 21:39:43 -03:00
Eivind Kvedalen
08044fb737
Spreadsheet: Added code to throw under/overflow exceptions.
2016-03-08 16:09:31 +01:00
Eivind Kvedalen
ec7e920453
Spreadsheet: Added test case for conditional expressions.
2016-03-08 16:09:31 +01:00
Eivind Kvedalen
e270dee8cc
Spreadsheet: Fixed parser so it accepts integer numbers written as e.g 1e3.
2016-03-08 16:09:30 +01:00
Eivind Kvedalen
b606ed8ce4
Spreadsheet: Added AtomicPropertyChange object to avoid excessive property change reporting.
2016-03-08 16:09:30 +01:00
Eivind Kvedalen
f69a5ab7db
Spreadsheet: Turned off debug/tracing for expression parser.
2016-03-08 16:09:29 +01:00
Eivind Kvedalen
8ce2f16759
Expressions: Added code to throw under/overflow exceptions.
2016-03-08 16:09:29 +01:00
Eivind Kvedalen
a43e8aafbf
Expressions: ints should be 64 bit.
2016-03-08 16:09:28 +01:00
Eivind Kvedalen
ac79af0289
Expressions: Use BooleanExpression class for EQ, NE, LT, GT, LTE, and GTE operators.
2016-03-08 16:09:27 +01:00
Eivind Kvedalen
26f4d1ae8e
Expressions: Added App::BooleanExpression class.
2016-03-08 16:09:27 +01:00
Eivind Kvedalen
34135e5d2e
Expressions: Turned off debug output/tracing for expression parser.
2016-03-08 16:09:26 +01:00
Eivind Kvedalen
e940274146
Fixed leak.
2016-03-08 16:09:25 +01:00
Eivind Kvedalen
f27fa2ac9b
SIM::Coin3D::Quarter::SoQTQuarterAdaptor: Added missing initializationg of member field m_viewingflag.
2016-03-08 16:09:25 +01:00
DeepSOIC
3df9df66d9
Part: JoinFeatures UI improvements
...
* display originals in tree under the features (like Part Fuse does)
* unhide originals upon delete
* display message box when computing the feature fails on creation
2016-03-08 12:00:19 +01:00
Bruce B. Lacey
b18a5f1396
Improved Mac OS X Application Packaging.
...
1. Set python dependency paths in Application Bundle adhering the Homebrew convention of installing them in prefix/libexec
2. Add appdmg configuration to produce an os x disk image for FreeCAD application distribution
3. Added a Tools convenience script to produce an archive name from a serialized Version.h file using the convention FreeCAD_{Major Version Number}.{Minor Version Number}-{Git Revision Count}.{Git Short SHA}-{OS}-{Arch}
2016-03-07 20:49:58 -08:00
wmayer
2879ee24b5
+ add missing header
2016-03-08 00:36:17 +01:00
wmayer
4fcb93b64e
+ issue #0001203 : Allow User to Adjust Size of Constraint Points
2016-03-08 00:31:50 +01:00
wmayer
4672066db8
+ remove spaces from qss files due to copy problems
2016-03-07 16:54:51 +01:00
wwmayer
9fa224a947
Merge pull request #112 from pgilfernandez/FreeCAD_stylesheets202
...
Dark and Light stylesheets fixes/improvements
2016-03-07 16:37:33 +01:00
wmayer
1fee124e65
+ add CMake file for stylesheet files
2016-03-07 16:08:40 +01:00
wmayer
007a00b7f1
+ bug fix similar to idea of pull request 111
2016-03-07 15:12:00 +01:00
Pablo Gil
685bcfb898
Dark and Light stylesheets fixes/improvements:
...
+ fixed background logo for Win and Linux
+ improved QToolBar handle for different icon sizes (selectable by user inside Preferences)
+ tweaked editable fields inside QToolBar in order to work for all icon sizes (selectable by user inside Preferences)
+ fixed Ubuntu problem that caused a blank line inside up/down buttons of QSpinBox and similar
+ tweaked Python Editor color for Light theme
+ fixed buttons margin/padding inside Task tab
+ tweaked color for checked QPushButtons inside Draft WB for better user experience
2016-03-07 09:50:04 +01:00
Yorik van Havre
d1b4f23388
Added latest translations from crowdin
2016-03-06 14:50:07 -03:00
Pablo Gil
8b8db11d9f
+ Dark and Light stylesheets with 3 color variations each
...
(from version 2.01, more info: http://forum.freecadweb.org/viewtopic.php?f=9&t=14518 )
2016-03-06 13:56:04 +01:00
wmayer
34b9ff8867
+ command to create points object from geometry
...
+ implement TopoShape::getPoints
2016-03-05 23:36:57 +01:00
wmayer
0ec81d2760
+ add properties with 'hidden' mode to property editor but hide the item
2016-03-05 18:24:58 +01:00
wmayer
843fbc49fc
+ set refine option by default
2016-03-05 16:15:45 +01:00
wmayer
781f91e6af
+ add refine option to shape builder
2016-03-05 16:13:15 +01:00
wmayer
948ccac021
+ dynamically hide/show and enable/disable item in property editor
2016-03-05 13:13:23 +01:00
wmayer
efdbc93e99
+ create points with normals from mesh object
2016-03-04 19:39:13 +01:00
wmayer
70f58672c7
+ get also back normals from MeshObject::getPoints
2016-03-04 18:28:49 +01:00
wmayer
0ea6a2ed0d
+ removed unneeded pure virtual method getFaces from PropertyComplexGeoData
...
+ extend interface of ComplexGeoData::getPoints to also return normals if available
2016-03-04 17:16:57 +01:00
wmayer
288841cf98
+ function to create points from mesh
2016-03-04 16:00:08 +01:00
wmayer
a5e6edff87
+ support of export of points to pcd and ply format
2016-03-04 14:48:26 +01:00
Bernd Hahnebach
74a43f23b3
FEM: ccxInpWriter, add Nodes dict to self object
2016-03-03 18:40:32 +01:00
fandaL
c1bf26bbd7
FEM: ccxInpWriter, copy Nodes dict
2016-03-03 18:40:31 +01:00
wmayer
816b54bd25
+ add segmentation algorithm
2016-03-03 18:07:17 +01:00
Yorik van Havre
b825dcd6bb
Merge pull request #109 from wood-galaxy/bim-ifcproperty-6
...
Arch : IFC : Handle case where NominalValue is None
2016-03-03 11:12:58 -03:00
Jonathan Wiedemann
219e212fe0
Merge branch 'master' into bim-ifcproperty-6
2016-03-03 11:07:34 +01:00
Jonathan Wiedemann
2b66257d25
Merge branch 'master' into arch-roof-2
2016-03-03 10:49:33 +01:00
Jonathan Wiedemann
d113deab32
Arch Roof : improvement and clean up
...
change default value
handle shape based object
better getsubvolume method
2016-03-03 10:45:32 +01:00
Bernd Hahnebach
57c783e5b0
FEM: make python modules again flake8 compatible
2016-03-02 22:23:27 +01:00
Bernd Hahnebach
bc3cc033e1
FEM: make method names in ccxwriter consisten
2016-03-02 22:23:27 +01:00
Bernd Hahnebach
83ccbbe79d
FEM: remove not used methods from FemAnalysis class
2016-03-02 22:23:26 +01:00
wmayer
ec992ae1dc
+ filter out invalid points
2016-03-02 18:04:45 +01:00
wmayer
f336b7ed67
+ filter out invalid points in surface triangulation algorithms
2016-03-02 16:14:08 +01:00
wmayer
8a76f2c13e
+ add region growing, segmentation and ransac algorithms to Reen module
2016-03-02 15:51:26 +01:00
Yorik van Havre
1ec066553e
Merge pull request #97 from dbtayl/master
...
Helical/linear ramp plunging
2016-03-01 17:08:19 -03:00
wmayer
a1eef54451
+ do not allow to set negative grid size in property editor
2016-03-01 18:24:39 +01:00
wmayer
0c5a477fee
+ fix regression in German translation (also fixed on crowdin)
2016-03-01 16:45:14 +01:00
Yorik van Havre
b389554a30
Updated translation tools
2016-03-01 12:34:16 -03:00
Yorik van Havre
7734ffb810
Updated translation files
2016-03-01 12:34:03 -03:00
Jonathan Wiedemann
403ba14f57
Arch Roof : improvement and clean up
...
change default value
handle shape based object
better getsubvolume method
2016-03-01 09:45:11 +01:00
Jonathan Wiedemann
0172544cc7
Merge branch 'master' into arch-roof-2
2016-03-01 08:08:32 +01:00
Yorik van Havre
f1053504a1
Merge pull request #107 from triplus/Set-QComboBox-icon-size
...
Set QComboBox icon size
2016-03-01 00:13:49 -03:00
wmayer
ecd6517cb0
Merge branch 'master' of https://github.com/FreeCAD/FreeCAD
2016-02-29 23:45:17 +01:00
wmayer
39187dacac
+ add voxel filter function to Reen module
2016-02-29 23:44:55 +01:00
triplus
cf842d569e
Set QComboBox icon size
2016-02-29 20:14:49 +01:00
wmayer
2710d276df
+ fix build failure with gcc
2016-02-29 19:36:22 +01:00
wmayer
9139ab37d3
+ change binary export & import of shapes to restore placement and orientation
2016-02-29 18:37:36 +01:00
wmayer
93f32d4dd1
+ prepare string for translation
2016-02-29 13:22:49 +01:00
vginkeo
f14758d5e5
FEM: C++98 compatible fix to constraint displacement reference deletion, update vertice, edge, face selection
2016-02-29 13:06:16 +01:00
vginkeo
e47560003e
FEM: do not hide constraints for result view
2016-02-29 13:06:15 +01:00
vginkeo
187894d8b5
FEM: remove some trailing whitespaces
2016-02-29 13:06:14 +01:00
vginkeo
fcd2882ad7
FEM: remove module ccxInpWriterFemConstraintDisplacement
...
which was intoduced in commit b1dc2cb
by an accident
2016-02-29 13:06:13 +01:00
wmayer
5574419293
+ set range for quantity boxes
2016-02-29 12:29:02 +01:00
Yorik van Havre
bcd0ec8f53
Merge pull request #106 from bblacey/update-osx-0.16-iconset
...
Added High Resolution Display icons to Mac OS X iconset resource file…
2016-02-28 23:00:32 -03:00
Yorik van Havre
6f636e0ae9
Start: Updated startpage - fixed some links + restored commits feed
2016-02-28 22:03:03 -03:00
Bruce Lacey
ee8ac77eab
Added High Resolution Display icons to Mac OS X iconset resource file (.icns).
2016-02-28 14:39:31 -08:00
Yorik van Havre
5bdbe2db61
Draft: better docstring for offset - fixes #2199
2016-02-28 19:28:35 -03:00
wmayer
a59b915132
+ code clean-up
2016-02-28 19:01:23 +01:00
wmayer
4e29db90c6
+ fixes #0002200 : Application crash when modifying fillet
2016-02-28 18:56:21 +01:00
Yorik van Havre
9bd89e7e29
Arch: Fixed bug in extrusion of structures - fixes #2458
2016-02-28 14:03:29 -03:00
wmayer
9e01a08eaf
+ use quantity boxes in mesh segmentation dialog
2016-02-28 12:48:55 +01:00
wmayer
1fd06ef59b
+ use quantity boxes in mesh solid creation dialog
2016-02-28 12:44:29 +01:00
wmayer
32a5340b0b
+ use application-wide number of decimals in primitive creation dialog
2016-02-28 12:30:42 +01:00
wmayer
3f15ae80d0
+ fixes #0002049 : 0.15 and 0.16 Part Revolve ignores unit accuracy setting beyond 2 decimals
2016-02-28 12:12:10 +01:00
wmayer
dd3d30a4da
+ use quantity boxes in location widget
2016-02-28 12:11:24 +01:00
wmayer
d9e47e5896
+ make fillet/chamfer dialog narrower
2016-02-28 11:39:32 +01:00
wmayer
92c2b18350
+ use quantity boxes in fillet/chamfer dialog
2016-02-28 11:24:36 +01:00
Ian Rees
d811b585b7
Resolve clang compile error
2016-02-28 10:33:55 +13:00
wmayer
e1e0777c7b
+ add quantity boxes to mirroring dialog
2016-02-27 22:10:28 +01:00
wmayer
236f1666db
+ use quantity boxes in box & cylinder creation dialogs
2016-02-27 21:39:37 +01:00