Commit Graph

4701 Commits

Author SHA1 Message Date
wmayer
cba5fdb927 + fix minor bug in string concatenation 2015-05-19 21:18:45 +02:00
Kirill Gavrilov
4b67556c82 + fixes #0002108: Add OpenCascade navigation style 2015-05-19 20:24:09 +02:00
Kirill Gavrilov
f023c98eda + fixes: #0002109: Matrix4D - add missing constructor body 2015-05-19 20:10:48 +02:00
Yorik van Havre
1d769d182f Arch: Fixed materials merge in IFC import 2015-05-19 10:15:07 -03:00
Przemo Firszt
da0e25b709 App: Add dialog to pick preferred workbenches
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 22:25:59 +02:00
Przemo Firszt
09652a0f46 FEM: Fix crash on missing unit when editing material second time
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 17:09:30 +01:00
Przemo Firszt
dc0ab6f20e Base: Handle Unit::Stress tha same way as Unit::Pressure in UnitsSchema
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 16:43:45 +01:00
Przemo Firszt
8f8ed63119 Base: Fix GPa/MPa units in UnitsSchemaMKS.cpp
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-18 16:37:09 +01:00
Yorik van Havre
9a9a5afb42 Arch: Added pref option to IFC import to treat materials with same name as one 2015-05-17 14:22:24 -03:00
wmayer
7c83638b40 + for VRML and OpenInventor export only selection, fix whitespaces 2015-05-17 13:53:22 +02:00
wmayer
2127ee46c3 + whitespace fixes 2015-05-17 12:53:00 +02:00
wmayer
cebbbe6d86 + prepare OCAF document to keep placement 2015-05-16 21:41:53 +02:00
wmayer
73aedf7f6c + prepare OCAF document to keep placement 2015-05-16 18:01:57 +02:00
wmayer
ff624aefca + Pad type UpToFirst and UpToFace doesn't produce expected results. 2015-05-16 14:19:20 +02:00
wmayer
7957a7fb00 + fixes #0001655: Pocket type UpToFirst and UpToFace doesn't produce expected results. 2015-05-16 12:44:07 +02:00
wmayer
24f41d9ab7 + raise exceptions in TopoShape::makeOffsetShape if needed 2015-05-15 20:20:37 +02:00
wmayer
72fd1d2677 + whitespace improvement 2015-05-15 20:07:55 +02:00
blobfish
408cbdea1b Part: Offset: fill rework. 2015-05-15 20:00:47 +02:00
blobfish
ca4510c939 Part: ModelRefine: fix for bug# 2097 2015-05-15 18:06:33 +02:00
Yorik van Havre
b153d9919b Arch: small bugfix in IFC importer 2015-05-15 11:27:15 -03:00
wmayer
7eb2ab64cb + FEM: replace set with list to preserve order 2015-05-15 13:48:29 +02:00
wmayer
b0391a7f29 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-13 12:01:23 +02:00
Yorik van Havre
12d0355fe0 Arch: small bugfix in windows 2015-05-12 23:26:41 -03:00
Yorik van Havre
cd2bed70e5 Draft: fixed typo 2015-05-12 22:14:06 -03:00
Przemo Firszt
ed32dae143 FEM: Fix Von Mises equation
Reported-by: sgrogan and confirmed by drei

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-12 15:58:49 +01:00
Yorik van Havre
79c55a12db Arch: Added MDF presets to panel 2015-05-10 11:30:01 -03:00
Sebastian Hoogen
80056b0f4d use transformGeometry in importSVG
partly reverts f045df1ef3 as workaround
for issue #2062
2015-05-09 19:57:36 +02:00
Yorik van Havre
4c3b8bdc21 Draft: Added archang's patch to importDWG 2015-05-09 12:39:53 -03:00
wmayer
dc47f84ef3 + set appropriate step size in clipping dialog 2015-05-09 14:54:28 +02:00
wmayer
02a23ba86f + use list of pairs instead of map for getVolumesByFace 2015-05-09 12:02:25 +02:00
wmayer
e01fc4cb18 + add method getPolesAndWeights() to NURBS surfaces and curves 2015-05-09 00:58:07 +02:00
wmayer
a538d3c29d + FEM: add a couple of methods to Python interface 2015-05-09 00:15:05 +02:00
wmayer
d3029657f0 + implement FemMesh::getVolumesByFace, replace inner list by tuple 2015-05-08 21:45:13 +02:00
Przemo Firszt
29205f7f4d FEM: Fix invalid CLOAD formatting
Existing code was producing invalid results:

a = 9876543212346789864323456.9543234578986432345678
>>> print "{:.13}".format(repr(a))
9.87654321234
>>> a
9.87654321234679e+24
The new converision should work fine:
>>> print "{:.13E}".format(a)
9.8765432123468E+24

Reported & fixed by ulrich1a
2015-05-08 20:59:32 +02:00
Przemo Firszt
09921c9bb7 FEM: inp file formatting/typos
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:59:14 +02:00
Przemo Firszt
92124ac084 FEM: Add getccxVolumesByFace and write_face_load functions
getccxVolumesByFace returns std::map<int, int> with ID of volume
and a number of face as per CalculiX definition. The same function is
accessible for python and returns list with the same information, like
this: [[229, 3], [230, 3], [233, 2], [238, 2]]

write_face_load produces something like this in the .inp file:

***********************************************************
** element + CalculiX face + load in [MPa]
** written by write_face_load function
*DLOAD
** Load on face Face2
229,P3,10.0
230,P3,10.0
233,P2,10.0
238,P2,10.0

Optimised by wmayer

Signed-off-by: wmayer
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:59 +02:00
Przemo Firszt
6879373168 FEM: getNodesByVertex should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:43 +02:00
Przemo Firszt
36567695d3 FEM: getNodesByEdge should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:26 +02:00
Przemo Firszt
982976bdc5 FEM: getNodesByFace should return int not long
Suggested by wmayer

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:58:07 +02:00
wmayer
f02cec56ef + use right iterator variable 2015-05-08 12:40:57 +02:00
wmayer
c91d154842 + fix branding bug, use tr() function of class not QObject 2015-05-08 01:08:19 +02:00
wmayer
ec205c15b9 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-08 00:54:36 +02:00
wmayer
48f8105949 + switch between old and new offscreen renderer 2015-05-08 00:54:09 +02:00
Yorik van Havre
c6dbb55198 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-07 18:17:50 -03:00
Yorik van Havre
0d30572e19 Better message if qt help file is not found - fixes #2084 2015-05-07 18:17:35 -03:00
Yorik van Havre
09db645ea6 Arch: Fixed makefile 2015-05-07 18:14:52 -03:00
wmayer
15de65eb71 + before trying to write out snapshot image check if it's null 2015-05-07 23:07:20 +02:00
Yorik van Havre
c4cdfec855 Arch: moved some ui files to resource 2015-05-07 17:38:24 -03:00
Yorik van Havre
ac5efd335d Arch / Draft: reorganized preferences files 2015-05-07 17:06:56 -03:00
wmayer
23a8a9359b + handle case when workbench fails to be created, fix problem when inserting menu 2015-05-06 10:47:51 +02:00