discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

read / write problems .scad files on 2nd HDD or USB HDD / stick

ES
Ed Schijf
Thu, Jul 24, 2025 4:46 PM

|Hello there,|

This is the fifth time I write this message to get a solution to an issue I can't find myself.
The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were
messages on  dated 22 and 23 July but my message never appeared although it said that it had been sent.
I sincerely hope somebody will help me this time.

|This is my problem: Off late I discovered that when I save a working
.scad file to the 2nd HDD or a USB HDD or USB stick, the file itself is
saved on them but the programmed text is not. I have a Fujitsu/Siemens
desktop computer with i5 processor and use Ubuntu 22.04.|

|When I copy the text and paste it in the .scad file (in which the
programmed text has disappeared) on the 2nd HDD or USB HDD or USB stick,
I get the messages "Failed to open file for writing" and "Permission
denied", while a lot of other files had been saved in the same way
without problems and the read / write rights are correct (I think). I
tried to change these rights with the help of chmod and chown but
nothing was changed.|

I also repeated these procedures in Windows 10 with the same bad result.

|Hope you can help me solve this problem!|

|With kind regards,|

|Ed R. Schijf|

|The Netherlands|

|Hello there,| This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time. |_This is my problem:_ Off late I discovered that when I save a working .scad file to the 2nd HDD or a USB HDD or USB stick, the file itself is saved on them but the programmed text is not. I have a Fujitsu/Siemens desktop computer with i5 processor and use Ubuntu 22.04.| |When I copy the text and paste it in the .scad file (in which the programmed text has disappeared) on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to open file for writing" and "Permission denied", while a lot of other files had been saved in the same way without problems and the read / write rights are correct (I think). I tried to change these rights with the help of chmod and chown but nothing was changed.| I also repeated these procedures in Windows 10 with the same bad result. |Hope you can help me solve this problem!| |With kind regards,| |Ed R. Schijf| |The Netherlands|
SP
Sanjeev Prabhakar
Fri, Jul 25, 2025 3:23 AM

I think you can save the file as txt file and later change the extension to
scad.

Or maybe copy the content in a text file

On Fri, 25 Jul, 2025, 8:25 am Ed Schijf via Discuss, <
discuss@lists.openscad.org> wrote:

Hello there,

This is the fifth time I write this message to get a solution to an issue I can't find myself.
The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were
messages on  dated 22 and 23 July but my message never appeared although it said that it had been sent.
I sincerely hope somebody will help me this time.
This is my problem:
Off late I discovered that when I save a working .scad file to the 2nd HDD or a USB HDD or USB stick,
the file itself is saved on them but the programmed text is not. I have a Fujitsu/Siemens desktop computer
with i5 processor and use Ubuntu 22.04.
When I copy the text and paste it in the .scad file (in which the programmed  text has disappeared)
on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to open file for writing" and "Permission
denied", while a lot of other files had been saved in the same way without problems and the read / write
rights are correct (I think).

I tried to change these rights with the help of chmod and chown but nothing was changed.

I also repeated these procedures in Windows 10 with the same bad result.
Hope you can help me solve this problem!
With kind regards,
Ed R. Schijf
The Netherlands


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

I think you can save the file as txt file and later change the extension to scad. Or maybe copy the content in a text file On Fri, 25 Jul, 2025, 8:25 am Ed Schijf via Discuss, < discuss@lists.openscad.org> wrote: > Hello there, > > This is the fifth time I write this message to get a solution to an issue I can't find myself. > The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were > messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. > I sincerely hope somebody will help me this time. > *This is my problem:* > Off late I discovered that when I save a working .scad file to the 2nd HDD or a USB HDD or USB stick, > the file itself is saved on them but the programmed text is not. I have a Fujitsu/Siemens desktop computer > with i5 processor and use Ubuntu 22.04. > When I copy the text and paste it in the .scad file (in which the programmed text has disappeared) > on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to open file for writing" and "Permission > denied", while a lot of other files had been saved in the same way without problems and the read / write > rights are correct (I think). > > I tried to change these rights with the help of chmod and chown but nothing was changed. > > I also repeated these procedures in Windows 10 with the same bad result. > Hope you can help me solve this problem! > With kind regards, > Ed R. Schijf > The Netherlands > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
MH
Matthieu Hendriks
Fri, Jul 25, 2025 5:47 AM

Hi Ed,

I've some questions:

  1. The file is created but completely empty?

  2. If yes what are the permissions of the created file and who is the
    owner?  and if you edit the empty file by hand, can you add text to it
    and save it?

  3. which version of openscad are you using on Ubuntu?

  4. how did you install openscad? snap?, appimage?, compiled it your
    self, apt install?

  5. If you save it to your home directory say: /home/ed/openscad_drawing
    everything is ok?

I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), I'
can try the same setup later this week.

By the way this is the first time I see this question.

Met vriendelijke groet,

Matthieu Hendriks

Ed Schijf via Discuss schreef op 2025-07-24 18:46:

Hello there, This is the fifth time I write this message to get a
solution to an issue I can't find myself. The first three messages I
wrote in the OpenSCAD forum site where there are issues in archive.
There were messages on dated 22 and 23 July but my message never
appeared although it said that it had been sent. I sincerely hope
somebody will help me this time. This is my problem:
Off late I discovered that when I save a working .scad file to the 2nd
HDD or a USB HDD or USB stick,
the file itself is saved on them but the programmed text is not. I have
a Fujitsu/Siemens desktop computer
with i5 processor and use Ubuntu 22.04. When I copy the text and paste
it in the .scad file (in which the programmed  text has disappeared)
on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to
open file for writing" and "Permission
denied", while a lot of other files had been saved in the same way
without problems and the read / write
rights are correct (I think).

I tried to change these rights with the help of chmod and chown but
nothing was changed. I also repeated these procedures in Windows 10
with the same bad result. Hope you can help me solve this problem! With
kind regards, Ed R. Schijf The Netherlands


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

Hi Ed, I've some questions: 1) The file is created but completely empty? 2) If yes what are the permissions of the created file and who is the owner? and if you edit the empty file by hand, can you add text to it and save it? 4) which version of openscad are you using on Ubuntu? 5) how did you install openscad? snap?, appimage?, compiled it your self, apt install? 6) If you save it to your home directory say: /home/ed/openscad_drawing everything is ok? I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), I' can try the same setup later this week. By the way this is the first time I see this question. Met vriendelijke groet, Matthieu Hendriks Ed Schijf via Discuss schreef op 2025-07-24 18:46: > Hello there, This is the fifth time I write this message to get a > solution to an issue I can't find myself. The first three messages I > wrote in the OpenSCAD forum site where there are issues in archive. > There were messages on dated 22 and 23 July but my message never > appeared although it said that it had been sent. I sincerely hope > somebody will help me this time. This is my problem: > Off late I discovered that when I save a working .scad file to the 2nd > HDD or a USB HDD or USB stick, > the file itself is saved on them but the programmed text is not. I have > a Fujitsu/Siemens desktop computer > with i5 processor and use Ubuntu 22.04. When I copy the text and paste > it in the .scad file (in which the programmed text has disappeared) > on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to > open file for writing" and "Permission > denied", while a lot of other files had been saved in the same way > without problems and the read / write > rights are correct (I think). > > I tried to change these rights with the help of chmod and chown but > nothing was changed. I also repeated these procedures in Windows 10 > with the same bad result. Hope you can help me solve this problem! With > kind regards, Ed R. Schijf The Netherlands > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
ES
Ed Schijf
Fri, Jul 25, 2025 10:45 AM

Hi Mattthieu,

Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!!

In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat
moeilijker voor mij.

Ik zal jouw vragen proberen te beantwoorden. Ik werk al een aantal jaren
tot volle tevredenheid met OpenSCAD en deze issue heb ik nog nooit
meegemaakt.

  1. Het bestand wordt normaal naar de tweede HDD of USB apparaten
    geschreven en ik kon die bestanden altijd gewoon openen zonder
    problemen. Sinds kort wilde ik voor een vriend een paar .scad files op
    een stick zetten zodat hij kon oefenen. Bij controle bleek dat de
    geprogrammeerde tekst niet werd getoond en dat in het rechter venster de
    foutmeldingen |"Failed to open file for writing" and "Permission
    ||denied"|al te zien waren. Wanneer deze issue begon kan ik niet meer
    achterhalen, heb een tijdje niet 3D geprint. Na veel speurwerk kwam ik
    erachter dat als ik het .scad bestand terugschreef naar een lege map
    (bijv. DUMMY) op de desktop computer waar die oorspronkelijk vandaan
    kwam maar dan uit een andere map, de tekst weer terug was en gewoon weer
    draaide in OpenSCAD. Mijn conclusie was dan ook dat de tekst wel goed
    weggeschreven was maar niet werd weergegeven.

  2. Het "goede" bestand:  -rw-r--r-- 1 edschijf edschijf  /  het lege: 
    -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als ik de tekst
    handmatig intik wordt dit geaccepteerd en draait OpenSCAD goed, maar als
    ik het vervolgens wil saven verschijnen de foutmeldingen weer. Nu ben ik
    de weg kwijt.....

  3. I gebruik versie 2021.01.

  4. Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in de map
    snap staat.???

  5. Ja, in de home directory /home/edschijf/ is alles OK.

NB. Als ik de rechten van het "lege" bestand aan wil passen met bijv.
chmod u=g NameTag.scad, dan verandert er niets....., rechten blijven: 
-rw-r--r-- 1 edschijf edschijf

Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat je iets
meer kunt met mijn gegevens.

Met vriendelijke groet,

Ed Schijf

Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss:

Hi Ed,

I've some questions:

  1. The file is created but completely empty?

  2. If yes what are the permissions of the created file and who is the
    owner?  and if you edit the empty file by hand, can you add text to it
    and save it?

  3. which version of openscad are you using on Ubuntu?

  4. how did you install openscad? snap?, appimage?, compiled it your
    self, apt install?

  5. If you save it to your home directory say:
    /home/ed/openscad_drawing everything is ok?

I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), I'
can try the same setup later this week.

By the way this is the first time I see this question.

Met vriendelijke groet,
Matthieu Hendriks

Ed Schijf via Discuss schreef op 2025-07-24 18:46:

|Hello there,| This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time.|This is my problem: Off late I discovered that when I save a
working .scad file to the 2nd HDD or a USB HDD or USB stick, the file
itself is saved on them but the programmed text is not. I have a
Fujitsu/Siemens desktop computer with i5 processor and use Ubuntu 22.04.| |When I copy the text and paste it in the .scad file (in which the
programmed text has disappeared) on the 2nd HDD or USB HDD or USB
stick, I get the messages "Failed to open file for writing" and
"Permission denied", while a lot of other files had been saved in the
same way without problems and the read / write rights are correct (I
think). I tried to change these rights with the help of chmod and
chown but nothing was changed.| I also repeated these procedures in Windows 10 with the same bad result.|Hope you can help me solve this problem!| |With kind regards,| |Ed R. Schijf| |The Netherlands|


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


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

Hi Mattthieu, Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!! In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat moeilijker voor mij. Ik zal jouw vragen proberen te beantwoorden. Ik werk al een aantal jaren tot volle tevredenheid met OpenSCAD en deze issue heb ik nog nooit meegemaakt. 1) Het bestand wordt *normaal* naar de tweede HDD of USB apparaten geschreven en ik kon die bestanden altijd gewoon openen zonder problemen. Sinds kort wilde ik voor een vriend een paar .scad files op een stick zetten zodat hij kon oefenen. Bij controle bleek dat de geprogrammeerde tekst niet werd getoond en dat in het rechter venster de foutmeldingen |"Failed to open file for writing" and "Permission ||denied"|al te zien waren. Wanneer deze issue begon kan ik niet meer achterhalen, heb een tijdje niet 3D geprint. Na veel speurwerk kwam ik erachter dat als ik het .scad bestand terugschreef naar een lege map (bijv. DUMMY) op de desktop computer waar die oorspronkelijk vandaan kwam maar dan uit een andere map, de tekst weer terug was en gewoon weer draaide in OpenSCAD. Mijn conclusie was dan ook dat de tekst wel goed weggeschreven was maar niet werd weergegeven. 2) Het "goede" bestand:  -rw-r--r-- 1 edschijf edschijf  /  het lege:  -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als ik de tekst handmatig intik wordt dit geaccepteerd en draait OpenSCAD goed, maar als ik het vervolgens wil saven verschijnen de foutmeldingen weer. Nu ben ik de weg kwijt..... 4) I gebruik versie 2021.01. 5) Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in de map snap staat.??? 6) Ja, in de home directory /home/edschijf/ is alles OK. NB. Als ik de rechten van het "lege" bestand aan wil passen met bijv. chmod u=g NameTag.scad, dan verandert er niets....., rechten blijven:  -rw-r--r-- 1 edschijf edschijf Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat je iets meer kunt met mijn gegevens. Met vriendelijke groet, Ed Schijf Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss: > > Hi Ed, > > I've some questions: > > 1) The file is created but completely empty? > > 2) If yes what are the permissions of the created file and who is the > owner?  and if you edit the empty file by hand, can you add text to it > and save it? > > 4) which version of openscad are you using on Ubuntu? > > 5) how did you install openscad? snap?, appimage?, compiled it your > self, apt install? > > 6) If you save it to your home directory say: > /home/ed/openscad_drawing everything is ok? > > I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), I' > can try the same setup later this week. > > By the way this is the first time I see this question. > > > Met vriendelijke groet, > Matthieu Hendriks > > > > Ed Schijf via Discuss schreef op 2025-07-24 18:46: > >> |Hello there,| This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time.|_This is my problem:_ Off late I discovered that when I save a >> working .scad file to the 2nd HDD or a USB HDD or USB stick, the file >> itself is saved on them but the programmed text is not. I have a >> Fujitsu/Siemens desktop computer with i5 processor and use Ubuntu 22.04.| |When I copy the text and paste it in the .scad file (in which the >> programmed text has disappeared) on the 2nd HDD or USB HDD or USB >> stick, I get the messages "Failed to open file for writing" and >> "Permission denied", while a lot of other files had been saved in the >> same way without problems and the read / write rights are correct (I >> think). I tried to change these rights with the help of chmod and >> chown but nothing was changed.| I also repeated these procedures in Windows 10 with the same bad result.|Hope you can help me solve this problem!| |With kind regards,| |Ed R. Schijf| |The Netherlands| >> >> >> >> _______________________________________________ >> OpenSCAD mailing list >> To unsubscribe send an email to discuss-leave@lists.openscad.org > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
MH
Matthieu Hendriks
Fri, Jul 25, 2025 11:13 AM

Hoi Ed,

Nederlands is prima en voor mij ook veel makkelijker. Als openscad nu in
SNAP draait ipv voorheen in een appimage of lokaal geïnstalleerd dan
heeft het vrijwel zeker met SNAP te  maken. Als ik VLC bijvoorbeeld via
SNAP installeer kan ik ook niet (goed) bij mijn 2e schijf. Ik ben geen
expert in SNAP maar je moet usb devices en 2e harde schijven apart
beschikbaar maken (koppelen) binnen de snap. Erg omslachtig en moeizaam.

Heb je wel eens overwogen om openscad via source code te installeren op
je Ubuntu machine. Dan heb je deze problemen niet.

Ik ben recent overgestapt naar de openscad met python ondersteuning.
Deze draait ook normaal met scad files maar je kunt dan ook overstappen
naar python en gebruik maken van openscad.

Voor nu heb je de volgende opties:

  1. Ga door via snap, sla je bestanden op de normale locatie op, en
    kopieer op linux niveau de scad files naar de 2e schijf of usb drive.

  2. Stop met snap en installeer via sudo apt install openscad. Dit is
    meestel niet de meest actuele versie maar voldoet meestal wel. Wel even
    checken of dit niet opnieuw de snap versie installeert :)

  3. Ga naar de meest recente versie door te installeren vanaf source code

Als je een keertje via source code wilt uitproberen ga je als volgt te
werk.

ga naar een terminal prompt in je homedirectory en doe:


git clone https://github.com/pythonscad/pythonscad.git

cd pythonscad

git submodule update --init --recursive

sudo ./scripts/uni-get-dependencies.sh

# make sure to get cryptopp and python dev packages installed, 
additionally

mkdir build

cd build

cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 ..

make

In de build directory is nu een pythonscad of openscad executable
aangemaakt die je kunt starten met:

./pythonscad

Als dit allemaal goed werkt kun je in de build directory het commando
geven:

sudo make install

Hiermee wordt scad aan het menu toegevoegd en systeem breed
geïnstalleerd.

Tijdens de compilatie komen wel wat warnings langs die kun je negeren.

Als er echte errors komen is dat meestal doordat er nog ontbrekende
componenten zijn die  eerst geïnstalleerd moeten worden. Na installatie
daarvan ga je opnieuw naar de cmake regel etc.

Bovenstaande is voor pythonopenscad. Die vrij identiek is aan de
openscad versie, ook die kun je vanaf source code doen alleen heb ik die
niet (meer) gedocumenteerd beschikbaar.

Met vriendelijke groet,

Matthieu Hendriks


email: mhendriks@digirent.nl

LinkedIn: https://www.linkedin.com/in/digirent/

Ed Schijf via Discuss schreef op 2025-07-25 12:45:

Hi Mattthieu,

Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!!

In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat
moeilijker voor mij.

Ik zal jouw vragen proberen te beantwoorden. Ik werk al een aantal
jaren tot volle tevredenheid met OpenSCAD en deze issue heb ik nog
nooit meegemaakt.

  1. Het bestand wordt normaal naar de tweede HDD of USB apparaten
    geschreven en ik kon die bestanden altijd gewoon openen zonder
    problemen. Sinds kort wilde ik voor een vriend een paar .scad files op
    een stick zetten zodat hij kon oefenen. Bij controle bleek dat de
    geprogrammeerde tekst niet werd getoond en dat in het rechter venster
    de foutmeldingen "Failed to open file for writing" and "Permission
    denied" al te zien waren. Wanneer deze issue begon kan ik niet meer
    achterhalen, heb een tijdje niet 3D geprint. Na veel speurwerk kwam ik
    erachter dat als ik het .scad bestand terugschreef naar een lege map
    (bijv. DUMMY) op de desktop computer waar die oorspronkelijk vandaan
    kwam maar dan uit een andere map, de tekst weer terug was en gewoon
    weer draaide in OpenSCAD. Mijn conclusie was dan ook dat de tekst wel
    goed weggeschreven was maar niet werd weergegeven.

  2. Het "goede" bestand:  -rw-r--r-- 1 edschijf edschijf  /  het lege:
    -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als ik de tekst
    handmatig intik wordt dit geaccepteerd en draait OpenSCAD goed, maar
    als ik het vervolgens wil saven verschijnen de foutmeldingen weer. Nu
    ben ik de weg kwijt.....

  3. I gebruik versie 2021.01.

  4. Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in de map
    snap staat.???

  5. Ja, in de home directory /home/edschijf/ is alles OK.

NB. Als ik de rechten van het "lege" bestand aan wil passen met bijv.
chmod u=g NameTag.scad, dan verandert er niets....., rechten blijven:
-rw-r--r-- 1 edschijf edschijf

Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat je
iets meer kunt met mijn gegevens.

Met vriendelijke groet,

Ed Schijf

Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss:

Hi Ed,

I've some questions:

  1. The file is created but completely empty?

  2. If yes what are the permissions of the created file and who is the
    owner?  and if you edit the empty file by hand, can you add text to it
    and save it?

  3. which version of openscad are you using on Ubuntu?

  4. how did you install openscad? snap?, appimage?, compiled it your
    self, apt install?

  5. If you save it to your home directory say: /home/ed/openscad_drawing
    everything is ok?

I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), I'
can try the same setup later this week.

By the way this is the first time I see this question.

Met vriendelijke groet,

Matthieu Hendriks

Ed Schijf via Discuss schreef op 2025-07-24 18:46:

Hello there, This is the fifth time I write this message to get a
solution to an issue I can't find myself. The first three messages I
wrote in the OpenSCAD forum site where there are issues in archive.
There were messages on dated 22 and 23 July but my message never
appeared although it said that it had been sent. I sincerely hope
somebody will help me this time. This is my problem:
Off late I discovered that when I save a working .scad file to the 2nd
HDD or a USB HDD or USB stick,
the file itself is saved on them but the programmed text is not. I have
a Fujitsu/Siemens desktop computer
with i5 processor and use Ubuntu 22.04. When I copy the text and paste
it in the .scad file (in which the programmed  text has disappeared)
on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to
open file for writing" and "Permission
denied", while a lot of other files had been saved in the same way
without problems and the read / write
rights are correct (I think).

I tried to change these rights with the help of chmod and chown but
nothing was changed. I also repeated these procedures in Windows 10
with the same bad result. Hope you can help me solve this problem! With
kind regards, Ed R. Schijf The Netherlands


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

Hoi Ed, Nederlands is prima en voor mij ook veel makkelijker. Als openscad nu in SNAP draait ipv voorheen in een appimage of lokaal geïnstalleerd dan heeft het vrijwel zeker met SNAP te maken. Als ik VLC bijvoorbeeld via SNAP installeer kan ik ook niet (goed) bij mijn 2e schijf. Ik ben geen expert in SNAP maar je moet usb devices en 2e harde schijven apart beschikbaar maken (koppelen) binnen de snap. Erg omslachtig en moeizaam. Heb je wel eens overwogen om openscad via source code te installeren op je Ubuntu machine. Dan heb je deze problemen niet. Ik ben recent overgestapt naar de openscad met python ondersteuning. Deze draait ook normaal met scad files maar je kunt dan ook overstappen naar python en gebruik maken van openscad. Voor nu heb je de volgende opties: 1. Ga door via snap, sla je bestanden op de normale locatie op, en kopieer op linux niveau de scad files naar de 2e schijf of usb drive. 2. Stop met snap en installeer via sudo apt install openscad. Dit is meestel niet de meest actuele versie maar voldoet meestal wel. Wel even checken of dit niet opnieuw de snap versie installeert :) 3. Ga naar de meest recente versie door te installeren vanaf source code Als je een keertje via source code wilt uitproberen ga je als volgt te werk. ga naar een terminal prompt in je homedirectory en doe: ~~~~~~~~~~~~~~~~~~ git clone https://github.com/pythonscad/pythonscad.git cd pythonscad git submodule update --init --recursive sudo ./scripts/uni-get-dependencies.sh # make sure to get cryptopp and python dev packages installed, additionally mkdir build cd build cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 .. make ~~~~~~~~~~~~~~~~~~~~~~~~~~ In de build directory is nu een pythonscad of openscad executable aangemaakt die je kunt starten met: ./pythonscad Als dit allemaal goed werkt kun je in de build directory het commando geven: sudo make install Hiermee wordt scad aan het menu toegevoegd en systeem breed geïnstalleerd. Tijdens de compilatie komen wel wat warnings langs die kun je negeren. Als er echte errors komen is dat meestal doordat er nog ontbrekende componenten zijn die eerst geïnstalleerd moeten worden. Na installatie daarvan ga je opnieuw naar de cmake regel etc. Bovenstaande is voor pythonopenscad. Die vrij identiek is aan de openscad versie, ook die kun je vanaf source code doen alleen heb ik die niet (meer) gedocumenteerd beschikbaar. Met vriendelijke groet, Matthieu Hendriks ------------------------- email: mhendriks@digirent.nl LinkedIn: https://www.linkedin.com/in/digirent/ Ed Schijf via Discuss schreef op 2025-07-25 12:45: > Hi Mattthieu, > > Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!! > > In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat > moeilijker voor mij. > > Ik zal jouw vragen proberen te beantwoorden. Ik werk al een aantal > jaren tot volle tevredenheid met OpenSCAD en deze issue heb ik nog > nooit meegemaakt. > > 1) Het bestand wordt normaal naar de tweede HDD of USB apparaten > geschreven en ik kon die bestanden altijd gewoon openen zonder > problemen. Sinds kort wilde ik voor een vriend een paar .scad files op > een stick zetten zodat hij kon oefenen. Bij controle bleek dat de > geprogrammeerde tekst niet werd getoond en dat in het rechter venster > de foutmeldingen "Failed to open file for writing" and "Permission > denied" al te zien waren. Wanneer deze issue begon kan ik niet meer > achterhalen, heb een tijdje niet 3D geprint. Na veel speurwerk kwam ik > erachter dat als ik het .scad bestand terugschreef naar een lege map > (bijv. DUMMY) op de desktop computer waar die oorspronkelijk vandaan > kwam maar dan uit een andere map, de tekst weer terug was en gewoon > weer draaide in OpenSCAD. Mijn conclusie was dan ook dat de tekst wel > goed weggeschreven was maar niet werd weergegeven. > > 2) Het "goede" bestand: -rw-r--r-- 1 edschijf edschijf / het lege: > -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als ik de tekst > handmatig intik wordt dit geaccepteerd en draait OpenSCAD goed, maar > als ik het vervolgens wil saven verschijnen de foutmeldingen weer. Nu > ben ik de weg kwijt..... > > 4) I gebruik versie 2021.01. > > 5) Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in de map > snap staat.??? > > 6) Ja, in de home directory /home/edschijf/ is alles OK. > > NB. Als ik de rechten van het "lege" bestand aan wil passen met bijv. > chmod u=g NameTag.scad, dan verandert er niets....., rechten blijven: > -rw-r--r-- 1 edschijf edschijf > > Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat je > iets meer kunt met mijn gegevens. > > Met vriendelijke groet, > > Ed Schijf > > Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss: > > Hi Ed, > > I've some questions: > > 1) The file is created but completely empty? > > 2) If yes what are the permissions of the created file and who is the > owner? and if you edit the empty file by hand, can you add text to it > and save it? > > 4) which version of openscad are you using on Ubuntu? > > 5) how did you install openscad? snap?, appimage?, compiled it your > self, apt install? > > 6) If you save it to your home directory say: /home/ed/openscad_drawing > everything is ok? > > I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), I' > can try the same setup later this week. > > By the way this is the first time I see this question. > > Met vriendelijke groet, > > Matthieu Hendriks > > Ed Schijf via Discuss schreef op 2025-07-24 18:46: > > Hello there, This is the fifth time I write this message to get a > solution to an issue I can't find myself. The first three messages I > wrote in the OpenSCAD forum site where there are issues in archive. > There were messages on dated 22 and 23 July but my message never > appeared although it said that it had been sent. I sincerely hope > somebody will help me this time. This is my problem: > Off late I discovered that when I save a working .scad file to the 2nd > HDD or a USB HDD or USB stick, > the file itself is saved on them but the programmed text is not. I have > a Fujitsu/Siemens desktop computer > with i5 processor and use Ubuntu 22.04. When I copy the text and paste > it in the .scad file (in which the programmed text has disappeared) > on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to > open file for writing" and "Permission > denied", while a lot of other files had been saved in the same way > without problems and the read / write > rights are correct (I think). > > I tried to change these rights with the help of chmod and chown but > nothing was changed. I also repeated these procedures in Windows 10 > with the same bad result. Hope you can help me solve this problem! With > kind regards, Ed R. Schijf The Netherlands > > _______________________________________________ > 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
GS
Guenther Sohler
Fri, Jul 25, 2025 11:33 AM

Hi Ed,

Another fact, which might be relevant for your issue:

Can you check, that the absolute path to the stored file contains
absolutely no special characters ?(like um lauts, ' " and spaces)
Is it possible to store the scad file when the absolute path + file only
contains A-Z a-z 0-9 . and /
?  If this is working we could track down the issue further
.

On Fri, Jul 25, 2025 at 1:13 PM Matthieu Hendriks via Discuss <
discuss@lists.openscad.org> wrote:

Hoi Ed,

Nederlands is prima en voor mij ook veel makkelijker. Als openscad nu in
SNAP draait ipv voorheen in een appimage of lokaal geïnstalleerd dan heeft
het vrijwel zeker met SNAP te  maken. Als ik VLC bijvoorbeeld via SNAP
installeer kan ik ook niet (goed) bij mijn 2e schijf. Ik ben geen expert in
SNAP maar je moet usb devices en 2e harde schijven apart beschikbaar maken
(koppelen) binnen de snap. Erg omslachtig en moeizaam.

Heb je wel eens overwogen om openscad via source code te installeren op je
Ubuntu machine. Dan heb je deze problemen niet.

Ik ben recent overgestapt naar de openscad met python ondersteuning. Deze
draait ook normaal met scad files maar je kunt dan ook overstappen naar
python en gebruik maken van openscad.

Voor nu heb je de volgende opties:

  1. Ga door via snap, sla je bestanden op de normale locatie op, en kopieer
    op linux niveau de scad files naar de 2e schijf of usb drive.

  2. Stop met snap en installeer via sudo apt install openscad. Dit is
    meestel niet de meest actuele versie maar voldoet meestal wel. Wel even
    checken of dit niet opnieuw de snap versie installeert :)

  3. Ga naar de meest recente versie door te installeren vanaf source code

Als je een keertje via source code wilt uitproberen ga je als volgt te
werk.

ga naar een terminal prompt in je homedirectory en doe:

~~~~~~~~~~~~~~~~~~

git clone https://github.com/pythonscad/pythonscad.git

cd pythonscad

git submodule update --init --recursive

sudo ./scripts/uni-get-dependencies.sh

make sure to get cryptopp and python dev packages installed, additionally

mkdir build

cd build

cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 ..

make

~~~~~~~~~~~~~~~~~~~~~~~~~~

In de build directory is nu een pythonscad of openscad executable
aangemaakt die je kunt starten met:

./pythonscad

Als dit allemaal goed werkt kun je in de build directory het commando
geven:

sudo make install

Hiermee wordt scad aan het menu toegevoegd en systeem breed geïnstalleerd.

Tijdens de compilatie komen wel wat warnings langs die kun je negeren.

Als er echte errors komen is dat meestal doordat er nog ontbrekende
componenten zijn die  eerst geïnstalleerd moeten worden. Na installatie
daarvan ga je opnieuw naar de cmake regel etc.

Bovenstaande is voor pythonopenscad. Die vrij identiek is aan de openscad
versie, ook die kun je vanaf source code doen alleen heb ik die niet (meer)
gedocumenteerd beschikbaar.

Met vriendelijke groet,

Matthieu Hendriks


email: mhendriks@digirent.nl

LinkedIn: https://www.linkedin.com/in/digirent/

Ed Schijf via Discuss schreef op 2025-07-25 12:45:

Hi Mattthieu,

Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!!

In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat moeilijker
voor mij.

Ik zal jouw vragen proberen te beantwoorden. Ik werk al een aantal jaren
tot volle tevredenheid met OpenSCAD en deze issue heb ik nog nooit
meegemaakt.

  1. Het bestand wordt normaal naar de tweede HDD of USB apparaten
    geschreven en ik kon die bestanden altijd gewoon openen zonder problemen.
    Sinds kort wilde ik voor een vriend een paar .scad files op een stick
    zetten zodat hij kon oefenen. Bij controle bleek dat de geprogrammeerde
    tekst niet werd getoond en dat in het rechter venster de foutmeldingen "Failed
    to open file for writing" and "Permission denied" al te zien waren.
    Wanneer deze issue begon kan ik niet meer achterhalen, heb een tijdje niet
    3D geprint. Na veel speurwerk kwam ik erachter dat als ik het .scad bestand
    terugschreef naar een lege map (bijv. DUMMY) op de desktop computer waar
    die oorspronkelijk vandaan kwam maar dan uit een andere map, de tekst weer
    terug was en gewoon weer draaide in OpenSCAD. Mijn conclusie was dan ook
    dat de tekst wel goed weggeschreven was maar niet werd weergegeven.

  2. Het "goede" bestand:  -rw-r--r-- 1 edschijf edschijf  /  het lege:
    -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als ik de tekst
    handmatig intik wordt dit geaccepteerd en draait OpenSCAD goed, maar als ik
    het vervolgens wil saven verschijnen de foutmeldingen weer. Nu ben ik de
    weg kwijt.....

  3. I gebruik versie 2021.01.

  4. Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in de map
    snap staat.???

  5. Ja, in de home directory /home/edschijf/ is alles OK.

NB. Als ik de rechten van het "lege" bestand aan wil passen met bijv.
chmod u=g NameTag.scad, dan verandert er niets....., rechten blijven:
-rw-r--r-- 1 edschijf edschijf

Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat je iets
meer kunt met mijn gegevens.

Met vriendelijke groet,

Ed Schijf

Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss:

Hi Ed,

I've some questions:

  1. The file is created but completely empty?

  2. If yes what are the permissions of the created file and who is the
    owner?  and if you edit the empty file by hand, can you add text to it and
    save it?

  3. which version of openscad are you using on Ubuntu?

  4. how did you install openscad? snap?, appimage?, compiled it your self,
    apt install?

  5. If you save it to your home directory say: /home/ed/openscad_drawing
    everything is ok?

I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), I' can
try the same setup later this week.

By the way this is the first time I see this question.

Met vriendelijke groet,

Matthieu Hendriks

Ed Schijf via Discuss schreef op 2025-07-24 18:46:

Hello there, This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time. This is my problem:
Off late I discovered that when I save a working .scad file to the 2nd HDD or a USB HDD or USB stick,
the file itself is saved on them but the programmed text is not. I have a Fujitsu/Siemens desktop computer
with i5 processor and use Ubuntu 22.04. When I copy the text and paste it in the .scad file (in which the programmed  text has disappeared)
on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to open file for writing" and "Permission
denied", while a lot of other files had been saved in the same way without problems and the read / write
rights are correct (I think).

I tried to change these rights with the help of chmod and chown but nothing was changed. I also repeated these procedures in Windows 10 with the same bad result. Hope you can help me solve this problem! With kind regards, Ed R. Schijf The Netherlands


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


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

Hi Ed, Another fact, which might be relevant for your issue: Can you check, that the absolute path to the stored file contains absolutely no special characters ?(like um lauts, ' " and spaces) Is it possible to store the scad file when the absolute path + file only contains A-Z a-z 0-9 . and / ? If this is working we could track down the issue further . On Fri, Jul 25, 2025 at 1:13 PM Matthieu Hendriks via Discuss < discuss@lists.openscad.org> wrote: > Hoi Ed, > > Nederlands is prima en voor mij ook veel makkelijker. Als openscad nu in > SNAP draait ipv voorheen in een appimage of lokaal geïnstalleerd dan heeft > het vrijwel zeker met SNAP te maken. Als ik VLC bijvoorbeeld via SNAP > installeer kan ik ook niet (goed) bij mijn 2e schijf. Ik ben geen expert in > SNAP maar je moet usb devices en 2e harde schijven apart beschikbaar maken > (koppelen) binnen de snap. Erg omslachtig en moeizaam. > > Heb je wel eens overwogen om openscad via source code te installeren op je > Ubuntu machine. Dan heb je deze problemen niet. > > Ik ben recent overgestapt naar de openscad met python ondersteuning. Deze > draait ook normaal met scad files maar je kunt dan ook overstappen naar > python en gebruik maken van openscad. > > > Voor nu heb je de volgende opties: > > 1. Ga door via snap, sla je bestanden op de normale locatie op, en kopieer > op linux niveau de scad files naar de 2e schijf of usb drive. > > 2. Stop met snap en installeer via sudo apt install openscad. Dit is > meestel niet de meest actuele versie maar voldoet meestal wel. Wel even > checken of dit niet opnieuw de snap versie installeert :) > > 3. Ga naar de meest recente versie door te installeren vanaf source code > > Als je een keertje via source code wilt uitproberen ga je als volgt te > werk. > > ga naar een terminal prompt in je homedirectory en doe: > > ~~~~~~~~~~~~~~~~~~ > > git clone https://github.com/pythonscad/pythonscad.git > > cd pythonscad > > git submodule update --init --recursive > > sudo ./scripts/uni-get-dependencies.sh > > # make sure to get cryptopp and python dev packages installed, additionally > > mkdir build > > cd build > > cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 .. > > make > > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > In de build directory is nu een pythonscad of openscad executable > aangemaakt die je kunt starten met: > > ./pythonscad > > Als dit allemaal goed werkt kun je in de build directory het commando > geven: > > sudo make install > > Hiermee wordt scad aan het menu toegevoegd en systeem breed geïnstalleerd. > > Tijdens de compilatie komen wel wat warnings langs die kun je negeren. > > Als er echte errors komen is dat meestal doordat er nog ontbrekende > componenten zijn die eerst geïnstalleerd moeten worden. Na installatie > daarvan ga je opnieuw naar de cmake regel etc. > > Bovenstaande is voor pythonopenscad. Die vrij identiek is aan de openscad > versie, ook die kun je vanaf source code doen alleen heb ik die niet (meer) > gedocumenteerd beschikbaar. > > > Met vriendelijke groet, > > Matthieu Hendriks > > ------------------------------ > email: mhendriks@digirent.nl > > LinkedIn: https://www.linkedin.com/in/digirent/ > > > Ed Schijf via Discuss schreef op 2025-07-25 12:45: > > Hi Mattthieu, > > Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!! > > In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat moeilijker > voor mij. > > Ik zal jouw vragen proberen te beantwoorden. Ik werk al een aantal jaren > tot volle tevredenheid met OpenSCAD en deze issue heb ik nog nooit > meegemaakt. > > 1) Het bestand wordt *normaal* naar de tweede HDD of USB apparaten > geschreven en ik kon die bestanden altijd gewoon openen zonder problemen. > Sinds kort wilde ik voor een vriend een paar .scad files op een stick > zetten zodat hij kon oefenen. Bij controle bleek dat de geprogrammeerde > tekst niet werd getoond en dat in het rechter venster de foutmeldingen "Failed > to open file for writing" and "Permission denied" al te zien waren. > Wanneer deze issue begon kan ik niet meer achterhalen, heb een tijdje niet > 3D geprint. Na veel speurwerk kwam ik erachter dat als ik het .scad bestand > terugschreef naar een lege map (bijv. DUMMY) op de desktop computer waar > die oorspronkelijk vandaan kwam maar dan uit een andere map, de tekst weer > terug was en gewoon weer draaide in OpenSCAD. Mijn conclusie was dan ook > dat de tekst wel goed weggeschreven was maar niet werd weergegeven. > > 2) Het "goede" bestand: -rw-r--r-- 1 edschijf edschijf / het lege: > -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als ik de tekst > handmatig intik wordt dit geaccepteerd en draait OpenSCAD goed, maar als ik > het vervolgens wil saven verschijnen de foutmeldingen weer. Nu ben ik de > weg kwijt..... > > 4) I gebruik versie 2021.01. > > 5) Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in de map > snap staat.??? > > 6) Ja, in de home directory /home/edschijf/ is alles OK. > > NB. Als ik de rechten van het "lege" bestand aan wil passen met bijv. > chmod u=g NameTag.scad, dan verandert er niets....., rechten blijven: > -rw-r--r-- 1 edschijf edschijf > > Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat je iets > meer kunt met mijn gegevens. > > Met vriendelijke groet, > > Ed Schijf > > > Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss: > > Hi Ed, > > I've some questions: > > 1) The file is created but completely empty? > > 2) If yes what are the permissions of the created file and who is the > owner? and if you edit the empty file by hand, can you add text to it and > save it? > > 4) which version of openscad are you using on Ubuntu? > > 5) how did you install openscad? snap?, appimage?, compiled it your self, > apt install? > > 6) If you save it to your home directory say: /home/ed/openscad_drawing > everything is ok? > > I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), I' can > try the same setup later this week. > > By the way this is the first time I see this question. > > > Met vriendelijke groet, > > Matthieu Hendriks > > > > > Ed Schijf via Discuss schreef op 2025-07-24 18:46: > > Hello there, This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time. *This is my problem:* > Off late I discovered that when I save a working .scad file to the 2nd HDD or a USB HDD or USB stick, > the file itself is saved on them but the programmed text is not. I have a Fujitsu/Siemens desktop computer > with i5 processor and use Ubuntu 22.04. When I copy the text and paste it in the .scad file (in which the programmed text has disappeared) > on the 2nd HDD or USB HDD or USB stick, I get the messages "Failed to open file for writing" and "Permission > denied", while a lot of other files had been saved in the same way without problems and the read / write > rights are correct (I think). > > I tried to change these rights with the help of chmod and chown but nothing was changed. I also repeated these procedures in Windows 10 with the same bad result. Hope you can help me solve this problem! With kind regards, Ed R. Schijf The Netherlands > > > > _______________________________________________ > 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 > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
ES
Ed Schijf
Fri, Jul 25, 2025 12:03 PM

Hi Guenther,

Thanks for your effort! I checked and there are absolutely no special
characters in the stored files. Saving the files from my desktop
computer to the 2nd HDD goes smoothly, but if you open it on the 2nd HDD
the programmed text has disappeared, while it is certainly there!!! I
agree with Matthieu that the cause may be in the snap version....

Thanks again, regards from

Ed

Op 25-07-2025 om 13:33 schreef Guenther Sohler via Discuss:

Hi Ed,

Another fact, which might be relevant for your issue:

Can you check, that the absolute path to the stored file contains
absolutely no special characters ?(like um lauts, ' " and spaces)
Is it possible to store the scad file when the absolute path +
file only contains A-Z a-z 0-9 . and /
?  If this is working we could track down the issue further
.

On Fri, Jul 25, 2025 at 1:13 PM Matthieu Hendriks via Discuss
discuss@lists.openscad.org wrote:

 Hoi Ed,

 Nederlands is prima en voor mij ook veel makkelijker. Als openscad
 nu in SNAP draait ipv voorheen in een appimage of lokaal
 geïnstalleerd dan heeft het vrijwel zeker met SNAP te  maken. Als
 ik VLC bijvoorbeeld via SNAP installeer kan ik ook niet (goed) bij
 mijn 2e schijf. Ik ben geen expert in SNAP maar je moet usb
 devices en 2e harde schijven apart beschikbaar maken (koppelen)
 binnen de snap. Erg omslachtig en moeizaam.

 Heb je wel eens overwogen om openscad via source code te
 installeren op je Ubuntu machine. Dan heb je deze problemen niet.

 Ik ben recent overgestapt naar de openscad met python
 ondersteuning. Deze draait ook normaal met scad files maar je kunt
 dan ook overstappen naar python en gebruik maken van openscad.


 Voor nu heb je de volgende opties:

 1. Ga door via snap, sla je bestanden op de normale locatie op, en
 kopieer op linux niveau de scad files naar de 2e schijf of usb drive.

 2. Stop met snap en installeer via sudo apt install openscad. Dit
 is meestel niet de meest actuele versie maar voldoet meestal wel.
 Wel even checken of dit niet opnieuw de snap versie installeert :)

 3. Ga naar de meest recente versie door te installeren vanaf
 source code

 Als je een keertje via source code wilt uitproberen ga je als
 volgt te werk.

 ga naar een terminal prompt in je homedirectory en doe:

 ~~~~~~~~~~~~~~~~~~

 git clone https://github.com/pythonscad/pythonscad.git

 cd pythonscad

 git submodule update --init --recursive

 sudo ./scripts/uni-get-dependencies.sh

 # make sure to get cryptopp and python dev packages installed,
 additionally

 mkdir build

 cd build

 cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 ..

 make

 ~~~~~~~~~~~~~~~~~~~~~~~~~~


 In de build directory is nu een pythonscad of openscad executable
 aangemaakt die je kunt starten met:

 ./pythonscad

 Als dit allemaal goed werkt kun je in de build directory het
 commando geven:

 sudo make install

 Hiermee wordt scad aan het menu toegevoegd en systeem breed
 geïnstalleerd.

 Tijdens de compilatie komen wel wat warnings langs die kun je negeren.

 Als er echte errors komen is dat meestal doordat er nog
 ontbrekende componenten zijn die  eerst geïnstalleerd moeten
 worden. Na installatie daarvan ga je opnieuw naar de cmake regel etc.

 Bovenstaande is voor pythonopenscad. Die vrij identiek is aan de
 openscad versie, ook die kun je vanaf source code doen alleen heb
 ik die niet (meer) gedocumenteerd beschikbaar.


 Met vriendelijke groet,
 Matthieu Hendriks
 ------------------------------------------------------------------------
 email: mhendriks@digirent.nl
 LinkedIn: https://www.linkedin.com/in/digirent/


 Ed Schijf via Discuss schreef op 2025-07-25 12:45:
 Hi Mattthieu,

 Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!!

 In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat
 moeilijker voor mij.

 Ik zal jouw vragen proberen te beantwoorden. Ik werk al een
 aantal jaren tot volle tevredenheid met OpenSCAD en deze issue
 heb ik nog nooit meegemaakt.

 1) Het bestand wordt *normaal* naar de tweede HDD of USB
 apparaten geschreven en ik kon die bestanden altijd gewoon openen
 zonder problemen. Sinds kort wilde ik voor een vriend een paar
 .scad files op een stick zetten zodat hij kon oefenen. Bij
 controle bleek dat de geprogrammeerde tekst niet werd getoond en
 dat in het rechter venster de foutmeldingen |"Failed to open file
 for writing" and "Permission ||denied"|al te zien waren. Wanneer
 deze issue begon kan ik niet meer achterhalen, heb een tijdje
 niet 3D geprint. Na veel speurwerk kwam ik erachter dat als ik
 het .scad bestand terugschreef naar een lege map (bijv. DUMMY) op
 de desktop computer waar die oorspronkelijk vandaan kwam maar dan
 uit een andere map, de tekst weer terug was en gewoon weer
 draaide in OpenSCAD. Mijn conclusie was dan ook dat de tekst wel
 goed weggeschreven was maar niet werd weergegeven.

 2) Het "goede" bestand:  -rw-r--r-- 1 edschijf edschijf  /  het
 lege:  -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als
 ik de tekst handmatig intik wordt dit geaccepteerd en draait
 OpenSCAD goed, maar als ik het vervolgens wil saven verschijnen
 de foutmeldingen weer. Nu ben ik de weg kwijt.....

 4) I gebruik versie 2021.01.

 5) Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in
 de map snap staat.???

 6) Ja, in de home directory /home/edschijf/ is alles OK.

 NB. Als ik de rechten van het "lege" bestand aan wil passen met
 bijv. chmod u=g NameTag.scad, dan verandert er niets.....,
 rechten blijven: -rw-r--r-- 1 edschijf edschijf

 Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat
 je iets meer kunt met mijn gegevens.

 Met vriendelijke groet,

 Ed Schijf


 Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss:
 Hi Ed,

 I've some questions:

 1) The file is created but completely empty?

 2) If yes what are the permissions of the created file and who
 is the owner?  and if you edit the empty file by hand, can you
 add text to it and save it?

 4) which version of openscad are you using on Ubuntu?

 5) how did you install openscad? snap?, appimage?, compiled it
 your self, apt install?

 6) If you save it to your home directory say:
 /home/ed/openscad_drawing everything is ok?

 I'm working with Ubuntu (24.x) and openscad (nowadays
 pythonscad), I' can try the same setup later this week.

 By the way this is the first time I see this question.


 Met vriendelijke groet,
 Matthieu Hendriks



 Ed Schijf via Discuss schreef op 2025-07-24 18:46:

     |Hello there,| This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time.|_This is my problem:_ Off late I discovered that when I
     save a working .scad file to the 2nd HDD or a USB HDD or USB
     stick, the file itself is saved on them but the programmed
     text is not. I have a Fujitsu/Siemens desktop computer with
     i5 processor and use Ubuntu 22.04.| |When I copy the text and paste it in the .scad file (in
     which the programmed text has disappeared) on the 2nd HDD or
     USB HDD or USB stick, I get the messages "Failed to open
     file for writing" and "Permission denied", while a lot of
     other files had been saved in the same way without problems
     and the read / write rights are correct (I think). I tried
     to change these rights with the help of chmod and chown but
     nothing was changed.| I also repeated these procedures in Windows 10 with the same bad result.|Hope you can help me solve this problem!| |With kind regards,| |Ed R. Schijf| |The Netherlands|



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


 _______________________________________________
 OpenSCAD mailing list
 To unsubscribe send an email todiscuss-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

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

Hi Guenther, Thanks for your effort! I checked and there are absolutely no special characters in the stored files. Saving the files from my desktop computer to the 2nd HDD goes smoothly, but if you open it on the 2nd HDD the programmed text has disappeared, while it is certainly there!!! I agree with Matthieu that the cause may be in the snap version.... Thanks again, regards from Ed Op 25-07-2025 om 13:33 schreef Guenther Sohler via Discuss: > Hi Ed, > > > Another fact, which might be relevant for your issue: > > Can you check, that the absolute path to the stored file contains > absolutely no special characters ?(like um lauts, ' " and spaces) > Is it possible to store the scad file when the absolute path + > file only contains A-Z a-z 0-9 . and / > ?  If this is working we could track down the issue further > . > > > > On Fri, Jul 25, 2025 at 1:13 PM Matthieu Hendriks via Discuss > <discuss@lists.openscad.org> wrote: > > Hoi Ed, > > Nederlands is prima en voor mij ook veel makkelijker. Als openscad > nu in SNAP draait ipv voorheen in een appimage of lokaal > geïnstalleerd dan heeft het vrijwel zeker met SNAP te  maken. Als > ik VLC bijvoorbeeld via SNAP installeer kan ik ook niet (goed) bij > mijn 2e schijf. Ik ben geen expert in SNAP maar je moet usb > devices en 2e harde schijven apart beschikbaar maken (koppelen) > binnen de snap. Erg omslachtig en moeizaam. > > Heb je wel eens overwogen om openscad via source code te > installeren op je Ubuntu machine. Dan heb je deze problemen niet. > > Ik ben recent overgestapt naar de openscad met python > ondersteuning. Deze draait ook normaal met scad files maar je kunt > dan ook overstappen naar python en gebruik maken van openscad. > > > Voor nu heb je de volgende opties: > > 1. Ga door via snap, sla je bestanden op de normale locatie op, en > kopieer op linux niveau de scad files naar de 2e schijf of usb drive. > > 2. Stop met snap en installeer via sudo apt install openscad. Dit > is meestel niet de meest actuele versie maar voldoet meestal wel. > Wel even checken of dit niet opnieuw de snap versie installeert :) > > 3. Ga naar de meest recente versie door te installeren vanaf > source code > > Als je een keertje via source code wilt uitproberen ga je als > volgt te werk. > > ga naar een terminal prompt in je homedirectory en doe: > > ~~~~~~~~~~~~~~~~~~ > > git clone https://github.com/pythonscad/pythonscad.git > > cd pythonscad > > git submodule update --init --recursive > > sudo ./scripts/uni-get-dependencies.sh > > # make sure to get cryptopp and python dev packages installed, > additionally > > mkdir build > > cd build > > cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 .. > > make > > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > In de build directory is nu een pythonscad of openscad executable > aangemaakt die je kunt starten met: > > ./pythonscad > > Als dit allemaal goed werkt kun je in de build directory het > commando geven: > > sudo make install > > Hiermee wordt scad aan het menu toegevoegd en systeem breed > geïnstalleerd. > > Tijdens de compilatie komen wel wat warnings langs die kun je negeren. > > Als er echte errors komen is dat meestal doordat er nog > ontbrekende componenten zijn die  eerst geïnstalleerd moeten > worden. Na installatie daarvan ga je opnieuw naar de cmake regel etc. > > Bovenstaande is voor pythonopenscad. Die vrij identiek is aan de > openscad versie, ook die kun je vanaf source code doen alleen heb > ik die niet (meer) gedocumenteerd beschikbaar. > > > Met vriendelijke groet, > Matthieu Hendriks > ------------------------------------------------------------------------ > email: mhendriks@digirent.nl > LinkedIn: https://www.linkedin.com/in/digirent/ > > > Ed Schijf via Discuss schreef op 2025-07-25 12:45: > >> Hi Mattthieu, >> >> Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!! >> >> In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat >> moeilijker voor mij. >> >> Ik zal jouw vragen proberen te beantwoorden. Ik werk al een >> aantal jaren tot volle tevredenheid met OpenSCAD en deze issue >> heb ik nog nooit meegemaakt. >> >> 1) Het bestand wordt *normaal* naar de tweede HDD of USB >> apparaten geschreven en ik kon die bestanden altijd gewoon openen >> zonder problemen. Sinds kort wilde ik voor een vriend een paar >> .scad files op een stick zetten zodat hij kon oefenen. Bij >> controle bleek dat de geprogrammeerde tekst niet werd getoond en >> dat in het rechter venster de foutmeldingen |"Failed to open file >> for writing" and "Permission ||denied"|al te zien waren. Wanneer >> deze issue begon kan ik niet meer achterhalen, heb een tijdje >> niet 3D geprint. Na veel speurwerk kwam ik erachter dat als ik >> het .scad bestand terugschreef naar een lege map (bijv. DUMMY) op >> de desktop computer waar die oorspronkelijk vandaan kwam maar dan >> uit een andere map, de tekst weer terug was en gewoon weer >> draaide in OpenSCAD. Mijn conclusie was dan ook dat de tekst wel >> goed weggeschreven was maar niet werd weergegeven. >> >> 2) Het "goede" bestand:  -rw-r--r-- 1 edschijf edschijf  /  het >> lege:  -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als >> ik de tekst handmatig intik wordt dit geaccepteerd en draait >> OpenSCAD goed, maar als ik het vervolgens wil saven verschijnen >> de foutmeldingen weer. Nu ben ik de weg kwijt..... >> >> 4) I gebruik versie 2021.01. >> >> 5) Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in >> de map snap staat.??? >> >> 6) Ja, in de home directory /home/edschijf/ is alles OK. >> >> NB. Als ik de rechten van het "lege" bestand aan wil passen met >> bijv. chmod u=g NameTag.scad, dan verandert er niets....., >> rechten blijven: -rw-r--r-- 1 edschijf edschijf >> >> Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat >> je iets meer kunt met mijn gegevens. >> >> Met vriendelijke groet, >> >> Ed Schijf >> >> >> Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss: >>> >>> Hi Ed, >>> >>> I've some questions: >>> >>> 1) The file is created but completely empty? >>> >>> 2) If yes what are the permissions of the created file and who >>> is the owner?  and if you edit the empty file by hand, can you >>> add text to it and save it? >>> >>> 4) which version of openscad are you using on Ubuntu? >>> >>> 5) how did you install openscad? snap?, appimage?, compiled it >>> your self, apt install? >>> >>> 6) If you save it to your home directory say: >>> /home/ed/openscad_drawing everything is ok? >>> >>> I'm working with Ubuntu (24.x) and openscad (nowadays >>> pythonscad), I' can try the same setup later this week. >>> >>> By the way this is the first time I see this question. >>> >>> >>> Met vriendelijke groet, >>> Matthieu Hendriks >>> >>> >>> >>> Ed Schijf via Discuss schreef op 2025-07-24 18:46: >>> >>> |Hello there,| This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time.|_This is my problem:_ Off late I discovered that when I >>> save a working .scad file to the 2nd HDD or a USB HDD or USB >>> stick, the file itself is saved on them but the programmed >>> text is not. I have a Fujitsu/Siemens desktop computer with >>> i5 processor and use Ubuntu 22.04.| |When I copy the text and paste it in the .scad file (in >>> which the programmed text has disappeared) on the 2nd HDD or >>> USB HDD or USB stick, I get the messages "Failed to open >>> file for writing" and "Permission denied", while a lot of >>> other files had been saved in the same way without problems >>> and the read / write rights are correct (I think). I tried >>> to change these rights with the help of chmod and chown but >>> nothing was changed.| I also repeated these procedures in Windows 10 with the same bad result.|Hope you can help me solve this problem!| |With kind regards,| |Ed R. Schijf| |The Netherlands| >>> >>> >>> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email to discuss-leave@lists.openscad.org >>> >>> >>> _______________________________________________ >>> OpenSCAD mailing list >>> To unsubscribe send an email todiscuss-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 > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email todiscuss-leave@lists.openscad.org
ES
Ed Schijf
Fri, Jul 25, 2025 1:02 PM

Beste Matthieu,

Ik heb optie 2 gevolgd en de problemen zijn opgelost. Natuurlijk had ik
daar aan moeten denken maar omdat ik nooit problemen had met OpenSCAD
keek ik daar overheen!!!

Nogmaals heel hartelijk bedankt voor al je moeite en een goed weekend
toegewenst!

Warme groeten, Ed

Op 25-07-2025 om 13:13 schreef Matthieu Hendriks via Discuss:

Hoi Ed,

Nederlands is prima en voor mij ook veel makkelijker. Als openscad nu
in SNAP draait ipv voorheen in een appimage of lokaal geïnstalleerd
dan heeft het vrijwel zeker met SNAP te maken. Als ik VLC bijvoorbeeld
via SNAP installeer kan ik ook niet (goed) bij mijn 2e schijf. Ik ben
geen expert in SNAP maar je moet usb devices en 2e harde schijven
apart beschikbaar maken (koppelen) binnen de snap. Erg omslachtig en
moeizaam.

Heb je wel eens overwogen om openscad via source code te installeren
op je Ubuntu machine. Dan heb je deze problemen niet.

Ik ben recent overgestapt naar de openscad met python ondersteuning.
Deze draait ook normaal met scad files maar je kunt dan ook
overstappen naar python en gebruik maken van openscad.

Voor nu heb je de volgende opties:

  1. Ga door via snap, sla je bestanden op de normale locatie op, en
    kopieer op linux niveau de scad files naar de 2e schijf of usb drive.

  2. Stop met snap en installeer via sudo apt install openscad. Dit is
    meestel niet de meest actuele versie maar voldoet meestal wel. Wel
    even checken of dit niet opnieuw de snap versie installeert :)

  3. Ga naar de meest recente versie door te installeren vanaf source code

Als je een keertje via source code wilt uitproberen ga je als volgt te
werk.

ga naar een terminal prompt in je homedirectory en doe:

~~~~~~~~~~~~~~~~~~

git clone https://github.com/pythonscad/pythonscad.git
https://github.com/pythonscad/pythonscad.git

cd pythonscad

git submodule update --init --recursive

sudo ./scripts/uni-get-dependencies.sh

make sure to get cryptopp and python dev packages installed,

additionally

mkdir build

cd build

cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 ..

make

~~~~~~~~~~~~~~~~~~~~~~~~~~

In de build directory is nu een pythonscad of openscad executable
aangemaakt die je kunt starten met:

./pythonscad

Als dit allemaal goed werkt kun je in de build directory het commando
geven:

sudo make install

Hiermee wordt scad aan het menu toegevoegd en systeem breed geïnstalleerd.

Tijdens de compilatie komen wel wat warnings langs die kun je negeren.

Als er echte errors komen is dat meestal doordat er nog ontbrekende
componenten zijn die  eerst geïnstalleerd moeten worden. Na
installatie daarvan ga je opnieuw naar de cmake regel etc.

Bovenstaande is voor pythonopenscad. Die vrij identiek is aan de
openscad versie, ook die kun je vanaf source code doen alleen heb ik
die niet (meer) gedocumenteerd beschikbaar.

Met vriendelijke groet,
Matthieu Hendriks

email: mhendriks@digirent.nl
LinkedIn: https://www.linkedin.com/in/digirent/

Ed Schijf via Discuss schreef op 2025-07-25 12:45:

Hi Mattthieu,

Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!!

In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat
moeilijker voor mij.

Ik zal jouw vragen proberen te beantwoorden. Ik werk al een aantal
jaren tot volle tevredenheid met OpenSCAD en deze issue heb ik nog
nooit meegemaakt.

  1. Het bestand wordt normaal naar de tweede HDD of USB apparaten
    geschreven en ik kon die bestanden altijd gewoon openen zonder
    problemen. Sinds kort wilde ik voor een vriend een paar .scad files
    op een stick zetten zodat hij kon oefenen. Bij controle bleek dat de
    geprogrammeerde tekst niet werd getoond en dat in het rechter venster
    de foutmeldingen |"Failed to open file for writing" and "Permission
    ||denied"|al te zien waren. Wanneer deze issue begon kan ik niet meer
    achterhalen, heb een tijdje niet 3D geprint. Na veel speurwerk kwam
    ik erachter dat als ik het .scad bestand terugschreef naar een lege
    map (bijv. DUMMY) op de desktop computer waar die oorspronkelijk
    vandaan kwam maar dan uit een andere map, de tekst weer terug was en
    gewoon weer draaide in OpenSCAD. Mijn conclusie was dan ook dat de
    tekst wel goed weggeschreven was maar niet werd weergegeven.

  2. Het "goede" bestand:  -rw-r--r-- 1 edschijf edschijf /  het lege: 
    -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als ik de tekst
    handmatig intik wordt dit geaccepteerd en draait OpenSCAD goed, maar
    als ik het vervolgens wil saven verschijnen de foutmeldingen weer. Nu
    ben ik de weg kwijt.....

  3. I gebruik versie 2021.01.

  4. Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in de
    map snap staat.???

  5. Ja, in de home directory /home/edschijf/ is alles OK.

NB. Als ik de rechten van het "lege" bestand aan wil passen met bijv.
chmod u=g NameTag.scad, dan verandert er niets....., rechten
blijven:  -rw-r--r-- 1 edschijf edschijf

Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat je
iets meer kunt met mijn gegevens.

Met vriendelijke groet,

Ed Schijf

Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss:

Hi Ed,

I've some questions:

  1. The file is created but completely empty?

  2. If yes what are the permissions of the created file and who is
    the owner?  and if you edit the empty file by hand, can you add text
    to it and save it?

  3. which version of openscad are you using on Ubuntu?

  4. how did you install openscad? snap?, appimage?, compiled it your
    self, apt install?

  5. If you save it to your home directory say:
    /home/ed/openscad_drawing everything is ok?

I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad),
I' can try the same setup later this week.

By the way this is the first time I see this question.

Met vriendelijke groet,
Matthieu Hendriks

Ed Schijf via Discuss schreef op 2025-07-24 18:46:

 |Hello there,| This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time.|_This is my problem:_ Off late I discovered that when I save a
 working .scad file to the 2nd HDD or a USB HDD or USB stick, the
 file itself is saved on them but the programmed text is not. I
 have a Fujitsu/Siemens desktop computer with i5 processor and
 use Ubuntu 22.04.| |When I copy the text and paste it in the .scad file (in which
 the programmed text has disappeared) on the 2nd HDD or USB HDD
 or USB stick, I get the messages "Failed to open file for
 writing" and "Permission denied", while a lot of other files had
 been saved in the same way without problems and the read / write
 rights are correct (I think). I tried to change these rights
 with the help of chmod and chown but nothing was changed.| I also repeated these procedures in Windows 10 with the same bad result.|Hope you can help me solve this problem!| |With kind regards,| |Ed R. Schijf| |The Netherlands|



 _______________________________________________
 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 todiscuss-leave@lists.openscad.org mailto: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 todiscuss-leave@lists.openscad.org

Beste Matthieu, Ik heb optie 2 gevolgd en de problemen zijn opgelost. Natuurlijk had ik daar aan moeten denken maar omdat ik nooit problemen had met OpenSCAD keek ik daar overheen!!! Nogmaals heel hartelijk bedankt voor al je moeite en een goed weekend toegewenst! Warme groeten, Ed Op 25-07-2025 om 13:13 schreef Matthieu Hendriks via Discuss: > > Hoi Ed, > > Nederlands is prima en voor mij ook veel makkelijker. Als openscad nu > in SNAP draait ipv voorheen in een appimage of lokaal geïnstalleerd > dan heeft het vrijwel zeker met SNAP te maken. Als ik VLC bijvoorbeeld > via SNAP installeer kan ik ook niet (goed) bij mijn 2e schijf. Ik ben > geen expert in SNAP maar je moet usb devices en 2e harde schijven > apart beschikbaar maken (koppelen) binnen de snap. Erg omslachtig en > moeizaam. > > Heb je wel eens overwogen om openscad via source code te installeren > op je Ubuntu machine. Dan heb je deze problemen niet. > > Ik ben recent overgestapt naar de openscad met python ondersteuning. > Deze draait ook normaal met scad files maar je kunt dan ook > overstappen naar python en gebruik maken van openscad. > > > Voor nu heb je de volgende opties: > > 1. Ga door via snap, sla je bestanden op de normale locatie op, en > kopieer op linux niveau de scad files naar de 2e schijf of usb drive. > > 2. Stop met snap en installeer via sudo apt install openscad. Dit is > meestel niet de meest actuele versie maar voldoet meestal wel. Wel > even checken of dit niet opnieuw de snap versie installeert :) > > 3. Ga naar de meest recente versie door te installeren vanaf source code > > Als je een keertje via source code wilt uitproberen ga je als volgt te > werk. > > ga naar een terminal prompt in je homedirectory en doe: > > ~~~~~~~~~~~~~~~~~~ > > git clone https://github.com/pythonscad/pythonscad.git > <https://github.com/pythonscad/pythonscad.git> > > cd pythonscad > > git submodule update --init --recursive > > sudo ./scripts/uni-get-dependencies.sh > > # make sure to get cryptopp and python dev packages installed, > additionally > > mkdir build > > cd build > > cmake -DEXPERIMENTAL=1 -DENABLE_PYTHON=1 -DENABLE_LIBFIVE=1 .. > > make > > ~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > In de build directory is nu een pythonscad of openscad executable > aangemaakt die je kunt starten met: > > ./pythonscad > > Als dit allemaal goed werkt kun je in de build directory het commando > geven: > > sudo make install > > Hiermee wordt scad aan het menu toegevoegd en systeem breed geïnstalleerd. > > Tijdens de compilatie komen wel wat warnings langs die kun je negeren. > > Als er echte errors komen is dat meestal doordat er nog ontbrekende > componenten zijn die  eerst geïnstalleerd moeten worden. Na > installatie daarvan ga je opnieuw naar de cmake regel etc. > > Bovenstaande is voor pythonopenscad. Die vrij identiek is aan de > openscad versie, ook die kun je vanaf source code doen alleen heb ik > die niet (meer) gedocumenteerd beschikbaar. > > > Met vriendelijke groet, > Matthieu Hendriks > ------------------------------------------------------------------------ > email: mhendriks@digirent.nl > LinkedIn: https://www.linkedin.com/in/digirent/ > > > Ed Schijf via Discuss schreef op 2025-07-25 12:45: > >> Hi Mattthieu, >> >> Hartelijk bedankt voor je antwoord en uiteraard voor je moeite!! >> >> In het Nederlands, kan dat? Uitgebreid in het Engels wordt wat >> moeilijker voor mij. >> >> Ik zal jouw vragen proberen te beantwoorden. Ik werk al een aantal >> jaren tot volle tevredenheid met OpenSCAD en deze issue heb ik nog >> nooit meegemaakt. >> >> 1) Het bestand wordt *normaal* naar de tweede HDD of USB apparaten >> geschreven en ik kon die bestanden altijd gewoon openen zonder >> problemen. Sinds kort wilde ik voor een vriend een paar .scad files >> op een stick zetten zodat hij kon oefenen. Bij controle bleek dat de >> geprogrammeerde tekst niet werd getoond en dat in het rechter venster >> de foutmeldingen |"Failed to open file for writing" and "Permission >> ||denied"|al te zien waren. Wanneer deze issue begon kan ik niet meer >> achterhalen, heb een tijdje niet 3D geprint. Na veel speurwerk kwam >> ik erachter dat als ik het .scad bestand terugschreef naar een lege >> map (bijv. DUMMY) op de desktop computer waar die oorspronkelijk >> vandaan kwam maar dan uit een andere map, de tekst weer terug was en >> gewoon weer draaide in OpenSCAD. Mijn conclusie was dan ook dat de >> tekst wel goed weggeschreven was maar niet werd weergegeven. >> >> 2) Het "goede" bestand:  -rw-r--r-- 1 edschijf edschijf /  het lege:  >> -rw-r--r-- 1 edschijf edschijf , géén verschil dus!! Als ik de tekst >> handmatig intik wordt dit geaccepteerd en draait OpenSCAD goed, maar >> als ik het vervolgens wil saven verschijnen de foutmeldingen weer. Nu >> ben ik de weg kwijt..... >> >> 4) I gebruik versie 2021.01. >> >> 5) Ik werkte steeds via AppImage, maar ik zie nu dat OpenSCAD in de >> map snap staat.??? >> >> 6) Ja, in de home directory /home/edschijf/ is alles OK. >> >> NB. Als ik de rechten van het "lege" bestand aan wil passen met bijv. >> chmod u=g NameTag.scad, dan verandert er niets....., rechten >> blijven:  -rw-r--r-- 1 edschijf edschijf >> >> Dank je wel dat je tot nu toe de moeite voor me nam, ik hoop dat je >> iets meer kunt met mijn gegevens. >> >> Met vriendelijke groet, >> >> Ed Schijf >> >> >> Op 25-07-2025 om 07:47 schreef Matthieu Hendriks via Discuss: >>> >>> Hi Ed, >>> >>> I've some questions: >>> >>> 1) The file is created but completely empty? >>> >>> 2) If yes what are the permissions of the created file and who is >>> the owner?  and if you edit the empty file by hand, can you add text >>> to it and save it? >>> >>> 4) which version of openscad are you using on Ubuntu? >>> >>> 5) how did you install openscad? snap?, appimage?, compiled it your >>> self, apt install? >>> >>> 6) If you save it to your home directory say: >>> /home/ed/openscad_drawing everything is ok? >>> >>> I'm working with Ubuntu (24.x) and openscad (nowadays pythonscad), >>> I' can try the same setup later this week. >>> >>> By the way this is the first time I see this question. >>> >>> >>> Met vriendelijke groet, >>> Matthieu Hendriks >>> >>> >>> >>> Ed Schijf via Discuss schreef op 2025-07-24 18:46: >>> >>> |Hello there,| This is the fifth time I write this message to get a solution to an issue I can't find myself. The first three messages I wrote in the OpenSCAD forum site where there are issues in archive. There were messages on dated 22 and 23 July but my message never appeared although it said that it had been sent. I sincerely hope somebody will help me this time.|_This is my problem:_ Off late I discovered that when I save a >>> working .scad file to the 2nd HDD or a USB HDD or USB stick, the >>> file itself is saved on them but the programmed text is not. I >>> have a Fujitsu/Siemens desktop computer with i5 processor and >>> use Ubuntu 22.04.| |When I copy the text and paste it in the .scad file (in which >>> the programmed text has disappeared) on the 2nd HDD or USB HDD >>> or USB stick, I get the messages "Failed to open file for >>> writing" and "Permission denied", while a lot of other files had >>> been saved in the same way without problems and the read / write >>> rights are correct (I think). I tried to change these rights >>> with the help of chmod and chown but nothing was changed.| I also repeated these procedures in Windows 10 with the same bad result.|Hope you can help me solve this problem!| |With kind regards,| |Ed R. Schijf| |The Netherlands| >>> >>> >>> >>> _______________________________________________ >>> 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 todiscuss-leave@lists.openscad.org <mailto: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 todiscuss-leave@lists.openscad.org
RW
roger.whiteley@me.com
Sat, Jul 26, 2025 11:58 AM

As nobody else has asked the question, does the user account on your Ubuntu machine have the right privileges to access the mounted device?

Primary accounts with root privs on an Ubuntu machine should work,but on inserting the device does a pop-up appear asking for a password?

Privileges for a user are in /etc/group, the user must have plugdev group membership. See https://wiki.ubuntu.com/Security/Privileges#Access_external_storage_devices

The path for the mounted device should be /media/username/device_id.    device_id may be the volume/partition name, it depends on the format of the partition, if the device has partitions.

As nobody else has asked the question, does the user account on your Ubuntu machine have the right privileges to access the mounted device? Primary accounts with root privs on an Ubuntu machine should work,but on inserting the device does a pop-up appear asking for a password? Privileges for a user are in /etc/group, the user must have plugdev group membership. See https://wiki.ubuntu.com/Security/Privileges#Access_external_storage_devices The path for the mounted device should be /media/username/device_id. device_id may be the volume/partition name, it depends on the format of the partition, if the device has partitions.
ES
Ed Schijf
Sat, Jul 26, 2025 1:10 PM

Thanks very much for your answer!

The issue has been solved, I installed OpenSCAD .deb and everything was OK!

Must have been a bug in the snap version....

Have a nice weekend,

With kind regards, Ed

Op 26-07-2025 om 13:58 schreef roger.whiteley--- via Discuss:

As nobody else has asked the question, does the user account on your
Ubuntu machine have the right privileges to access the mounted device?

Primary accounts with root privs on an Ubuntu machine should work,but
on inserting the device does a pop-up appear asking for a password?

Privileges for a user are in /etc/group, the user must have plugdev
group membership. See
https://wiki.ubuntu.com/Security/Privileges#Access_external_storage_devices

The path for the mounted device should be /media/username/device_id.
device_id may be the volume/partition name, it depends on the format
of the partition, if the device has partitions.


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

Thanks very much for your answer! The issue has been solved, I installed OpenSCAD .deb and everything was OK! Must have been a bug in the snap version.... Have a nice weekend, With kind regards, Ed Op 26-07-2025 om 13:58 schreef roger.whiteley--- via Discuss: > > As nobody else has asked the question, does the user account on your > Ubuntu machine have the right privileges to access the mounted device? > > Primary accounts with root privs on an Ubuntu machine should work,but > on inserting the device does a pop-up appear asking for a password? > > Privileges for a user are in /etc/group, the user must have plugdev > group membership. See > https://wiki.ubuntu.com/Security/Privileges#Access_external_storage_devices > > The path for the mounted device should be /media/username/device_id. > device_id may be the volume/partition name, it depends on the format > of the partition, if the device has partitions. > > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org