I open a SCAD file and change a parameter in Customizer. The change is
reflected in the display when I click Preview or use F5. If I then save the
SCAD, a JSON is automatically created with the same name. But when opened in
my text editor I see that does /not /reflect the change.
I had assumed I could use the JSON as a work around for what strikes me as
an odd feature of openSCAD, namely that changes in Customizer are not
automatically reflected in the code pane.
Where am I going wrong please?
--
Sent from: http://forum.openscad.org/
OK, I think I now see the answer is embarrassingly obvious: I need to use
Save Preset, yes?
Still seems rather counter intuitive though, that changing a parameter in
Customizer does not ripple through the code?
--
Sent from: http://forum.openscad.org/
As I understand it, Customizer in OpenSCAD was added to model how
Customizer on Thingiverse will work without having to:
while(errors){
edit code;
upload code;
save changes;
open in customizer;
}
the way you are supposed to make changes, is by editing the parameters
directly, and hit save. Think of Customizer in OpenSCAD as "Thingiverse
Customizer Simulator".
On Thu, Apr 8, 2021 at 7:32 AM Terrypin via Discuss <
discuss@lists.openscad.org> wrote:
OK, I think I now see the answer is embarrassingly obvious: I need to use Save
Preset, yes?
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/
at Nabble.com.
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org
Thanks. Guess I’ll have to get into the habit of ignoring Customizer then.
Otherwise, keeping track of changes seems potentially messy.
BTW, have I become anonymous as the result of unsubscribing from the mailing
list?
Terry
--
Sent from: http://forum.openscad.org/
It might seem more intuitive if you had the Editor pane open at the time of
your save. When you do a File>Save, you're saving the contents of the
Editor pane. What you do in the Customizer pane are just temporary
overrides to the defaults you set up in the code (Editor). Yes you can save
those overrides as Presets. You may have hundreds of Presets for a single
instance of code. It's more useful, and more efficient from a space
perspective, to save those presets separately in a .json file. You can then
call them up individually simply by choosing a value from the pulldown list.
From: Terrypin T.pinnell@btinternet.com
Sent: Thursday, April 8, 2021 5:32 AM
To: discuss@lists.openscad.org
Subject: [OpenSCAD] Re: Novice, confused about saving files
OK, I think I now see the answer is embarrassingly obvious: I need to use
Save Preset, yes?
Still seems rather counter intuitive though, that changing a parameter in
Customizer does not ripple through the code?
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/ at
Nabble.com.
Thanks, understood. I’ll switch to the approach you suggest and see how I get
on. It’s easy to modify parameters in the editor window when the code is
prominently parametrised. But that’s not always the case in the files I’ve
downloaded, and changing all instances can then be relatively difficult.
Terry
--
Sent from: http://forum.openscad.org/
OpenSCAD mailing list-2 wrote
BTW, have I become anonymous as the result of unsubscribing from the
mailing
list?
Terry
No, there are some mailing systems (or methods* users use?) which have the
mail headers different.
(* different reply options?)
e.g. Your quoted message
To: discuss@lists.openscad.org
X-MailFrom: T.pinnell@btinternet.com
Reply-To: OpenSCAD general discussion discuss@lists.openscad.org
Subject: [OpenSCAD] Re: Novice, confused about saving files
From: Terrypin via Discuss discuss@lists.openscad.org
<<====== this
Cc: Terrypin T.pinnell@btinternet.com
Nabble then can't match the From:
v's
From: MichaelAtOz oz.at.michael@gmail.com
<<====== this
To: discuss@lists.openscad.org
X-MailFrom: oz.at.michael@gmail.com
Reply-To: OpenSCAD general discussion discuss@lists.openscad.org
Subject: [OpenSCAD] Re: Complex model - reducing render time
I have noticed primarily yahoo.com aol.com and some others.
Still trying to find a workaround.
OpenSCAD Admin - email* me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
--
Sent from: http://forum.openscad.org/
Hi Terry,
Don’t ignore the Customizer. It changed my life as a designer of assistive technology. I can write one bit of OpenSCAD code that others can use to create hundreds of custom device variants. If you’re not thinking in terms of customization then, yes you probably can ignore the Customizer. And free up some screen real-estate 😊. You may also want to consider doing your coding outside of the Editor pane in a separate application like Notepad++ and watching the changes you make automatically update the display in OpenSCAD when you save the file in Notepad++.
Thanks,
Ken
From: Terrypin T.pinnell@btinternet.com
Sent: Saturday, April 10, 2021 6:48 AM
To: discuss@lists.openscad.org
Subject: [OpenSCAD] Re: Novice, confused about saving files
Thanks. Guess I’ll have to get into the habit of ignoring Customizer then. Otherwise, keeping track of changes seems potentially messy.
BTW, have I become anonymous as the result of unsubscribing from the mailing list?
Terry
Sent from the OpenSCAD mailing list archive http://forum.openscad.org/ at Nabble.com.
Thanks Ken. Of course, as a beginner I see Customizer from a different angle
to that taken by a developer. I was pleased to be able to modify parameters
so easily. But after a succession of these (some followed by actual prints),
i wanted to open the latest code for further learning and editing. So I was
baffled why the code remained unchanged since I’d downloaded it. And my
changes were unavailAble in a SCAD file!
From discussion here I now gather that is by design, although I remain
somewhat unclear why.
Also, could you explain what advantage stems from bringing my text editor
into the workflow please?
Terry
--
Sent from: http://forum.openscad.org/
Thanks but I still don’t get it, sorry! I’m using /only/ the forum, so....?
It’s trivial I know (adding my sig fixes the anonymity) but is there really
no simple fix to display ‘terrypin’ rather than ‘OpenSCAD mailing list-2’?
Terry
--
Sent from: http://forum.openscad.org/