- Simulates static solid constructions.
- Has nonlinear materials.
- Has possibility to read and write exact data in text format.
- Can save and import constructions.
- Can save images.
- Can be built on every platform supported by wxWidgets.
- Has automatic building, testing and documentation systems.
-
Linux:
- Build wxWidgets or install it with your package manager.
- Download Eigen and specify it's location in Makefile.
- (Optionally) Build Google Test or install it with your package manager.
- (Optionally) Install Doxygen with your package manager.
- Build project by typing in terminal:
make
-
Windows:
- Build wxWidgets or download it's header files, 64-bit development files and release DLLs. Specify their location in Makefile-nmake-64.
- Download Eigen and specify it's location in Makefile-nmake-64.
- (Optionally) Build Google Test and specify it's location in Makefile-nmake-64.
- (Optionally) Download and install Doxygen.
- Enter Visual Studio command prompt by calling
VsDevCmd.bat -arch=amd64
. It is located in Visual Studio files, so you may need to add it's folder toPATH
or call it directly. - Build project by typing:
nmake /F Makefile-nmake-64
Hints:
- Other available targets for Makefiles are
run
,test
(requires Google Test),doc
(requires Doxygen) andclean
. - If you are having issue with black icons, try building project with Visual Studio (better) or uncommenting
/D ICONS_SET_BACKGROUND
in Makefile-nmake-64 (worse). - If you want to test P6 without having wxWidgets, delete
-D P6_FILE_WXWIDGETS
from Makefile or Makefile-nmake-64 respectively. - If you do not want to use
dot
, disable this option in Doxyfile by settingHAVE_DOT = NO
.
Application is developed to be simple, but there are some non-obvious moments:
- For non-linear materials you can type arbitrary strain(stress) in "Formula" window. There is special variable "s" for "stress" and also "sin", "cos", "ln", "exp" functions.
- Red point in "move" mode is the anchor. Selected elements are scaled and rotated around the anchor.
- Do not forget to specify material and cross-sectional area of sticks.
- Clicking on "node", "stick" or "force" tool makes selection contain only nodes, sticks or forces respectively.
- Rotating mouse wheel with "force" tool activated makes forces be displayed bigger or smaller.
Created by Meta-chan (Kyrylo Sovailo)
Feel free to contact me at github, telegram and [email protected]