discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

customizer preset storage

K
ken@volksswitch.org
Wed, Nov 14, 2018 10:56 PM

Does anyone know where customizer presets are stored?

Thanks,

Ken

Does anyone know where customizer presets are stored? Thanks, Ken
KT
Kevin Toppenberg
Thu, Nov 15, 2018 3:46 AM

I don't understand your question.  What presets?

Kevin

On Wed, Nov 14, 2018 at 5:57 PM ken@volksswitch.org wrote:

Does anyone know where customizer presets are stored?

Thanks,

Ken


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

I don't understand your question. What presets? Kevin On Wed, Nov 14, 2018 at 5:57 PM <ken@volksswitch.org> wrote: > Does anyone know where customizer presets are stored? > > > > Thanks, > > Ken > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
MF
Michael Frey
Thu, Nov 15, 2018 4:17 AM

Hi Ken,

On 14.11.18 23:56, ken@volksswitch.org wrote:

Does anyone know where customizer presets are stored?

When you talk about the customizer build in to the development snapshots
of openscad it self:

OpenSCAD takes the file name and replaces the .scad file ending with
.json and stores the presets it in that json file.

So: C:\user\myDesign.scad has its presets stored in C:\user\myDesign.json

It is the same with the examples that ship with openscad that have presets.

You can easily read the json with any text editor.

When you save your design with a different name (e.g.
d:\backup\test.scad), in theory it should also save the preset under the
new name (e.g. d:\backup\test.json),. (but I have not tested that in a
long time. It would be a bug if it does not, but things can break during
refactoring)

With kind regards,

Michael Frey

Hi Ken, On 14.11.18 23:56, ken@volksswitch.org wrote: > > Does anyone know where customizer presets are stored? > When you talk about the customizer build in to the development snapshots of openscad it self: OpenSCAD takes the file name and replaces the .scad file ending with .json and stores the presets it in that json file. So: C:\user\myDesign.scad has its presets stored in C:\user\myDesign.json It is the same with the examples that ship with openscad that have presets. You can easily read the json with any text editor. When you save your design with a different name (e.g. d:\backup\test.scad), in theory it should also save the preset under the new name (e.g. d:\backup\test.json),. (but I have not tested that in a long time. It would be a bug if it does not, but things can break during refactoring) With kind regards, Michael Frey
KT
Kevin Toppenberg
Thu, Nov 15, 2018 1:49 PM

OK, thanks

On Wed, Nov 14, 2018 at 11:18 PM Michael Frey michael.frey@gmx.ch wrote:

Hi Ken,

On 14.11.18 23:56, ken@volksswitch.org wrote:

Does anyone know where customizer presets are stored?

When you talk about the customizer build in to the development snapshots
of openscad it self:

OpenSCAD takes the file name and replaces the .scad file ending with .json
and stores the presets it in that json file.

So: C:\user\myDesign.scad has its presets stored in C:\user\myDesign.json

It is the same with the examples that ship with openscad that have presets.

You can easily read the json with any text editor.

When you save your design with a different name (e.g.
d:\backup\test.scad), in theory it should also save the preset under the
new name (e.g. d:\backup\test.json),. (but I have not tested that in a long
time. It would be a bug if it does not, but things can break during
refactoring)

With kind regards,

Michael Frey


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

OK, thanks On Wed, Nov 14, 2018 at 11:18 PM Michael Frey <michael.frey@gmx.ch> wrote: > Hi Ken, > > On 14.11.18 23:56, ken@volksswitch.org wrote: > > Does anyone know where customizer presets are stored? > > When you talk about the customizer build in to the development snapshots > of openscad it self: > > OpenSCAD takes the file name and replaces the .scad file ending with .json > and stores the presets it in that json file. > > So: C:\user\myDesign.scad has its presets stored in C:\user\myDesign.json > > It is the same with the examples that ship with openscad that have presets. > > You can easily read the json with any text editor. > > When you save your design with a different name (e.g. > d:\backup\test.scad), in theory it should also save the preset under the > new name (e.g. d:\backup\test.json),. (but I have not tested that in a long > time. It would be a bug if it does not, but things can break during > refactoring) > > With kind regards, > > Michael Frey > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
WA
William Adams
Thu, Nov 15, 2018 2:05 PM

Also, you can save multiple settings / versions of settings under different
names --- I worked up the code for parsing this in lualatex/metapost if it
would help.

William

On Thu, Nov 15, 2018 at 8:51 AM Kevin Toppenberg kdtop3@gmail.com wrote:

OK, thanks

On Wed, Nov 14, 2018 at 11:18 PM Michael Frey michael.frey@gmx.ch wrote:

Hi Ken,

On 14.11.18 23:56, ken@volksswitch.org wrote:

Does anyone know where customizer presets are stored?

When you talk about the customizer build in to the development snapshots
of openscad it self:

OpenSCAD takes the file name and replaces the .scad file ending with
.json and stores the presets it in that json file.

So: C:\user\myDesign.scad has its presets stored in C:\user\myDesign.json

It is the same with the examples that ship with openscad that have
presets.

You can easily read the json with any text editor.

When you save your design with a different name (e.g.
d:\backup\test.scad), in theory it should also save the preset under the
new name (e.g. d:\backup\test.json),. (but I have not tested that in a long
time. It would be a bug if it does not, but things can break during
refactoring)

With kind regards,

Michael Frey


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Also, you can save multiple settings / versions of settings under different names --- I worked up the code for parsing this in lualatex/metapost if it would help. William On Thu, Nov 15, 2018 at 8:51 AM Kevin Toppenberg <kdtop3@gmail.com> wrote: > OK, thanks > > > On Wed, Nov 14, 2018 at 11:18 PM Michael Frey <michael.frey@gmx.ch> wrote: > >> Hi Ken, >> >> On 14.11.18 23:56, ken@volksswitch.org wrote: >> >> Does anyone know where customizer presets are stored? >> >> When you talk about the customizer build in to the development snapshots >> of openscad it self: >> >> OpenSCAD takes the file name and replaces the .scad file ending with >> .json and stores the presets it in that json file. >> >> So: C:\user\myDesign.scad has its presets stored in C:\user\myDesign.json >> >> It is the same with the examples that ship with openscad that have >> presets. >> >> You can easily read the json with any text editor. >> >> When you save your design with a different name (e.g. >> d:\backup\test.scad), in theory it should also save the preset under the >> new name (e.g. d:\backup\test.json),. (but I have not tested that in a long >> time. It would be a bug if it does not, but things can break during >> refactoring) >> >> With kind regards, >> >> Michael Frey >> _______________________________________________ >> OpenSCAD mailing list >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >