![]() - move test files to a separate directory - use real life model to generate .inp files (model included) - change format of csv node/volume files to allow direct copy&paste from .inp files - use pre prepared real-life .dat & .frd files to test analysis results loading functions - much more fine grained error reporting - remove empty lines for output - add helper function to print to console Example run of the FEM test: --------------- Start of FEM tests --------------- Checking FEM new analysis... Checking FEM new mesh... sh: SMDS_MemoryLimit: command not found Checking FEM new material... Checking FEM new fixed constraint... Checking FEM new force constraint... Checking FEM new pressure constraint... Checking FEM inp file prerequisites... Checking FEM inp file write... Setting up working directory /tmp/FEM_static Writing /tmp/FEM_static/Mesh.inp for static analysis Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_static.inp to /tmp/FEM_static/Mesh.inp Setting up working directory to /home/przemo/software/FreeCAD/build/Mod/Fem/test_files in order to read simulated calculations Setting base name to read test cube_static.frd file... Checking FEM frd file read from static analysis... Result object created as "Results" Reading stats from result object for static analysis... Setting analysis type to 'frequency" Setting up working directory /tmp/FEM_frequency Writing /tmp/FEM_frequency/Mesh.inp for frequency analysis Comparing /home/przemo/software/FreeCAD/build/Mod/Fem/test_files/cube_frequency.inp to /tmp/FEM_frequency/Mesh.inp Setting working directory to read simulated calculations... Setting base name to read test cube_frequency.frd file... Checking FEM frd file read from frequency analysis... Last result object created as "Mode_10_results" Reading stats from result object for frequency analysis... --------------- End of FEM tests --------------- Signed-off-by: Przemo Firszt <przemo@firszt.eu> |
||
---|---|---|
cMake | ||
data | ||
package | ||
src | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
BuildAll.bat | ||
BuildRelease.ini | ||
BuildRelease.py | ||
ChangeLog.txt | ||
CMakeLists.txt | ||
config.h.cmake | ||
copying.lib | ||
README.md |
FreeCAD
FreeCAD is a general purpose feature-based, parametric 3D modeler for CAD, MCAD, CAx, CAE and PLM, aimed directly at mechanical engineering and product design but also fits a wider range of uses in engineering, such as architecture or other engineering specialties. It is 100% Open Source (LGPL2+ license) and extremely modular, allowing for very advanced extension and customization.
FreeCAD is based on OpenCasCade, a powerful geometry kernel, features an Open Inventor-compliant 3D scene representation model provided by the Coin 3D library, and a broad Python API. The interface is built with Qt. FreeCAD runs exactly the same way on Windows, Mac OSX, BSD and Linux platforms.
Home page: http://www.freecadweb.org
Documentation wiki: http://www.freecadweb.org/wiki/
Forum: http://forum.freecadweb.org/
Bug tracker: http://www.freecadweb.org/tracker/
Git repository: https://github.com/FreeCAD/FreeCAD
Installing
Precompiled (installable) packages are usually available to you from several sources and are described on the FreeCAD download page:
http://www.freecadweb.org/wiki/index.php?title=Download
Compiling
Compiling FreeCAD requires to install several libraries and their development files such as OpenCasCADe, Coin and Qt, listed in the pages below. Once this is done, FreeCAD can be simply compiled with cMake. On windows, these libraries are bundled and offered by the FreeCAD team in a convenience package, on Linux they are usually found in your distribution's repositories and on Mac OSX and other platforms you will usually need to compile them yourself.
The pages below contain up-to-date build instructions:
For Linux: http://www.freecadweb.org/wiki/?title=CompileOnUnix
For Windows: http://www.freecadweb.org/wiki/?title=CompileOnWindows
For Mac OSX: http://www.freecadweb.org/wiki/?title=CompileOnMac
For Cygwin: http://www.freecadweb.org/wiki/?title=CompileOnCygwin
For MinGW: http://www.freecadweb.org/wiki/?title=CompileOnMinGW
Usage & Getting help
The FreeCAD documentation wiki contains a lot of documentation on general FreeCAD usage, python scripting, and development. The following pages might help you to get started:
Getting started: http://www.freecadweb.org/wiki/?title=Getting_started
Features list: http://www.freecadweb.org/wiki/?title=Feature_list
Frequent questions: http://www.freecadweb.org/wiki/?title=FAQ
Workbenches: http://www.freecadweb.org/wiki/?title=Workbench_Concept
Scripting: http://www.freecadweb.org/wiki/?title=Power_users_hub
Development: http://www.freecadweb.org/wiki/?title=Developer_hub
The FreeCAD forum at http://forum.freecadweb.org is also a great place to find help and solve specific problems that you might encounter when learning to use FreeCAD.