discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Templates

JB
Jordan Brown
Sun, Oct 12, 2025 11:31 PM

On 10/12/2025 4:16 PM, Jon Bondy via Discuss wrote:

I have no idea about any "key".  I finally found the file and edited
it.  That's all I know, which is more than is documented anywhere.

When you edited a template file, you found or created something like this:

{
    "key" : "translate",
    "content" : "translate([^~^])"
}

That second line is the "key" being discussed.

I added a paragraph to
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_User_Interface#Text_editor
.

That's really not ideal, because I'd call this a secondary feature and
I'd say that at that point in the manual we should only be discussing
primary features, but it's less wrong than anything else I come up with.

On 10/12/2025 4:16 PM, Jon Bondy via Discuss wrote: > I have no idea about any "key".  I finally found the file and edited > it.  That's all I know, which is more than is documented anywhere. When you edited a template file, you found or created something like this: {     "key" : "translate",     "content" : "translate([^~^])" } That second line is the "key" being discussed. I added a paragraph to https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_User_Interface#Text_editor . That's really not ideal, because I'd call this a secondary feature and I'd say that at that point in the manual we should only be discussing primary features, but it's less wrong than anything else I come up with.
JJ
jon jonbondy.com
Mon, Oct 13, 2025 12:26 AM

Thanks.

Probably written by a programmer.  A human would have called it a "name"...

:)

On 10/12/2025 7:31 PM, Jordan Brown wrote:
On 10/12/2025 4:16 PM, Jon Bondy via Discuss wrote:
I have no idea about any "key".  I finally found the file and edited it.  That's all I know, which is more than is documented anywhere.

When you edited a template file, you found or created something like this:

{
"key" : "translate",
"content" : "translate([^~^])"
}

That second line is the "key" being discussed.

I added a paragraph to https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_User_Interface#Text_editorhttps://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikibooks.org_wiki_OpenSCAD-5FUser-5FManual_The-5FOpenSCAD-5FUser-5FInterface-23Text-5Feditor&d=DwMDaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=2IG1Iv812OS0ZLgbh67kii3mwztGt_xv8ErhPuXxyKYyTJfnSHh8Sy7JKpepxmte&s=ydGHIEF8ZWb6GXBhMtp9XgJ05yRy5nZcoC2Pei_A5lM&e= .

That's really not ideal, because I'd call this a secondary feature and I'd say that at that point in the manual we should only be discussing primary features, but it's less wrong than anything else I come up with.

Thanks. Probably written by a programmer. A human would have called it a "name"... :) On 10/12/2025 7:31 PM, Jordan Brown wrote: On 10/12/2025 4:16 PM, Jon Bondy via Discuss wrote: I have no idea about any "key". I finally found the file and edited it. That's all I know, which is more than is documented anywhere. When you edited a template file, you found or created something like this: { "key" : "translate", "content" : "translate([^~^])" } That second line is the "key" being discussed. I added a paragraph to https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/The_OpenSCAD_User_Interface#Text_editor<https://urldefense.proofpoint.com/v2/url?u=https-3A__en.wikibooks.org_wiki_OpenSCAD-5FUser-5FManual_The-5FOpenSCAD-5FUser-5FInterface-23Text-5Feditor&d=DwMDaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=2IG1Iv812OS0ZLgbh67kii3mwztGt_xv8ErhPuXxyKYyTJfnSHh8Sy7JKpepxmte&s=ydGHIEF8ZWb6GXBhMtp9XgJ05yRy5nZcoC2Pei_A5lM&e=> . That's really not ideal, because I'd call this a secondary feature and I'd say that at that point in the manual we should only be discussing primary features, but it's less wrong than anything else I come up with.
TP
Torsten Paul
Mon, Oct 13, 2025 12:43 AM

On 13.10.25 02:26, jon jonbondy.com via Discuss wrote:

Probably written by a programmer.  A human would have called it a "name"...

Consider this first and last warning. You write something again and
you'll be blocked from everything related to OpenSCAD I have access
to.

I wrote that code long time ago, and I'm sick and tired reading those
type of comments. Now ask my motivation working on bugs or feature
requests reported.

The user access via separate folder was added for power users as it's
trivial to add so some people can make use of it. That it's not the
most user friendly way for everyone is obvious. If anyone wants to add
a user friendly GUI, go ahead.

Don't bother answering, I'll stay away for a bit doing things I like.

ciao,
Torsten.

On 13.10.25 02:26, jon jonbondy.com via Discuss wrote: > Probably written by a programmer. A human would have called it a "name"... Consider this first and last warning. You write something again and you'll be blocked from everything related to OpenSCAD I have access to. I wrote that code long time ago, and I'm sick and tired reading those type of comments. Now ask my motivation working on bugs or feature requests reported. The user access via separate folder was added for power users as it's trivial to add so some people can make use of it. That it's not the most user friendly way for everyone is obvious. If anyone wants to add a user friendly GUI, go ahead. Don't bother answering, I'll stay away for a bit doing things I like. ciao, Torsten.
JB
Jon Bondy
Mon, Oct 13, 2025 8:40 AM

Torsten:

I owe you an apology.  I could have expressed my thoughts professionally
("I was confused about the term 'key' because I think of it as the
'name' of the Template") but I chose to be playful and flippant (as
indicated by my smiley face).  I did not intend to offend anyone, but I
guess I did.

While you may view Templates as a feature reserved for power users, I
see it as an essential part of how I use OpenSCAD.  Every time I create
a new project, I use my Template to ensure that I start off with the
familiar values.

Thank you for the effort you have put in over the years.  I am certain
that it is appreciated by everyone who uses OpenSCAD, but in particular
I appreciate it.  And I appreciated it before I made my careless remark.

Jon

On 10/12/2025 8:43 PM, Torsten Paul via Discuss wrote:

Probably written by a programmer.  A human would have called it a
"name"...

Consider this first and last warning. You write something again and
you'll be blocked from everything related to OpenSCAD I have access
to.

I wrote that code long time ago, and I'm sick and tired reading those
type of comments. Now ask my motivation working on bugs or feature
requests reported.

The user access via separate folder was added for power users as it's
trivial to add so some people can make use of it. That it's not the
most user friendly way for everyone is obvious. If anyone wants to add
a user friendly GUI, go ahead.

Don't bother answering, I'll stay away for a bit doing things I like.

ciao,
  Torsten.


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

--
This email has been checked for viruses by AVG antivirus software.
www.avg.com

Torsten: I owe you an apology.  I could have expressed my thoughts professionally ("I was confused about the term 'key' because I think of it as the 'name' of the Template") but I chose to be playful and flippant (as indicated by my smiley face).  I did not intend to offend anyone, but I guess I did. While you may view Templates as a feature reserved for power users, I see it as an essential part of how I use OpenSCAD.  Every time I create a new project, I use my Template to ensure that I start off with the familiar values. Thank you for the effort you have put in over the years.  I am certain that it is appreciated by everyone who uses OpenSCAD, but in particular I appreciate it.  And I appreciated it before I made my careless remark. Jon On 10/12/2025 8:43 PM, Torsten Paul via Discuss wrote: > On 13.10.25 02:26, jon > https://urldefense.proofpoint.com/v2/url?u=http-3A__jonbondy.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=hhtw5FzF-8Xan0G1VGzXVkYVGwt8Svo3phqyvWto0fQRzGYVEcavTrBLB0cLnhBQ&s=ULLmYowMzOKhoPBNoGvCPk_0mJVXalKCzAPdwAE_ACg&e= > via Discuss wrote: >> Probably written by a programmer.  A human would have called it a >> "name"... > > Consider this first and last warning. You write something again and > you'll be blocked from everything related to OpenSCAD I have access > to. > > I wrote that code long time ago, and I'm sick and tired reading those > type of comments. Now ask my motivation working on bugs or feature > requests reported. > > The user access via separate folder was added for power users as it's > trivial to add so some people can make use of it. That it's not the > most user friendly way for everyone is obvious. If anyone wants to add > a user friendly GUI, go ahead. > > Don't bother answering, I'll stay away for a bit doing things I like. > > ciao, >   Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org -- This email has been checked for viruses by AVG antivirus software. www.avg.com
MH
Matthieu Hendriks
Mon, Oct 13, 2025 9:35 AM

Instead of using a template I use a Perl (could also be a python) script
to generate a skeleton programm including all required modules/functions
and included files I think off the moment I'm starting to develop.

For instance I'm going to designa house, I need the following
components: print_wall, print_door, print_window, print_roof, chimnee,
bricks, and so on.

I generate the skeleton file from the (linux) command line  with:

scadcreate house print_wall print_door print_window print_roof chimnee
bricks

All modules starting with "print_" are going to deliver a printable
part, the other modules not.

All familiar values are set.

All (user) libraries are included

and so on.

I think every one has his own preferred way of working.

Ciao


Jon Bondy via Discuss schreef op 2025-10-13 10:40:

Torsten:

I owe you an apology.  I could have expressed my thoughts
professionally ("I was confused about the term 'key' because I think of
it as the 'name' of the Template") but I chose to be playful and
flippant (as indicated by my smiley face).  I did not intend to offend
anyone, but I guess I did.

While you may view Templates as a feature reserved for power users, I
see it as an essential part of how I use OpenSCAD.  Every time I create
a new project, I use my Template to ensure that I start off with the
familiar values.

Thank you for the effort you have put in over the years.  I am certain
that it is appreciated by everyone who uses OpenSCAD, but in particular
I appreciate it.  And I appreciated it before I made my careless
remark.

Jon

On 10/12/2025 8:43 PM, Torsten Paul via Discuss wrote: On 13.10.25
02:26, jon
https://urldefense.proofpoint.com/v2/url?u=http-3A__jonbondy.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=hhtw5FzF-8Xan0G1VGzXVkYVGwt8Svo3phqyvWto0fQRzGYVEcavTrBLB0cLnhBQ&s=ULLmYowMzOKhoPBNoGvCPk_0mJVXalKCzAPdwAE_ACg&e=
via Discuss wrote: Probably written by a programmer.  A human would
have called it a "name"...
Consider this first and last warning. You write something again and
you'll be blocked from everything related to OpenSCAD I have access
to.

I wrote that code long time ago, and I'm sick and tired reading those
type of comments. Now ask my motivation working on bugs or feature
requests reported.

The user access via separate folder was added for power users as it's
trivial to add so some people can make use of it. That it's not the
most user friendly way for everyone is obvious. If anyone wants to add
a user friendly GUI, go ahead.

Don't bother answering, I'll stay away for a bit doing things I like.

ciao,
Torsten.


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

Instead of using a template I use a Perl (could also be a python) script to generate a skeleton programm including all required modules/functions and included files I think off the moment I'm starting to develop. For instance I'm going to designa house, I need the following components: print_wall, print_door, print_window, print_roof, chimnee, bricks, and so on. I generate the skeleton file from the (linux) command line with: scadcreate house print_wall print_door print_window print_roof chimnee bricks All modules starting with "print_" are going to deliver a printable part, the other modules not. All familiar values are set. All (user) libraries are included and so on. I think every one has his own preferred way of working. Ciao ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jon Bondy via Discuss schreef op 2025-10-13 10:40: > Torsten: > > I owe you an apology. I could have expressed my thoughts > professionally ("I was confused about the term 'key' because I think of > it as the 'name' of the Template") but I chose to be playful and > flippant (as indicated by my smiley face). I did not intend to offend > anyone, but I guess I did. > > While you may view Templates as a feature reserved for power users, I > see it as an essential part of how I use OpenSCAD. Every time I create > a new project, I use my Template to ensure that I start off with the > familiar values. > > Thank you for the effort you have put in over the years. I am certain > that it is appreciated by everyone who uses OpenSCAD, but in particular > I appreciate it. And I appreciated it before I made my careless > remark. > > Jon > > On 10/12/2025 8:43 PM, Torsten Paul via Discuss wrote: On 13.10.25 > 02:26, jon > https://urldefense.proofpoint.com/v2/url?u=http-3A__jonbondy.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=hhtw5FzF-8Xan0G1VGzXVkYVGwt8Svo3phqyvWto0fQRzGYVEcavTrBLB0cLnhBQ&s=ULLmYowMzOKhoPBNoGvCPk_0mJVXalKCzAPdwAE_ACg&e= > via Discuss wrote: Probably written by a programmer. A human would > have called it a "name"... > Consider this first and last warning. You write something again and > you'll be blocked from everything related to OpenSCAD I have access > to. > > I wrote that code long time ago, and I'm sick and tired reading those > type of comments. Now ask my motivation working on bugs or feature > requests reported. > > The user access via separate folder was added for power users as it's > trivial to add so some people can make use of it. That it's not the > most user friendly way for everyone is obvious. If anyone wants to add > a user friendly GUI, go ahead. > > Don't bother answering, I'll stay away for a bit doing things I like. > > ciao, > Torsten. > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
JJ
jon jonbondy.com
Mon, Oct 13, 2025 9:48 AM

Matthieu:

What you wrote makes sense.

Ironically, I wrote a program to stuff the clipboard with boilerplate text back in 2008, and never thought to use it with OpenSCAD until this moment.

Jon

On 10/13/2025 5:35 AM, Matthieu Hendriks wrote:

Instead of using a template I use a Perl (could also be a python) script to generate a skeleton programm including all required modules/functions and included files I think off the moment I'm starting to develop.

For instance I'm going to designa house, I need the following components: print_wall, print_door, print_window, print_roof, chimnee, bricks, and so on.

I generate the skeleton file from the (linux) command line  with:

scadcreate house print_wall print_door print_window print_roof chimnee bricks

All modules starting with "print_" are going to deliver a printable part, the other modules not.

All familiar values are set.

All (user) libraries are included

and so on.

I think every one has his own preferred way of working.

Ciao


Jon Bondy via Discuss schreef op 2025-10-13 10:40:

Torsten:

I owe you an apology.  I could have expressed my thoughts professionally ("I was confused about the term 'key' because I think of it as the 'name' of the Template") but I chose to be playful and flippant (as indicated by my smiley face).  I did not intend to offend anyone, but I guess I did.

While you may view Templates as a feature reserved for power users, I see it as an essential part of how I use OpenSCAD.  Every time I create a new project, I use my Template to ensure that I start off with the familiar values.

Thank you for the effort you have put in over the years.  I am certain that it is appreciated by everyone who uses OpenSCAD, but in particular I appreciate it.  And I appreciated it before I made my careless remark.

Jon


On 10/12/2025 8:43 PM, Torsten Paul via Discuss wrote:
On 13.10.25 02:26, jon https://urldefense.proofpoint.com/v2/url?u=http-3A__jonbondy.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=hhtw5FzF-8Xan0G1VGzXVkYVGwt8Svo3phqyvWto0fQRzGYVEcavTrBLB0cLnhBQ&s=ULLmYowMzOKhoPBNoGvCPk_0mJVXalKCzAPdwAE_ACg&e= via Discuss wrote:
Probably written by a programmer.  A human would have called it a "name"...

Consider this first and last warning. You write something again and
you'll be blocked from everything related to OpenSCAD I have access
to.

I wrote that code long time ago, and I'm sick and tired reading those
type of comments. Now ask my motivation working on bugs or feature
requests reported.

The user access via separate folder was added for power users as it's
trivial to add so some people can make use of it. That it's not the
most user friendly way for everyone is obvious. If anyone wants to add
a user friendly GUI, go ahead.

Don't bother answering, I'll stay away for a bit doing things I like.

ciao,
  Torsten.
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org<mailto:discuss-leave@lists.openscad.org>



Matthieu: What you wrote makes sense. Ironically, I wrote a program to stuff the clipboard with boilerplate text back in 2008, and never thought to use it with OpenSCAD until this moment. Jon On 10/13/2025 5:35 AM, Matthieu Hendriks wrote: Instead of using a template I use a Perl (could also be a python) script to generate a skeleton programm including all required modules/functions and included files I think off the moment I'm starting to develop. For instance I'm going to designa house, I need the following components: print_wall, print_door, print_window, print_roof, chimnee, bricks, and so on. I generate the skeleton file from the (linux) command line with: scadcreate house print_wall print_door print_window print_roof chimnee bricks All modules starting with "print_" are going to deliver a printable part, the other modules not. All familiar values are set. All (user) libraries are included and so on. I think every one has his own preferred way of working. Ciao ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jon Bondy via Discuss schreef op 2025-10-13 10:40: Torsten: I owe you an apology. I could have expressed my thoughts professionally ("I was confused about the term 'key' because I think of it as the 'name' of the Template") but I chose to be playful and flippant (as indicated by my smiley face). I did not intend to offend anyone, but I guess I did. While you may view Templates as a feature reserved for power users, I see it as an essential part of how I use OpenSCAD. Every time I create a new project, I use my Template to ensure that I start off with the familiar values. Thank you for the effort you have put in over the years. I am certain that it is appreciated by everyone who uses OpenSCAD, but in particular I appreciate it. And I appreciated it before I made my careless remark. Jon On 10/12/2025 8:43 PM, Torsten Paul via Discuss wrote: On 13.10.25 02:26, jon https://urldefense.proofpoint.com/v2/url?u=http-3A__jonbondy.com&d=DwICAg&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=AsrE-c7ZR7B2Kyr3qgfvvppkCEBVsNmwEMndcrRSuOI&m=hhtw5FzF-8Xan0G1VGzXVkYVGwt8Svo3phqyvWto0fQRzGYVEcavTrBLB0cLnhBQ&s=ULLmYowMzOKhoPBNoGvCPk_0mJVXalKCzAPdwAE_ACg&e= via Discuss wrote: Probably written by a programmer. A human would have called it a "name"... Consider this first and last warning. You write something again and you'll be blocked from everything related to OpenSCAD I have access to. I wrote that code long time ago, and I'm sick and tired reading those type of comments. Now ask my motivation working on bugs or feature requests reported. The user access via separate folder was added for power users as it's trivial to add so some people can make use of it. That it's not the most user friendly way for everyone is obvious. If anyone wants to add a user friendly GUI, go ahead. Don't bother answering, I'll stay away for a bit doing things I like. ciao, Torsten. _______________________________________________ OpenSCAD mailing list To unsubscribe send an email to discuss-leave@lists.openscad.org<mailto:discuss-leave@lists.openscad.org>