Commit Graph

6002 Commits

Author SHA1 Message Date
Mateusz Skowroński
0aa944a1b7 Change includes in Quarter to be compatible with Qt5.
This change is Qt4/Qt5 neutral.
2016-01-05 16:10:02 +01:00
Mateusz Skowroński
ab26271756 QAbstractItemModel::reset() is obsolete in Qt5. Use beginResetModel() and endResetModel() instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:09:12 +01:00
Mateusz Skowroński
9beb7d21f3 QKeySequence::operator QString() is obsolete in Qt5. Use toString(QKeySequence::NativeText) instead.
This change is Qt4/Qt5 neutral.
2016-01-05 16:08:31 +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
e55ba2d24d Added script to check download stats on github 2016-01-05 12:24:57 -02: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
Jon Neal
f46a6965d2 Change name prefix in the VRML exporter to one that is allowed in the standards. 2016-01-04 01:03:18 -05: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
e2369996e2 if offscreen rendering for thumbnail fails then only write out application icon 2015-12-31 17:04:56 +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
c2de4059c9 + add template class to add feature types with dynamic properties but without extended Python binding 2015-12-31 15:34:24 +01:00
wmayer
b3bfdaafcf + add overloaded addObject() method to Document class to add existing DocumentObject 2015-12-31 15:32:47 +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
wmayer
e9e9a38865 + improve exception handling in initialization scripts 2015-12-29 23:42:29 +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
Yorik van Havre
83954da5cf Renamed menu View->Views to View->Panels 2015-12-28 12:02:20 -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
wmayer
07ba938ff6 + issue: #0002350, handle Python's SystemExit exceptions and do not exit application when running from macro dialog or Python editor 2015-12-27 23:00:59 +01:00
wmayer
24c234b80a + whitespace improvement 2015-12-27 19:16:05 +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
Mateusz Skowroński
9aa3cfb4f9 Add missing QMimeData.h includes.
This change is Qt4/Qt5 neutral.
2015-12-24 13:36:46 +01:00
Mateusz Skowroński
c2a31fe04b qVariantValue() is obsolete in Qt4. Replace it with equivalent QVariant::value<T>(value).
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:26 +01:00
Mateusz Skowroński
62ccb845bc QFileDialog::selectFilter() is obsolete in Qt4. Replace it with selectNameFilter().
This change is Qt4/Qt5 neutral.
2015-12-24 12:49:08 +01:00
Mateusz Skowroński
5be2986146 QFileDialog::filters() is obsolete in Qt4. Replace it with nameFilters().
This change is Qt4/Qt5 neutral.
2015-12-24 12:48:49 +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
e6379ea636 QFileDialg::selectedFilter() is obsolete in Qt4. Replace it with selectedNameFilter().
This change is Qt4/Qt5 neutral.
2015-12-22 14:18:46 +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
Mateusz Skowroński
f7b8135ded Add missing forward declaration of QPrinter to MDIView.h.
This change is Qt4/Qt5 neutral.
2015-12-22 05:44:52 +01:00
wmayer
7c359b7b30 + handle exceptions when restoring dynamic properties 2015-12-21 18:24:12 +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
Eivind Kvedalen
df660dc280 PropertyExpressionEngine/DocumentObject: Track object deletes and update dependencies accordingly. 2015-12-21 14:11:13 +01:00
Eivind Kvedalen
7b25d454b5 PropertyExpressionEngine::slotObjectRenamed(...): return immediately if the property's owner is not part of an object (e.g on the undo stack). 2015-12-21 14:11:13 +01:00
Eivind Kvedalen
9c7b9ed2c0 PropertyExpressionEngine::slotObjectRenamed(...): only change the object if it is absolutely necessary,
or else the object will in most cases be touched, leading to unnecessary recomputes.
2015-12-21 14:11:12 +01:00
Eivind Kvedalen
65a610d1cb Expression/ObjectIdentifier: changed return type of renameDocumentObject and renameDocument,
to be able to signal that a rename actually took place.
2015-12-21 14:11:12 +01:00
Eivind Kvedalen
83d221e161 DocumentObject: Don't emit signal if Label hasn't actually changed. 2015-12-21 14:11:11 +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
wwmayer
eb5ec62ccb Merge pull request #71 from ianrrees/20151216-3dconnexion-mac
Fixed paths for 3Dconnexion headers on Mac
2015-12-19 14:19:58 +01:00
wmayer
0b0d258afd + make method cancelObservation() not pure virtual 2015-12-19 11:31:59 +01:00
Ian Rees
bdc519743c Fixed paths for 3Dconnexion headers on Mac 2015-12-19 15:08:54 +13: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
823b5205bb NumberExpression: Added std::setprecision to keep precision of number in double to string conversion. 2015-12-18 22:05:32 +01:00
Eivind Kvedalen
6f39eed25e PropertyPlacement: Fixed setting of angle (missing deg to radian conversion). 2015-12-18 22:05:31 +01:00
Eivind Kvedalen
7760c6ac18 ObjectIdentifier: Added std::setprecision to keep precision of double to string conversion. 2015-12-18 22:05:31 +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
Yorik van Havre
cfba4a3d5c Changed default shortcuts for 10 first workbenches from CTRL+number to ALT+CTRL+number 2015-12-18 10:39:27 -02:00
wmayer
24c60199cc + improve getting proper group name from Python module path name 2015-12-17 18:56:40 +01:00
wmayer
5ac4a6fa91 + improve getting proper group name from Python module name 2015-12-17 10:41:01 +01: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
wmayer
61e1a5ca2f + use Python's inspect module to get calling instance of addCommand 2015-12-16 23:07:24 +01:00
wmayer
f958dadb69 + improve autoload mechanism to get commands of custom toolbars 2015-12-16 21:19:12 +01:00
DeepSOIC
4f2992db54 API: improve built-in docu for copyObject and moveObject 2015-12-16 20:45:54 +03:00
DeepSOIC
dd8027a839 API: fix document.copyObject not working when with dependencies
copyObject failed with an error when attempting to copy an object with
dependencies from one document to another.

http://forum.freecadweb.org/viewtopic.php?f=22&t=13533&p=108288#p108288
2015-12-16 20:45:53 +03:00
Yorik van Havre
43e0083c72 Draft: Added editmode to facebinders - fixes #2165 2015-12-16 15:30:43 -02:00
wmayer
9a3211c343 + extend Inventor builder to support material nodes 2015-12-16 16:09:31 +01: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
acf3b34711 + implement PropertyExpressionEngine::getPyObject 2015-12-13 22:40:07 +01: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
wmayer
33c9c02aeb + limit display role of property list items to 10 elements 2015-12-13 12:01:16 +01:00
wmayer
e305f079d0 + when using FreeCAD GUI as Python module handle attempt to re-create main window 2015-12-12 20:14:37 +01:00
Yorik van Havre
97311dfd0a Merge remote-tracking branch 'sgrogan/Idf-fix' 2015-12-12 13:00:36 -02:00
Yorik van Havre
5949d79bed Merge pull request #69 from timthelion/patch-1
Application.cpp English editing
2015-12-12 12:43:06 -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
Timothy Hobbs
7da3c663c6 Application.cpp English editing
Edit English in comments and warning messages
2015-12-12 01:22:14 +01: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
wmayer
36ac2e7032 Fix element A41 in 4x4 Matrix class 2015-12-10 17:35:54 +01: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
dde207c360 + fix: -Wunused-variable 2015-12-09 16:52:47 +01: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
580a4e15d1 Expressions: port int spinbox for property editor 2015-12-09 14:08:49 +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
wmayer
69a6970975 + fix crash when undoing creation of spreadsheet 2015-12-09 13:18:58 +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
4d0af95caf App: Replaced freecad_dynamic_cast by static_cast. In this case we know the type, and don't check for 0. 2015-12-09 12:15:14 +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
wmayer
c0ee5fbae3 + add restart method to timer 2015-12-07 17:31:05 +01: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
wmayer
76c238fc98 + fixes #0001860: Can not open a FreeCAD project in FreeCAD by double-clicking the project file on Macintosh 2015-11-29 15:36:47 +01: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