discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

OpenSCAD-nightly&BOSL2 trouble in Ubuntu

R
retalleristvan@gmail.com
Sat, Mar 12, 2022 5:50 PM

Hi all,

I’ve just snap installed OpenSCAD-nightly and downloaded BOSL2-master.zip from github. Unpacked and renamed as instructed. However in my Ubontu does not exists $HOME/.local/share/OpenSCAD/libraries/ directory so I tried to copy into /snap/openscad-nightly/3215/usr/share/openscad-nightly/libraries/ as root. I was refused so tried to chmod +w the referred 'libraries' directory without success.

Then I rebooted from cd drive and repeated all the things told before. The resuld was the same.

I can install and remove anything by snap - but BOSL2-master.zip is not a package.

Please help to install BOSL2 library.

Hi all, I’ve just snap installed OpenSCAD-nightly and downloaded BOSL2-master.zip from github. Unpacked and renamed as instructed. However in my Ubontu does not exists $HOME/.local/share/OpenSCAD/libraries/ directory so I tried to copy into /snap/openscad-nightly/3215/usr/share/openscad-nightly/libraries/ as root. I was refused so tried to *chmod +w* the referred '*libraries*' directory without success. Then I rebooted from cd drive and repeated all the things told before. The resuld was the same. I can install and remove anything by snap - but BOSL2-master.zip is not a package. Please help to install BOSL2 library.
AM
Adrian Mariano
Sat, Mar 12, 2022 10:07 PM

Pick a location you can write to---anything you want.  In my case I
use $HOME/scad/lib.  Unpack the BOSL2 zip file in that location.
Rename the BOSL2-master directory to just BOSL2, so then you have (if
you follow my convention) $HOME/scad/lib/BOSL2 and in there a bunch of
.scad files.  Finally run 'export OPENSCADPATH=$HOME/scad/lib' or
whatever location you picked for libraries.    If you run OpenSCAD
and select "show library directory" it will give the directory where
it looks by default.  You can also put the files there, assuming you
can write there.  For me it is $HOME/.local/share/OpenSCAD/libraries,
but I didn't use snap.

On Sat, Mar 12, 2022 at 12:50 PM retalleristvan@gmail.com wrote:

Hi all,

I’ve just snap installed OpenSCAD-nightly and downloaded BOSL2-master.zip from github. Unpacked and renamed as instructed. However in my Ubontu does not exists $HOME/.local/share/OpenSCAD/libraries/ directory so I tried to copy into /snap/openscad-nightly/3215/usr/share/openscad-nightly/libraries/ as root. I was refused so tried to chmod +w the referred 'libraries' directory without success.

Then I rebooted from cd drive and repeated all the things told before. The resuld was the same.

I can install and remove anything by snap - but BOSL2-master.zip is not a package.

Please help to install BOSL2 library.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Pick a location you can write to---anything you want. In my case I use $HOME/scad/lib. Unpack the BOSL2 zip file in that location. Rename the BOSL2-master directory to just BOSL2, so then you have (if you follow my convention) $HOME/scad/lib/BOSL2 and in there a bunch of .scad files. Finally run 'export OPENSCADPATH=$HOME/scad/lib' or whatever location you picked for libraries. If you run OpenSCAD and select "show library directory" it will give the directory where it looks by default. You can also put the files there, assuming you can write there. For me it is $HOME/.local/share/OpenSCAD/libraries, but I didn't use snap. On Sat, Mar 12, 2022 at 12:50 PM <retalleristvan@gmail.com> wrote: > > Hi all, > > I’ve just snap installed OpenSCAD-nightly and downloaded BOSL2-master.zip from github. Unpacked and renamed as instructed. However in my Ubontu does not exists $HOME/.local/share/OpenSCAD/libraries/ directory so I tried to copy into /snap/openscad-nightly/3215/usr/share/openscad-nightly/libraries/ as root. I was refused so tried to chmod +w the referred 'libraries' directory without success. > > Then I rebooted from cd drive and repeated all the things told before. The resuld was the same. > > I can install and remove anything by snap - but BOSL2-master.zip is not a package. > > Please help to install BOSL2 library. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
R
retalleristvan@gmail.com
Sun, Mar 13, 2022 1:43 AM

 Thank you, Adrian, It seems to be ok. (I hope, because it appears when I click "Show Library Folder".
 I am uncertain because my story is as follows: I am a novice OpenSCAD user and I run into an introduction to fast-csg. It was told it is built into OpenSCAD-nightly so I installed it. I intended to use it as primary OpenSCAD but had troubles to install BOSL2 library.
  Therefore left OpenSCAD-nightly and put under "simple" OpenSCAD with your help. However I have a lot to read how to use BOSL2 library. :)
  Anyway, thans for the help!
 Istvan

 Thank you, Adrian, It seems to be ok. (I hope, because it appears when I click "Show Library Folder".\  I am uncertain because my story is as follows: I am a novice OpenSCAD user and I run into an introduction to *fast-csg.* It was told it is built into OpenSCAD-nightly so I installed it. I intended to use it as primary OpenSCAD but had troubles to install BOSL2 library.\   Therefore left OpenSCAD-nightly and put under "simple" OpenSCAD with your help. However I have a lot to read how to use BOSL2 library. :)\   Anyway, thans for the help!\  Istvan