Results 63 comments of Alex-Kent

> The `%n$` form for specifying by index is from [POSIX](https://pubs.opengroup.org/onlinepubs/9799919799/functions/printf.html). and it's unsurprising that it's been copied elsewhere. I stand corrected. It's not a feature that I use and...

> What's the argument for changing this behavior? One use case is for a library file that is used (via `use` or `include`) in multiple projects. Each project has a...

> [@bitbasher](https://github.com/bitbasher) I found your note 😁. What's other way you have seen? Saw that note as well and was similarly curious.

FWIW, one common way to handle this is to copy the file to a backup (e.g. `filename.scad.bck`) and then, if the backup was successful, perform an in-place write to the...

Replicated on Ubuntu 22.04 on x86-64 running OpenSCAD 2025.11.30 (9ed115a). This issue does **not** occur when selecting **Save as…** from the editor tab that one has already saved from. It...

@MichaelAtOz That only works* if the file being included has valid OpenSCAD syntax. It does not work for arbitrary files (e.g. XPM files). \* On my system which is running...

@jordanbrown0 > `data = import(file="file.json", format="txt")` or, better, `format="text/plain"` Agreed, something like this would be a clean way to do it. I'd phrase more like: ``` data = import(file="file.dat", type="text/plain",...

@jordanbrown0 > abuse cases worry me a bit, and might be an issue for server implementations I've been pondering this as well. One solution would be to (by default) disable...

> server installations are **already** using controlled invocations of the CLI … there are several options that would be hazardous. True. An unvetted user of a CLI invocation (e.g. via...

@MichaelAtOz I cited XPM solely as an example of a simple text-based format that would be amenable/apropos to the suggested feature. I'm not looking to solve a specific use-case at...