Installation (compilation) of FreeCAD 016 on OpenSUSE Leap 42.1

Update on the series, now FreeCAD 016 is out, time to compile it on OpenSuse Leap 42.1. Few change, I had to add a repository to have a minimum version 1.55 for boost-devel. The dependencies needed are here.

So let’s go again, to the command line, this is what I did :

Let’s add sources for dependencies :

‘Trust’ sources when asked for

cd
sudo zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_42.1/ PythonDev
sudo zypper addrepo http://download.opensuse.org/repositories/games/openSUSE_Leap_42.1/ Games
sudo zypper addrepo http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.1/ KDE:Extra
sudo zypper addrepo http://download.opensuse.org/repositories/devel:/libraries:/c_c++/openSUSE_Leap_42.1/ C++_Libraries

Refresh repositories

sudo zypper refresh

And launch installation of dependencies

Accept installation of packages when asked to

sudo zypper install  gcc cmake OpenCASCADE-devel libXerces-c-devel python-devel libqt4-devel libshiboken-devel python-pyside-devel python-pyside-tools Coin-devel SoQt-devel boost-devel libode-devel  libQtWebKit-devel libeigen3-devel gcc-fortran freetype2 freetype2-devel

Hopefully it also works fine for you, and now let’s fetch the source code file (archive ) here: https://sourceforge.net/projects/free-cad/files/FreeCAD%20Source/FreeCAD-0.16.6703.tar.gz/download

Extract its content and enter its directory:

tar -zxvf freeCAD..... (name of file)
cd freeCAD..... (name of directory where it has been extracted to)

And launch compilation (This took some time even on a good NB with SSD, 20GB RAM and a Quad Core CPU, it only uses 1 core, no more than 4GB RAM and little HDD writes. You can follow the progress in %

cmake .
make

And now you can launch FreeCAD (if all went fine)

 

./bin/FreeCAD

Screenshot_20160515_110338

Have Fun and check out the Website http://www.freecadweb.org/

 


					

Installation (compilation) of FreeCAD 015 on OpenSUSE Leap 42.1

Yet another update, this time it is FreeCAD 015 installation on OpenSuse Leap 42.1. Last post was 015 on 13.2.  – There are not many changes really, merely the repositories. Unfortunately, FreeCAD is not in the official OpenSUSE repositories and the packages I found didn’t work for me :-/

As said in past posts, FreeCAD is a very good Open Source 3D CAD program, I use it sometimes to make 3D objects I print, and sometimes post on Thingiverse, and as far as I could see, the package ready for OpenSUSE has some issues, so I decided to compile myself, based on information I found here and there (i.e. http://www.freecadweb.org /wiki/index.php?title=CompileOnUnix) and by trying out, looking at results and error messages. As said before it may not be complete or perfect, but that worked for me on a fresh OpenSUSE Leap 42.1 install

 

So let’s go again, to the command line, this is what I did :

Let’s add sources for dependencies (that is quick) :

‘Trust’ sources when asked for

cd
sudo zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_42.1/ PythonDev
sudo zypper addrepo http://download.opensuse.org/repositories/games/openSUSE_Leap_42.1/ Games
sudo zypper addrepo http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_Leap_42.1/ KDE:Extra

Refresh repositories  (that takes a bit longer)

sudo zypper refresh

And launch installation of dependencies (that is longer)

Accept installation of packages when asked to

sudo zypper install gcc cmake OpenCASCADE-devel libXerces-c-devel python-devel libqt4-devel python-qt4 Coin-devel SoQt-devel boost-devel libode-devel libQtWebKit-devel libeigen3-devel gcc-fortran freetype 2 freetype2-devel libshiboken-devel python-pyside-devel libspnav-devel swig python-pyside-tools doxygen python-matplotlib

Here I got an ‘error’ message about a package that will be deprectated, but it seems to have no impact

Hopefully it also works fine for you, and now let’s fetch the source code file (archive ) here: http://downloads.sourceforge.net/project/free-cad/FreeCAD%20Source/freecad_0.15.4671.tar.gz

Extract its content and enter its directory:

tar -zxvf freeCAD..... (name of file)
cd freeCAD..... (name of directory where it has been extracted to)

And launch compilation (This took some time even on a good NB, but you can follow the progress in %)

cmake .
make

And now you can launch FreeCAD (if all went fine)

 

./bin/FreeCAD
snapshot1


 

And check out the Website http://www.freecadweb.org/

 


					

Installation (compilation) of FreeCAD 015 on OpenSUSE 13.2

This is an update of my article about installing version 014 on OpenSUSE 13.2 – Now it’s 015’s turn to be compiled on OpenSuse 13.2 – There are some minor changes compared to previous versions.

As said in last post, FreeCAD is a very good Open Source 3D CAD program, I use it sometimes to make 3D objects I print, and sometimes post on Thingiverse, and as far as I could see, the package ready for OpenSUSE has some issues, so I decided to compile myself, based on information I found here and there (i.e. http://www.freecadweb.org /wiki/index.php?title=CompileOnUnix) and by trying out, looking at results and error messages. It may not be complete or perfect, but that worked for me on a fresh OpenSUSE 13.2 install

 

So let’s go again, to the command line, this is what I did :

Let’s add sources for dependencies (that is quick) :

‘Trust’ sources when asked for

cd
sudo zypper addrepo http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_13.2/ PythonDev
sudo zypper addrepo http://download.opensuse.org/repositories/games/openSUSE_13.2/ Games
sudo zypper addrepo http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/ KDE:Extra

Refresh repositories  (that takes a bit longer)

sudo zypper refresh

And launch installation of dependencies (that is longer)

Accept installation of packages when asked to

sudo zypper install gcc cmake OpenCASCADE-devel libXerces-c-devel python-devel libqt4-devel python-qt4 Coin-devel SoQt-devel boost-devel libode-devel libQtWebKit-devel libeigen3-devel gcc-fortran freetype 2 freetype2-devel libshiboken-devel python-pyside-devel libspnav-devel swig python-pyside-tools doxygen python-matplotlib

Hopefully it also works fine for you, and now let’s fetch the source code file (archive ) here: http://downloads.sourceforge.net/project/free-cad/FreeCAD%20Source/freecad_0.15.4671.tar.gz

Extract its content and enter its directory:

tar -zxvf freeCAD..... (name of file)
cd freeCAD..... (name of directory where it has been extracted to)

And launch compilation (This took some time even on a good NB, but you can follow the progress in %)

cmake .
make

And now you can launch FreeCAD (if all went fine)

 

./bin/FreeCAD
snapshot1


 

And check out the Website http://www.freecadweb.org/

 


					

Vacuumio I (the Thymio II vacuum cleaner) – Work in Progress

The Project (status 22 February 2015)

also Published on Aseba

The idea of this project is to build a vacuum cleaner ‘module’ for Thymio II.

The challenge is to find or build the proper parts so as it is as simple as possible, and in the idea to challenge everyone interested, to submit and test code that would allow Thymio II to cover a room as fast as possible, making only usage of the integrated sensors and features of Thymio II.

NB : The challenge goes beyond the scope of the initial thoughts that are described, the parts made hereafter need to be changed, the suction system is too poor at this stage, and needs a  replacement (probably based on cyclone separator) as it sucks only very tiny dust, the current system induces turbulence in the dust container (fluid dynamics) and thus not ready for prime time.
I’m working on it and testing but any proposal is welcome 🙂

So for this, let’s start with the ‘making’

The ‘making’

Thymio II has of course the possibility to be extended with Lego parts. As there are some constraints I decided to also use 3D printed parts, as well as, of course, some other parts for aspiration

3D printed parts

I designed the 3D printed parts with FreeCAD 014. I used FreeCAD because it is off-line (not a Cloud solution which would need permanent Internet connection), and because I used it before, thus know it a bit, and also because it is multi platform (Windows, OSX, Linux).

The parts where made with the ‘Parts’ module of FreeCAD, only using primitives with fusions and cuts. It’s quick and dirty, and an expert would probably do much better.

I designed 3 parts :

  1. The hose (front aspiration part)
  2. The dust container
  3. The top cover for the dust container, which holds an aspiration system and the batteries. This will depend on the suction system adopted

fv1dust_container1TopCoverTop_cover

I printed these parts with my Solidoodle 2 3D printer. It’s not the best today but works fine for the purpose. You might have to use a 5mm diameter drill to ‘rework’ the Lego holes, depending on how precise the 3D printer is

Lego

For the Lego part I tried to make it simple and easy to remove.

Once assembled with the other parts, the whole vacuum cleaner module can be easily removed from Thymio II as one piece.

I used LDD (Lego Digital Designer) to generate the assembly instructions and list of needed Lego bricks. You can of course use other bricks to have the same result if you don’t have the bricks listed.

armature_LDD

Assembly instruction

Flexible pipe

I used a flexible pipe to ‘connect’ the front aspiration part to the dust container as seen on picture.

This can usually be found in pet shops where you can buy aquariums, I used 4 pipes, 13 cm long and with a diameter of 10 mm

Suction  system (motor)

This is probably the most challenging part. The Suction system is mounted on the top cover of the dust container. It is made by a ventilator/motor/turbin and a battery pack. I tested several ones, but at this time the performance is still poor. Depending on the aspiration surface, type of engine and rotor, as well as the motor power, the results vary a lot, there are unwanted side effects. Furthermore, as adding a filter will even more reduce the suction, I may have to develop a ‘cyclone’ system.

2motorholders

The Code

The code is another big thing. The current tests base on the Thymio II ‘Explorer’ mode (yellow). I will probably base the code on it and adapt it. It will be an interesting challenge to write optimal code so as Vacuumio covers as much as possible of a room as fast as possible.

Future Improvements

  1. Augmenting suction capacity (cyclone separator ?)
  2. Adapted code

Files :

3D Parts
Lego Instructions

First prototype

separate_elementsVacuumio

 

And here is a first video  :

Thanks for your interest, Alain Tuor

Packard Bell oneTwo AiO M3870 disassembly

This is a quick visual guide on how to open this all in on computer. I spent some time fiddling aroud to find the scres and clips. I hope this will help those who want to give a new life to this computer by adding (changin) RAP or replacing the slow 5400 RPM Hard Drive by a faster SSD on SSHD

So here is what the model looks like

Front
Front

Back (sorry for the fuzzy image)

There are 9 screws to remove to open it, 2 are visible, the next 3 under the cache situated under the stand
Back

One the cache removed you can access the 3 next screws and remove the stand
media-20141224

You now need to remove the cache on the DVD drive by simply but gently pulling it, you can then access the next 2 screws
media-20141226

Al last, remove the rubber parts at the bottom of the screen, and you can access the last 2 screws to open it
media-20141225

Here is a visual so as you can see where the clips are, this was not simple to find but you must unclip it with, ie a screw driver or so

media-20141222 media-20141223

Inside of it you can access the hard drive directly by removing 1 screw, or the memory by removing several more screws (not all shown by arrow) and take off the main plate
media-20141221media-20141220

This is not very precise but I hope it can help; as I didn’t find any instruction or manual on the web I wanted to share at least some info.

Installation (compilation) of FreeCAD 014 on OpenSUSE 13.2

This is an update… sort of, of the article from February which was about installing version 013 on OpenSUSE 13.1 (that was in French, decided to post this one in English)

As said in last post, FreeCAD is a very good Open Source 3D CAD program, I use it sometimes to make 3D objects I print, and sometimes post on Thingiverse, and as far as I could see, the package ready for OpenSUSE has some issues, so I decided to compile myself, based on information I found here and there (i.e. http://www.freecadweb.org /wiki/index.php?title=CompileOnUnix) and by trying out, looking at results and error messages. It may not be complete or perfect, but that worked for me on a fresh OpenSUSE 13.2 install

 

So let’s go, to the command line, this is what I did :

Let’s add sources for dependencies (that is quick) :

‘Trust’ sources when asked for

cd

sudo zypper addrepo http://download.opensuse.org/repositories/games/openSUSE_13.2/ Games
sudo zypper addrepo http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/ KDE:Extra

Refresh repositories  (that takes a bit longer)

sudo zypper refresh

And launch installation of dependencies (that is longer)

Accept installation of packages when asked to

sudo zypper install eigen3 swig gcc cmake OpenCASCADE-devel libXerces-c-devel python-devel libqt4-devel python-qt4 Coin-devel SoQt-devel boost-devel  libode-devel libQtWebKit-devel libeigen3-devel gcc-fortran python-matplotlib libspnav-devel shiboken-devel python-pyside-devel doxygen

Hopefully it also works fine for you, and now let’s fetch the source code file (archive ) here: http://sourceforge.net/projects/free-cad/files/FreeCAD%20Source/freecad-0.14.3702.tar.gz/download

Extract its content and enter its directory:

tar -zxvf freeCAD..... (name of file)
cd freeCAD..... (name of directory where it has been extracted to)

And launch compilation (This took some time even on a good NB, but you can follow the progress in %)

cmake .
make

And now you can launch FreeCAD (if all went fine)

 

./bin/FreeCAD
snapshot1


I must say though that there may be missing things, i.e. I got a message saying :

matplotlib not found, so Plot module can not be loaded
plot module is disabled, tools cannot graph output curves

But it is not mandatory for most things.

And check out the Website http://www.freecadweb.org/

 


					

La Suisse n’est ni laxiste ni xénophobe

La votation du 9 février 2014 sur l’immigration de masse a fait couler beaucoup d’encre, et  les commentaires ont fusé de toute part, dans les journaux, réseaux sociaux, blogs et j’en passe.

Ce n’est pas une image juste, c’est juste une image

Certains partisans ont accusé les opposants d’être laxistes, légèreté et de ne pas avoir de  conscience nationale etc., et certains opposants ont accusé les partisans d’être  xénophobes, bêtes, racistes et j’en passe. ‘Ce n’est pas une image juste, c’est juste une image’ (Jean-Luc Godard). La grande majorité des Suisses sont ouverts et ont une conscience nationale, quoi qu’ils aient voté.

2 chemins incertains

2 chemins s’ouvraient à nous, tous 2 boueux et difficiles, un choix qui ne s’est pas fait que par des extrémistes mais par un panachage de pensées, et le résultat démontre bien que la balance ne permet pas de décerner, à l’œil nu, une pensée unique mais bien un arc-en-ciel de pensées, et qui doit, et ce sont bien là les difficultés de la démocratie, être assumé par toute la population, en toute intelligence et créativité. Nous pouvons rester ouverts comme nous l’avons toujours été sans perdre notre souveraineté, et nous pouvons garder le contrôle de nos frontières sans devenir xénophobes.

Ce qui est excessif est insignifiant

Cette phrase du conseiller fédéral Daniel Burkhalter suite au commentaire de Arnaud Montebourg est pleine de bon sens et s’applique à de nombreux autres commentaires de tous bords, quelques réactions en lien (parmi tant d’autres)

Christophe Blocher(…conscience nationale faible)
Arnaud Montebourg (Suicide collectif)
Astrid Lulling (avec des citoyens aussi bêtes…)
Revue Nature (swiss xenophobia)

Et bien il avait raison, tous ces commentaires (et peut-être les gens qui les ont fait), sont insignifiants, elles ont fait le buzz et vont disparaitre dans l’oubli, car les gens de bonne volonté vont continuer à croire et se battre pour ce que nous sommes, et ne pas avoir peur des conséquences de nos actes passés, car la peur mène à la colère, la colère mène à la haine, la haine… mène à la souffrance. (Maître Yoda) 😉

Nul ne sait ce qu’un choix plutôt que l’autre n’impliquera, comme un joueur d’échec qui  ne sais pas quel déroulement prendra la partie suite à  un coup incertain. (sauf peut-être un grand maître)

Au lieu de nous déchirer pour savoir s’il faut contrôler les flux migratoires, entraidons nous avec nos voisins et que chacun profite de l’expérience de l’autre pour trouver des solutions communes tout en respectant les spécificités et aspirations de chacun pour que travailleurs, étudiants, chercheurs et autres puissent s’épanouir.

Installation FreeCAD 013 sur OpenSuse 13.1

FreeCAD 013, très bon logiciel libre CAO 3D que j’utilise por faire mes pièces à imprimer en 3D n’a malheureusement pas de paquet prêt pour OpenSuse 13.1. Voici un bref résumé de l’installation (compilation), me suis basé sur diverses infos, principalement  le site officiel:

http://www.freecadweb.org /wiki/index.php?title=CompileOnUnix

Allons déjà dans ‘home’ et ajoutons les sources pour les dépendances (rapide):

il faut ‘Truster’ les sources quand demandé

cd
sudo zypper addrepo http://download.opensuse.org/repositories/home:happenpappen:Robotics/openSUSE_Factory/home:happenpappen:Robotics.repo
sudo zypper addrepo http://download.opensuse.org/repositories/games/openSUSE_13.1/ Games
sudo zypper addrepo http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.1/ KDE:Extra

On Rafraichitla base (un peu moins rapide)

sudo zypper refresh

Et on lance l’installation des dépendances (ça c’est déjà plus long)

Il faut accepter l’installation des paquets quand demandé

sudo zypper install eigen3 swig gcc cmake OpenCASCADE-devel libXerces-c-devel python-devel libqt4-devel python-qt4 Coin-devel SoQt-devel boost-devel  libode-devel libQtWebKit-devel libeigen3-devel gcc-fortran python-matplotlib libspnav-devel

Récupérons le code source qu’on sauvegarde dans notre ‘home’ à l’adresse : http://sourceforge.net/projects/free-cad/files/FreeCAD%20Source/

On décomprime en on entre dans le répertoire (rapide):

tar -zxvf freeCAD..... (nom du fichier téléchargé)
cd freeCAD..... (nom du répertoire dans lequel ça a été décomprimé)

Et on lance la compilation (a pris plus d’une heure sur mon vieux NB)

cmake .
make

Ne reste plus qu’à lancer FreeCAD (si tout s’est bien passé)

./bin/FreeCAD

snapshot1