discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Getting tired of a lack of save when commnded to

GH
Gene Heskett
Mon, Aug 2, 2021 1:52 PM

Greetings all;

As I have several machines, I often work from a comfortable chair as
opposed to a 90 yo kitchen chair on the machine that normally runs
openscad and cura to drive the Prusa on the net table by sneakernet and
I have developed the habit of saving before the render when I am fine
tuning part fits or making alterations such as adding rotational keys to
prevent slippage in parts that are snugly fitted. That means I may have
the same master.scad file open from 2 different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will be
superglued into it, giving a bit more surface for glue to grab. I had
saved those mods, and I can come close to reduplicating them, but I had
then reloaded that file on this machine so I had that to aid putting the
matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when I
reloaded it in order to have both machines in sync.  The trace window
says it was saved  as master.scad, but it was not. Am I fighting with a
linux bug or an openscad bug? I note that cura also forces me to exit
the directory, and re-enter it forcing a reread and reselection of the
file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush the
buffers and guarantee the on disc copy has actually been updated?
Or does openscad have an automatic save, active on both machines,
resulting in the just saved file from this machine being overwritten by
the other machines autosave of older code? If that is the case, how do I
disable that so it doesn't get overwritten when I pickup an empty coffee
cup, stop in the kitchen for a refill, and while I'm checking on how the
drive on the kitchen counter is working, which it is FWTW, my code gets
refreshed with old code from the other machine. So I render for cura
input on the other machine and get old code. That's frustrating. And it
has happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law respectable.

Greetings all; As I have several machines, I often work from a comfortable chair as opposed to a 90 yo kitchen chair on the machine that normally runs openscad and cura to drive the Prusa on the net table by sneakernet and I have developed the habit of saving before the render when I am fine tuning part fits or making alterations such as adding rotational keys to prevent slippage in parts that are snugly fitted. That means I may have the same master.scad file open from 2 different machines. I had added such a set of 6 keys to the central hole in this drives output disk to restrain any slippage of the timing pulley that will be superglued into it, giving a bit more surface for glue to grab. I had saved those mods, and I can come close to reduplicating them, but I had then reloaded that file on this machine so I had that to aid putting the matching key cuts in the base of the timing pulley. But all my work done on both machines yesterday was not there when I reloaded it in order to have both machines in sync. The trace window says it was saved as master.scad, but it was not. Am I fighting with a linux bug or an openscad bug? I note that cura also forces me to exit the directory, and re-enter it forcing a reread and reselection of the file as a simple reload gets old data. What can I do to avoid a repeat of that work loss? Like can you add a sync command after a save or save as to flush the buffers and guarantee the on disc copy has actually been updated? Or does openscad have an automatic save, active on both machines, resulting in the just saved file from this machine being overwritten by the other machines autosave of older code? If that is the case, how do I disable that so it doesn't get overwritten when I pickup an empty coffee cup, stop in the kitchen for a refill, and while I'm checking on how the drive on the kitchen counter is working, which it is FWTW, my code gets refreshed with old code from the other machine. So I render for cura input on the other machine and get old code. That's frustrating. And it has happened 4 or 5 times now. Thank you for any assistance. 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) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
LM
Leonard Martin Struttmann
Mon, Aug 2, 2021 2:30 PM

Just throwing out some ideas here.  Since OpenSCAD has not been designed
for collaboration (unlike, for example, Google Docs), having a file open on
different machines is a dangerous practice.  No one knows exactly what
OpenSCAD or the OS or the file system has cached.

For me, I get around this by using a manual versioning system.  When I open
up an OpenSCAD file, for example "mountingPlate-05.scad", I immediately
"Save as..." the next version number, "mountingPlate-06.scad".

I never have conflicting file saves, and I have older versions to fall back
on if I really hork things up.

On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett gheskett@shentel.net wrote:

Greetings all;

As I have several machines, I often work from a comfortable chair as
opposed to a 90 yo kitchen chair on the machine that normally runs
openscad and cura to drive the Prusa on the net table by sneakernet and
I have developed the habit of saving before the render when I am fine
tuning part fits or making alterations such as adding rotational keys to
prevent slippage in parts that are snugly fitted. That means I may have
the same master.scad file open from 2 different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will be
superglued into it, giving a bit more surface for glue to grab. I had
saved those mods, and I can come close to reduplicating them, but I had
then reloaded that file on this machine so I had that to aid putting the
matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when I
reloaded it in order to have both machines in sync.  The trace window
says it was saved  as master.scad, but it was not. Am I fighting with a
linux bug or an openscad bug? I note that cura also forces me to exit
the directory, and re-enter it forcing a reread and reselection of the
file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush the
buffers and guarantee the on disc copy has actually been updated?
Or does openscad have an automatic save, active on both machines,
resulting in the just saved file from this machine being overwritten by
the other machines autosave of older code? If that is the case, how do I
disable that so it doesn't get overwritten when I pickup an empty coffee
cup, stop in the kitchen for a refill, and while I'm checking on how the
drive on the kitchen counter is working, which it is FWTW, my code gets
refreshed with old code from the other machine. So I render for cura
input on the other machine and get old code. That's frustrating. And it
has happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law respectable.


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

Just throwing out some ideas here. Since OpenSCAD has not been designed for collaboration (unlike, for example, Google Docs), having a file open on different machines is a dangerous practice. No one knows exactly what OpenSCAD or the OS or the file system has cached. For me, I get around this by using a manual versioning system. When I open up an OpenSCAD file, for example "mountingPlate-05.scad", I immediately "Save as..." the next version number, "mountingPlate-06.scad". I never have conflicting file saves, and I have older versions to fall back on if I really hork things up. On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett <gheskett@shentel.net> wrote: > Greetings all; > > As I have several machines, I often work from a comfortable chair as > opposed to a 90 yo kitchen chair on the machine that normally runs > openscad and cura to drive the Prusa on the net table by sneakernet and > I have developed the habit of saving before the render when I am fine > tuning part fits or making alterations such as adding rotational keys to > prevent slippage in parts that are snugly fitted. That means I may have > the same master.scad file open from 2 different machines. > > I had added such a set of 6 keys to the central hole in this drives > output disk to restrain any slippage of the timing pulley that will be > superglued into it, giving a bit more surface for glue to grab. I had > saved those mods, and I can come close to reduplicating them, but I had > then reloaded that file on this machine so I had that to aid putting the > matching key cuts in the base of the timing pulley. > > But all my work done on both machines yesterday was not there when I > reloaded it in order to have both machines in sync. The trace window > says it was saved as master.scad, but it was not. Am I fighting with a > linux bug or an openscad bug? I note that cura also forces me to exit > the directory, and re-enter it forcing a reread and reselection of the > file as a simple reload gets old data. > > What can I do to avoid a repeat of that work loss? > > Like can you add a sync command after a save or save as to flush the > buffers and guarantee the on disc copy has actually been updated? > Or does openscad have an automatic save, active on both machines, > resulting in the just saved file from this machine being overwritten by > the other machines autosave of older code? If that is the case, how do I > disable that so it doesn't get overwritten when I pickup an empty coffee > cup, stop in the kitchen for a refill, and while I'm checking on how the > drive on the kitchen counter is working, which it is FWTW, my code gets > refreshed with old code from the other machine. So I render for cura > input on the other machine and get old code. That's frustrating. And it > has happened 4 or 5 times now. > > Thank you for any assistance. > > 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) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/gene> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
FH
Father Horton
Mon, Aug 2, 2021 2:35 PM

Set up a github repository.

On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

Just throwing out some ideas here.  Since OpenSCAD has not been designed
for collaboration (unlike, for example, Google Docs), having a file open on
different machines is a dangerous practice.  No one knows exactly what
OpenSCAD or the OS or the file system has cached.

For me, I get around this by using a manual versioning system.  When I
open up an OpenSCAD file, for example "mountingPlate-05.scad", I
immediately "Save as..." the next version number, "mountingPlate-06.scad".

I never have conflicting file saves, and I have older versions to fall
back on if I really hork things up.

On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett gheskett@shentel.net wrote:

Greetings all;

As I have several machines, I often work from a comfortable chair as
opposed to a 90 yo kitchen chair on the machine that normally runs
openscad and cura to drive the Prusa on the net table by sneakernet and
I have developed the habit of saving before the render when I am fine
tuning part fits or making alterations such as adding rotational keys to
prevent slippage in parts that are snugly fitted. That means I may have
the same master.scad file open from 2 different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will be
superglued into it, giving a bit more surface for glue to grab. I had
saved those mods, and I can come close to reduplicating them, but I had
then reloaded that file on this machine so I had that to aid putting the
matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when I
reloaded it in order to have both machines in sync.  The trace window
says it was saved  as master.scad, but it was not. Am I fighting with a
linux bug or an openscad bug? I note that cura also forces me to exit
the directory, and re-enter it forcing a reread and reselection of the
file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush the
buffers and guarantee the on disc copy has actually been updated?
Or does openscad have an automatic save, active on both machines,
resulting in the just saved file from this machine being overwritten by
the other machines autosave of older code? If that is the case, how do I
disable that so it doesn't get overwritten when I pickup an empty coffee
cup, stop in the kitchen for a refill, and while I'm checking on how the
drive on the kitchen counter is working, which it is FWTW, my code gets
refreshed with old code from the other machine. So I render for cura
input on the other machine and get old code. That's frustrating. And it
has happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law respectable.


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

Set up a github repository. On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann < lenstruttmann@gmail.com> wrote: > Just throwing out some ideas here. Since OpenSCAD has not been designed > for collaboration (unlike, for example, Google Docs), having a file open on > different machines is a dangerous practice. No one knows exactly what > OpenSCAD or the OS or the file system has cached. > > For me, I get around this by using a manual versioning system. When I > open up an OpenSCAD file, for example "mountingPlate-05.scad", I > immediately "Save as..." the next version number, "mountingPlate-06.scad". > > I never have conflicting file saves, and I have older versions to fall > back on if I really hork things up. > > > > On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett <gheskett@shentel.net> wrote: > >> Greetings all; >> >> As I have several machines, I often work from a comfortable chair as >> opposed to a 90 yo kitchen chair on the machine that normally runs >> openscad and cura to drive the Prusa on the net table by sneakernet and >> I have developed the habit of saving before the render when I am fine >> tuning part fits or making alterations such as adding rotational keys to >> prevent slippage in parts that are snugly fitted. That means I may have >> the same master.scad file open from 2 different machines. >> >> I had added such a set of 6 keys to the central hole in this drives >> output disk to restrain any slippage of the timing pulley that will be >> superglued into it, giving a bit more surface for glue to grab. I had >> saved those mods, and I can come close to reduplicating them, but I had >> then reloaded that file on this machine so I had that to aid putting the >> matching key cuts in the base of the timing pulley. >> >> But all my work done on both machines yesterday was not there when I >> reloaded it in order to have both machines in sync. The trace window >> says it was saved as master.scad, but it was not. Am I fighting with a >> linux bug or an openscad bug? I note that cura also forces me to exit >> the directory, and re-enter it forcing a reread and reselection of the >> file as a simple reload gets old data. >> >> What can I do to avoid a repeat of that work loss? >> >> Like can you add a sync command after a save or save as to flush the >> buffers and guarantee the on disc copy has actually been updated? >> Or does openscad have an automatic save, active on both machines, >> resulting in the just saved file from this machine being overwritten by >> the other machines autosave of older code? If that is the case, how do I >> disable that so it doesn't get overwritten when I pickup an empty coffee >> cup, stop in the kitchen for a refill, and while I'm checking on how the >> drive on the kitchen counter is working, which it is FWTW, my code gets >> refreshed with old code from the other machine. So I render for cura >> input on the other machine and get old code. That's frustrating. And it >> has happened 4 or 5 times now. >> >> Thank you for any assistance. >> >> 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) >> If we desire respect for the law, we must first make the law respectable. >> - Louis D. Brandeis >> Genes Web page <http://geneslinuxbox.net:6309/gene> >> _______________________________________________ >> 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 >
MM
Michael Möller
Mon, Aug 2, 2021 4:18 PM

I have a SpiderOak setup. Whilst it primarily is a continous backup
service, it includes synching a designated folder tree between machines,
and versioning. Never looked back. My "design" machine is on the 1st floor,
and I hit save, and by the time I am downstairs in the mancave the file is
updated on the pc there, for uploading to the printer

(Well, I've improved the setup lately, the Slic3r downloads direct to the
printer, and I can see progress on the camera ...)

Michael, fra mobilen

man. 2. aug. 2021 15.53 skrev Gene Heskett gheskett@shentel.net:

Greetings all;

As I have several machines, I often work from a comfortable chair as
opposed to a 90 yo kitchen chair on the machine that normally runs
openscad and cura to drive the Prusa on the net table by sneakernet and
I have developed the habit of saving before the render when I am fine
tuning part fits or making alterations such as adding rotational keys to
prevent slippage in parts that are snugly fitted. That means I may have
the same master.scad file open from 2 different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will be
superglued into it, giving a bit more surface for glue to grab. I had
saved those mods, and I can come close to reduplicating them, but I had
then reloaded that file on this machine so I had that to aid putting the
matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when I
reloaded it in order to have both machines in sync.  The trace window
says it was saved  as master.scad, but it was not. Am I fighting with a
linux bug or an openscad bug? I note that cura also forces me to exit
the directory, and re-enter it forcing a reread and reselection of the
file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush the
buffers and guarantee the on disc copy has actually been updated?
Or does openscad have an automatic save, active on both machines,
resulting in the just saved file from this machine being overwritten by
the other machines autosave of older code? If that is the case, how do I
disable that so it doesn't get overwritten when I pickup an empty coffee
cup, stop in the kitchen for a refill, and while I'm checking on how the
drive on the kitchen counter is working, which it is FWTW, my code gets
refreshed with old code from the other machine. So I render for cura
input on the other machine and get old code. That's frustrating. And it
has happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law respectable.


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

I have a SpiderOak setup. Whilst it primarily is a continous backup service, it includes synching a designated folder tree between machines, and versioning. Never looked back. My "design" machine is on the 1st floor, and I hit save, and by the time I am downstairs in the mancave the file is updated on the pc there, for uploading to the printer (Well, I've improved the setup lately, the Slic3r downloads direct to the printer, and I can see progress on the camera ...) Michael, fra mobilen man. 2. aug. 2021 15.53 skrev Gene Heskett <gheskett@shentel.net>: > Greetings all; > > As I have several machines, I often work from a comfortable chair as > opposed to a 90 yo kitchen chair on the machine that normally runs > openscad and cura to drive the Prusa on the net table by sneakernet and > I have developed the habit of saving before the render when I am fine > tuning part fits or making alterations such as adding rotational keys to > prevent slippage in parts that are snugly fitted. That means I may have > the same master.scad file open from 2 different machines. > > I had added such a set of 6 keys to the central hole in this drives > output disk to restrain any slippage of the timing pulley that will be > superglued into it, giving a bit more surface for glue to grab. I had > saved those mods, and I can come close to reduplicating them, but I had > then reloaded that file on this machine so I had that to aid putting the > matching key cuts in the base of the timing pulley. > > But all my work done on both machines yesterday was not there when I > reloaded it in order to have both machines in sync. The trace window > says it was saved as master.scad, but it was not. Am I fighting with a > linux bug or an openscad bug? I note that cura also forces me to exit > the directory, and re-enter it forcing a reread and reselection of the > file as a simple reload gets old data. > > What can I do to avoid a repeat of that work loss? > > Like can you add a sync command after a save or save as to flush the > buffers and guarantee the on disc copy has actually been updated? > Or does openscad have an automatic save, active on both machines, > resulting in the just saved file from this machine being overwritten by > the other machines autosave of older code? If that is the case, how do I > disable that so it doesn't get overwritten when I pickup an empty coffee > cup, stop in the kitchen for a refill, and while I'm checking on how the > drive on the kitchen counter is working, which it is FWTW, my code gets > refreshed with old code from the other machine. So I render for cura > input on the other machine and get old code. That's frustrating. And it > has happened 4 or 5 times now. > > Thank you for any assistance. > > 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) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/gene> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
TH
Tim Hawkins
Mon, Aug 2, 2021 9:13 PM

+1

I use the openscad plugin for the free version of intelij community IDE
which gives both an excellent interface to github, and adds proper code
formating for scad projects too. Proper editor with render/export using
OpenScad.

On Mon, Aug 2, 2021, 22:35 Father Horton fatherhorton@gmail.com wrote:

Set up a github repository.

On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

Just throwing out some ideas here.  Since OpenSCAD has not been designed
for collaboration (unlike, for example, Google Docs), having a file open on
different machines is a dangerous practice.  No one knows exactly what
OpenSCAD or the OS or the file system has cached.

For me, I get around this by using a manual versioning system.  When I
open up an OpenSCAD file, for example "mountingPlate-05.scad", I
immediately "Save as..." the next version number, "mountingPlate-06.scad".

I never have conflicting file saves, and I have older versions to fall
back on if I really hork things up.

On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett gheskett@shentel.net wrote:

Greetings all;

As I have several machines, I often work from a comfortable chair as
opposed to a 90 yo kitchen chair on the machine that normally runs
openscad and cura to drive the Prusa on the net table by sneakernet and
I have developed the habit of saving before the render when I am fine
tuning part fits or making alterations such as adding rotational keys to
prevent slippage in parts that are snugly fitted. That means I may have
the same master.scad file open from 2 different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will be
superglued into it, giving a bit more surface for glue to grab. I had
saved those mods, and I can come close to reduplicating them, but I had
then reloaded that file on this machine so I had that to aid putting the
matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when I
reloaded it in order to have both machines in sync.  The trace window
says it was saved  as master.scad, but it was not. Am I fighting with a
linux bug or an openscad bug? I note that cura also forces me to exit
the directory, and re-enter it forcing a reread and reselection of the
file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush the
buffers and guarantee the on disc copy has actually been updated?
Or does openscad have an automatic save, active on both machines,
resulting in the just saved file from this machine being overwritten by
the other machines autosave of older code? If that is the case, how do I
disable that so it doesn't get overwritten when I pickup an empty coffee
cup, stop in the kitchen for a refill, and while I'm checking on how the
drive on the kitchen counter is working, which it is FWTW, my code gets
refreshed with old code from the other machine. So I render for cura
input on the other machine and get old code. That's frustrating. And it
has happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law respectable.


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

+1 I use the openscad plugin for the free version of intelij community IDE which gives both an excellent interface to github, and adds proper code formating for scad projects too. Proper editor with render/export using OpenScad. On Mon, Aug 2, 2021, 22:35 Father Horton <fatherhorton@gmail.com> wrote: > Set up a github repository. > > On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann < > lenstruttmann@gmail.com> wrote: > >> Just throwing out some ideas here. Since OpenSCAD has not been designed >> for collaboration (unlike, for example, Google Docs), having a file open on >> different machines is a dangerous practice. No one knows exactly what >> OpenSCAD or the OS or the file system has cached. >> >> For me, I get around this by using a manual versioning system. When I >> open up an OpenSCAD file, for example "mountingPlate-05.scad", I >> immediately "Save as..." the next version number, "mountingPlate-06.scad". >> >> I never have conflicting file saves, and I have older versions to fall >> back on if I really hork things up. >> >> >> >> On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett <gheskett@shentel.net> wrote: >> >>> Greetings all; >>> >>> As I have several machines, I often work from a comfortable chair as >>> opposed to a 90 yo kitchen chair on the machine that normally runs >>> openscad and cura to drive the Prusa on the net table by sneakernet and >>> I have developed the habit of saving before the render when I am fine >>> tuning part fits or making alterations such as adding rotational keys to >>> prevent slippage in parts that are snugly fitted. That means I may have >>> the same master.scad file open from 2 different machines. >>> >>> I had added such a set of 6 keys to the central hole in this drives >>> output disk to restrain any slippage of the timing pulley that will be >>> superglued into it, giving a bit more surface for glue to grab. I had >>> saved those mods, and I can come close to reduplicating them, but I had >>> then reloaded that file on this machine so I had that to aid putting the >>> matching key cuts in the base of the timing pulley. >>> >>> But all my work done on both machines yesterday was not there when I >>> reloaded it in order to have both machines in sync. The trace window >>> says it was saved as master.scad, but it was not. Am I fighting with a >>> linux bug or an openscad bug? I note that cura also forces me to exit >>> the directory, and re-enter it forcing a reread and reselection of the >>> file as a simple reload gets old data. >>> >>> What can I do to avoid a repeat of that work loss? >>> >>> Like can you add a sync command after a save or save as to flush the >>> buffers and guarantee the on disc copy has actually been updated? >>> Or does openscad have an automatic save, active on both machines, >>> resulting in the just saved file from this machine being overwritten by >>> the other machines autosave of older code? If that is the case, how do I >>> disable that so it doesn't get overwritten when I pickup an empty coffee >>> cup, stop in the kitchen for a refill, and while I'm checking on how the >>> drive on the kitchen counter is working, which it is FWTW, my code gets >>> refreshed with old code from the other machine. So I render for cura >>> input on the other machine and get old code. That's frustrating. And it >>> has happened 4 or 5 times now. >>> >>> Thank you for any assistance. >>> >>> 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) >>> If we desire respect for the law, we must first make the law respectable. >>> - Louis D. Brandeis >>> Genes Web page <http://geneslinuxbox.net:6309/gene> >>> _______________________________________________ >>> 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 >
TH
Tim Hawkins
Mon, Aug 2, 2021 9:15 PM

+1

I use the openscad plugin for the free version of intelij community IDE
which gives both an excellent interface to github, and adds proper code
formating for scad projects too. Proper editor with render/export using
OpenScad.

On Mon, Aug 2, 2021, 22:35 Father Horton fatherhorton@gmail.com wrote:

Set up a github repository.

On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

Just throwing out some ideas here.  Since OpenSCAD has not been designed
for collaboration (unlike, for example, Google Docs), having a file open on
different machines is a dangerous practice.  No one knows exactly what
OpenSCAD or the OS or the file system has cached.

For me, I get around this by using a manual versioning system.  When I
open up an OpenSCAD file, for example "mountingPlate-05.scad", I
immediately "Save as..." the next version number, "mountingPlate-06.scad".

I never have conflicting file saves, and I have older versions to fall
back on if I really hork things up.

On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett gheskett@shentel.net
wrote:

Greetings all;

As I have several machines, I often work from a comfortable chair as
opposed to a 90 yo kitchen chair on the machine that normally runs
openscad and cura to drive the Prusa on the net table by sneakernet and
I have developed the habit of saving before the render when I am fine
tuning part fits or making alterations such as adding rotational keys
to
prevent slippage in parts that are snugly fitted. That means I may have
the same master.scad file open from 2 different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will be
superglued into it, giving a bit more surface for glue to grab. I had
saved those mods, and I can come close to reduplicating them, but I had
then reloaded that file on this machine so I had that to aid putting
the
matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when I
reloaded it in order to have both machines in sync.  The trace window
says it was saved  as master.scad, but it was not. Am I fighting with a
linux bug or an openscad bug? I note that cura also forces me to exit
the directory, and re-enter it forcing a reread and reselection of the
file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush the
buffers and guarantee the on disc copy has actually been updated?
Or does openscad have an automatic save, active on both machines,
resulting in the just saved file from this machine being overwritten by
the other machines autosave of older code? If that is the case, how do
I
disable that so it doesn't get overwritten when I pickup an empty
coffee
cup, stop in the kitchen for a refill, and while I'm checking on how
the
drive on the kitchen counter is working, which it is FWTW, my code gets
refreshed with old code from the other machine. So I render for cura
input on the other machine and get old code. That's frustrating. And it
has happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law
respectable.


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

Ps https://plugins.jetbrains.com/plugin/11198-openscad-language-support On Tue, Aug 3, 2021, 05:13 Tim Hawkins <tim.thawkins@gmail.com> wrote: > +1 > > I use the openscad plugin for the free version of intelij community IDE > which gives both an excellent interface to github, and adds proper code > formating for scad projects too. Proper editor with render/export using > OpenScad. > > On Mon, Aug 2, 2021, 22:35 Father Horton <fatherhorton@gmail.com> wrote: > >> Set up a github repository. >> >> On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann < >> lenstruttmann@gmail.com> wrote: >> >>> Just throwing out some ideas here. Since OpenSCAD has not been designed >>> for collaboration (unlike, for example, Google Docs), having a file open on >>> different machines is a dangerous practice. No one knows exactly what >>> OpenSCAD or the OS or the file system has cached. >>> >>> For me, I get around this by using a manual versioning system. When I >>> open up an OpenSCAD file, for example "mountingPlate-05.scad", I >>> immediately "Save as..." the next version number, "mountingPlate-06.scad". >>> >>> I never have conflicting file saves, and I have older versions to fall >>> back on if I really hork things up. >>> >>> >>> >>> On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett <gheskett@shentel.net> >>> wrote: >>> >>>> Greetings all; >>>> >>>> As I have several machines, I often work from a comfortable chair as >>>> opposed to a 90 yo kitchen chair on the machine that normally runs >>>> openscad and cura to drive the Prusa on the net table by sneakernet and >>>> I have developed the habit of saving before the render when I am fine >>>> tuning part fits or making alterations such as adding rotational keys >>>> to >>>> prevent slippage in parts that are snugly fitted. That means I may have >>>> the same master.scad file open from 2 different machines. >>>> >>>> I had added such a set of 6 keys to the central hole in this drives >>>> output disk to restrain any slippage of the timing pulley that will be >>>> superglued into it, giving a bit more surface for glue to grab. I had >>>> saved those mods, and I can come close to reduplicating them, but I had >>>> then reloaded that file on this machine so I had that to aid putting >>>> the >>>> matching key cuts in the base of the timing pulley. >>>> >>>> But all my work done on both machines yesterday was not there when I >>>> reloaded it in order to have both machines in sync. The trace window >>>> says it was saved as master.scad, but it was not. Am I fighting with a >>>> linux bug or an openscad bug? I note that cura also forces me to exit >>>> the directory, and re-enter it forcing a reread and reselection of the >>>> file as a simple reload gets old data. >>>> >>>> What can I do to avoid a repeat of that work loss? >>>> >>>> Like can you add a sync command after a save or save as to flush the >>>> buffers and guarantee the on disc copy has actually been updated? >>>> Or does openscad have an automatic save, active on both machines, >>>> resulting in the just saved file from this machine being overwritten by >>>> the other machines autosave of older code? If that is the case, how do >>>> I >>>> disable that so it doesn't get overwritten when I pickup an empty >>>> coffee >>>> cup, stop in the kitchen for a refill, and while I'm checking on how >>>> the >>>> drive on the kitchen counter is working, which it is FWTW, my code gets >>>> refreshed with old code from the other machine. So I render for cura >>>> input on the other machine and get old code. That's frustrating. And it >>>> has happened 4 or 5 times now. >>>> >>>> Thank you for any assistance. >>>> >>>> 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) >>>> If we desire respect for the law, we must first make the law >>>> respectable. >>>> - Louis D. Brandeis >>>> Genes Web page <http://geneslinuxbox.net:6309/gene> >>>> _______________________________________________ >>>> 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 >> >
GH
Gene Heskett
Mon, Aug 2, 2021 9:17 PM

On Monday 02 August 2021 10:30:07 Leonard Martin Struttmann wrote:

Just throwing out some ideas here.  Since OpenSCAD has not been
designed for collaboration (unlike, for example, Google Docs), having
a file open on different machines is a dangerous practice.  No one
knows exactly what OpenSCAD or the OS or the file system has cached.

For me, I get around this by using a manual versioning system.  When I
open up an OpenSCAD file, for example "mountingPlate-05.scad", I
immediately "Save as..." the next version number,
"mountingPlate-06.scad".

I never have conflicting file saves, and I have older versions to fall
back on if I really hork things up.

An idea I should adopt.  Thanks.

On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett gheskett@shentel.net

wrote:

Greetings all;

As I have several machines, I often work from a comfortable chair as
opposed to a 90 yo kitchen chair on the machine that normally runs
openscad and cura to drive the Prusa on the net table by sneakernet
and I have developed the habit of saving before the render when I am
fine tuning part fits or making alterations such as adding
rotational keys to prevent slippage in parts that are snugly fitted.
That means I may have the same master.scad file open from 2
different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will
be superglued into it, giving a bit more surface for glue to grab. I
had saved those mods, and I can come close to reduplicating them,
but I had then reloaded that file on this machine so I had that to
aid putting the matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when I
reloaded it in order to have both machines in sync.  The trace
window says it was saved  as master.scad, but it was not. Am I
fighting with a linux bug or an openscad bug? I note that cura also
forces me to exit the directory, and re-enter it forcing a reread
and reselection of the file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush the
buffers and guarantee the on disc copy has actually been updated?
Or does openscad have an automatic save, active on both machines,
resulting in the just saved file from this machine being overwritten
by the other machines autosave of older code? If that is the case,
how do I disable that so it doesn't get overwritten when I pickup an
empty coffee cup, stop in the kitchen for a refill, and while I'm
checking on how the drive on the kitchen counter is working, which
it is FWTW, my code gets refreshed with old code from the other
machine. So I render for cura input on the other machine and get old
code. That's frustrating. And it has happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law
respectable. - Louis D. Brandeis
Genes Web page http://geneslinuxbox.net:6309/gene


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)
If we desire respect for the law, we must first make the law respectable.

On Monday 02 August 2021 10:30:07 Leonard Martin Struttmann wrote: > Just throwing out some ideas here. Since OpenSCAD has not been > designed for collaboration (unlike, for example, Google Docs), having > a file open on different machines is a dangerous practice. No one > knows exactly what OpenSCAD or the OS or the file system has cached. > > For me, I get around this by using a manual versioning system. When I > open up an OpenSCAD file, for example "mountingPlate-05.scad", I > immediately "Save as..." the next version number, > "mountingPlate-06.scad". > > I never have conflicting file saves, and I have older versions to fall > back on if I really hork things up. > An idea I should adopt. Thanks. > On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett <gheskett@shentel.net> wrote: > > Greetings all; > > > > As I have several machines, I often work from a comfortable chair as > > opposed to a 90 yo kitchen chair on the machine that normally runs > > openscad and cura to drive the Prusa on the net table by sneakernet > > and I have developed the habit of saving before the render when I am > > fine tuning part fits or making alterations such as adding > > rotational keys to prevent slippage in parts that are snugly fitted. > > That means I may have the same master.scad file open from 2 > > different machines. > > > > I had added such a set of 6 keys to the central hole in this drives > > output disk to restrain any slippage of the timing pulley that will > > be superglued into it, giving a bit more surface for glue to grab. I > > had saved those mods, and I can come close to reduplicating them, > > but I had then reloaded that file on this machine so I had that to > > aid putting the matching key cuts in the base of the timing pulley. > > > > But all my work done on both machines yesterday was not there when I > > reloaded it in order to have both machines in sync. The trace > > window says it was saved as master.scad, but it was not. Am I > > fighting with a linux bug or an openscad bug? I note that cura also > > forces me to exit the directory, and re-enter it forcing a reread > > and reselection of the file as a simple reload gets old data. > > > > What can I do to avoid a repeat of that work loss? > > > > Like can you add a sync command after a save or save as to flush the > > buffers and guarantee the on disc copy has actually been updated? > > Or does openscad have an automatic save, active on both machines, > > resulting in the just saved file from this machine being overwritten > > by the other machines autosave of older code? If that is the case, > > how do I disable that so it doesn't get overwritten when I pickup an > > empty coffee cup, stop in the kitchen for a refill, and while I'm > > checking on how the drive on the kitchen counter is working, which > > it is FWTW, my code gets refreshed with old code from the other > > machine. So I render for cura input on the other machine and get old > > code. That's frustrating. And it has happened 4 or 5 times now. > > > > Thank you for any assistance. > > > > 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) > > If we desire respect for the law, we must first make the law > > respectable. - Louis D. Brandeis > > Genes Web page <http://geneslinuxbox.net:6309/gene> > > _______________________________________________ > > 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) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
GH
Gene Heskett
Mon, Aug 2, 2021 9:21 PM

On Monday 02 August 2021 10:35:04 Father Horton wrote:

Set up a github repository.

That also sounds like a good idea, except microsoft now owns github, and
I'm not about to let them see my code until I'm ready to show it off by
public release.

On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann <

lenstruttmann@gmail.com> wrote:

Just throwing out some ideas here.  Since OpenSCAD has not been
designed for collaboration (unlike, for example, Google Docs),
having a file open on different machines is a dangerous practice.
No one knows exactly what OpenSCAD or the OS or the file system has
cached.

For me, I get around this by using a manual versioning system.  When
I open up an OpenSCAD file, for example "mountingPlate-05.scad", I
immediately "Save as..." the next version number,
"mountingPlate-06.scad".

I never have conflicting file saves, and I have older versions to
fall back on if I really hork things up.

On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett gheskett@shentel.net

wrote:

Greetings all;

As I have several machines, I often work from a comfortable chair
as opposed to a 90 yo kitchen chair on the machine that normally
runs openscad and cura to drive the Prusa on the net table by
sneakernet and I have developed the habit of saving before the
render when I am fine tuning part fits or making alterations such
as adding rotational keys to prevent slippage in parts that are
snugly fitted. That means I may have the same master.scad file open
from 2 different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will
be superglued into it, giving a bit more surface for glue to grab.
I had saved those mods, and I can come close to reduplicating them,
but I had then reloaded that file on this machine so I had that to
aid putting the matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when
I reloaded it in order to have both machines in sync.  The trace
window says it was saved  as master.scad, but it was not. Am I
fighting with a linux bug or an openscad bug? I note that cura also
forces me to exit the directory, and re-enter it forcing a reread
and reselection of the file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush
the buffers and guarantee the on disc copy has actually been
updated? Or does openscad have an automatic save, active on both
machines, resulting in the just saved file from this machine being
overwritten by the other machines autosave of older code? If that
is the case, how do I disable that so it doesn't get overwritten
when I pickup an empty coffee cup, stop in the kitchen for a
refill, and while I'm checking on how the drive on the kitchen
counter is working, which it is FWTW, my code gets refreshed with
old code from the other machine. So I render for cura input on the
other machine and get old code. That's frustrating. And it has
happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law
respectable. - Louis D. Brandeis
Genes Web page http://geneslinuxbox.net:6309/gene


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

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)
If we desire respect for the law, we must first make the law respectable.

On Monday 02 August 2021 10:35:04 Father Horton wrote: > Set up a github repository. > That also sounds like a good idea, except microsoft now owns github, and I'm not about to let them see my code until I'm ready to show it off by public release. > On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann < > > lenstruttmann@gmail.com> wrote: > > Just throwing out some ideas here. Since OpenSCAD has not been > > designed for collaboration (unlike, for example, Google Docs), > > having a file open on different machines is a dangerous practice. > > No one knows exactly what OpenSCAD or the OS or the file system has > > cached. > > > > For me, I get around this by using a manual versioning system. When > > I open up an OpenSCAD file, for example "mountingPlate-05.scad", I > > immediately "Save as..." the next version number, > > "mountingPlate-06.scad". > > > > I never have conflicting file saves, and I have older versions to > > fall back on if I really hork things up. > > > > On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett <gheskett@shentel.net> wrote: > >> Greetings all; > >> > >> As I have several machines, I often work from a comfortable chair > >> as opposed to a 90 yo kitchen chair on the machine that normally > >> runs openscad and cura to drive the Prusa on the net table by > >> sneakernet and I have developed the habit of saving before the > >> render when I am fine tuning part fits or making alterations such > >> as adding rotational keys to prevent slippage in parts that are > >> snugly fitted. That means I may have the same master.scad file open > >> from 2 different machines. > >> > >> I had added such a set of 6 keys to the central hole in this drives > >> output disk to restrain any slippage of the timing pulley that will > >> be superglued into it, giving a bit more surface for glue to grab. > >> I had saved those mods, and I can come close to reduplicating them, > >> but I had then reloaded that file on this machine so I had that to > >> aid putting the matching key cuts in the base of the timing pulley. > >> > >> But all my work done on both machines yesterday was not there when > >> I reloaded it in order to have both machines in sync. The trace > >> window says it was saved as master.scad, but it was not. Am I > >> fighting with a linux bug or an openscad bug? I note that cura also > >> forces me to exit the directory, and re-enter it forcing a reread > >> and reselection of the file as a simple reload gets old data. > >> > >> What can I do to avoid a repeat of that work loss? > >> > >> Like can you add a sync command after a save or save as to flush > >> the buffers and guarantee the on disc copy has actually been > >> updated? Or does openscad have an automatic save, active on both > >> machines, resulting in the just saved file from this machine being > >> overwritten by the other machines autosave of older code? If that > >> is the case, how do I disable that so it doesn't get overwritten > >> when I pickup an empty coffee cup, stop in the kitchen for a > >> refill, and while I'm checking on how the drive on the kitchen > >> counter is working, which it is FWTW, my code gets refreshed with > >> old code from the other machine. So I render for cura input on the > >> other machine and get old code. That's frustrating. And it has > >> happened 4 or 5 times now. > >> > >> Thank you for any assistance. > >> > >> 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) > >> If we desire respect for the law, we must first make the law > >> respectable. - Louis D. Brandeis > >> Genes Web page <http://geneslinuxbox.net:6309/gene> > >> _______________________________________________ > >> 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 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) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>
FH
Father Horton
Mon, Aug 2, 2021 10:43 PM

There are other places, or if you’re brave you can set it up on your own
network.

On Mon, Aug 2, 2021 at 4:21 PM Gene Heskett gheskett@shentel.net wrote:

On Monday 02 August 2021 10:35:04 Father Horton wrote:

Set up a github repository.

That also sounds like a good idea, except microsoft now owns github, and
I'm not about to let them see my code until I'm ready to show it off by
public release.

On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann <

lenstruttmann@gmail.com> wrote:

Just throwing out some ideas here.  Since OpenSCAD has not been
designed for collaboration (unlike, for example, Google Docs),
having a file open on different machines is a dangerous practice.
No one knows exactly what OpenSCAD or the OS or the file system has
cached.

For me, I get around this by using a manual versioning system.  When
I open up an OpenSCAD file, for example "mountingPlate-05.scad", I
immediately "Save as..." the next version number,
"mountingPlate-06.scad".

I never have conflicting file saves, and I have older versions to
fall back on if I really hork things up.

On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett gheskett@shentel.net

wrote:

Greetings all;

As I have several machines, I often work from a comfortable chair
as opposed to a 90 yo kitchen chair on the machine that normally
runs openscad and cura to drive the Prusa on the net table by
sneakernet and I have developed the habit of saving before the
render when I am fine tuning part fits or making alterations such
as adding rotational keys to prevent slippage in parts that are
snugly fitted. That means I may have the same master.scad file open
from 2 different machines.

I had added such a set of 6 keys to the central hole in this drives
output disk to restrain any slippage of the timing pulley that will
be superglued into it, giving a bit more surface for glue to grab.
I had saved those mods, and I can come close to reduplicating them,
but I had then reloaded that file on this machine so I had that to
aid putting the matching key cuts in the base of the timing pulley.

But all my work done on both machines yesterday was not there when
I reloaded it in order to have both machines in sync.  The trace
window says it was saved  as master.scad, but it was not. Am I
fighting with a linux bug or an openscad bug? I note that cura also
forces me to exit the directory, and re-enter it forcing a reread
and reselection of the file as a simple reload gets old data.

What can I do to avoid a repeat of that work loss?

Like can you add a sync command after a save or save as to flush
the buffers and guarantee the on disc copy has actually been
updated? Or does openscad have an automatic save, active on both
machines, resulting in the just saved file from this machine being
overwritten by the other machines autosave of older code? If that
is the case, how do I disable that so it doesn't get overwritten
when I pickup an empty coffee cup, stop in the kitchen for a
refill, and while I'm checking on how the drive on the kitchen
counter is working, which it is FWTW, my code gets refreshed with
old code from the other machine. So I render for cura input on the
other machine and get old code. That's frustrating. And it has
happened 4 or 5 times now.

Thank you for any assistance.

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)
If we desire respect for the law, we must first make the law
respectable. - Louis D. Brandeis
Genes Web page http://geneslinuxbox.net:6309/gene


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

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)
If we desire respect for the law, we must first make the law respectable.


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

There are other places, or if you’re brave you can set it up on your own network. On Mon, Aug 2, 2021 at 4:21 PM Gene Heskett <gheskett@shentel.net> wrote: > On Monday 02 August 2021 10:35:04 Father Horton wrote: > > > Set up a github repository. > > > That also sounds like a good idea, except microsoft now owns github, and > I'm not about to let them see my code until I'm ready to show it off by > public release. > > > On Mon, Aug 2, 2021 at 9:30 AM Leonard Martin Struttmann < > > > > lenstruttmann@gmail.com> wrote: > > > Just throwing out some ideas here. Since OpenSCAD has not been > > > designed for collaboration (unlike, for example, Google Docs), > > > having a file open on different machines is a dangerous practice. > > > No one knows exactly what OpenSCAD or the OS or the file system has > > > cached. > > > > > > For me, I get around this by using a manual versioning system. When > > > I open up an OpenSCAD file, for example "mountingPlate-05.scad", I > > > immediately "Save as..." the next version number, > > > "mountingPlate-06.scad". > > > > > > I never have conflicting file saves, and I have older versions to > > > fall back on if I really hork things up. > > > > > > On Mon, Aug 2, 2021 at 8:53 AM Gene Heskett <gheskett@shentel.net> > wrote: > > >> Greetings all; > > >> > > >> As I have several machines, I often work from a comfortable chair > > >> as opposed to a 90 yo kitchen chair on the machine that normally > > >> runs openscad and cura to drive the Prusa on the net table by > > >> sneakernet and I have developed the habit of saving before the > > >> render when I am fine tuning part fits or making alterations such > > >> as adding rotational keys to prevent slippage in parts that are > > >> snugly fitted. That means I may have the same master.scad file open > > >> from 2 different machines. > > >> > > >> I had added such a set of 6 keys to the central hole in this drives > > >> output disk to restrain any slippage of the timing pulley that will > > >> be superglued into it, giving a bit more surface for glue to grab. > > >> I had saved those mods, and I can come close to reduplicating them, > > >> but I had then reloaded that file on this machine so I had that to > > >> aid putting the matching key cuts in the base of the timing pulley. > > >> > > >> But all my work done on both machines yesterday was not there when > > >> I reloaded it in order to have both machines in sync. The trace > > >> window says it was saved as master.scad, but it was not. Am I > > >> fighting with a linux bug or an openscad bug? I note that cura also > > >> forces me to exit the directory, and re-enter it forcing a reread > > >> and reselection of the file as a simple reload gets old data. > > >> > > >> What can I do to avoid a repeat of that work loss? > > >> > > >> Like can you add a sync command after a save or save as to flush > > >> the buffers and guarantee the on disc copy has actually been > > >> updated? Or does openscad have an automatic save, active on both > > >> machines, resulting in the just saved file from this machine being > > >> overwritten by the other machines autosave of older code? If that > > >> is the case, how do I disable that so it doesn't get overwritten > > >> when I pickup an empty coffee cup, stop in the kitchen for a > > >> refill, and while I'm checking on how the drive on the kitchen > > >> counter is working, which it is FWTW, my code gets refreshed with > > >> old code from the other machine. So I render for cura input on the > > >> other machine and get old code. That's frustrating. And it has > > >> happened 4 or 5 times now. > > >> > > >> Thank you for any assistance. > > >> > > >> 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) > > >> If we desire respect for the law, we must first make the law > > >> respectable. - Louis D. Brandeis > > >> Genes Web page <http://geneslinuxbox.net:6309/gene> > > >> _______________________________________________ > > >> 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 > > > 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) > If we desire respect for the law, we must first make the law respectable. > - Louis D. Brandeis > Genes Web page <http://geneslinuxbox.net:6309/gene> > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org >
L
larry
Tue, Aug 3, 2021 1:08 AM

On Mon, 2021-08-02 at 09:30 -0500, Leonard Martin Struttmann wrote:

For me, I get around this by using a manual versioning system.  When
I open up an OpenSCAD file, for example "mountingPlate-05.scad", I
immediately "Save as..." the next version number, "mountingPlate-
06.scad".

I never have conflicting file saves, and I have older versions to
fall back on if I really hork things up.

THAT is one heck of a good idea! Works for all sorts of different
files, not just OpenSCAD.

On Mon, 2021-08-02 at 09:30 -0500, Leonard Martin Struttmann wrote: > For me, I get around this by using a manual versioning system. When > I open up an OpenSCAD file, for example "mountingPlate-05.scad", I > immediately "Save as..." the next version number, "mountingPlate- > 06.scad". > > I never have conflicting file saves, and I have older versions to > fall back on if I really hork things up. THAT is one heck of a good idea! Works for all sorts of different files, not just OpenSCAD.