teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | Website: http://www.openscad.org/ | FAQ: https://goo.gl/pcT7y3 | Request features / report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://bit.ly/32MfbH5
germ has quit [Read error: Connection reset by peer]
germ has joined #openscad
drfff has joined #openscad
J25k13 has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
J25k11 has quit [Ping timeout: 240 seconds]
<gbruno> [github] kintel closed pull request #5449 (Remove PDF files added by mistake) https://github.com/openscad/openscad/pull/5449
<gbruno> [github] kintel pushed 2 removals (Remove PDF files added by mistake (#5449)) https://github.com/openscad/openscad/commit/535d96fe28931d92ca4af7cdddb18dd006fb4125
kintel has joined #openscad
<kintel> JordanBrown Haven't tried looking at it yet; the topic scares me (in terms of potential rabbit hole depths)..
<InPhase> JordanBrown: I'll go ahead and try a Linux build of your PR and check to see if it "broke all the things". :)
<InPhase> JordanBrown: It looks good in the screenshots provided, of course.
<InPhase> JordanBrown: Are there things I should specifically examine other than the opening screen and preferences?
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad
WMacEvoy has joined #openscad
<WMacEvoy> I have been using a JSON - like subset of OpenSCAD I call SCON and wrapped it with some nice OO accessors as a project.  I don't know how to share it as a library for others to think about using it.  Here it is: https://github.com/wmacevoy/openscad-scon/tree/main
WMacEvoy has quit [Quit: Client closed]
<JordanBrown> kintel: I was trying to avoid diving too deeply into rabbit holes. There's probably any number of related improvements that could be made, and the goal was to make a modest improvement that made things better but didn't necessarily fix everything.
<InPhase> JordanBrown: You passed my checks. Very modest, but improved over here too.
<JordanBrown> InPhase: In the second version of the PR, it potentially affects everything in the UI, so the thing to do would be to browse through the UI looking for anything stupid.
<JordanBrown> Did you just look through it at the default settings, or do you have some Linux-y display scaling feature that you could exercise?
<InPhase> I have a system-wide DPI setting, which has always worked right, but nothing you did changed that behavior at all.
<InPhase> I scrolled through other gui features, and see no newly arisen issues.
WMacEvoy has joined #openscad
<JordanBrown> One of the interesting tests would be to set the system-wide DPI to some X, then look at the UI, then set it to 2X and look at the UI again.
<JordanBrown> (Restarting the application in the middle, that is.)
<JordanBrown> When you double the system-wide DPI setting, I'd hope that the size of everything in the UI would double.
<InPhase> I think that takes a larger restart to take effect.
<JordanBrown> Wouldn't surprise me.
<InPhase> But I don't think that will make a difference with what you are doing.
<InPhase> On Linux.
<InPhase> Not entirely sure why it does on Windows, but if it works for that, then it works.
<JordanBrown> Don't know. Wouldn't be surprised either way.
<InPhase> If it breaks for someone else on Linux, blame me. Or blame Arch. Preferably Arch. ;)
WMacEvoy has quit [Quit: Client closed]
WMacEvoy has joined #openscad
<WMacEvoy> New here - any willingness to look at a JSON -> OpenSCAD project here? I don't know who to reach out to, but I think some people will find it useful.  https://github.com/wmacevoy/openscad-scon/ I don't really know where to start this.... Or what is appropriate here.
<JordanBrown> WMacEvoy: what would a JSON to OpenSCAD converter look like? JSON is a static data representation; OpenSCAD is a programming language.
<JordanBrown> I suppose that you could have a JSON representation of an object/transform tree, and turn that into a simple (if perhaps large) OpenSCAD program.
<WMacEvoy> Yes, I defined a subset I call SCON which is a static data equivalent of JSON, a parser, and some accessor functions that makes OO style available (but not necessary).  I have used it in some of my projects and find it very ---- organizing.
<WMacEvoy> A nice workflow is JSON config -> SCON -> builds.  This gives json as a fairly universal config language for your build parameters.  So my python scripts can read the JSON and my OpenSCAD and use the (automatically generated) SCON.
<JordanBrown> Your SCON subset is probably very similar to the CSG subset that OpenSCAD itself is willing to dump.
<JordanBrown> Note, incidentally, that recent OpenSCAD builds (for a year or so) have been able to read .JSON files using import("whatever.json") to yield a JavaScript-like object.
<JordanBrown> That can be a way to get JSON parameters into your OpenSCAD model. Or you can do something with Customizer presets, which are also JSON.
<JordanBrown> But those depend on whether you want to do the primary modeling work in OpenSCAD, or in some other language that generates the JSON.
<WMacEvoy> It is far more limited than CSG (from what I just looked at).  Where do I get documentation on import json?  The SCON works with current public release builds.
<JordanBrown> WRT documentation... hmm. Hold a moment.
<JordanBrown> Not great, but it's there.
<JordanBrown> The question is what sort of stuff you want to have in your JSON.
<JordanBrown> Do you want the JSON to represent the model, or just the parameters?
<JordanBrown> If you're going to build a cube of a specified size, does the JSON say "cube" and give a size, or does it only give a size and then that gets combined with some OpenSCAD that says "cube"?
<JordanBrown> I'm not meaning to downplay your work, just trying to figure out if you're overlapping stuff that's already been done.
<WMacEvoy> Yes; not great.  It's a data language - like JSON - if you look at the examples it shows how to shoot for the moon.  But really it's a config language that lets you simplify parameters.  I think it's better than the JSON feature you mention because it becomes native to OpenSCAD - you can extend build and export it from there (there is a JSON
<WMacEvoy> export as well).
<JordanBrown> You know, you gave a URL and I skipped right over it and didn't look at it. Sorry. Doing that now.
<WMacEvoy> (I do wish echo didn't insist on quoting things, but you can parse it out if you need to)
WMacEvoy has quit [Quit: Client closed]
<JordanBrown> Another thing you might be interested in is
WMacEvoy has joined #openscad
<JordanBrown> which adds JavaScript-like objects to the language.
<JordanBrown> Unfortunately, it's been stalled for a long time pending people getting time to review it and think about it.
<WMacEvoy> sorry my connection dropped. just saw the end of that....
kintel has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<JordanBrown> Logs at https://libera.irclog.whitequark.org/openscad/2025-04-28 (see the chat title for the general link)
<JordanBrown> but I'll just repeat:
<JordanBrown> Another thing you might be interested in is
<JordanBrown> (fixed that last URL, previously was a stale name)
<JordanBrown> which adds JavaScript-like objects to the language.
<JordanBrown> Unfortunately, it's been stalled for a long time pending people getting time to review it and think about it.
<WMacEvoy> Thanks. How might I get this as a library the OpenSCAD community would know about? There's no committee; it just works.
<JordanBrown> The committee is pretty much teepee (Torsten Paul) and kintel (Marius Kintel).
<JordanBrown> Torsten is in Germany and Marius is in Toronto, so it's not exactly prime time for them to be on IRC.
<JordanBrown> But they are here much of the rest of the time.
<JordanBrown> There's a library list at https://openscad.org/libraries.html that I think Torsten is the primary maintainer of.
<WMacEvoy> Thanks for the help.  I'll connect during work hours tomorrow.  I do hope to get it listed, even for my small projects it has been nice.
<JordanBrown> Sure.
<JordanBrown> Oh, and for completeness, importing JSON as Customizer values in the OpenSCAD CLI is the -p and -P options.
WMacEvoy has quit [Quit: Ping timeout (120 seconds)]
<InPhase> I see the thinking behind that idea. I'm having trouble seeing from the examples where the return-on-investment scenario kicks in, where it yields a use-case benefit.
<InPhase> There probably is one to the general principle, but it's not demonstrated that the implementation is able to bring it out.
<gbruno> [github] kilgorezer opened issue #5864 (VirusTotal False Positives on 2025.4.27) https://github.com/openscad/openscad/issues/5864
guerd has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
HumanG331 has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
mmu_man has joined #openscad
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
stealth_ has quit [Quit: Leaving]
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
teepee has quit [Quit: bye...]
teepee has joined #openscad
guerd has quit [Read error: Connection reset by peer]
snaked has quit [Quit: Leaving]
<gbruno> [github] kintel closed issue #5864 (VirusTotal False Positives on 2025.4.27) https://github.com/openscad/openscad/issues/5864
TheCoffeMaker_ has quit [Quit: So long and thanks for all the fish]
TheCoffeMaker has joined #openscad
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad
<teepee> InPhase: a bit more background... https://kevquirk.com/blog/my-thoughts-on-the-fosstodon-drama
<InPhase> teepee: I can understand that. :)
<InPhase> I still do not know what the original post contents were that caused all this drama.
<InPhase> But I think it's telling that no one is quoting any of the troubling content. It makes me wonder how many of the people who are upset actually know what the allegedly problematic content actually was.
<InPhase> But I certainly concur with the notion that regardless of whatever the original reddit posts or whatever said, it's certainly the case that all the other people involved, who had nothing to do with the reddit posts, are not being very civil or cooperative with each other.
<InPhase> It sounds like most of the people involved actually just want to talk about technology without drama. Yet somehow that's not happening.
adigitoleo has quit [*.net *.split]
<gbruno> [github] gsohler opened issue #5865 (SVG content moves during export/import) https://github.com/openscad/openscad/issues/5865
guso78k has joined #openscad
<gbruno> [github] jordanbrown0 closed issue #5865 (SVG content moves during export/import) https://github.com/openscad/openscad/issues/5865
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad
guso78k has quit [Quit: Client closed]
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad
bozo16 has joined #openscad
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad
mmu_man has quit [Ping timeout: 265 seconds]
mmu_man has joined #openscad
adigitoleo has joined #openscad
adigitoleo has quit [Max SendQ exceeded]
adigitoleo_ has joined #openscad
adigitoleo_ is now known as adigitoleo
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
WMacEvoy has joined #openscad
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad
<WMacEvoy> teepee I would like to have a library added as a resource on the openscad.  I talked with JordanBrown yesterday about it.  It is small, but useful, and allows for a native configuration sub-language I call SCON (analogous to JSON for Javascript).  I hope you would look at this:  https://github.com/wmacevoy/openscad-scon/tree/main
<WMacEvoy> .. on the openscad resources website.
val has quit [Ping timeout: 276 seconds]
val has joined #openscad
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad
bozo16 has quit [Quit: Leaving]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
WMacEvoy has quit [Quit: Client closed]
snaked has joined #openscad
Ckat has quit [Quit: this shouldn't be happening]
Ckat has joined #openscad
califax_ has joined #openscad
califax has quit [Ping timeout: 264 seconds]
califax_ is now known as califax
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad
J25k13 has quit [Quit: Client closed]
J25k13 has joined #openscad