site  contact  subhomenews

First go using SolveSpace

November 20, 2019 — BarryK

I posted about SolveSpace:

https://bkhome.org/news/201911/using-solvespace-v23-in-pyro.html

After working through a couple of tutorials, had a bit of a go at drawing a basin-type distiller. Hmmm, got to the point where some things became difficult. This is as far as I got, exported as PNG:

img1

I could plough ahead, however, there really isn't much point. I can create reasonable drawings with pen and paper, no need for the fancy 3D visualising. Even a 2D CAD program would be OK, to publish drawings that are more tidy than my hand-drawn sketches. 

Tags: easy

Using SolveSpace v2.3 in Pyro

November 19, 2019 — BarryK

Yesterday I posted about including SolveSpace v2.3 in the next build of Easy Buster, and v3.0alpha (latest from github) in Easy Pyro:

https://bkhome.org/news/201911/solvespace-parametric-3d-cad-in-easyos.html

The latest source looks good, more features, however, last night I was working through this tutorial, running Easy Pyro:

http://solvespace.com/bracket.pl

Those tutorials are excellent, but they are written for v2.3 and I discovered slight UI differences -- only slight, not a show-stopper. Zoom in-out does not work in v3.0alpha (but later I found that it doesn't work in v2.3 either).

What did stop me was when I tried to open my creation in v2.3, that had been created in v3.0alpha -- which hung the application.

I can live with less features, for now want the compatibility, to be able to open and edit drawings created in either Easy Pyro or Buster. And then there's the tutorials being written for v2.3.

Oh, yes, v2.3 uses gtkmm v2, which is already in Easy Pyro. gtkmm v3 is a very big package. So including v2.3 in the next release of Pyro will hardly add anything to the download size.

Compile notes for v2.3 in Pyro 1.2.8:

requires json-c, gtkmm v2, unifont

# patch -p1 < ../debian/patches/01_RemoveGitHash.patch
# patch -p1 < ../debian/patches/20_use_system_unifont.patch
# patch -p1 < ../debian/patches/30_fix_ftbfs_glibc.patch

# mkdir build
# cd build
# cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
# make
# new2dir make install

The PET has been uploaded, as well as a 'unifont' PET, so in the "petget" package manager, update the package database. If you already installed v3.0-alpha, uninstall it first.

Got to say, liking SolveSpace! 

EDIT:
Oh bother! v2.3 is hanging in Easy Pyro. Have to use the v3.0alpha. Both are in the package manager. If you have already installed v2.3, uninstall it, and instead install package 'solvespace3'.
 

Tags: easy

SolveSpace parametric 3D CAD in EasyOS

November 18, 2019 — BarryK

SolveSpace is another CAD application. See links to QCAD and FreeCAD here:

https://bkhome.org/news/201911/qcad-2d-cad-application-compiled.html

Example construction in SolveSpace;

img1

SolveSpace has various points in it's favour: looks easy to use (from a very superficial first-look), reasonably powerful, and small size. It uses the gtkmm library, and is in the Debian DEB repository.

The version in the Debian repository is a bit old, version 2.3, released in 2016, and uses gtkmm v2, which is already in the Easy Buster build. So great, I have added it to the package list and it will be in the next release of Easy Buster.

Note, if you are running Easy Buster and want to try it now, via "petget", there is also another package 'libslvs1' -- install that too. It is actually part of SolveSpace, looks like it is optional, and I don't know what it brings to the table, but might as well install it in case it is something useful.

For easy Pyro, I have compiled it from source, and got the latest out of github:

https://github.com/solvespace/solvespace

A downside of this latest source is that it requires gtkmm v3. However, as this project is very active, with lots of commits since 2016, I decided to compile the latest source. Compile notes:

needs json-c
https://github.com/json-c/json-c
# cd json-c-0.13.1-20180305
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=x86_64-pc-linux-gnu
# make
# new2dir make install

needs gtkmm-3.0>=3.18
https://ftp.gnome.org/pub/GNOME/sources/gtkmm/3.22/
gtkmm 3.22.3
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --build=x86_64-pc-linux-gnu --enable-static --enable-shared --disable-documentation --enable-x11-backend=yes --enable-wayland-backend=no
# make
# new2dir make install

# git clone https://github.com/solvespace/solvespace.git --depth 1
# cd solvespace
# git submodule update --init extlib/libdxfrw extlib/flatbuffers extlib/q3d
# cd ..
# mv solvespace solvespace-20190920
# dir2tgz solvespace-20190920
# cd solvespace-20190920
# mkdir build
# cd build
# cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
# make
# new2dir make install

I have uploaded the PET packages, so via "petget" on the desktop, if you update the PET database, you can install SolveSpace -- or, wait until the next release of Easy Pyro -- yep, might as well be consistent with Buster. 

The thing for me to do now is learn how to use it, find out if it is suitable for my solar water still designing.

Here is the project home page:

http://solvespace.com/index.pl

On YouTube, there are tutorials, uploaded by Eric Buijs:

https://www.youtube.com/playlist?list=PLEvJVXu3VfGMSOdpA0jrGRzoM7NlNOl5s

https://www.youtube.com/playlist?list=PLEvJVXu3VfGNoDKGvlZBoj_dJV5ipaJ0p

EDIT:
Found this, looks great:

http://www.farwire.net/SolveSpace-LearningGuide.htm 

Tags: easy

QCAD 2D CAD application compiled

November 18, 2019 — BarryK

I posted earlier about FreeCAD provided as an SFS:

https://bkhome.org/news/201911/freecad-sfs-created-for-easyos.html

I have been exploring other CAD applications. QCAD has been around for a long time, and is very easy to use. It is only 2D, though does have isometric views. There is a paid-for version, also a free open-source GPL version.

I compiled the open-source version in Easy Pyro 1.2.8. Note, QCAD is not available in the Debian repositories, however the SFS that I have created will work in both Pyro and Buster.

It requires 'qtscript', so I had to compile that:

Downloaded from here:
https://download.qt.io/archive/qt/5.10/5.10.1/submodules/

# export OE_QMAKE_AR=ar
# qmake PREFIX='/usr' LIBDIR='/usr/lib' PKG_CONFIG='/usr/bin/pkg-config'
# make
# make install

...had to manually create the PETs.

Downloaded QCAD source from here:
https://github.com/qcad/qcad/releases

# export OE_QMAKE_AR=ar
# qmake -r PREFIX='/usr' LIBDIR='/usr/lib' PKG_CONFIG='/usr/bin/pkg-config'

...errors, but go ahead anyway...

# make release
# cd release
# LD_LIBRARY_PATH=. ./qcad-bin

Created a PET and a SFS. The SFS has been uploaded, and you can get it by clicking on "sfsget" on the desktop. It will work in both Pyro and Buster, in the latter case in a container only.

Here is the QCAD home page:

https://qcad.org/en/

If you go to YouTube, there are tutorials. 

Tags: easy

FreeCAD SFS created for EasyOS

November 17, 2019 — BarryK

I have been making very rough sketches of the solar water distiller prototypes, and have even published some of them to this blog. Planning for basin-type prototype #2, thought might have a go at better quality drawings.

Running Easy Buster 2.1.8, I installed FreeCAD from the Debian DEB repository, via the "petget" icon on the desktop. This has a massive number of dependencies. After installation, ran it, and it did start, but with an error message:

No module named StartGui

A google revealed this to be a known problem in Debian, that was fixed by running:

# update-alternatives --all

Now it works, well, starts anyway, and beyond that I haven't got a clue. However, there are lots of tutorials, including YouTube videos.

I made it into a SFS, a massive 239MB, and tested that it works in Easy Pyro 1.2.8 in a container.

If anyone reading this knows how to use FreeCAD, you are welcome to test it, and let me known if there are any issues. You just need to click "sfsget" on the desktop, and can download and install to either Buster or Pyro -- in the latter case, as a container only. 

Here is the FreeCAD home page:

https://www.freecadweb.org/ 

Tags: easy

Easy Pyro 1.2.8 and Buster 2.1.8 released

November 06, 2019 — BarryK

EasyOS versions 1.2.7 and 2.1.8 were released about two weeks ago:

https://bkhome.org/news/201910/easy-pyro-127-and-buster-217-released.html

Enough new things have happened to warrant new releases. The so-called EOL (End Of Line) Pyro series is continuing to receive version bumps, and if you read the release notes you will see that the version bump 1.2.7 to 1.2.8 and 2.1.7 to 2.1.8 are both getting the same changes.

Pyro 1.2.8

Announcement and release notes:

http://distro.ibiblio.org/easyos/amd64/releases/pyro/1.2.8/release-notes-pyro-1.2.8.htm

Download:

http://distro.ibiblio.org/easyos/amd64/releases/pyro/1.2.8/

Or, if you live in Europe or thereabouts, thanks to NLUUG, the Netherlands Linux User Group, they are now mirroring ibiblio easyos:

https://ftp.nluug.nl/os/Linux/distr/easyos/amd64/releases/pyro/1.2.8/

Buster 2.1.8

Announcement and release notes:

http://distro.ibiblio.org/easyos/amd64/releases/buster/2.1.8/release-notes-2.1.8.htm

Download:

http://distro.ibiblio.org/easyos/amd64/releases/buster/2.1.8/

Or, from NLUUG:

https://ftp.nluug.nl/os/Linux/distr/easyos/amd64/releases/buster/2.1.8/

Support

If you need help with how to write the file to a USB stick, or install to hard drive:

http://distro.ibiblio.org/easyos/amd64/releases/buster/2.1.8/readme.htm

You are most welcome to chat with us here:

http://murga-linux.com/puppy/viewtopic.php?p=1041056#1041056

...please keep all posts about EasyOS in this forum thread, to avoid confusion with the mainstream puppies.

Extra notes

One thing that I forgot to post about, several days ago I created a SFS of Firefox. This was created from the Debian 10.1 DEB repository, Firefox version 60.8.0 ESR (long term supported version, with current security patches). So, although an older version, it is kept up to date for secure browsing.

Having Firefox as an SFS has many advantages, one being that you can download it and install as a container, for super security. Or, you can if you wish install to the main desktop. Just click "sfsget" on the desktop.

If you don't know anything about SFS files and Easy Containers, please read up on it. There are some usage notes here:

https://easyos.org/user/using-easy-containers.html

...as that page explains, even though the Firefox SFS is for Buster, you can install it in Easy Pyro. So, I didn't have to create a separate SFS just for Pyro. 

Tags: easy

pSynclient setup for touchpad

November 05, 2019 — BarryK

This is great news. For forever, we have used flsynclient, a compiled utility that uses the fltk library. There have been problems with this, such as the latest official version unable to load pre-set settings at startup. Also it is a dead project.

Forum member 'mistfire' has come to the rescue with a 'pSynclient' written in bash and using gtkdialog, see forum post:

http://murga-linux.com/puppy/viewtopic.php?t=117240

I have created a PET of version 1.3, which I modified slightly. Took out the "XDG" button, also some widgets were rendering overlapped. Named it version 1.3-1:

http://distro.ibiblio.org/easyos/noarch/packages/pet/pet_packages-noarch/psynclient-1.3-1.pet 

Tags: easy