<kintel>
Of all the thing wrong with that UI, checkbox location is what people focus on?
<kintel>
How about right-align all of the auto-generated UI so it's clear where to click?
<kintel>
If I could pick, I would say let's first fix vertical alignment of said checkboxes, then deal with text being hidden under spinboxes when resizing, then do better alignment of comboboxes, followed by a better slider
snaked has joined #openscad
<InPhase>
And then, Battlechess style action effects for each customizer change to the design.
<InPhase>
It's important to have priorities.
<t4nk_fn>
.. so we can all design and print our x-mas angels :)
LordOfBikes has quit [Ping timeout: 240 seconds]
<kintel>
Man, now I have to go boot my Amiga just for battlechess
LordOfBikes has joined #openscad
Guest55 has joined #openscad
Guest55 has quit [Ping timeout: 250 seconds]
J24k22 has quit [Quit: Client closed]
J24k22 has joined #openscad
harris has joined #openscad
fling has quit [Remote host closed the connection]
Guest55 has joined #openscad
<harris>
Is there any way to create a module that passes some or all of its parameters to a child module? For example in python you could define a function like:
<harris>
```
<harris>
def super_cylinder(*args):
<harris>
# [some other stuff]
<harris>
return cylinder(*args)
<harris>
```
<harris>
and not have to reiterate every possible argument `cylinder` could take. Does OpenSCAD have any way to accomplish something similar?
fling has joined #openscad
Guest55 has quit [Quit: Client closed]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jonasbits has quit [Quit: No Ping reply in 180 seconds.]
<JordanBrown>
Request to support Spread Syntax or Spread Operator
<harris>
Thanks, JordanBrown! Just found that!
<JordanBrown>
kintel, InPhase: yeah, it's clearly not a high priority. But since somebody wanted it, and somebody was thinking of taking it on as low-hanging fruit, we should at least consider it.
<JordanBrown>
And maybe the other cleanups you mention (which I wasn't aware of, but am not surprised by) are better low-hanging fruit.
<JordanBrown>
Bedtime. Or at least not-computer-time.
<t4nk_fn>
I don't understand how changing void Preferences::on_syntaxHighlight_activated(const QString& s) to void Preferences::on_syntaxHighlight_currentTextChanged(const QString& s) could make it so that
<t4nk_fn>
(my own debug line ) settings.value(key): QVariant(QString, "For Dark Background") key: "editor/syntaxhighlight"
<t4nk_fn>
is returned in the original case
<t4nk_fn>
yet light background is returned in the new case
<t4nk_fn>
so I can 'fix' it for myself so that on my qt5 build it will correctly remember the syntaxHighLight setting..
<t4nk_fn>
but unfortunately it isn't a general fix
<t4nk_fn>
can't build with qt6 myself either, at least not until I build this qtcintilla thing with qt6
<t4nk_fn>
(for starters)
<J24k22>
harris you can use special variables $ which will be available for a child or in all scopes below but not above
<InPhase>
JordanBrown: I would definitely endorse expanding where "each" can be used for this sort of thing. I would not have minded using "..." instead of "each", but "each" was already chosen and is in heavy use.
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
J24k22 has quit [Quit: Client closed]
J24k22 has joined #openscad
J24k22 has quit [Client Quit]
J24k22 has joined #openscad
snaked has quit [Quit: Leaving]
mmu_man has joined #openscad
J24k22 has quit [Quit: Client closed]
J24k22 has joined #openscad
mmu_man has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
pca006132 has joined #openscad
misterfish has quit [Ping timeout: 255 seconds]
mmu_man has quit [Ping timeout: 272 seconds]
hyperair has quit [Ping timeout: 252 seconds]
hyperair has joined #openscad
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
guso78k has joined #openscad
guso78k has quit [Ping timeout: 250 seconds]
<JordanBrown>
InPhase "each" is plausible there, yes.
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
misterfish has joined #openscad
kintel has joined #openscad
ali1234 has quit [Remote host closed the connection]
Guest39 has joined #openscad
Guest39 has quit [Quit: Client closed]
J24k22 has quit [Quit: Client closed]
J24k22 has joined #openscad
<JordanBrown>
kintel I am puzzled by something. I'm working on that "maker coin" question that somebody asked about.
<JordanBrown>
I just F6-rendered a model, and... subtracted surfaces are still green.
<JordanBrown>
How can that be, when it's the result of a render?
<JordanBrown>
(Not Manifold, if that matters.)
<kintel>
The CGAL renderer uses green for cutouts
<kintel>
..but that's not implemented for the Manifold renderer (or fast-csg)
<JordanBrown>
Huh. I thought renders always ended up all-yellow.
<kintel>
"If feasible, look into whether CGALRenderer could highlight negative regions in a similar way as for Nef polyhedrons, as demoed on https://manifoldcad.org"
<JordanBrown>
For no really good reason.
<JordanBrown>
Maybe I am thinking of render(), which is all-yellow even with CGAL.
<JordanBrown>
I should really run with more experimental stuff turned on, but lazy-union kind of turned me off from that since it's wrong.
<kintel>
Yeah, lazy-union is a bit too experimental : /
<kintel>
For render(), when we do evaluation using CGAL, we just convert the result into a single PolySet for OpenCSG rendering. PolySets don't support multi-color rendering, and we didn't want to mix CGAL rendering into the already complex OpenCSG rendering pipeline
<kintel>
..but once we solve the missing Manifold feature, we should look into whether it's feasible to extend that functionality so it benefits render() as well.
<JordanBrown>
I have mixed feelings on whether subtracted surfaces should be a different color. On the one hand, it's sometimes useful for diagnosis. On the other hand, the model is ... the model. Once something is subtracted away, what remains is the new surface of the model.
<kintel>
Another possibility to extend "Advanced" preferences :)
<JordanBrown>
50% :-) 50% :-(
<JordanBrown>
But if we can get that kind of coloring to survive the render process, how about color()?
<kintel>
Yeah, that would be the ideal solution
<JordanBrown>
(Except that for 3DP we want volumetric color, not face coloring.)
<JordanBrown>
Must pretend to do real work now.
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
ali1234 has joined #openscad
misterfish has quit [Ping timeout: 256 seconds]
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
scadnoob has joined #openscad
guso78k has joined #openscad
<guso78k>
colored rendering is possible here already, but quite some effort still to label it "fool proof"
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]