Progress report from FísicaLab project

Many changes has been done internally to facilitate the aggregation of new modules. But at UI has been some changes too. One of them is at the contextual menu of conversion factors. Now the menu only display the conversion factors available for the selected field.

fisicalab-conversion-menu

Also I’m working to add menu options to save/load problems. This will avoid add all the elements and data again, when you are working on one problem.

The Thermodynamics module is taking shape now. I take time to think how to organize the elements, since in thermodynamics there are equations for specific cases. For example, to calculate the work in different process of an ideal gas. But I did not want to add an element for each case. Which would have added a lot of elements. So I simply decided ignore some fields for specific cases. For example, the temperature data for an isothermal process. The image below show the solution of a problem of this case (isothermal).

fisicalab-thermodynamics

I have no idea when might be ready the next version. But you can be sure that FísicaLab is in continuous development.

Remember that FísicaLab is a free software project, and needs your support to continue its development. So to donate or help in other ways (translations or help to publicize the project) visit the official website of GNU FísicaLab.

First release of eiffel-iup

I’m glad to announce the first release of eiffel-iup. A wrapper that allow create graphical applications with Liberty Eiffel using the IUP toolkit. In this first release are available all the dialogues at IUP and all standard controls (except IupFlatButton). All controls has been tested, but not all its features. So, could be problems. But this is enough mature to create graphical interfaces. So let’s look at some screenshots of the examples that comes with this package. The image below show a simple editor with a tool bar that can be detached. Only one button works at that tool (the button to underline), the rest are just examples of buttons with predefined images at IUP stack.

eiffel-iup-1

The example number 5, show how use several predefined dialogues, as show the images below:

eiffel-iup-2

eiffel-iup-3

eiffel-iup-4

The same example show, in other tabs, the use of many other controls, like popups, combo box, sliders, calendars, spin box, splits and others:

eiffel-iup-5

eiffel-iup-6

Other example show how use a tree, an expander and a sbox:

eiffel-iup-7

To get an idea about how use this package, the image below show the code of a small app to display a dialog with a label and a button to close the app (you should insert the class IUP_INTERFACE):

my_example

You can download this first release here. So, let me know if you have problems, and wait for upcoming lessons on how to use eiffel-iup. Happy Hacking!

iup2

Liberty Eiffel wrapper for IUP toolkit

Since a couple of months ago I’m working in a Liberty Eiffel wrapper to the IUP toolkit. IUP is a multi-platform toolkit for building graphical user interfaces. This is still under development, but I think the current state is enough to start playing with it. Here some screen shots:

iup1

A small converter for inches and centimeters:

iup2

Currently you can use widgets like Windows (in IUP are called Dialogs), buttons, labels, radio buttons, text box, text views (called multi line), sliders, links, combo box, menus and a variety of containers. For the moment there are only four examples, but I will add more later. The example4.e show how create menus and use mnemonics and short cuts. Here some screen shots of this example:

iup4

iup5

To give you an idea about how is the use of this wrapper here an extract of the converter example shown previously:

iup-code

The project is hosted at notabug.org. So you can download it and start playing. Of course you should install first Liberty Eiffel and IUP.

GNU FisicaLab 0.3.5

I’m glad to announce the release of version 0.3.5 of GNU FisicaLab, this is a feature release. FisicaLab (can be pronounced as PhysicsLab) is an educational application to solve physics problems. Its main objective is let the user to focus in physics concepts, leaving aside the mathematical details

In this version I added a module to handle tables of properties, for the moment this only handle properties for water, but is the base for future modules of thermodynamics and fluids. This took more time that I thought, but now is ready. So now there is a new entry at menu that launch a window where you can calculate the properties of water (saturated, compressed and superheated). I also fix some bugs:

  • Correction of a bug in the module dynamics of points, due to a bad set of equations. This causes that some problems can be solved with some parameters, but not with others.
  • Fixed two problems with the contextual menu of conversions.
  • Minor changes for compatibility with Windows platform. So now FisicaLab have the same behavior on this platform.

This new version is also available as a binary package for GNU/Linux i686 and for GNU/Linux x86_64. There is also a self contained installer for Windows and a source tarball for Mac OS X. I didn’t tested this package since I don’t have a Mac. But in theory should work.

Remember that the documentation is now on line. And in addition I added some videos here. For the moment these are available only in English. And, beforehand, apologies if you don’t understand my English:)

I also want to thank the people who have donated to the project. In this version the first time you launch FisicaLab it will display a window with a brief description of FisicaLab where we encourage you to donate to the project.

So enjoy FisicaLab and if you have feedback or find bugs, use the corresponding mailing lists.

FisicaLab update

Well, I just want to share the progress in the development of FisicaLab. As you know I want a module for thermodynamics in version 0.4.0. This means that FisicaLab needs the ability to handle data from steam tables. However, find the data in an easy format (an spreadsheet for example) was not possible. I found PDF format, which is not easy to translate to a spreadsheet, or Excel programs only for Windows and payed. Anyway after some hard work, I have the steam tables for water into FisicaLab. The new class “TablesManager” is the responsible to get the data from these tables. To test this class I added a “Properties” window that lets calculate the properties after enter some data. For the moment only the saturation data are available. But I will add the ability to get “compressed/superheated” data at next days. Of course, not only water will be available. Here an screenshot of this new window, that will be available under the new item menu “Tools”:

fisicalabProperties

Remember FisicaLab is free software and that you can support its development with a donation in PayPal, Flattr or Gratipay.