discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

thought it was a simple geometry problem....

AM
Adrian Mariano
Sun, Dec 18, 2022 3:35 PM

The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home
directory path.  OpenSCAD is not the shell and doesn't perform any
expansion.  I would say that most programs do NOT treat ~ in any special
way.  OpenSCAD would also fail to do use</home/jay//ID1032//IEC-V1.scad>
though it's likely it would work at the shell with ls for the same reason.

On Sun, Dec 18, 2022 at 9:55 AM jay@jdnd.co.uk wrote:

ubuntu 22.04.1 LTS my full root path to file is this

/home/jay/IDs/ID1032/R1/IEC-V1.scad

including this file as below, works fine

use</home/jay/IDs/ID1032/R1/IEC-V1.scad>

but this fails

use<~/IDs/ID1032/R1/IEC-V1.scad>

does anyone with any ubuntu knowledge know why openscad fails to account
for the ~ directive being the current users home directory


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

The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path. OpenSCAD is not the shell and doesn't perform any expansion. I would say that most programs do NOT treat ~ in any special way. OpenSCAD would also fail to do use</home/jay/*/ID1032/*/IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason. On Sun, Dec 18, 2022 at 9:55 AM <jay@jdnd.co.uk> wrote: > ubuntu 22.04.1 LTS my full root path to file is this > > /home/jay/IDs/ID1032/R1/IEC-V1.scad > > including this file as below, works fine > > use</home/jay/IDs/ID1032/R1/IEC-V1.scad> > > but this fails > > use<~/IDs/ID1032/R1/IEC-V1.scad> > > does anyone with any ubuntu knowledge know why openscad fails to account > for the ~ directive being the current users home directory > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
BC
Bob Carter
Sun, Dec 18, 2022 3:40 PM

As I have a fairly flat file structure for my projects I use a relative path ../ to get to my include or library files that avoids coding a full path and then relocating modules and having to recode everything

On 18 Dec 2022, at 15:35, Adrian Mariano avm4@cornell.edu wrote:

The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path.  OpenSCAD is not the shell and doesn't perform any expansion.  I would say that most programs do NOT treat ~ in any special way.  OpenSCAD would also fail to do use</home/jay//ID1032//IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason.

On Sun, Dec 18, 2022 at 9:55 AM <jay@jdnd.co.uk mailto:jay@jdnd.co.uk> wrote:
ubuntu 22.04.1 LTS my full root path to file is this

/home/jay/IDs/ID1032/R1/IEC-V1.scad

including this file as below, works fine

use</home/jay/IDs/ID1032/R1/IEC-V1.scad>

but this fails

use<~/IDs/ID1032/R1/IEC-V1.scad>

does anyone with any ubuntu knowledge know why openscad fails to account for the ~ directive being the current users home directory


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


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

As I have a fairly flat file structure for my projects I use a relative path ../ to get to my include or library files that avoids coding a full path and then relocating modules and having to recode everything > On 18 Dec 2022, at 15:35, Adrian Mariano <avm4@cornell.edu> wrote: > > The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path. OpenSCAD is not the shell and doesn't perform any expansion. I would say that most programs do NOT treat ~ in any special way. OpenSCAD would also fail to do use</home/jay/*/ID1032/*/IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason. > > On Sun, Dec 18, 2022 at 9:55 AM <jay@jdnd.co.uk <mailto:jay@jdnd.co.uk>> wrote: > ubuntu 22.04.1 LTS my full root path to file is this > > /home/jay/IDs/ID1032/R1/IEC-V1.scad > > including this file as below, works fine > > use</home/jay/IDs/ID1032/R1/IEC-V1.scad> > > but this fails > > use<~/IDs/ID1032/R1/IEC-V1.scad> > > does anyone with any ubuntu knowledge know why openscad fails to account for the ~ directive being the current users home directory > >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
AM
Adrian Mariano
Sun, Dec 18, 2022 3:42 PM

For library files you should use the OpenSCAD library path mechanism and
then no path is needed at all.

On Sun, Dec 18, 2022 at 10:40 AM Bob Carter caggius@gmail.com wrote:

As I have a fairly flat file structure for my projects I use a relative
path ../ to get to my include or library files that avoids coding a full
path and then relocating modules and having to recode everything

On 18 Dec 2022, at 15:35, Adrian Mariano avm4@cornell.edu wrote:

The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home
directory path.  OpenSCAD is not the shell and doesn't perform any
expansion.  I would say that most programs do NOT treat ~ in any special
way.  OpenSCAD would also fail to do use</home/jay//ID1032//IEC-V1.scad>
though it's likely it would work at the shell with ls for the same reason.

On Sun, Dec 18, 2022 at 9:55 AM jay@jdnd.co.uk wrote:

ubuntu 22.04.1 LTS my full root path to file is this

/home/jay/IDs/ID1032/R1/IEC-V1.scad

including this file as below, works fine

use</home/jay/IDs/ID1032/R1/IEC-V1.scad>

but this fails

use<~/IDs/ID1032/R1/IEC-V1.scad>

does anyone with any ubuntu knowledge know why openscad fails to account
for the ~ directive being the current users home directory


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


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


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

For library files you should use the OpenSCAD library path mechanism and then no path is needed at all. On Sun, Dec 18, 2022 at 10:40 AM Bob Carter <caggius@gmail.com> wrote: > As I have a fairly flat file structure for my projects I use a relative > path ../ to get to my include or library files that avoids coding a full > path and then relocating modules and having to recode everything > > On 18 Dec 2022, at 15:35, Adrian Mariano <avm4@cornell.edu> wrote: > > The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home > directory path. OpenSCAD is not the shell and doesn't perform any > expansion. I would say that most programs do NOT treat ~ in any special > way. OpenSCAD would also fail to do use</home/jay/*/ID1032/*/IEC-V1.scad> > though it's likely it would work at the shell with ls for the same reason. > > On Sun, Dec 18, 2022 at 9:55 AM <jay@jdnd.co.uk> wrote: > >> ubuntu 22.04.1 LTS my full root path to file is this >> >> /home/jay/IDs/ID1032/R1/IEC-V1.scad >> >> including this file as below, works fine >> >> use</home/jay/IDs/ID1032/R1/IEC-V1.scad> >> >> but this fails >> >> use<~/IDs/ID1032/R1/IEC-V1.scad> >> >> does anyone with any ubuntu knowledge know why openscad fails to account >> for the ~ directive being the current users home directory >> >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org >> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
J
jay
Sun, Dec 18, 2022 3:51 PM

What is a "onpenscad library path mecanisum" ?Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone
-------- Original message --------From: Adrian Mariano avm4@cornell.edu Date: 12/18/22  3:43 PM  (GMT+00:00) To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org Subject: [OpenSCAD] Re: use<> directive with full path to file, Ubuntu For library files you should use the OpenSCAD library path mechanism and then no path is needed at all. On Sun, Dec 18, 2022 at 10:40 AM Bob Carter caggius@gmail.com wrote:As I have a fairly flat file structure for my projects I use a relative path ../ to get to my include or library files that avoids coding a full path and then relocating modules and having to recode everythingOn 18 Dec 2022, at 15:35, Adrian Mariano avm4@cornell.edu wrote:The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path.  OpenSCAD is not the shell and doesn't perform any expansion.   I would say that most programs do NOT treat ~ in any special way.   OpenSCAD would also fail to do use</home/jay//ID1032//IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason.  On Sun, Dec 18, 2022 at 9:55 AM jay@jdnd.co.uk wrote:ubuntu 22.04.1 LTS my full root path to file is this/home/jay/IDs/ID1032/R1/IEC-V1.scadincluding this file as below, works fineuse</home/jay/IDs/ID1032/R1/IEC-V1.scad>but this failsuse<~/IDs/ID1032/R1/IEC-V1.scad>does anyone with any ubuntu knowledge know why openscad fails to account for the ~ directive being the current users home directory

 


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

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

What is a "onpenscad library path mecanisum" ?Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone -------- Original message --------From: Adrian Mariano <avm4@cornell.edu> Date: 12/18/22 3:43 PM (GMT+00:00) To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org> Subject: [OpenSCAD] Re: use<> directive with full path to file, Ubuntu For library files you should use the OpenSCAD library path mechanism and then no path is needed at all. On Sun, Dec 18, 2022 at 10:40 AM Bob Carter <caggius@gmail.com> wrote:As I have a fairly flat file structure for my projects I use a relative path ../ to get to my include or library files that avoids coding a full path and then relocating modules and having to recode everythingOn 18 Dec 2022, at 15:35, Adrian Mariano <avm4@cornell.edu> wrote:The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path.  OpenSCAD is not the shell and doesn't perform any expansion.   I would say that most programs do NOT treat ~ in any special way.   OpenSCAD would also fail to do use</home/jay/*/ID1032/*/IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason.  On Sun, Dec 18, 2022 at 9:55 AM <jay@jdnd.co.uk> wrote:ubuntu 22.04.1 LTS my full root path to file is this/home/jay/IDs/ID1032/R1/IEC-V1.scadincluding this file as below, works fineuse</home/jay/IDs/ID1032/R1/IEC-V1.scad>but this failsuse<~/IDs/ID1032/R1/IEC-V1.scad>does anyone with any ubuntu knowledge know why openscad fails to account for the ~ directive being the current users home directory   _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org _______________________________________________OpenSCAD mailing listTo unsubscribe send an email to discuss-leave@lists.openscad.org_______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org
J
jay
Sun, Dec 18, 2022 3:53 PM

Will do, everething i have is in ~/IDs/IDxxxx/Rx/ so it won't be hard to use relative paths, just droping down 2 levelsSent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone
-------- Original message --------From: Bob Carter caggius@gmail.com Date: 12/18/22  3:41 PM  (GMT+00:00) To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org Subject: [OpenSCAD] Re: use<> directive with full path to file, Ubuntu As I have a fairly flat file structure for my projects I use a relative path ../ to get to my include or library files that avoids coding a full path and then relocating modules and having to recode everythingOn 18 Dec 2022, at 15:35, Adrian Mariano avm4@cornell.edu wrote:The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path.  OpenSCAD is not the shell and doesn't perform any expansion.   I would say that most programs do NOT treat ~ in any special way.   OpenSCAD would also fail to do use</home/jay//ID1032//IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason.  On Sun, Dec 18, 2022 at 9:55 AM jay@jdnd.co.uk wrote:ubuntu 22.04.1 LTS my full root path to file is this/home/jay/IDs/ID1032/R1/IEC-V1.scadincluding this file as below, works fineuse</home/jay/IDs/ID1032/R1/IEC-V1.scad>but this failsuse<~/IDs/ID1032/R1/IEC-V1.scad>does anyone with any ubuntu knowledge know why openscad fails to account for the ~ directive being the current users home directory

 


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

_______________________________________________OpenSCAD mailing listTo unsubscribe send an email to discuss-leave@lists.openscad.org

Will do, everething i have is in ~/IDs/IDxxxx/Rx/ so it won't be hard to use relative paths, just droping down 2 levelsSent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone -------- Original message --------From: Bob Carter <caggius@gmail.com> Date: 12/18/22 3:41 PM (GMT+00:00) To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org> Subject: [OpenSCAD] Re: use<> directive with full path to file, Ubuntu As I have a fairly flat file structure for my projects I use a relative path ../ to get to my include or library files that avoids coding a full path and then relocating modules and having to recode everythingOn 18 Dec 2022, at 15:35, Adrian Mariano <avm4@cornell.edu> wrote:The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path.  OpenSCAD is not the shell and doesn't perform any expansion.   I would say that most programs do NOT treat ~ in any special way.   OpenSCAD would also fail to do use</home/jay/*/ID1032/*/IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason.  On Sun, Dec 18, 2022 at 9:55 AM <jay@jdnd.co.uk> wrote:ubuntu 22.04.1 LTS my full root path to file is this/home/jay/IDs/ID1032/R1/IEC-V1.scadincluding this file as below, works fineuse</home/jay/IDs/ID1032/R1/IEC-V1.scad>but this failsuse<~/IDs/ID1032/R1/IEC-V1.scad>does anyone with any ubuntu knowledge know why openscad fails to account for the ~ directive being the current users home directory   _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org _______________________________________________OpenSCAD mailing listTo unsubscribe send an email to discuss-leave@lists.openscad.org
BC
Bob Carter
Sun, Dec 18, 2022 3:54 PM

On 18 Dec 2022, at 15:51, jay jay@jdnd.co.uk wrote:

What is a "onpenscad library path mecanisum" ?

Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone

-------- Original message --------
From: Adrian Mariano avm4@cornell.edu
Date: 12/18/22 3:43 PM (GMT+00:00)
To: OpenSCAD general discussion Mailing-list discuss@lists.openscad.org
Subject: [OpenSCAD] Re: use<> directive with full path to file, Ubuntu

For library files you should use the OpenSCAD library path mechanism and then no path is needed at all.

On Sun, Dec 18, 2022 at 10:40 AM Bob Carter <caggius@gmail.com mailto:caggius@gmail.com> wrote:
As I have a fairly flat file structure for my projects I use a relative path ../ to get to my include or library files that avoids coding a full path and then relocating modules and having to recode everything

On 18 Dec 2022, at 15:35, Adrian Mariano <avm4@cornell.edu mailto:avm4@cornell.edu> wrote:

The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path.  OpenSCAD is not the shell and doesn't perform any expansion.  I would say that most programs do NOT treat ~ in any special way.  OpenSCAD would also fail to do use</home/jay//ID1032//IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason.

On Sun, Dec 18, 2022 at 9:55 AM <jay@jdnd.co.uk mailto:jay@jdnd.co.uk> wrote:
ubuntu 22.04.1 LTS my full root path to file is this

/home/jay/IDs/ID1032/R1/IEC-V1.scad

including this file as below, works fine

use</home/jay/IDs/ID1032/R1/IEC-V1.scad>

but this fails

use<~/IDs/ID1032/R1/IEC-V1.scad>

does anyone with any ubuntu knowledge know why openscad fails to account for the ~ directive being the current users home directory


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


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


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


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

https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries <https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Libraries> https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Include_Statement <https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Include_Statement> > On 18 Dec 2022, at 15:51, jay <jay@jdnd.co.uk> wrote: > > What is a "onpenscad library path mecanisum" ? > > > > Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone > > > -------- Original message -------- > From: Adrian Mariano <avm4@cornell.edu> > Date: 12/18/22 3:43 PM (GMT+00:00) > To: OpenSCAD general discussion Mailing-list <discuss@lists.openscad.org> > Subject: [OpenSCAD] Re: use<> directive with full path to file, Ubuntu > > For library files you should use the OpenSCAD library path mechanism and then no path is needed at all. > > On Sun, Dec 18, 2022 at 10:40 AM Bob Carter <caggius@gmail.com <mailto:caggius@gmail.com>> wrote: > As I have a fairly flat file structure for my projects I use a relative path ../ to get to my include or library files that avoids coding a full path and then relocating modules and having to recode everything > >> On 18 Dec 2022, at 15:35, Adrian Mariano <avm4@cornell.edu <mailto:avm4@cornell.edu>> wrote: >> >> The ~ symbol is expanded by the shell (e.g. /usr/bin/bash) into your home directory path. OpenSCAD is not the shell and doesn't perform any expansion. I would say that most programs do NOT treat ~ in any special way. OpenSCAD would also fail to do use</home/jay/*/ID1032/*/IEC-V1.scad> though it's likely it would work at the shell with ls for the same reason. >> >> On Sun, Dec 18, 2022 at 9:55 AM <jay@jdnd.co.uk <mailto:jay@jdnd.co.uk>> wrote: >> ubuntu 22.04.1 LTS my full root path to file is this >> >> /home/jay/IDs/ID1032/R1/IEC-V1.scad >> >> including this file as below, works fine >> >> use</home/jay/IDs/ID1032/R1/IEC-V1.scad> >> >> but this fails >> >> use<~/IDs/ID1032/R1/IEC-V1.scad> >> >> does anyone with any ubuntu knowledge know why openscad fails to account for the ~ directive being the current users home directory >> >>> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org <mailto:discuss-leave@lists.openscad.org> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
WM
William Martin
Sun, Dec 18, 2022 4:27 PM

usually it's the shell that expands the ~ and other environment
variables, is it not?

On 12/18/22 06:55, jay@jdnd.co.uk wrote:

ubuntu 22.04.1 LTS my full root path to file is this

/home/jay/IDs/ID1032/R1/IEC-V1.scad

including this file as below, works fine

use</home/jay/IDs/ID1032/R1/IEC-V1.scad>

but this fails

use<~/IDs/ID1032/R1/IEC-V1.scad>

does anyone with any ubuntu knowledge know why openscad fails to
account for the ~ directive being the current users home directory


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

usually it's the shell that expands the ~ and other environment variables, is it not? On 12/18/22 06:55, jay@jdnd.co.uk wrote: > > ubuntu 22.04.1 LTS my full root path to file is this > > /home/jay/IDs/ID1032/R1/IEC-V1.scad > > including this file as below, works fine > > use</home/jay/IDs/ID1032/R1/IEC-V1.scad> > > but this fails > > use<~/IDs/ID1032/R1/IEC-V1.scad> > > does anyone with any ubuntu knowledge know why openscad fails to > account for the ~ directive being the current users home directory > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
NH
nop head
Sun, Dec 18, 2022 4:29 PM

Yes I don't think you can use ~ inside any programs on Linux. And it has no
meaning at all on Windows. It is just a Linux shell symbol.

On Sun, 18 Dec 2022 at 16:27, William Martin wwm@cox.net wrote:

usually it's the shell that expands the ~ and other environment variables,
is it not?
On 12/18/22 06:55, jay@jdnd.co.uk wrote:

ubuntu 22.04.1 LTS my full root path to file is this

/home/jay/IDs/ID1032/R1/IEC-V1.scad

including this file as below, works fine

use</home/jay/IDs/ID1032/R1/IEC-V1.scad>

but this fails

use<~/IDs/ID1032/R1/IEC-V1.scad>

does anyone with any ubuntu knowledge know why openscad fails to account
for the ~ directive being the current users home directory


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


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

Yes I don't think you can use ~ inside any programs on Linux. And it has no meaning at all on Windows. It is just a Linux shell symbol. On Sun, 18 Dec 2022 at 16:27, William Martin <wwm@cox.net> wrote: > usually it's the shell that expands the ~ and other environment variables, > is it not? > On 12/18/22 06:55, jay@jdnd.co.uk wrote: > > ubuntu 22.04.1 LTS my full root path to file is this > > /home/jay/IDs/ID1032/R1/IEC-V1.scad > > including this file as below, works fine > > use</home/jay/IDs/ID1032/R1/IEC-V1.scad> > > but this fails > > use<~/IDs/ID1032/R1/IEC-V1.scad> > > does anyone with any ubuntu knowledge know why openscad fails to account > for the ~ directive being the current users home directory > > > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
GH
gene heskett
Sun, Dec 18, 2022 4:40 PM

On 12/18/22 10:27, Torsten Paul wrote:

On 18.12.22 15:55, jay@jdnd.co.uk wrote:

does anyone with any ubuntu knowledge know why openscad fails
to account for the ~ directive being the current users home
directory

There's simply no support for handling "~" in any special way
currently.

Shouldn't that be a shell function, of whatever shell ran OpenSCAD?
Pretty basic stuff. long term, dates back to the unix on an AT&T 3b2 in
the later '80's IIRC. I don't recall that much about it, other than we
stored 2 fire extinguishers in the same room with it, used them both.
Any cooling fan failure started a small fire.

ciao,
  Torsten.


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

Cheers, Gene Heskett.

"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.

On 12/18/22 10:27, Torsten Paul wrote: > On 18.12.22 15:55, jay@jdnd.co.uk wrote: >> does anyone with any ubuntu knowledge know why openscad fails >> to account for the ~ directive being the current users home >> directory > > There's simply no support for handling "~" in any special way > currently. Shouldn't that be a shell function, of whatever shell ran OpenSCAD? Pretty basic stuff. long term, dates back to the unix on an AT&T 3b2 in the later '80's IIRC. I don't recall that much about it, other than we stored 2 fire extinguishers in the same room with it, used them both. Any cooling fan failure started a small fire. > ciao, >   Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org > . Cheers, Gene Heskett. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/>
TP
Torsten Paul
Sun, Dec 18, 2022 4:41 PM

On 18.12.22 17:29, nop head wrote:

Yes I don't think you can use ~ inside any programs on Linux. And it
has no meaning at all on Windows. It is just a Linux shell symbol.

Yep, it would be possible to define something, like use the normal
shell behavior on Linux/macOS and CSIDL_PERSONAL or CSIDL_PROFILE
on Windows.

But it might be better to rely only on the already existing lookup
via OPENSCADPATH as was suggested earlier.

ciao,
Torsten.

On 18.12.22 17:29, nop head wrote: > Yes I don't think you can use ~ inside any programs on Linux. And it > has no meaning at all on Windows. It is just a Linux shell symbol. Yep, it would be possible to define something, like use the normal shell behavior on Linux/macOS and CSIDL_PERSONAL or CSIDL_PROFILE on Windows. But it might be better to rely only on the already existing lookup via OPENSCADPATH as was suggested earlier. ciao, Torsten.