Commit Graph

6081 Commits

Author SHA1 Message Date
wmayer
4fe99f2658 + whitespace improvement 2015-05-15 20:07:55 +02:00
blobfish
0950e1963a Part: Offset: fill rework. 2015-05-15 20:00:47 +02:00
blobfish
cb2002d188 Part: ModelRefine: fix for bug# 2097 2015-05-15 18:06:33 +02:00
Yorik van Havre
25da93e2ea Arch: small bugfix in IFC importer 2015-05-15 11:27:15 -03:00
wmayer
96e77ab5bf + FEM: replace set with list to preserve order 2015-05-15 13:48:29 +02:00
wmayer
84d579186c Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-13 12:01:23 +02:00
Yorik van Havre
a6fad36ab6 Arch: small bugfix in windows 2015-05-12 23:26:41 -03:00
Yorik van Havre
c7c5171233 Draft: fixed typo 2015-05-12 22:14:06 -03:00
Przemo Firszt
29044021cd 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
bcec2d45ad Arch: Added MDF presets to panel 2015-05-10 11:30:01 -03:00
Sebastian Hoogen
d4f3cb7277 use transformGeometry in importSVG
partly reverts f045df1ef3 as workaround
for issue #2062
2015-05-09 19:57:36 +02:00
Yorik van Havre
31cecf79a1 Draft: Added archang's patch to importDWG 2015-05-09 12:39:53 -03:00
wmayer
1f1acad4f8 + set appropriate step size in clipping dialog 2015-05-09 14:54:28 +02:00
wmayer
45604b3874 + use list of pairs instead of map for getVolumesByFace 2015-05-09 12:02:25 +02:00
wmayer
fbdfeef2a3 + add method getPolesAndWeights() to NURBS surfaces and curves 2015-05-09 00:58:07 +02:00
wmayer
814c144ecb + FEM: add a couple of methods to Python interface 2015-05-09 00:15:05 +02:00
wmayer
9e89f2ff9a + implement FemMesh::getVolumesByFace, replace inner list by tuple 2015-05-08 21:45:13 +02:00
Przemo Firszt
cd6088332f 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
6ab70bece6 FEM: inp file formatting/typos
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-08 20:59:14 +02:00
Przemo Firszt
48efcc449b 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
be43c7f5c0 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
3395d4ea02 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
0e670396fa 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
72a0c490ac + use right iterator variable 2015-05-08 12:40:57 +02:00
wmayer
2dd871389e + fix branding bug, use tr() function of class not QObject 2015-05-08 01:08:19 +02:00
wmayer
4efaacc5b3 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-08 00:54:36 +02:00
wmayer
f840f89922 + switch between old and new offscreen renderer 2015-05-08 00:54:09 +02:00
Yorik van Havre
6c7911a602 Merge branch 'master' of ssh://git.code.sf.net/p/free-cad/code 2015-05-07 18:17:50 -03:00
Yorik van Havre
dd78ad7e72 Better message if qt help file is not found - fixes #2084 2015-05-07 18:17:35 -03:00
Yorik van Havre
24e310ec57 Arch: Fixed makefile 2015-05-07 18:14:52 -03:00
wmayer
00438fffd2 + before trying to write out snapshot image check if it's null 2015-05-07 23:07:20 +02:00
Yorik van Havre
7b1135a3e9 Arch: moved some ui files to resource 2015-05-07 17:38:24 -03:00
Yorik van Havre
a9ecbdc802 Arch / Draft: reorganized preferences files 2015-05-07 17:06:56 -03:00
wmayer
54220d5040 + handle case when workbench fails to be created, fix problem when inserting menu 2015-05-06 10:47:51 +02:00
wmayer
13070cbe23 + improve doc string 2015-05-04 15:20:23 +02:00
wmayer
477b3ce3f2 + fixes #0002085: Only one Toolbar Separator 2015-05-03 21:32:24 +02:00
wmayer
6cd9220079 + show build type 2015-05-02 17:56:44 +02:00
wmayer
74c912f169 + fixes #0002064: Editable text changes in drawing template not restored. 2015-05-02 13:14:38 +02:00
wmayer
894e66056e + show build type 2015-05-02 02:13:13 +02:00
wmayer
f6c25f94de + code cleanup: remove deprecated class ViewProviderPartBase 2015-05-02 00:37:05 +02:00
wmayer
58b54aa729 + code cleanup: remove NO_USE_QT_MDI_AREA 2015-05-01 23:27:20 +02:00
wmayer
b35d28a941 + whitespace fixes, add curly braces to outer loop 2015-05-01 18:49:20 +02:00
DeepSOIC
24797fb65e Sketcher: allow mass selection for Point-on-object constraint 2015-05-01 18:31:18 +02:00
Przemo Firszt
605e8cd72c FEM: Add comments to .inp file about functions
Adding detailed information which function is responsible for
creating a proticular section of the .inp file should save
some guesswork. An example from the .inp file:

[..]
***********************************************************
** node sets for loads
** written by write_load_node_sets function
*NSET,NSET=FemConstraintForce
1,
3,
[..]

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:53 +02:00
Przemo Firszt
beb6cecf59 FEM: Use local variable to avoid long strings in write_constraints_force
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:35 +02:00
Przemo Firszt
dec69a8769 FEM: Use local variable to avoid long strings in write_constraints_fixed
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:20 +02:00
Przemo Firszt
0b7c02850e FEM: Use local variable to avoid long strings in write_materials
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:30:05 +02:00
Przemo Firszt
5bf115ddba FEM: Use local variable to avoid long strings in write_load_node_sets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:48 +02:00
Przemo Firszt
39fd6d9217 FEM: Material name has to be limited to 80 characters for ccx
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:30 +02:00
Przemo Firszt
27e43f6939 FEM: Use local variable to avoid long strings in write_fixed_node_sets
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-05-01 17:29:14 +02:00