Commit Graph

270 Commits

Author SHA1 Message Date
wmayer
ddac5eed60 + fix crash in MeshCurvature::ComputePerVertex for empty meshes 2015-07-27 12:17:16 +02:00
wmayer
d95003e92c + replace deprecated PYTHON_INCLUDE_PATH 2015-07-25 18:29:42 +02:00
wmayer
44ae0d7ae7 + fix mesh smoothing panel 2015-07-14 17:02:38 +02:00
wmayer
997001bbd9 + usage of QSint 2015-07-07 12:34:20 +02:00
wmayer
e404490651 + fix broken PolyPickerSelection 2015-07-02 14:51:38 +02:00
wmayer
834c0a642d + include missing header files 2015-07-01 13:02:29 +02:00
wmayer
ef610c8c96 + remove SoFCSelection from ViewProviderGeometryObject 2015-05-20 21:44:27 +02:00
wmayer
dd2b39ddd6 + fixes #0002075: Analysis of FreeCAD by PVS-Studio static analyzer 2015-05-01 16:56:31 +02:00
wmayer
02b84611b2 + extend Inventor builder, project curve on mesh 2015-04-22 17:15:49 +02:00
Ian Rees
4024f46677 Expands list of mesh formats for import/export 2015-04-09 22:15:28 +02:00
wmayer
9ce46db813 + extend ActionFunction and use in mesh view provider 2015-03-31 01:02:16 +02:00
wmayer
9ba57683d5 + method to get Eigensystem of mesh data 2015-03-10 22:47:46 +01:00
Yorik van Havre
0009e58291 Merged crowdin translations 2015-03-07 15:17:58 -03:00
Yorik van Havre
8d8eba6dac Updated ts files from source 2015-02-27 18:56:51 -03:00
Yorik van Havre
8d98921dd7 Updated translations from crowdin 2015-02-27 18:46:03 -03:00
wmayer
312f63e43e + edit command for meshes to display components 2015-02-20 22:28:37 +01:00
wmayer
e551c4ef28 + write out material information for x3d format 2015-02-13 17:26:49 +01:00
wmayer
79173e37cd + correct usage of SoPolygonOffset 2015-02-02 14:18:16 +01:00
wmayer
65c56d0bd6 +support to write/read colors to/from OFF file 2015-02-02 09:59:02 +01:00
Yorik van Havre
ae3fafea6c Updated base translation files for crowdin 2015-01-13 20:00:09 -02:00
wmayer
477099bbfe + remove useless stuff from Init files 2015-01-13 16:19:19 +01:00
Julien Nabet
b325bcea3d Fix some cppcheck reports:
- (error) va_list '<var>' was opened but not closed by va_end()
- (style) Same expression on both sides of '||'
- (style) Same expression on both sides of '!='
2015-01-06 11:37:44 +01:00
wmayer
c47eea61fa + return point/facet indices as unsigned long in Python 2015-01-03 11:24:57 +01:00
wmayer
16a8965038 + do not long apply changes in mesh settings on existing mesh objects 2014-12-27 18:32:18 +01:00
jriegel
38fc7ba604 Merge branch 'refs/heads/master' into review-CL-Bundler 2014-11-29 15:43:19 +01:00
wmayer
2896372a75 + fix mesh unit tests 2014-11-29 15:17:58 +01:00
Sebastian Hoogen
debca91e98 remove support for automake 2014-11-26 10:26:30 +01:00
wmayer
3c61d41dbf + fix bug in mesh bounding box, fix clang warning 2014-11-23 10:55:36 +01:00
jriegel
1bc6df8eac Merge branch 'refs/heads/master' into review-CL-Bundler
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-11-22 13:51:04 +01:00
wmayer
be7f583aa0 + fix issues on 64-bit Linux/MacOSX systems 2014-11-19 15:32:35 +01:00
Peter Lama
f13f5dc520 Add support for CLbundler created LibPack
* New 'UseLibPack' cmake file sets CMAKE_PREFIX_PATH so that find_package
  can be used for most packages.
* Mimic fc_wrap_cpp defined in other 'UseLibPack' files. Some file
  dependencies did not get set correctly otherwise.
* OCE 0.16 does not have Standard_ctype.hxx
* shfolder.h can't be used with Win SDK 7.0
2014-11-14 08:01:09 -08:00
wmayer
3507e301c2 + improve plane fit 2014-11-04 15:03:25 +01:00
wmayer
980b17ca86 + improve error handling in plane fit 2014-11-03 18:20:55 +01:00
wmayer
ae09625140 + expose function to Python to check for invalid mesh points 2014-10-31 15:57:28 +01:00
wmayer
30d38e6749 + fix bug in Python binding of Quarter viewer 2014-10-24 19:29:35 +02:00
Sebastian Hoogen
a53a239f2f issue #1027 use unicode filepaths 2014-10-11 13:32:06 +02:00
wmayer
f02da38566 + fix Qt help problems 2014-10-01 17:16:43 +02:00
wmayer
032c893183 + fix warnings with clang 2014-09-24 17:46:04 +02:00
Stefan Tröger
ad1bfc32fb fix reported bugs
- compile on windows
- fix cursors
2014-09-23 10:11:12 +02:00
Stefan Tröger
72cab0c002 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
Sebastian Hoogen
ed66ada1cf issue #1700 replace PyExc_Exception 2014-09-17 11:15:57 +02:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
jriegel
c1f0f70b88 Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-08-27 15:39:00 +02:00
wmayer
e814d997e5 + fix trim mesh with plane 2014-08-21 13:26:35 +02:00
wmayer
75fa3d4067 + prepare property editor for items with unknown number of children 2014-08-17 18:36:27 +02:00
jriegel
6303650cc1 Use default eigen in Approximation... 2014-08-13 21:00:15 +02:00
jriegel
b5431d57e0 Change std::make_pairs to C++11 standard without template arguments 2014-08-13 20:59:29 +02:00
wmayer
bd64ce3bb7 + implement save() function in PointKernel, fix icon issue in mesh workbench 2014-08-06 17:39:15 +02:00
jriegel
ec2198107b move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
wmayer
7a3ddd5bae + fix author note, fix various crashes, improve mesh selection stuff 2014-08-01 16:39:59 +02:00
wmayer
2e6c54eedf + improve the plane fit from REEN module 2014-07-28 16:39:34 +02:00
wmayer
6b1e6a66ad + Make destructor virtual for classes with virtual methods (based on DevJohan's patch) 2014-07-26 19:17:12 +02:00
wmayer
b316991220 + fix mesh trimming 2014-07-16 18:21:30 +02:00
wmayer
f4d8b0ff54 + fix mesh triming 2014-07-16 13:57:14 +02:00
wmayer
d456cd21f9 + fixes #0001499: Mesh trim loses some triangles 2014-07-15 18:42:42 +02:00
wmayer
b8772df79c + Mesh trim loses some triangles 2014-07-15 13:31:15 +02:00
wmayer
3cfab20586 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:34:14 +02:00
wmayer
ec6f6ac128 + simplify basic VRML export of mesh kernel, + allow to export mesh with texture via Python 2014-07-11 19:27:48 +02:00
wmayer
c31b661004 + fixes #0001569: Bounding Box of Mesh::Feature in the Gui does not respect the Placement 2014-06-02 13:06:14 +02:00
Yorik van Havre
940f7e69ba Updated translations 2014-05-24 17:35:20 -03:00
Johannes Reinhardt
af964f8509 fix typos in Mesh module 2014-05-16 19:25:11 +02:00
wmayer
6b89c03181 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
wmayer
3b5cdda879 + fix flaws found with code analyzer tool 2014-05-07 13:09:44 +02:00
wmayer
2d4110b0f3 + Better support of clang, fix issues discovered by clang 2014-05-05 18:25:59 +02:00
mdinger
337f05d56e Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
f890d1d1cb Fix precompiled header build error 2014-04-30 13:41:19 +02:00
mdinger
a17cce3559 Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
1942bb7906 Apply SET_BIN_DIR macro to Mod 2014-04-30 13:41:13 +02:00
wmayer
7b07bdfe10 + Add CountEdges to Python interface of Mesh class 2014-04-01 17:27:33 +02:00
Yorik van Havre
3a8d83bed9 Updated ts files from source 2014-03-10 20:36:59 -03:00
wmayer
1f478269af + use dialog button box where possible, replace old Python icon 2014-03-08 15:17:56 +01:00
wmayer
c50b29004e + fixes #0001430: SegFault when FreeCAD imports textured PLY file 2014-03-01 16:32:29 +01:00
wmayer
81cbd2643f + draw additional dashed line in brush tool 2014-02-17 15:27:59 +01:00
jriegel
5c3187da85 Fix not set optional python parameter 2014-02-16 22:19:57 +01:00
wmayer
fb994e204c + fixes #0000854: Ability to change number of digits to the right of decimal place in spinboxes 2014-02-16 18:02:09 +01:00
wmayer
49155648cb + Add pipette icon 2014-02-08 16:10:16 +01:00
wmayer
795bd01f31 + fixes #0001148: Incorrect STL from a mesh 2014-01-16 11:55:32 +01:00
wmayer
847b6b79e0 + Replace math.h with cmath 2014-01-05 11:25:40 +01:00
wmayer
58b1a0947f + Support to write out mesh name 2013-12-22 15:02:40 +01:00
jmaustpc
236055aa52 Add Mesh Regular Solids icons to dialogue drop down list 2013-12-21 21:54:56 +11:00
wmayer
098f39e7c5 + Use new icons in Mesh workbench 2013-12-20 16:28:14 +01:00
jmaustpc
9bdd15f7b5 Move Mesh_Mesh_from_Shape icon from Mod/MeshPart to Mod/Mesh
Move the icon Mesh_Mesh_from_Shape.svg
from .../Mod/MeshPart/Gui/Resources/icons
to .....//Mod/Mesh/Gui/Resources/icons
edit both Mesh.qrc and MeshPart.qrc accordingly
remove referrence to the icon from the command in
the MeshPart Command.cpp file and add it to
the Mesh Command.cpp file
2013-12-14 00:58:58 +11:00
wmayer
df53ad49cf + For MeshGui remove dependency to MeshPartGui when loading the workbench 2013-12-12 18:19:56 +01:00
wmayer
b7a9b774f3 + Support of export to X3D for meshes 2013-11-25 13:39:31 +01:00
wmayer
c01306440a + fix possible endless loop in mesh grid, allow to set an array of points to the kernel 2013-11-19 18:11:46 +01:00
wmayer
f061b6f7ea 0001278: No build possible with current CMake version 2.8.12 2013-10-22 10:33:18 +02:00
wmayer
4686118f2a + Make Python API more pythonic 2013-10-11 13:57:05 +02:00
wmayer
2a2acf4955 + Make Python API more pythonic 2013-10-11 12:24:22 +02:00
wmayer
31afafcba6 + Fix double to float cast 2013-10-10 17:15:03 +02:00
wmayer
1e860356e7 + make float assignment more pythonic 2013-10-08 12:54:20 +02:00
jriegel
30b189c1da Merge branch 'refs/heads/double-precision-werner'
Conflicts:
	src/App/Document.cpp
	src/App/PropertyGeo.cpp
	src/App/PropertyStandard.cpp
	src/Base/Reader.cpp
	src/Base/Reader.h
	src/Gui/propertyeditor/PropertyItem.cpp
	src/Mod/Fem/Gui/ViewProviderFemMesh.cpp
	src/Mod/Inspection/Gui/ViewProviderInspection.cpp
	src/Mod/Mesh/App/MeshProperties.cpp
	src/Mod/Part/App/TopoShapeFacePyImp.cpp
	src/Mod/PartDesign/App/FeatureRevolution.cpp
2013-09-26 00:05:05 +02:00
jriegel
68078487c7 Add SchemaVersion to RestoreDocFile to distinquish double from float binary 2013-09-24 11:01:09 +02:00
jriegel
29c3fa6458 small fixes 2013-09-24 11:01:06 +02:00
jriegel
664c1d4862 Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02:00
wmayer
f1f3151345 +Relicense from GPL to LGPL 2013-09-19 11:21:03 +02:00
Yorik van Havre
42fdbefc54 0001102: Updated all links to old freecad homepage and wiki to the new ones 2013-09-15 17:04:42 -03:00
wmayer
ca51781aa9 Fix warnings 2013-09-09 15:01:56 +02:00
jriegel
e3d9bae1ca Merge Fem developer branch 2013-09-08 19:58:13 +02:00
wmayer
8f9a9b71a2 Enhance API of mesh selection 2013-09-04 12:18:20 +02:00
wmayer
b51fcb4470 + fix whitespaces 2013-09-04 12:11:16 +02:00
jriegel
f18277ff46 Merge branch 'refs/heads/master' into jriegel/develop-fem
Conflicts:
	src/Gui/View3DInventor.cpp same fix, but master was better
2013-09-04 07:47:08 +02:00
wmayer
71958f3fcc 0001232: Create Mesh from geometry / Export mesh 2013-09-02 14:09:32 +02:00
wmayer
43cb48caec 0001232: Create Mesh from geometry / Export mesh 2013-09-02 13:59:45 +02:00
wmayer
b1451181ea Edge collapse method 2013-07-23 13:28:37 +02:00
jriegel
0b57c4da5c Add a general methode for calculating eigen transformation into the Mesh interface 2013-07-10 23:15:25 +02:00
wmayer
4afa0138cc 0001162: Cut mesh with plane 2013-07-06 15:03:28 +02:00
wmayer
b9fb862c66 + Reduce redundant code in mesh classes 2013-07-06 15:02:52 +02:00
wmayer
6fde5d764b + in setPyObject() only use classes derived from Base::Exception 2013-07-05 15:29:04 +02:00
wmayer
ab8a8cd371 Remove unneeded code 2013-05-07 15:35:51 +02:00
wmayer
746ab2ec78 Add framebuffer support to Inventor viewer 2013-05-02 17:37:56 +02:00
wmayer
8122723360 Switch new selection style explicitly off for some types 2013-04-28 17:23:54 +02:00
wmayer
c754280af6 Improve methods to select meshes, allow to smooth only selected area of a mesh 2013-04-26 17:21:36 +02:00
wmayer
2aabac71a7 Add convenience methods to query selection of a mesh 2013-04-26 17:20:24 +02:00
wmayer
cffc53f8ea Fix whitespaces 2013-04-26 17:19:23 +02:00
wmayer
fe19cb09cc Do not override edit cursor with pre-selection 2013-04-10 13:57:44 +02:00
wmayer
b24f0efbc1 Remove FileVersion from RestoreDocFile, convert point data back to floats 2013-03-29 15:23:51 +01:00
jrheinlaender
fdc3e50811 Added FileVersion attribute to XML format to distinguish legacy float binary files from new double binary files 2013-03-27 11:47:18 +04:30
wmayer
efc29e4422 Move from float to double 2013-03-23 15:12:04 +01:00
wmayer
ce0e6e5cef Make FeaturePython Python binding a template class to avoid code duplication 2013-03-22 00:34:18 +01:00
jriegel
11b4abf24a Log in FemMesh view provider and some warnings fixed 2013-02-18 22:29:02 +01:00
wmayer
0abef4d4e3 Mesh analyzing algorithms 2013-02-17 08:28:01 +01:00
wmayer
0ebffa930a Do not pass 0 to PyObject_IsTrue 2012-12-30 23:16:56 +01:00
wmayer
1b345c193e Use PyObject_IsTrue to check argument 2012-12-29 15:59:54 +01:00
Yorik van Havre
f4a47f089c Updated with latest crowdin translations 2012-12-18 13:28:11 -02:00
Yorik van Havre
71b1777e8a Updated translation strings 2012-12-07 10:56:57 -02:00
Yorik van Havre
9934a1dc0f Added new translations to makefiles 2012-10-30 10:49:36 -02:00
Yorik van Havre
be940cbd06 Updated translations from crowdin
* Updated the updateTranslations.py tool so it can now work with
  unzipped folders, and it updates qt resource files when necessary.
* Updated existing translations, changed a couple of language codes:
  es -> es-ES, pt -> pt-BR, zh -> zh-CN, se -> sv-SE
* Added new translations that have more than 50% translated:
  cs, hu, ro, sk, zh-TW, tr
2012-10-30 09:59:55 -02:00
wmayer
bcddb1e950 Fix bug when painting selection in mesh view provider 2012-09-28 12:33:26 +02:00
wmayer
629cf6546c 0000823: Extension of Facet class for getting vertex indices natively 2012-09-06 12:38:00 +02:00
Yorik van Havre
3a8f6dff59 Updated translation files 2012-08-16 16:09:56 -03:00
wmayer
b5706a8ba2 Trimming & cutting from python 2012-08-15 15:47:57 +02:00
wmayer
1859ec2559 Add utility class to better debug algorithms 2012-08-11 15:09:08 +02:00
wmayer
e5b4f0028f 0000788: OFF import doesn't handle empty lines properly 2012-07-07 11:52:18 +02:00
wmayer
b4aff85333 Fix critical warnings 2012-06-13 18:49:10 +02:00
wmayer
1cc9993954 Add method to find segment of a facet index 2012-05-30 17:32:55 +02:00
wmayer
dcffcbe168 0000726: Fails to compile GIT 2012-05-28 23:39:36 +02:00
Yorik van Havre
77e34d8e1b Merge pull request #4 from msocorcim/msocorcim/general
Msocorcim/general
2012-05-21 14:52:00 -07:00
wmayer
72b922a234 Mesh segmentation 2012-05-21 15:53:46 +02:00
wmayer
fc3a9903f8 Mesh segmentation 2012-05-21 15:02:51 +02:00
msocorcim
6fd2aca560 Add new Mod/Mesh files to Makefile.am 2012-05-20 23:00:23 -04:00
wmayer
1b46fc55b7 Mesh segmentation 2012-05-18 19:07:27 +02:00
wmayer
fc53283239 Mesh segmentation 2012-05-18 15:57:32 +02:00
wmayer
886af5096c Mesh segmentation 2012-05-18 01:40:05 +02:00
wmayer
23f4ce0d8f Mesh segmentation 2012-05-18 01:25:31 +02:00
wmayer
9185bdcd8f 0000702: Patch to fix compilation of FreeCAD with gcc 4.7 2012-05-13 13:11:07 +02:00
wmayer
8794441e87 0000394: Task widget to display status info 2012-04-28 15:38:29 +02:00
wmayer
2549b555bc doing merge 2012-04-26 15:10:48 +02:00
wmayer
c6b5ef3c81 0000633: Mesh Boolean operations all return empty mesh 2012-04-11 11:23:02 +02:00
wmayer
7d54d03034 0000645: Mesh.Mesh returns empty mesh when provided integers 2012-04-10 20:30:43 +02:00