Commit Graph

5793 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
79cb8362a0 duplicate zoom node to Gui and add doc tool module 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
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
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
Yorik van Havre
3003f16389 Arch: fixed wrong storing of IFC uid in FreeCAD objects 2016-04-03 13:05:30 -03: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
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
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
Ian Rees
27f12ae3de Find Netgen/nglib on MacOS with MacPorts 2016-03-28 10:48:49 +02: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
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
wmayer
05ed514bcf + replace insecure x/fabs(x) with sgn function 2016-03-24 11:07:30 +01:00
wmayer
6453040cd8 + fix mesh merge 2016-03-22 11:06:04 +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
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
Eivind Kvedalen
9d617ce4c8 Expressions: Changed precedence of ?, :, EQ, NEQ, LT, GT, GTE, and LTE. 2016-03-15 18:28:23 +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
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
4bccc5cc6e + fixes #0002273: Part: Chamfer edges and fillet edges dialog does not remember the type 2016-03-10 22:04:10 +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
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
7ee6214415 + fix unit tests for spreadsheet 2016-03-09 17:03:48 +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
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
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
wmayer
4fcb93b64e + issue #0001203: Allow User to Adjust Size of Constraint Points 2016-03-08 00:31:50 +01:00
Yorik van Havre
d1b4f23388 Added latest translations from crowdin 2016-03-06 14:50:07 -03:00
wmayer
34b9ff8867 + command to create points object from geometry
+ implement TopoShape::getPoints
2016-03-05 23:36:57 +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
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
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
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
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
6f636e0ae9 Start: Updated startpage - fixed some links + restored commits feed 2016-02-28 22:03:03 -03: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
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
wmayer
d56357f764 + use quantity boxes in revolution dialog 2016-02-27 21:31:54 +01:00
Yorik van Havre
67257633d6 Merge pull request #102 from triplus/SVG_WB_Icons
Add SVG workbench icons
2016-02-27 16:06:13 -03:00
wmayer
206e183f52 + use quantity box in offset dialog 2016-02-27 19:43:48 +01:00
wmayer
da9656dd7a + use quantity boxes in cross section dialog 2016-02-27 19:25:19 +01:00
wmayer
f868120a77 + use quantity boxes in inspection dialog 2016-02-27 19:07:29 +01:00
wmayer
3fc7b6bfb2 + use quantity box for length on extrusion dialog 2016-02-27 18:37:53 +01:00
Yorik van Havre
6fe6863001 Draft: Fixed placement bug in clones 2016-02-27 13:30:01 -03:00
Yorik van Havre
0c5484335d Merge pull request #103 from triplus/RadiosityOutdoorHQ
Add RadiosityOutdoorHQ.pov Raytracing Template
2016-02-27 13:17:13 -03:00
wmayer
ede0dbdff7 + use quantity box in DlgSettingsImportExport 2016-02-27 17:16:38 +01:00
wmayer
37e9c9732f + use quantity box in tessellation dialog 2016-02-27 16:02:37 +01:00
wmayer
18a61c0ef8 + use quantity box in image orientation dialog 2016-02-27 15:10:31 +01:00
wmayer
202a1be3f5 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-02-27 15:07:59 +01:00
wmayer
461bc33fbf + fix typo in Raytracing dialog 2016-02-27 15:07:16 +01:00
triplus
e53e0ab0f5 Added RadiosityOutdoorHQ.pov 2016-02-27 03:11:45 +01:00
triplus
f66998e996 Create RadiosityOutdoorHQ.pov 2016-02-27 03:10:01 +01:00
triplus
d432c72a15 Add SVG workbench icons 2016-02-26 23:17:43 +01:00
Yorik van Havre
28b6c82555 Added updated translations from crowdin - fixes #2443 2016-02-26 18:32:02 -03:00
Yorik van Havre
d3870968df Draft: Fixed undo mode of wires - fixes #2456 2016-02-26 16:11:13 -03:00
Yorik van Havre
a1f16cabec Merge pull request #101 from wood-galaxy/sketcher-micro-sizing
Sketcher : Allow µm in sketcher grid size
2016-02-25 12:00:01 -03:00
Jonathan Wiedemann
a7e05382ad Merge branch 'master' into bim-ifcproperty-6 2016-02-25 11:24:27 +01:00
Jonathan Wiedemann
604fc320cf Arch - IFC : Handle case where NominalValue is None 2016-02-25 11:23:10 +01:00
maurerpe
3f3d8a95f5 Fix remaining toAscii/fromAscii
Qt5 does not have toAscii or fromAscii.  Use toLatin1 and fromLatin1
respectively.  Both replacement functions exist in Qt4.8.
2016-02-24 23:56:43 +01:00
wmayer
63e09bcbc2 + add convenience methods to query/alter selection of mesh object 2016-02-24 21:31:12 +01:00
wmayer
d891ddba33 + fix a memory leak in mesh selection 2016-02-24 21:00:26 +01:00
wmayer
5342b67122 + when cutting scattered points then also remove colors, grey values or normals if available 2016-02-23 19:47:54 +01:00
wmayer
869e7870f5 + in pad dialog make sure not to compare quantities with different units 2016-02-23 11:34:04 +01:00
Yorik van Havre
9e551e0fdb Merge pull request #95 from wood-galaxy/bim-ifcproperty5
Arch BIM IFC : Add IFC Properties spreadsheet container
2016-02-22 20:35:28 -03:00
Yorik van Havre
c6af697230 Draft: avoid blocking keys in fields that can be used for units 2016-02-22 20:16:51 -03:00
Daniel Taylor
e5f1f4df3d Basic helical plunge and linear-ramp plunging 2016-02-21 09:45:29 -06:00
Daniel Taylor
377595647d Fixed "prnt" function to properly limit to 4 decimal places
Greatly simplify rebaseWire
2016-02-21 09:45:29 -06:00
wmayer
a3209e1aee + do some code cleanup and renaming in Points module 2016-02-21 16:18:28 +01:00
wmayer
24e4e08be5 + view provider for scattered and organized point clouds 2016-02-21 13:52:17 +01:00
wmayer
7bdecf9b38 + handling of organized point cloud 2016-02-20 22:19:47 +01:00
Jonathan Wiedemann
6b7190d3f0 Arch BIM IFC : Add IFC Properties spreadsheet container 2016-02-20 13:25:26 +01:00
Yorik van Havre
4928624d14 Arch: Small workaround in IFC importer 2016-02-19 18:08:12 -02:00
Jonathan Wiedemann
f16a26662d Sketcher : Allow µm in sketcher grid size 2016-02-19 16:32:25 +01:00
Jonathan Wiedemann
e37cdf15cf Arch Change default value
Comment some print
2016-02-19 16:20:57 +01:00
Yorik van Havre
577f208da7 Revert "FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection."
This reverts commit ac4d466443.
2016-02-19 00:05:55 -02:00
Yorik van Havre
fa6046ea19 Draft: fixes in line/wire creation by angle 2016-02-18 20:09:19 -02:00
vginkeo
ac4d466443 FEM: Updated fix to constraint displacement reference deletion, update hide show, remove custom input writer, update vertice, edge, face selection. 2016-02-18 19:15:16 -02:00
Eivind Kvedalen
9606fb144a Spreadsheet: Updated test cases. 2016-02-18 16:54:43 +01:00
Eivind Kvedalen
b74b3f3358 Spreadsheet: Refactor code and reuse visitors from ExpressionVisitors.h 2016-02-18 16:54:42 +01:00
Eivind Kvedalen
1802d94a1a Spreadsheet: Override DocumentObject::renameObjectIdentifiers() to get better renaming support. 2016-02-18 16:54:42 +01:00
Eivind Kvedalen
8c943d0ad7 Spreadsheet: Refactored code to use AtomicPropertyChangeInterface. 2016-02-18 16:54:40 +01:00
Eivind Kvedalen
53dcaccd4e Spreadsheet: Refactored alias checking code, so GUI and Python error messages are aligned. 2016-02-18 16:54:39 +01:00
Bernd Hahnebach
183f8dfebe FEM: fix unit test cases 2016-02-17 19:36:16 +01:00
Bernd Hahnebach
2f2e6e8f8c FEM: infile fix, youngs modulus and poisons ratio
have to be in one line for ccx 2.9
2016-02-17 19:36:16 +01:00
wmayer
1a64c3f2dc + fixes #0001592: Import colored PCL point clouds 2016-02-14 22:46:27 +01:00
wmayer
fbd6f9002c + fix to load mesh with colours 2016-02-13 20:01:47 +01:00
Yorik van Havre
0e897b86c0 Merge pull request #93 from ianrrees/20160213-fix-non-gui-build
Add cmake checks for BUILD_GUI to some modules
2016-02-13 14:37:58 -02:00
wmayer
408d7a9ba8 + translation fixes 2016-02-13 16:48:24 +01:00
Ian Rees
e242e4643b Add cmake checks for BUILD_GUI to some modules 2016-02-13 13:45:27 +13:00
Yorik van Havre
d0bc467e6a Path: Fixed some more translation contexts 2016-02-12 20:29:28 -02:00
Yorik van Havre
a649c3ca31 Arch: Fixed window bug - fixes 2449 2016-02-12 20:19:59 -02:00
Yorik van Havre
6a35ef38c7 Updated ts files 2016-02-12 14:22:04 -02:00
vginkeo
b1dc2cbf94 FEM: Implement constraint displacement in C++ 2016-02-12 11:09:58 +02:00
Yorik van Havre
6a103493a1 Arch: small fix in IFCexport 2016-02-11 20:06:06 -02:00
Yorik van Havre
5388520a20 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-02-11 14:57:11 -02:00
Yorik van Havre
ce8ed2ade3 Path: Enabling highlight/selection colors in paths 2016-02-11 14:55:37 -02:00
Jonathan Wiedemann
5c5e62ffbd Arch BIM IFC : Handle utf8 for IfcDescriptiveMeasure 2016-02-11 15:49:58 +01:00
Yorik van Havre
f942bf2729 Arch: Enabled IFC4 export and fixed a couple of bugs 2016-02-10 15:35:21 -02:00
Yorik van Havre
381dcfe7e3 Draft: Fixed problem with addPoint and delPoint buttons 2016-02-10 15:34:54 -02:00
wmayer
33344be035 + support of colors per vertex in obj mesh format 2016-02-10 15:09:04 +01:00
Yorik van Havre
45f059d3a9 Draft: replaced the Draft OK task button with a more clear 'Create Point' button. 2016-02-09 17:58:22 -02:00
Yorik van Havre
7ff4e28599 Path: Fixed translation stuff - issue #2443 2016-02-09 17:05:57 -02:00
Yorik van Havre
42c42fd064 Draft: removed redundant transactions in Draft edit mode 2016-02-09 13:11:46 -02:00
wmayer
beb52c4e65 + replace old C cast with static_cast 2016-02-09 16:02:44 +01:00
wmayer
fe8be472a9 + fix unit tests 2016-02-09 16:00:38 +01:00
Yorik van Havre
1324575b35 Arch: Fixed missing views of windows 2016-02-05 19:05:15 -02:00
Yorik van Havre
32b6d4af9c Added draft & arch tests to the Test GUI 2016-02-05 16:47:36 -02:00
Yorik van Havre
d4d9b7aee1 Arch: small fix in window placements 2016-02-05 13:09:40 -02:00
Jonathan Wiedemann
df3648a864 Arch - little IFC Spreadsheet adjustement 2016-02-05 02:08:23 +01:00
Jonathan Wiedemann
980b8dbeda Arch - Fix #2430 - Add IFC Spreadsheet properties system 2016-02-04 20:55:45 +01:00
Yorik van Havre
ba9e43abc4 Arch: simplifications of Window tool
* If an arch object is selected when creating a window, the window is always inserted in that object
* No more "create from scratch" mode.
* Now needs to create the sketch first, then press the window button
* Added "Auto-include" checkbox in window creation task, to disable auto-embedding
* Fixed wrong orientation of windows
2016-02-04 13:55:39 -02:00
Yorik van Havre
2e2192f88a Added slovenian language 2016-02-03 13:36:51 -02:00
Yorik van Havre
88be837f72 Arch: fixed bugs in IFC importer 2016-02-03 13:01:34 -02:00
Yorik van Havre
f3d66aa674 OpenSCAD: allow to enable verbose output in preferences 2016-02-03 12:04:48 -02:00
Yorik van Havre
35cc2879e5 Arch: fixed wrong syntax in IFC importer 2016-02-03 10:50:19 -02:00
Yorik van Havre
ab89c9af94 Draft: redraw wire arrow on file load - fixes #2424 2016-02-02 19:26:34 -02:00
Yorik van Havre
79a615f222 DXF and IFC pref pages can now be set to show on each import/export 2016-02-02 16:13:40 -02:00
Yorik van Havre
388ea0629c OpenSCAD: set legacy options when using importDXF 2016-02-02 14:19:40 -02:00
Bernd Hahnebach
e214567a64 Start: add FEM example to Start page 2016-02-02 07:18:48 +01:00
Bernd Hahnebach
b3f77dcc35 FEM: material task panel, save density in kg per m3 to material dictionay 2016-02-02 07:18:48 +01:00
Bernd Hahnebach
e9606a241a FEM: fix, transient material was used in some cases even if material was not changed 2016-02-02 07:18:47 +01:00
Bernd Hahnebach
efc9b712ae FEM: small changes in CalculiX standard steel material 2016-02-02 07:18:47 +01:00
Bernd Hahnebach
3690313065 FEM: use transient material for a saved None material too
this will reload material data saved into the None material
2016-02-02 07:18:46 +01:00
Bernd Hahnebach
60cdca01a8 FEM: fix, use uniqe names for materials in CalculiX input file 2016-02-02 07:18:46 +01:00
Yorik van Havre
37b1bdbe27 Updated translations with latest from crowdin 2016-02-01 23:32:58 -02:00
Yorik van Havre
fc9fe3ee00 Draft: fixed bug introduced by OK button 2016-02-01 20:28:30 -02:00
Yorik van Havre
04e9392e37 Draft: added a note to DXF options 2016-02-01 19:47:50 -02:00
Yorik van Havre
2688a2f501 Material: Fixed return value of the material editor 2016-02-01 19:35:48 -02:00
Yorik van Havre
704d3caf08 Draft: small bugfix in wires 2016-02-01 17:56:20 -02:00
Yorik van Havre
fdcd605498 Merge remote-tracking branch 'ovginkel/rtd_arrowssinglecommit' 2016-02-01 12:44:14 -02:00
Yorik van Havre
fe959b8986 Draft: bugfix in legacy DXF importer 2016-02-01 12:15:50 -02:00
vginkeo
80a791021b FEM: Constraint view sizing and scaling of indicators for force, pressure and fixed constraints and limit on steps. 2016-02-01 10:52:37 +02:00
Yorik van Havre
4cb5de6848 Arch: fixed OBJ import without GUI - fixes #2305 2016-01-31 16:53:54 -02:00
Yorik van Havre
87da750d56 Draft: fixed bug in task panels 2016-01-31 16:28:13 -02:00
Yorik van Havre
15a4976c97 Draft: implemented OK button in task dialogs - fixes #2423 2016-01-30 15:07:29 -02:00
Yorik van Havre
287e741210 Draft: Added Tick style for dimensions and wire/line arrows - fixes #2425 2016-01-30 14:46:38 -02:00
Yorik van Havre
d45abca952 Draft: fixed end arrow of lines/wires - fixes #2424 2016-01-30 14:31:32 -02:00
Yorik van Havre
645a83ad32 Arch: New behaviour against circular dependency can now be switched off in preferences 2016-01-29 12:29:03 -02:00
Yorik van Havre
3702820f00 Arch: Added an IFC pref option to disable clones creation on import 2016-01-29 00:28:47 -02:00
Yorik van Havre
5fbdd4ac66 Arch: bugfix in Structure creation 2016-01-28 13:53:58 -02:00
Jose Luis Cercos Pita
feb9b58a7e Added the matplotlib navigation toolbar, and methods to toogle it on/off 2016-01-28 10:25:53 +01:00
Jose Luis Cercos Pita
f07f047bbf Fixed deprecation warning when matplotlib 1.4 is used 2016-01-28 10:24:35 +01:00
Yorik van Havre
2eb194776b Merge pull request #82 from bblacey/matplotlib-1.5
Upgraded Plot module to comply with matplotlib 1.5.x API
2016-01-27 21:55:02 -02:00
Yorik van Havre
23cc9ba32e Path: small fix in arcs rendering 2016-01-27 19:27:24 -02:00
wmayer
173f19eff4 + move handwritten Python classes to PyCXX 2016-01-27 18:07:48 +01:00
Bruce Lacey
9f907f5d1b Upgraded Plot module to comply with matplotlib 1.5.x API
Plot.py will check the version of matplotlib imported using the
distutils.version.StrictVersion class.  If the version is less
than 1.5.0, it will import the legacy gt4agg NavigationToolbar
from matplotlib, otherwise the 1.5.x version.

Resolves #2421
2016-01-26 22:31:29 -08:00
wmayer
c6740162bc + cleanup spreadsheet tests and corrected date & author 2016-01-26 21:33:31 +01:00
wmayer
d7dd512428 + small fixes in spreadsheet tests 2016-01-26 15:29:39 +01:00
wmayer
e0b12695b1 + write unit tests for Spreadsheet and expression stuff 2016-01-26 15:07:29 +01:00
Ed Martin
d71a12db05 Spreadsheet: Issue #2355: Do not recompute the spreadsheet and its dependents unless the change affects the spreadsheet 2016-01-26 12:04:55 +01:00
Eivind Kvedalen
ed29d8ef9a Spreadsheet: Fixed crash when removing aliases. 2016-01-26 11:14:06 +01:00
Eivind Kvedalen
bcff5d21ca Spreadsheet GUI: Issue #2402: Check for existing aliases in Properties dialog box. 2016-01-26 11:07:51 +01:00
Eivind Kvedalen
e8eef1dfcb Spreadsheet: Issue #2402: Added getAlias function. 2016-01-26 10:53:26 +01:00
Eivind Kvedalen
610466284b Spreadsheet: Issue #2402: Allow set to also accept alias name (in addition to cell address). 2016-01-26 10:53:03 +01:00
Eivind Kvedalen
301fcc2ab7 Spreadsheet: Issue #2402: Don't allow duplicate aliases. 2016-01-26 10:52:34 +01:00
Eivind Kvedalen
d45a95bf3a Spreadsheet: Issue #2402: Added functionality to get cell address given an alias. 2016-01-26 10:52:00 +01:00
wmayer
a583697e5a + fix CMakeLists.txt file of Ship module 2016-01-25 21:46:01 +01:00
Jose Luis Cercos Pita
621f7f49e0 Fixed index typo 2016-01-25 15:29:53 +01:00
Jose Luis Cercos Pita
ec752fd076 Merge remote-tracking branch 'upstream/master' 2016-01-25 15:26:18 +01:00
Jose Luis Cercos Pita
499c685668 Added the GZ curves computation tool to the console interface 2016-01-25 15:15:04 +01:00
Jose Luis Cercos Pita
f0770a7456 Added the loading conditions creation to the console interface 2016-01-25 09:11:19 +01:00
Jose Luis Cercos Pita
83d5217795 Added the capacity curve computation tool to the console interface 2016-01-25 08:50:57 +01:00
Yorik van Havre
cbdd18cef6 Path: Added pref setting to disable auto-include of new paths in projects 2016-01-24 21:04:02 -02:00
wmayer
57fadb1663 + handle crash with setup of Join commands in Part module in case PySide can't be found 2016-01-23 23:37:52 +01:00
Yorik van Havre
380b4a7b62 Path: Fixed non-functioning Path From Shape 2016-01-23 19:39:34 -02:00
Yorik van Havre
baf103ad0a Path: Added Simple Copy tool + Inspect tool can now save changes 2016-01-23 15:58:00 -02:00
Jose Luis Cercos Pita
c3ccd0f72c Added a console interface to the tanks generation 2016-01-23 14:35:56 +01:00
Jose Luis Cercos Pita
a615380027 Added a console interface to the weights generation 2016-01-23 14:21:25 +01:00
wmayer
27fbccaeab + rename method 'transform' to 'tramsformGeometry' for the classes PropertyNormalList and PropertyCurvatureList
+ make transformGeometry method ready for undo/redo
2016-01-22 13:18:24 +01:00
Jose Luis Cercos Pita
0a4a8191a2 Added all the Hydrostatics to the console interface 2016-01-22 13:17:13 +01:00
Yorik van Havre
7bba2ee9aa Path: better colors for PAth Inspector 2016-01-21 18:07:47 -02:00
Jose Luis Cercos Pita
c65dbe1db1 Implemented a generic method to move the ship shape in order to compute the hydrostatics 2016-01-21 20:14:57 +01:00
Jose Luis Cercos Pita
e1aa844e95 Added the possibility of computing the transversal areas from the console interface 2016-01-21 19:57:55 +01:00
Jose Luis Cercos Pita
55c63f414d Corrected the translation environment 2016-01-21 19:26:47 +01:00
Jose Luis Cercos Pita
94cc4b4e36 Updated the copyright notifications 2016-01-21 18:56:28 +01:00
Jose Luis Cercos Pita
495308905c Added a console interface to create the ship instance 2016-01-21 18:46:08 +01:00
Yorik van Havre
2ed8e5dd99 Path: misc bugfixes + restored node markers 2016-01-21 14:02:56 -02:00
wmayer
5033983c64 + code clean-up 2016-01-21 16:43:27 +01:00
wmayer
f47cc169ae + make code more readable 2016-01-21 16:07:07 +01:00
wmayer
c9f168d3a2 + simplify porting of Mesh module to Python3 2016-01-21 15:49:22 +01:00
wmayer
aa7aa64724 + simplify porting of Drawing module to Python3 2016-01-21 14:49:57 +01:00
wmayer
bf10bf33f6 + simplify porting of Fem module to Python3 2016-01-21 13:42:08 +01:00
wmayer
094a4352f1 + simplify porting of Complete module to Python3 2016-01-21 12:38:17 +01:00
wmayer
85d8d70411 + simplify porting of Image module to Python3 2016-01-21 12:27:12 +01:00
wmayer
a5b6e5d48a + simplify porting of Import module to Python3 2016-01-21 12:08:29 +01:00
Yorik van Havre
44ad4d94c7 Path: made tooltable editable by right-clicking the machine 2016-01-20 20:36:53 -02:00
wmayer
a07b9cd0d4 + simplify porting of Inspection module to Python3 2016-01-20 22:48:26 +01:00
wmayer
b5bf7d6b9d + simplify porting of MeshPart module to Python3 2016-01-20 22:38:45 +01:00
wmayer
3185e09806 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2016-01-20 22:06:20 +01:00
wmayer
b10f838687 + simplify porting of Part module to Python3 2016-01-20 22:05:53 +01:00
Yorik van Havre
ba63d7af11 Path: reorganized tools 2016-01-20 19:05:12 -02:00
Yorik van Havre
08dda60d00 Path: ToolChange command + added Inspect command to context menu 2016-01-20 18:53:04 -02:00
Yorik van Havre
2262e7d60f Path: minor improvements to some icons 2016-01-20 17:44:19 -02:00
wmayer
91d6e24f1e + simplify porting of PartDesign module to Python3 2016-01-20 17:00:43 +01:00
Jose Luis Cercos Pita
9770cca561 Finished the GZ curve implementation 2016-01-20 15:13:00 +01:00
Jose Luis Cercos Pita
6315084f58 Slightly improved the capacity curve plot 2016-01-20 12:36:05 +01:00
Jose Luis Cercos Pita
d8e511f1dc Moved to a more robust Part module based boolean common operator 2016-01-20 12:35:47 +01:00
wmayer
ebc6d37262 + simplify porting of DraftUtils module to Python3 2016-01-20 11:57:59 +01:00
Jose Luis Cercos Pita
2814565850 Cleared out some debug messages 2016-01-20 11:52:36 +01:00
Jose Luis Cercos Pita
65df5010f8 Fixed a typo in the transformation angles 2016-01-20 11:51:59 +01:00
wmayer
cbe9c39a96 + fix typo 2016-01-20 11:22:27 +01:00
wmayer
f85d168ef0 + simplify porting of Path module to Python3 2016-01-20 11:21:06 +01:00
wmayer
281447780b + simplify porting of ReverseEngineering module to Python3 2016-01-20 10:26:50 +01:00
wmayer
a643463733 + simplify porting of Test module to Python3 2016-01-20 10:26:12 +01:00
Yorik van Havre
fa42bc451a Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-01-19 22:35:43 -02:00
Yorik van Havre
0d22ca8eaf Path: Added new series of tools and fixes
* Fixed UsePlacement property of Path Compounds
* Added Path FaceProfile command - does a simple 2D contour of a face
* Added Path FacePocket command - does a simple 2D pocket of a face
* Added Path Array command - does an array with copies of a path
* Added Path Custom command - to add custom G-Code
* Added Inspect command - to inspect the G-Code of a path
2016-01-19 22:31:46 -02:00
wmayer
cb92240458 + simplify porting of Points module to Python3 2016-01-20 00:00:41 +01:00
Yorik van Havre
f480791472 Made last commit non-C++11 compatible 2016-01-19 11:25:16 -02:00
Jose Luis Cercos Pita
3644dcbcab Added a much more robust displacement tool for the GZ computation 2016-01-19 13:16:32 +01:00
Jose Luis Cercos Pita
a5d7344f5a Modified the ship shpae transformation process during the hydrostatics computation 2016-01-19 11:16:36 +01:00
Jose Luis Cercos Pita
8cc3e62589 Improved the transversal areas computation 2016-01-19 10:14:02 +01:00
Ian Rees
b6a1fd85ea Added ability to change mesh export tolerance. 2016-01-19 20:44:17 +13:00
wmayer
05279d2846 + simplify porting of Raytracing module to Python3 2016-01-18 19:14:57 +01:00
wmayer
108149297f + simplify porting of Robot module to Python3 2016-01-18 18:26:37 +01:00
Jose Luis Cercos Pita
63f976e25a Implemented a draft of the GZ computation tool 2016-01-18 18:04:01 +01:00
Jose Luis Cercos Pita
a0a2a1012e Fixed typo in the capacity curve tool 2016-01-18 16:11:02 +01:00
Jose Luis Cercos Pita
7a53c17fde Added a weights and tanks collector 2016-01-18 15:38:44 +01:00
Jose Luis Cercos Pita
c99f4921ca Implemented GZ tool variables saving and loading 2016-01-18 14:41:50 +01:00
Jose Luis Cercos Pita
cf76a92996 Added console messages to know the computation progress 2016-01-18 13:15:05 +01:00
Jose Luis Cercos Pita
ce52c4b024 Set a different color to the z-vol curve (in order to make possible3 to differentiate that from the level-vol curve) 2016-01-18 13:10:53 +01:00
Jose Luis Cercos Pita
3ea9f6245d Removed the uneeded pivy imports 2016-01-18 13:01:23 +01:00
wmayer
65fe62d93b + simplify porting of Sketcher module to Python3 2016-01-18 12:19:54 +01:00
wmayer
bfdaa46feb + simplify porting of Sandbox module to Python3 2016-01-18 11:43:20 +01:00
Jose Luis Cercos Pita
e002c9e66d Merge remote-tracking branch 'upstream/master' 2016-01-18 10:49:36 +01:00
wmayer
36383135a8 + simplify porting of Spreadsheet module to Python3 2016-01-17 23:15:24 +01:00
wmayer
d78d747760 + simplify porting of Start module to Python3 2016-01-17 22:13:32 +01:00
wmayer
a467612b9f + simplify porting of Web module to Python3 2016-01-17 19:17:34 +01:00
wmayer
372704f44b + implement 'swap' for point kernel class to efficiently copy data 2016-01-15 23:20:06 +01:00
Yorik van Havre
9a27d5845f Draft: fixed gui bug in trimex 2016-01-14 13:39:24 -02:00
wmayer
6ed52e479b + fix crashes in ortho view panel 2016-01-13 17:40:20 +01:00
wmayer
ffcbb0b66c + improve error handling in projection panel in Drawing workbench 2016-01-13 14:48:51 +01:00
Yorik van Havre
0ba829de41 Fixed typo in last commit 2016-01-11 22:18:31 -02:00
Yorik van Havre
97aea8a4ed Arch: search for profiles.csv also in current dir 2016-01-11 22:08:02 -02:00
sgrogan
99731988d3 Copy Profiles.csv to data dir of build dir 2016-01-11 21:58:58 -02:00
Abdullah Tahiri
7fc7bdc302 Gui Enhancement: Support for macros in AppUserHome/Macro
=====================================================

What?
It was suggested that the macros should be moved to AppUserHome/Macro
http://forum.freecadweb.org/viewtopic.php?f=10&t=13433

Solution:
The solution is backwards compatible in the sense that if you have a running
configuration, updating should not change anything.

For new installations the macro directory will default to AppUserHome/Macro. However
this would break all the installation scripts (probably also ME's plugin manager).

Conflicts:
	src/Mod/Path/Gui/AppPathGuiPy.cpp
2016-01-11 19:24:22 +01:00
Yorik van Havre
86a1897eca Arch: small encoding fixes 2016-01-11 13:08:28 -02:00
wmayer
89cb247923 + handle degenerated ellipse for SVG output 2016-01-11 13:01:01 +01:00
Yorik van Havre
1e6a29eecf Path: added slic3r pre script 2016-01-10 19:58:02 -02:00
Yorik van Havre
fa3d8c4824 Arch: updated license block 2016-01-09 16:13:05 -02:00
Yorik van Havre
6121e8dea4 Arch: new presets system for structures 2016-01-09 16:04:11 -02:00
Abdullah Tahiri
81f216f9e3 Sketcher Bug fix: Solver information update on over-constrained situation
==================================================================================

Why?
if lastDoF<0, then an over-constrained situation has ensued and geometry is not to be updated, as geometry can not follow the constraints.
However, solver information needs to be updated.

Solution:
Just trigger a constraint change so that signaling is sent to ViewProviderSketch via boost and the solver information updated, using
Constraints.touch().
2016-01-09 13:42:12 +01:00
Eivind Kvedalen
d53cb8146e Spreadsheet: Issue #2388: The SheetObserver should ignore changed properties that don't have a name. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
a760487ad2 Spreadsheet: Don't update line edit on top unless we have to. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
160d88c883 Spreadsheet: Clear line edit on top when current cell is cleared. 2016-01-08 23:09:00 +01:00
Eivind Kvedalen
e523638c75 Spreadsheet: Enable tooltip for error messages. 2016-01-08 23:09:00 +01:00
Yorik van Havre
bf19e80de1 Arch: fixed encoding bugs 2016-01-07 15:27:49 -02:00
Yorik van Havre
7691e22c59 Arch: handle ifcopenshell error when shape is not available 2016-01-07 12:09:17 -02:00
Bernd Hahnebach
edac98b7ee FEM: small improvements in the regard of flake8 compatiblity 2016-01-06 11:13:38 -02:00
Bernd Hahnebach
c60c70eb7b FEM: delete no longer needed EditorMode Setting
the properties are set to read only in the C++ constructor allready.
See commit 1a8c643d50
2016-01-06 11:13:38 -02:00
Bernd Hahnebach
0ba0f7a55d FEM: set solver type property to read only the hard way 2016-01-06 11:13:38 -02:00
Bernd Hahnebach
feb8c0685e FEM: make result stats read only in property editor 2016-01-06 11:13:38 -02:00
Yorik van Havre
fd14c1e3c3 Draft: small change in DXF pref page layout 2016-01-06 10:56:25 -02:00
Yorik van Havre
5c2ed74292 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2016-01-05 20:20:42 -02:00
Yorik van Havre
87397a2512 Drawing: support for text alignment in Spreadheetview 2016-01-05 20:20:25 -02:00
wmayer
53024a6140 + do not include from .qrc generated .cpp file from other .cpp file but add it to build system 2016-01-05 17:35:58 +01:00
wmayer
a9189fb052 + use TRUE and FALSE for Vrml output (reverts part of commit 7d0e892d3) 2016-01-05 17:27:56 +01:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
Mateusz Skowroński
db345cb624 Change includes in Spreadsheet to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:40 +01:00
Mateusz Skowroński
3b463f2138 Qt::WFlags is obsolete in Qt5. Replace it with Qt::WindowFlags.
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:58 +01:00
Mateusz Skowroński
cd2db00f22 QString::fromAscii() is obsolete in Qt5. Replace it with fromLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:07:25 +01:00
Mateusz Skowroński
d5c074f80d QString::toAscii() is obsolete in Qt5. Replace it with toLatin1().
This change is Qt4/Qt5 neutral.
2016-01-05 16:06:48 +01:00
Yorik van Havre
c5b8b7c0a4 Draft: fixed bug in DXF export because of last commit - fixes #2391 2016-01-05 12:15:44 -02:00
Yorik van Havre
1e578c4f1a Draft: don't check anymore for python DXF libs if using the C++ importer 2016-01-04 22:19:13 -02:00
Yorik van Havre
273131c088 Draft: finished new DXF importer - fixes #2205 2016-01-04 18:01:34 -02:00
wmayer
da83100728 + fix major flaw in Spreadsheet module: do not include precompiled header in other header files
+ fix linking errors in drawing module
2016-01-04 16:03:00 +01:00
wmayer
1d05f9c66e + support cutting of coloured mesh 2016-01-04 14:39:54 +01:00
Yorik van Havre
1747fb643f Updated ts files prior to translation cycle 2016-01-03 19:45:29 -02:00
Yorik van Havre
85fdc8c76b Drawing: Add SpreadsheetView command - fixes #1805 2016-01-03 16:44:56 -02:00
wmayer
145fe4a364 + fix build failure with gcc 2016-01-03 19:30:03 +01:00
wmayer
b6faaefaf8 + handling of colored mesh in view provider 2016-01-03 01:16:00 +01:00
wmayer
dd9e8c5bb1 + make faster reading ply mesh files 2016-01-03 01:14:48 +01:00
wmayer
0ea477b420 + fix rendering bug for colored 2016-01-01 15:37:05 +01:00
wmayer
50d7793442 + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
342198ea87 + support reading mesh files with colors 2015-12-31 21:07:04 +01:00
wmayer
5e0f2ae418 + use custom points feature to read in ply with properties 2015-12-31 15:50:56 +01:00
wmayer
3b139c9bb1 + add custom points feature 2015-12-31 15:40:19 +01:00
wmayer
07b36e6bca + extended ply reader based on pcl to read-in attached properties 2015-12-31 15:36:16 +01:00
wmayer
ebbb68d978 + fixes #0002385: unable to set value higher than 99.99 on Distance value in Part->Cross Sections 2015-12-31 12:25:54 +01:00
wmayer
715ae4e225 + fix compiler warning 2015-12-30 16:49:51 +01:00
wmayer
0135094133 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-30 16:25:27 +01:00
wmayer
17d7dd840e + add points view feature and command to triangulate it 2015-12-30 16:25:08 +01:00
Yorik van Havre
39a55cf951 Draft: small fix in patterns 2015-12-30 12:30:40 -02:00
wmayer
7d96d0f0c8 + optimize view provider for points, improve white spacing 2015-12-30 15:19:47 +01:00
wmayer
1274967208 + add support to PointKernel to get valid points 2015-12-30 15:18:05 +01:00
wmayer
4e3856acc8 + remove feature classes to import/export points 2015-12-30 15:16:22 +01:00
wmayer
ad2c4c23d0 + fix compiler warnings 2015-12-30 10:58:14 +01:00
wmayer
c2b66766b2 + optimize algorithm to get curvature on mesh points and drop dependency to WildMagic 2015-12-30 10:26:53 +01:00
Yorik van Havre
d989acaae8 Draft: Added a grid toggle button to the snap toolbar 2015-12-29 12:10:22 -02:00
Yorik van Havre
ed037c138e Arch: Fixed section plane's clipping - fixes #2063 2015-12-28 16:56:53 -02:00
Yorik van Havre
353b2df3d3 Draft: fixed bug when loading objects with pattern set 2015-12-28 12:56:53 -02:00
Yorik van Havre
bbfacbc883 Arch: fixed vanishing windows when host wall is hidden - fixes #1604 2015-12-28 12:27:37 -02:00
Abdullah Tahiri
86f0454414 Sketcher: Solver: FullPivLU::compute for Eigen-3.3
==================================================

This fix enables usage of the Eigen SparseQR starting in Eigen-3.3. It optimizes the code enabling it
to work with the new assignation interface of Eigen-3.3, which is more strict than that of Eigen-3.2.

It provides the same optimization for DenseQR code, and omits the extraction of the Q matrix in DenseQR
as this is not used anywhere else.

[NOTE: This is only to be merged after Debian has updated the Eigen-3.3-alpha1 package]

See:
http://forum.freecadweb.org/viewtopic.php?f=10&t=12769&start=30#p104740
https://forum.kde.org/viewtopic.php?f=74&t=129115
2015-12-28 11:51:34 -02:00
Abdullah Tahiri
e9af05f911 Sketcher: Solver: FullPivLU::compute for Eigen-3.3
==================================================

This fix enables usage of the Eigen own compute function starting in Eigen-3.3, as now it is fixed in Eigen.

[NOTE: This is only to be merged after Debian has updated the Eigen-3.3-alpha1 package]

See:
http://forum.freecadweb.org/viewtopic.php?f=3&t=4651&start=40
http://forum.freecadweb.org/viewtopic.php?f=10&t=12769&start=60#p106492
https://forum.kde.org/viewtopic.php?f=74&t=129439
2015-12-28 11:51:34 -02:00
wmayer
e0683f4db0 + fixes #0002347: freecad fails to build with Boost 1.60.0 2015-12-28 13:54:40 +01:00
Yorik van Havre
1f4f94017a Draft: Unified in-drawing shortcuts with what is shown in the GUI 2015-12-27 14:00:02 -02:00
wmayer
462ec49297 + fixes #0001956: FreeCAD 0.14.370x hangs when attempting to edit sketch containing ellipse 2015-12-27 11:44:47 +01:00
Yorik van Havre
e98347960d Draft: x,y and z fields are now auto-masked when second point is horizontal or vertical 2015-12-26 20:19:52 -02:00
Yorik van Havre
026dc8678c Merge pull request #73 from wood-galaxy/arch-wall-negative-offset
Arch/Wall : allow negative value to Offset property
2015-12-26 17:57:57 -02:00
Yorik van Havre
08b79eb4dd Draft: fixed focus on first field when starting a draft command 2015-12-26 13:45:09 -02:00
Yorik van Havre
93ccc88f74 Draft: fixed non-focused taskview fields 2015-12-25 20:05:55 -02:00
wmayer
d8088c5db0 + improve whitespaces 2015-12-25 10:56:03 +01:00
wmayer
51c7a8eecc + improve whitespaces 2015-12-25 10:37:52 +01:00
wmayer
632eaeadeb + fixes #0002372: Application terminates on attempt to change external geometry from a sketch
+ fixes #0002373: When Measuring in the distance between two external geometry Freecad crashes
2015-12-25 09:47:25 +01:00
Jonathan Wiedemann
3c0927650d Arch/Wall : allow negative value to Offset property 2015-12-24 03:04:37 +01:00
Yorik van Havre
3bbddc8675 Drawing: Added python feature to ViewProviderDrawingView - fixes #2276 2015-12-23 17:03:46 -02:00
Yorik van Havre
aac4205d1d Draft: small fix in trimex snap mode 2015-12-23 15:19:03 -02:00
wmayer
ff806af026 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-23 15:44:38 +01:00
wmayer
4f2291f420 + implement property editor item for FEM mesh 2015-12-23 15:44:11 +01:00
wmayer
b55defa4f3 + add missing comma in property item 2015-12-23 15:43:29 +01:00
Jonathan Wiedemann
7913e608be Arch : Add Align property to StructuralSystem 2015-12-23 12:35:01 -02:00
Yorik van Havre
a1f82e443e Draft: small fix in Arch Axes SVG output 2015-12-23 12:13:29 -02:00
Yorik van Havre
94dd07297d Draft: Fixed display of Arch axes on Drawing views 2015-12-23 11:55:34 -02:00
Yorik van Havre
474c114e66 Arch: fixed projection of Drawing views of arch sectionplanes - fixes #2233 2015-12-23 11:32:36 -02:00
Yorik van Havre
38d90ab4c2 Draft: Fixed arc bug in DXF export - fixes #2208 2015-12-22 11:54:55 -02:00
Mateusz Skowroński
99ca18f541 QInputDialog::getInteger() is obsolete in Qt4. Replace it with getInt().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:47 +01:00
Mateusz Skowroński
d3d01db9e2 QFileDialg::setFilters() is obsolete in Qt4. Replace it with setNameFilters().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:45 +01:00
Mateusz Skowroński
4d85f0e40b QWidget::setShown() is obsolete in Qt4. Replace it with setVisible().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:45 +01:00
Yorik van Havre
eca0e54bf3 Arch: small encoding bugfix 2015-12-21 12:37:57 -02:00
Yorik van Havre
aad6ef004d Arch: improvements to Axis - fixes #2138
* Fixed small bugs
* More options to position the bubble (start, end or both)
* Properties for text size and font
2015-12-21 12:21:31 -02:00
Eivind Kvedalen
fca2e2671a PropertyConstraintList: Use correct indices when checking the constraint type. 2015-12-21 14:11:14 +01:00
Yorik van Havre
19fd2c3195 Arch: set the Lenght property of walls automatically when based on baselines 2015-12-20 12:41:25 -02:00
Yorik van Havre
5fa85ad31b Draft: disabled moving siblings when moving an object 2015-12-19 22:32:56 -02:00
Yorik van Havre
d6920a07c3 Arch: Walls now adopt the current working plane orientation on creation - fixes #2175 2015-12-19 12:53:20 -02:00
Yorik van Havre
5b750aabe3 Arch: Creating windows no longer removes external refs from base sketches - fixes #2326 2015-12-18 22:11:53 -02:00
wmayer
73a716c82f Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-18 22:48:53 +01:00
Eivind Kvedalen
db2f868bbe Sketcher: Fixed setPathValue to convert angles to radians before they are stored in the Constraint object. This mimics the setDatum implementation. 2015-12-18 22:05:30 +01:00
Yorik van Havre
dab7ef4262 Draft: workaround for exporting DXF with R14+ templates - fixes 2177
- Adapted Drawing algos to export R14+ compatible DXF code
- Added option in DXF prefs to disable groups (not supported in R14+ templates)
2015-12-18 10:47:14 -02:00
Yorik van Havre
45292eb9ee Arch: IFC bugfix + added pref option to use DAE triangulation options 2015-12-18 10:39:40 -02:00
DeepSOIC
4057de6346 OpenSCAD: fix replaceChild
was broken because it failed trying to set a read-only
"ExpressionEngine" property
2015-12-17 03:34:16 +03:00
Yorik van Havre
43e0083c72 Draft: Added editmode to facebinders - fixes #2165 2015-12-16 15:30:43 -02:00
Jonathan Wiedemann
2669aa6206 Allow negative value in Draft's pref : Ext Line size 2015-12-16 13:03:46 +01:00
Yorik van Havre
e71787d37a Draft: fixed bug in wire offsets - fixes #1975 2015-12-15 11:11:57 -02:00
Yorik van Havre
472e6b777a Draft: shape2Dview now projects along the current view direction - fixes #2367 2015-12-14 19:32:35 -02:00
wmayer
f7a2ffc457 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-13 19:19:58 +01:00
wmayer
1a8c643d50 + make properties of FEM result object read-only for property editor 2015-12-13 19:19:38 +01:00
Yorik van Havre
c850d622b7 Draft: Added properties to subdivide rectangles into columns and rows - fixes #2340 2015-12-13 12:32:43 -02:00
Yorik van Havre
c66be818b9 Path: added .gcode extension to available gode file formats 2015-12-13 12:31:53 -02:00
wmayer
f26844e1bc + allow to clear installed firewall 2015-12-13 14:36:41 +01:00
wmayer
f46393efe7 Report 'None' for successfully executed commands in server, implement a simple firewall to block commands 2015-12-13 14:24:15 +01:00
Yorik van Havre
97311dfd0a Merge remote-tracking branch 'sgrogan/Idf-fix' 2015-12-12 13:00:36 -02:00
Yorik van Havre
18346619ae Draft: Changing text or arrows of a Dimension now marks it to be recomputed 2015-12-12 12:31:36 -02:00
Yorik van Havre
3dcc557e65 Draft: more consistent behaviour for Clones when trying to edit them - fixes #2198 2015-12-11 11:08:30 -02:00
Bernd Hahnebach
0f7a13a8a8 FEM: fix loading frequency in solver control command 2015-12-11 13:32:23 +01:00
sgrogan
4d4d292cf0 Make Idflibs consistent for installed and uninstalled builds 2015-12-10 16:37:25 -05:00
Yorik van Havre
be9920a132 Arch: obj exporter now skips bad objects instead of stopping 2015-12-10 15:46:09 -02:00
Yorik van Havre
b7a9bf9505 Merge pull request #68 from l3iggs/patch-1
fixes #0002358
2015-12-10 13:23:11 -02:00
Yorik van Havre
d65c96099e Draft: Lines and Wires now have a Subdivisions property - fixes #1593 2015-12-10 13:20:48 -02:00
l3iggs
4901553a2d fix for 0002358
This strips off any trailing '-' text reported by openscad when asking it for its version.
2015-12-10 14:50:01 +00:00
wmayer
7e261db1a2 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-12-09 15:09:57 +01:00
Yorik van Havre
b876489b46 Arch: small fix in Structure - fixes #2186 2015-12-09 11:30:51 -02:00
Stefan Tröger
dcad131357 Expressions: Fix property editor behavior
- change responsibility of python code emition
- Correct python code handling for expressions
- handle constraints expressions handling
2015-12-09 14:08:50 +01:00
Stefan Tröger
4203a6f35b Expressions: Integrate into the property editor
- basic infrastructure for handling of expressions
- port the unit properties editor to support expressions
- port placement editor to support expressions
- expressions for double spinbox
- expressions in sketch constraints
2015-12-09 14:08:48 +01:00
Abdullah Tahiri
501fa80e4d Sketcher: Fix Sketch Mirror functionality
=========================================

The problem:
Mirror stopped working.

How to reproduce:
Select a sketch, and apply "Mirror Sketch" from the menu.

Why?
With the introduction of expressions, mirror sketch stopped working. The reason is that mirror functionality did use the "clone" function to make copies of constraints
and then modify their values. After expessions introduction, which introduces a unique tag per constraint, this copy was regarded as a "rename" of the original constraint
as they shared the unique tag.

Fix?
New function "copy()" for a constraint, that copies all the content but the tag.
2015-12-09 13:32:12 +01:00
wmayer
118d2eb531 + fix typo in FEM 2015-12-09 13:19:13 +01:00
Eivind Kvedalen
ae6b934207 Spreadsheet: Fixed PropertySheet::Paste(); undo did not work correctly. 2015-12-09 12:15:15 +01:00
Eivind Kvedalen
aef7bbdf62 Spreadsheet: AggregateFunctionExpression missed its own implementation of copy().
This causes a crash during undo if this class is used.
2015-12-09 12:15:15 +01:00
Eivind Kvedalen
71605e63ef Spreadsheet: Fixed issue #2352, removal of rows and columns. 2015-12-09 12:15:13 +01:00
Eivind Kvedalen
4b5ae54e88 App: Removed VariableExpression::setName(), and replace call by setPath(); it's use caused a crash (#2352). 2015-12-09 12:15:12 +01:00
Yorik van Havre
c67b2bed45 Draft: Fixed offset of arcs - fixes #1993 2015-12-08 12:01:28 -02:00
Yorik van Havre
a97992a537 Arch: added button to edit text position in Arch Spaces edit mode - fixes #2339 2015-12-07 12:30:20 -02:00
Yorik van Havre
1da0ec65c3 Draft: added radial & diameter dim support to DXF import - fixes #2162 2015-12-05 16:50:30 -02:00
Yorik van Havre
2e91633da9 Draft: Added mirror tool (more graphical version of Part Mirror) - fixes #2215 2015-12-05 14:19:35 -02:00
Yorik van Havre
cf3e69de08 Arch: removed global state of ifcfile 2015-12-05 13:49:02 -02:00
Bernd Hahnebach
6d2877444c Arch: ifc: fix import of archobj walls if structobj import is activated 2015-12-05 13:46:34 -02:00
wmayer
93b53f1662 + add several surface reconstruction methods from pcl to Reen module 2015-12-05 16:19:18 +01:00
Yorik van Havre
fd191b802e Draft: Fixed grid jump in edimode - fixes #2104 2015-12-03 22:59:50 -02:00
Bernd Hahnebach
9e114a8b59 FEM: make cccFrdReader flake8 compatible 2015-12-03 18:50:06 -02:00
fandaL
cf22522290 FEM: frd mesh import rearrange repeating if 2015-12-03 18:50:06 -02:00
fandaL
98cd075a84 FEM: frd import mesh - added HEX20, PENTA6, PENTA15 2015-12-03 18:50:06 -02:00
Bernd Hahnebach
32624cbe94 Arch: on ifc import do no longer decode unicode strings before encode them 2015-12-03 18:46:23 -02:00
Yorik van Havre
cf1c02271f Draft: more consistent offset result - fixes #2027 2015-12-03 18:25:32 -02:00
Yorik van Havre
3414ec8af1 Arch: IFC importer doesn't choke anymore on rebars 2015-12-02 21:51:27 -02:00
Yorik van Havre
7594bb6f31 Merge branch 'master' of github.com:FreeCAD/FreeCAD 2015-12-02 21:31:28 -02:00
Yorik van Havre
047998de87 Draft: other bugfix in downgrade - fixes #2260 2015-12-02 21:31:23 -02:00
Yorik van Havre
d0dac0c658 Draft: fixed bug in downgrade - fixes #2261 2015-12-02 21:25:37 -02:00
wmayer
7eb7be3936 + add Poisson surface reconstruction 2015-12-02 23:36:26 +01:00
Yorik van Havre
1acf487040 Arch: Added more meshing options for Collada exporter - fixes #2341 2015-12-02 18:42:30 -02:00
Yorik van Havre
9f4c54d33a Draft: small bugfix 2015-12-01 22:14:59 -02:00
wmayer
2b2358e70b + fix warnings with Win32 build 2015-12-01 00:51:57 +01:00
wmayer
244054ff1f + reorder header to fix warnings with Win32 build 2015-11-30 20:38:19 +01:00
Yorik van Havre
fd802bad80 Arch: Allow to draw walls by entering length, width and height on the GUI - fixes #2000 2015-11-30 15:40:52 -02:00
Yorik van Havre
a557cd4cc5 Draft: fixed buggy global copy mode 2015-11-30 15:39:43 -02:00
Bernd Hahnebach
c78f57a78a FEM: fix node order of seg3 in ViewProwiderFemMesh 2015-11-30 11:21:51 -02:00
Bernd Hahnebach
d8af8693b4 FEM: fix node order of seg3 (B32) in writeAbaqus 2015-11-30 11:21:51 -02:00
Yorik van Havre
8bc013140e Draft: Fixed arrows at endpoints of wires - fixes #2066 2015-11-29 12:47:06 -02:00
Bernd Hahnebach
b2080f945a FEM: fix not closing taskd of _CommandSolverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
ea2a0d12c2 FEM: do not allow to add multiple soler with gui 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
ce3284624f FEM: make selection of quick analysis consistent with solverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
f3a1ef31db FEM: raise exception if multiple solver or mesh are in an analysis, they are not yet supported 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
592e26fc41 FEM: replace Calculix with CalculiX in strings 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
a25c4ac7da FEM: delete FemExample since there is no example inside 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
fb7153d5fe FEM: delete not used import FemGui 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
9d2d92336e FEM: rename modul MechanicalAnalysis to FemAnalysis 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
03d1d32e38 FEM: rename command MechanicalJobControl to SolverJobControl 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
882db04b3c FEM: activate CommandMechanicalJobControl with_Solver selected 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
181262b39d FEM: rename TaskPanelJobControl to TaskPanelFemSolverCalculix 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
39c3662da8 FEM: include calculix solver objekt if new analysis is created 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
42913ca0cf FEM: fix test frame work 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
6865e35fd9 FEM: add CalculiX solver object 2015-11-28 20:04:22 -02:00
Author qingfengxia
80cf664ec8 FEM: new solver object implementation of the object 2015-11-28 20:04:22 -02:00
Author qingfengxia
3918d9fbe5 FEM: new solver object icon 2015-11-28 20:04:22 -02:00
Bernd Hahnebach
006bf802f4 FEM: fix some line endings 2015-11-28 20:04:22 -02:00
Yorik van Havre
9d0f4ba46e Arch: Added editmode to Section Planes - fixes #2098 2015-11-28 14:51:40 -02:00
wmayer
6111f55a89 + correctly handle toggle selection in BRep shape nodes 2015-11-28 16:21:20 +01:00
Abdullah Tahiri
19c840e1ab Sketch: Solver: Extended Advanced Solver configuration
========================================================

This is an advanced setting just for allowing increased choices to power users that have problems with a given sketch and want to
test different flavours of DogLeg algorithm.

This commit does not change the default behaviour of FreeCAD. It is only intended to give more options to power users.

The advanced solver configuration is extended to support three different Gauss-newton steps for DogLeg:

FullPivLU => h_gn = Jx.fullPivLu().solve(-fx);
LeastNormFullPivLU => h_gn = Jx.adjoint()*(Jx*Jx.adjoint()).fullPivLu().solve(-fx);
LeastNormLdlt => h_gn = Jx.adjoint()*(Jx*Jx.adjoint()).ldlt().solve(-fx);

This setting is applied only to DogLeg. It is applied to DogLeg as normal or redundant solver, if DogLeg is the selected solver.

Selecting a solver different from DogLeg for both normal and redundant disables the setting.

We have been told:
https://forum.kde.org/viewtopic.php?f=74&t=129439#p346104

that our default Gauss-Newton step in DogLeg may not be adequate in general (we generally deal with underconstraint systems
unless we have a fully constraint sketch, and even then it is many times overconstraint at least for redundant solving).

We have been told that maybe these LeastNorm options are more suitable for us (performance set aside). This enables you as power
user to test if it works fine with FreeCAD.
2015-11-28 13:08:31 +01:00
Abdullah Tahiri
aa6908b144 Sketch: Solver Defaults: Sketch size multiplier OFF
===================================================

This commit sets the sketch size multiplier OFF by default (so the number of iterations DogLeg/BGFS/LM is not sketch size dependent).

In complicated sketches having a high number of parameters, with sketch multiplier on, the number of iterations is extremely high (100 parameters*100 iterations => 10000 iterations).

The idea of disabling this comes from tests performed by DeepSOIC and from my own experience using the Sketcher. In general
sketch multiplier makes FreeCAD unresposive (very high amount of iterations, not a real freeze) in big sketches so that users
end up killing the application. This is preventing the users from taking appropriate action, Developers from getting the information of the failure and
users angry.

The idea is that even for complicated sketchs N iterations (100 by default) should be enough to converge, if it is ever going to converge. Experience will tell us
if we have to increase this number in the range [100-300]. 100 iterations in complicated dossiers is in my experience generally under 30 seconds.

N.B.: This commit does not change the defaults stored in your computer, so if you have the sketcher multiplier on, the advanced solver dialog will still enforce this local setting. You
may disable it or click the "defaults" button to disable the sketcher multiplier.
2015-11-28 13:08:24 +01:00
Eivind Kvedalen
87c6af3547 Spreadsheet: Removed setPosition() function. 2015-11-28 12:56:28 +01:00
Eivind Kvedalen
b7480210fd Spreadsheet: Issue #2301: Handle enter/return and tab keys the same as e.g OpenOffice and Excel. 2015-11-28 12:56:27 +01:00
Eivind Kvedalen
2e5175c7be Spreadsheet: Fixed typo. 2015-11-28 12:56:26 +01:00
Eivind Kvedalen
45a2207f81 Spreadsheet: Improve python code when the Delete key is pressed. 2015-11-28 12:56:25 +01:00
wmayer
898e0fb359 + make API of InventorBuilder more flexible and add new methods 2015-11-26 15:27:40 +01:00
wmayer
b3e0e8272f Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-11-25 21:02:17 +01:00
wmayer
6a6a2d5669 + fix whitespaces 2015-11-25 21:02:00 +01:00
Abdullah Tahiri
7c1c56a550 Sketcher: Solver Debug functionality: Ability to export a subsystem
===================================================================

It allows to export the c++ code to create a subsystem with the same information as the one solved using LM/DL/BGFS.

In this commit the functionality is disabled (for production).

To enable the functionality uncomment this line in planegcs/Constraints.h:
//#define _GCS_EXTRACT_SOLVER_SUBSYSTEM_

When enabled, upon solving with LM/DL/BGFS, the c++ code to generate the subsystem is added to a subsystem.txt that is created in the FreeCAD
execution directory.

Note that the file is created in append mode, so it will append all normal/redundant solvings until the file is deleted.

The resulting code can be directly pasted into a project similar to:
https://github.com/abdullahtahiriyo/Eigen_LUPiv_Convergence

Such a project only has libeigen as external dependency.
2015-11-25 20:39:04 +01:00
Yorik van Havre
14a771bf05 Arch: small fix in Arch git dialog 2015-11-25 13:17:54 -02:00
Yorik van Havre
a5852dd8f2 Material: Fixed the material editor dialog, thanks to rockn 2015-11-24 22:57:50 -02:00
wmayer
a029d90a98 FEM: Rename Display Modes 2015-11-23 18:17:10 +01:00
Abdullah Tahiri
ad1210f4bb Sketcher: Advanced solver dialog bug fix LM-tau
================================================

Due to a typo the code was setting LM-tau to 1E-80 by default instead of the intended 1E-3.
2015-11-21 22:48:02 +01:00
Bernd Hahnebach
8ebf64ac3f FEM: add nodes of quad8, hexa20, penta6, penta15, pyra5, pyra13 to ViewProvider nodes are displayed 2015-11-19 19:01:23 +01:00
Bernd Hahnebach
758f3ec77e FEM: FemMesh VP throw exception instead of assert(0) 2015-11-19 19:01:07 +01:00
Bernd Hahnebach
2f5706262d FEM: add SMESH supported volumes to Python API of FemMesh 2015-11-19 19:00:52 +01:00
wmayer
c8e241c9f3 + PLate surface approximation 2015-11-19 18:52:19 +01:00
wmayer
13e2b24ddf + add Python binding to Plate surface 2015-11-19 15:27:35 +01:00
Przemo Firszt
fe522bc66b FEM, Tests: Fix line end problem in compare_inp_files
Add new function to force unix line ends and use it in compare_inp_files
and compare_stats.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-19 10:26:24 +01:00
DeepSOIC
ed8eab273d API: Update docu strings of methods of BSplineCurve
Mainly exposing argument types and meanings, but also updating a few
descriptions by copy-paste-editing documentation of corresponding
OpenCASCADE.
2015-11-19 02:53:48 +03:00
Przemo Firszt
c9cfc369d6 FEM: Use exisitng mesh property as link to mesh in result objects
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:22:02 +00:00
Przemo Firszt
3788670038 FEM: Tidy up long lines and spacing
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-18 11:21:27 +00:00
wmayer
c159a8ddc2 + fix inconsistencies in using DynamicProperty class 2015-11-17 12:22:07 +01:00
wmayer
78e9319587 Merge branch 'master' of https://github.com/FreeCAD/FreeCAD 2015-11-16 22:48:00 +01:00
wmayer
1225a7ac06 + support of adding/removing dynamic properties in property editor 2015-11-16 22:47:29 +01:00
Bernd Hahnebach
d37ac54c8e FEM: fix mixed line endings in VP FemMesh 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
49b002beaf FEM: Mesh VP fix FreeCAD crash if not supported face is added to VP 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
eec2b56629 FEM: add some documentation to FemTools 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
01d3b3ecad FEM: substitute some camel style variable names in frdReader 2015-11-16 19:19:01 -02:00
Bernd Hahnebach
d14e79eafa FEM: use proper command to create a Mechanical Anaylsis with all properties 2015-11-16 19:19:01 -02:00
fandaL
36ffb450f1 FEM: frd import mesh 2015-11-16 19:18:11 -02:00
Przemo Firszt
dee8809454 FEM, Tests: Force unix line ends for comparing calculation stats
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-16 19:15:44 -02:00
Yorik van Havre
58b41b9550 Arch: Fixed flipped Space names 2015-11-16 16:11:32 -02:00
wmayer
4f4d747968 + fix undefined behaviour in determining grid length for planar meshes 2015-11-16 11:59:41 +01:00
Przemo Firszt
629a89218d FEM: Fix Von Mises calculation formula and update FEM test results
Reported-by: fandaL
Fixed-by: fandaL
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:37 +01:00
Przemo Firszt
b0fbd60835 FEM: Use format to avoid error is the message is not pure string
Traceback (most recent call last):
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
229, in test_new_analysis
    ret = self.compare_stats(fea, static_expected_values)
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
147, in compare_stats
    fcc_print(sf_content)
  File "/home/przemo/software/FreeCAD/build/Mod/Fem/TestFem.py", line
55, in fcc_print
    FreeCAD.Console.PrintMessage(message + '\n')
TypeError: can only concatenate list (not "str") to list

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-14 14:53:36 +01:00
wmayer
7848d08121 + properly handle case of degenerated bounding box when creating mesh grid 2015-11-14 14:08:01 +01:00
wmayer
821cd696c5 + do not set edit mode for spreadsheet 2015-11-14 02:18:29 +01:00
wmayer
53d323b5e0 + make isReadOnly & isHidden of PropertyContainer non-virtual 2015-11-14 02:07:57 +01:00
DeepSOIC
61a3997ef2 API: update distToShape built-in docu
It was way too short, and incorrect
2015-11-13 18:13:20 +03:00
wmayer
48027e1586 + fix memory leaks 2015-11-13 16:06:43 +01:00
wmayer
45af17e39c + Code cleanup:
+ do not include header of itself
+ do not include unneeded header files
+ removed unneeded forward declarations
+ do not translate C string to get a QString
+ break too long lines
+ replace tabs with spaces
+ use virtual keyword on destructors
2015-11-13 15:47:03 +01:00
wmayer
bf0d8d68bb + Add selected sketches to one Face, implement specialized view provider for Face 2015-11-13 13:38:24 +01:00
wmayer
6944658bd4 + Add parametric feature to create face from sketches 2015-11-12 19:44:24 +01:00
Bernd Hahnebach
74270c23d2 FEM: allow to make a mesh from shape without an analysis 2015-11-12 13:39:51 +01:00
Bernd Hahnebach
78ac00180f FEM: fromShape not needed modul loading deleted 2015-11-12 13:37:11 +01:00
Przemo Firszt
391cdf816d FEM: Update except catch to python3
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:41:12 +00:00
Przemo Firszt
1e8e0877f3 FEM: Windows workaround to avoid blinking terminal window
Reported-by: wmayer
Tested-by: wamyer, sgrogan
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:21:21 +00:00
Przemo Firszt
f74e016f30 FEM: Fix unexpected error with ccx_* unset if Popoen fails
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 22:20:34 +00:00
Przemo Firszt
e90ed4bf65 FEM: Cheange margins in TaskPanelMechanicalAnalysis for Analysis Type
Reported-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-11 21:47:36 +00:00
Mateusz Skowroński
f3860faaef Fix file encoding. Go from ISO8859-1 to UTF-8. 2015-11-11 18:54:42 +01:00
wmayer
4af7d95a6d + support of linear b-spline/bezier curves and planar b-spline/bezier surfaces to get direction 2015-11-11 18:27:26 +01:00
Bernd Hahnebach
e22431ea77 FEM: use ConsolePrints instead off print in beamsection and shellthickness 2015-11-11 09:14:50 +01:00
Bernd Hahnebach
c6989acd55 FEM: use new selection observer class for material reference shape selection 2015-11-11 09:14:50 +01:00
Bernd Hahnebach
ba394818a3 FEM: separate selection observer class from _TaskPanel shellthickness and beamsection 2015-11-11 09:14:49 +01:00
wmayer
dc20525edc + don't switch tab when creating new web page 2015-11-10 17:32:55 +01:00
wmayer
7546a39b12 + Allow to open link in new web view 2015-11-10 16:40:04 +01:00
Eivind Kvedalen
be5e79601a PartDesign: Fixed similar issue compared to #2302 with unit handling when using an expression for the chamfer size. 2015-11-09 21:37:24 +01:00
Eivind Kvedalen
acd0f6a79e PartDesign: Fixed issue #2302 with unit handling when using an expression for the fillet radius. 2015-11-09 21:37:08 +01:00
wmayer
dff58e5df3 + fix documentation of task dialog 2015-11-09 19:22:19 +01:00
Bernd Hahnebach
9d856fbd7a FEM: use addItem to add list items in shellthickness, beamsection and multimat ref shape list 2015-11-08 13:44:37 +01:00
Bernd Hahnebach
5e234486b2 FEM: rename uis of python task panels to TaskPanelName 2015-11-08 09:32:01 +01:00