teepee changed the topic of #openscad to: OpenSCAD - The Programmers Solid 3D CAD Modeller | This channel is logged! | https://openscad.org/advent-calendar-2021/ | 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
<ndnihil> hrm, new nightly
<ndnihil> as of yesterday
<ndnihil> rather, dev snapshot, not nightly
Xeha has joined #openscad
<teepee> ccox: that needs some changes to the render code, currently the light sources are fixed and used as hack for lighting the preview correctly
<teepee> ticket with some more detail https://github.com/openscad/openscad/issues/3339
<ccox> teepee - yes, I know. I was just looking at the code.
<ccox> and the question of how to handle the settings is independent of how to handle the code.
<teepee> I suppose there's 2 options for the settings, the preferences window and the color scheme
<teepee> it might be possible to cover both with the preferences allowing to overwrite the color scheme
<ccox> it has to go in preferences one way or another. But do lights belong as part of the render color scheme, or as a separate list of light schemes?
<teepee> I would not see them as separate scheme to select
<teepee> having one override in the preferences if the user decides to use that seems enough
<teepee> if that ever gets requested a number of times, it should be possible to extend
GNUmoon2 has quit [Remote host closed the connection]
<gbruno> [github] t-paul pushed 1 additions 10 modifications (Merge pull request #4113 from ochafik/fast-csg-fix-minkowski
<gbruno> [github] t-paul pushed 1 modifications (Merge pull request #4108 from ochafik/fast-csg-update-callbacks2
GNUmoon has joined #openscad
JakeSays_ is now known as JakeSays
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
<dalias> does csg computation not reuse subtrees?
<dalias> i have a complex difference that's repeated 40 times in rotation, and it should just compute the surface once and duplicate it, but it seems to be doing some monster computation instead :/
<dalias> uhg never mind, it has gaps because of numrical imprecision that make it hellishly slow
califax- has joined #openscad
califax has quit [Ping timeout: 276 seconds]
califax- is now known as califax
LordOfBikes has quit [Ping timeout: 256 seconds]
<teepee> dalias: it does if the effective expanded code is identical
<teepee> so it does not work when passing things like rotation angles deep into the hierarchy
LordOfBikes has joined #openscad
<dalias> nothing's passed deep in. it's literally for .... rotate(i*k) constant()
<dalias> but i think the problem was just the complex almost-touching surfaces between each instance
<dalias> because of numerical instability
<ndnihil> what is "roof"?
<InPhase> dalias: Yeah, that'll definitely slow things down substantially.
<InPhase> Reuse tends to be pretty good though. I like to throw in module boundaries where I expect reuse to happen to be explicit about it.
<dalias> *sigh* don't remind me roof still isn't merged :( :( :(
<ndnihil> it made it to the snapshot
<ndnihil> at least the option for it did
<ndnihil> what is it?
<dalias> hm? really?
<dalias> i didnt see any activity on the PR
<ndnihil> $ bin/OpenSCAD-2022.02.11.ai10865-x86_64.AppImage --help 2>&1 |grep "roof" fast-csg-exact | fast-csg-exact-callbacks | roof
<ndnihil> er
<ndnihil> bad wrap
<ndnihil> but "--enable roof" is a valid arg now
<dalias> i wonder if it's something different from what i assumed
linext has quit [Read error: Connection reset by peer]
linext has joined #openscad
Guest24 has joined #openscad
Guest24 has quit [Quit: Client closed]
<gbruno> [github] t-paul edited issue #4115 (Convexity issue with minkowski) https://github.com/openscad/openscad/issues/4115
<gbruno> [github] t-paul closed issue #3838 (Two exceptions triggered when rendering) https://github.com/openscad/openscad/issues/3838
<InPhase> Looks like fast-csg is the top three open PRs, and the top three open issues. :) That's fast.
zauberfisch has quit []
J2272 has joined #openscad
<ndnihil> so it's only missing the closing paren and url from pushes...
J22 has quit [Ping timeout: 256 seconds]
<teepee> InPhase: top three?
<ndnihil> ok, might be fixed
<ndnihil> we'll see on next push
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
<InPhase> teepee: Most recent three, so top listed.
zauberfisch has joined #openscad
<teepee> the PRs are draft, so they'll stay there for a bit :)
<InPhase> Mostly I just noticed a whole lot of fast-csg emails streaming in, so I went to check the issue and PR lists on github for a more orderly presentation. Seems to be getting tested more rapidly than most things.
<gbruno> [github] t-paul pushed 4 modifications (Update CGAL version numbers (fixes #4104).) https://github.com/openscad/openscad/commit/c32efe043a65b7fd761751c8edb56f8deb6a9ed5
<teepee> yeah, the reddit and HN articles may have helped with that :)
<InPhase> OlivierChafik[m]: I chuckled at the lizard eating. :) I will pull, clean build, and retest to make sure it hasn't already been addressed.
<ndnihil> whee
<ndnihil> closing parens and the url
<ndnihil> github changed their shit
clapont has quit [Ping timeout: 250 seconds]
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
<gbruno> [github] t-paul pushed 4 modifications (Merge pull request #4118 from openscad/cgal-version Update CGAL version numbers (fixes #4104).) https://github.com/openscad/openscad/commit/8d1fa8a8851a8747a3053c790f537e921ef4355c
<gbruno> [github] t-paul closed issue #4104 (CGAL version gate needs to match the new value in the README) https://github.com/openscad/openscad/issues/4104
Guest24 has joined #openscad
Guest24 has quit [Client Quit]
use-value has quit [Quit: use-value]
Junxter has joined #openscad
<auctus> buZz: re: game console; im working on the cartridge reader mechanism, reader + SBC + case = console hardware; im writing software too, bare necessities: dashboard UI + game launcher
<auctus> i'll get ya a pic later when im back in my garage
<auctus> basically the cartridge reader is a series of switches that i print, spring-loaded; so by default they're all closed, cartridge has pins on it that push the switches open, so the cartridge has like, 10 teeth say, that gives me room to have 1000 games
<auctus> then i can 3d-print cartridges, which are really just keys to load games
Guest40 has quit [Quit: Client closed]
<crazy_imp> auctus: what about fork light barriers? less complex to integrate and you only need sone holes in your cards :)
lastrodamo has joined #openscad
<buZz> auctus: ahhhh like some of those children record players :)
zauberfisch has quit []
<othx> J2272 linked to YouTube video "The Teaching Tool That Makes LoFi Beats To Study To" => 1 IRC mentions
clapont has joined #openscad
r3b has quit [Ping timeout: 250 seconds]
la1yv_a has joined #openscad
la1yv has quit [Read error: Connection reset by peer]
<gbruno> [github] t-paul pushed 1 modifications (Drop Fedora 32, add Fedora 35.) https://github.com/openscad/openscad.github.com/commit/9f4ae4c37784a52ee4b20d5cb09d9fac7c4f42e2
<gbruno> [github] t-paul pushed 2 modifications (Add convexity to minkowski() and resize().) https://github.com/openscad/openscad.github.com/commit/44df4467bbd7e5036719f185fce1e4a87f5af5f3
<OlivierChafik[m]> InPhase: 🦎 👹
fling is now known as contractor
contractor is now known as fling
ferdna has joined #openscad
Junxter has quit [Read error: Connection reset by peer]
arebil has joined #openscad
ToAruShiroiNeko has quit [Changing host]
ToAruShiroiNeko has joined #openscad
<OlivierChafik[m]> I think I've finally understood a simple way to do the post-corefinement remeshing. No need to call any of the expensive remeshing functions, just need to collect patches of coplanar faces (which we know because we tracked their split throughout the corefinement visitation), then delete them all and replace them with polygons (valid in a surface mesh) and just call the triangulate_mesh helper. Trying to code this now :-D
ABSHK has left #openscad [Leaving]
Administrator_ has joined #openscad
ABSHK has joined #openscad
ToAruShiroiNeko has quit []
ToAruShiroiNeko has joined #openscad
snaked has quit [Remote host closed the connection]
snaked has joined #openscad
felix_5 has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
stefanct has quit [Ping timeout: 268 seconds]
stefanct has joined #openscad
ferdna has quit [Quit: Leaving]
Administrator_ has quit [Ping timeout: 250 seconds]
linext has quit [Read error: Connection reset by peer]
linext has joined #openscad
linext has quit [Read error: Connection reset by peer]
linext has joined #openscad
ur5us_ has joined #openscad
<J2272> great prussa  already catched up with thingiverse  and is now also slow as fuck https://www.prusaprinters.org/prints/133786
Guest4429 has joined #openscad
Guest4429 has quit [Client Quit]
felix_5 has left #openscad [#openscad]
<J2272> `roof()`  is not working well ..:(     have fonts and some letter dont't work .. when using an offset ..  how can that be?
Netfool has quit [Ping timeout: 256 seconds]
felix_5 has joined #openscad
<felix_5> he(g8) höö(c2)
<felix_5> Is there a good way of effectively overload a module to eater accept named parameter or a list of all parameter? I am new to scad and don't know if it is even possible.
<teepee> good way, no
<teepee> but you can check the first parameter via is_list() and unpack that
<J2272> roof() doesn't like minkowski  either ..   maybe that font is f'up
<teepee> even with a small offset?
<J2272> neither pos nor negative .. and also minkowski  is not working
<J2272> negative already gives something like "sceleton calculation error"
<J2272> the other show fine in preview but  result in  "nef .. "  when render
<J2272> happens only with n and t  so i assume these letter are broken and offset doesn't fix it ( which is not clear to me )
GNUmoon has quit [Ping timeout: 276 seconds]
<J2272> now i have  "OMIA VICI AMOR"   :(
<J2272> which probably  inverse that quote  to   Everything wins over love
<bboett[m]> Omnia in that case....
<bboett[m]> How Come the m goes through and Not the n?
<J2272> wish i knew ..  also   offset (-.01)  giving a preview error while -0.03 works in preview and even renders the full text
<J2272> and if the font was broken - why does it works without offset
pah has quit [Ping timeout: 260 seconds]
<J2272> now i have n but not i  ..
pah has joined #openscad
<J2272> hopefully i find an offset for all  .. or  every letter gets his own offset parameter
felix_5 has left #openscad [#openscad]
<teepee> what crazy font is that?
GNUmoon has joined #openscad
<J2272> teepee CapitalisTypOasis   (as seen in the image )
pah has quit [Quit: quit.]
<J2272> 976/1000  an no error .. but 0.15 is a bit much .. will see
<J2272> somehow it has not just to do with the offset but also font size
<J2272> some combinations break something .. maybe $fn is involved ( or is font using $fs that changes  with size )
<J2272> .. somehow funny that we engrave the inside of rings  and  you never take off the wedding ring .. so you can see this only once
pah has joined #openscad
Netfool has joined #openscad
<J2272> so why roof produces errors in CGAL only for certain sizes
<J2272> (and for some even in preview)
<gbruno> [github] acwest opened issue #4119 (search function is broken when searching lists of lists) https://github.com/openscad/openscad/issues/4119
<gbruno> [github] t-paul closed issue #4119 (search function is broken when searching lists of lists) https://github.com/openscad/openscad/issues/4119
felix_5 has joined #openscad
<teepee> I'm not seeing the issue with roof() text("n", 30, font="CapitalisTypOasis:style=Regular");
<felix_5> There is assert to abort execution. Is there a warn to indicate that construction is not longer well behaved?
<teepee> yes, it's called... wait for it...
<teepee> assert()
<teepee> :P
<teepee> wait, what do you mean=
<teepee> ?
<J2272> teepee  try  to offset (.1) the text   and it also seems to happen only for a combination of  size and offset
<teepee> you want to to give a warning from code, but still continue with the rendering?
<teepee> J2272: seems fine with a cube() added and lazy union disabled
<teepee> tried a couple of sizes
<teepee> roof() offset(0.1) text("n", 25, font="CapitalisTypOasis:style=Regular"); cube();
<felix_5> The top radius of a screw should be grater than the bottom radius, but it is still a valid construction if it's not.
<teepee> hmm, I think that does not exist yet, but I guess it would be useful
<J2272> felix_5:  taper screws exist
<teepee> oh, looks like that needs some dusting off https://github.com/openscad/openscad/pull/3249
<J2272> teepee  can you try this please https://bpa.st/AHGA
<teepee> I'll try in a bit... making dinner before midnight. just to be safe :)
<J2272> seems $fn 72  causes issues here too
<J2272> teepee  to be safe it doesn't become breakfast?
<felix_5> The only warning I get is "WARNING: Ignoring unknown function 'warning', in file ..."
<felix_5> Never mind, old version.
<J2272> teepee  .. it is ⇒  https://bpa.st/JYAA  now  (good morning btw)
lastrodamo has quit [Quit: Leaving]
felix_5 has left #openscad [#openscad]
<J2272> array over  fn and offset
<J2272> higher fn make this more probable https://pasteboard.co/bJRutsYFHm0W.png
<J2272> and different Letter have different pattern https://pasteboard.co/HQz0U8OBE380.png
<J2272> https://bpa.st/ELWQ    .. to play with
<dalias> are experimental features built by default but have to be enabled at runtime?
<J2272> they are disabled features in preferences "features"
<dalias> i see
stefanct has quit [Ping timeout: 256 seconds]
LordOfBikes has quit [Ping timeout: 256 seconds]
LordOfBikes has joined #openscad
stefanct has joined #openscad
NoGare[m] has quit [Ping timeout: 250 seconds]
<teepee> they are built for dev snapshots and forced to be disabled in release versions
NoGare[m] has joined #openscad
<peepsalot> J2272: your font issue is probably something to do with insane number of segments created by roof https://github.com/openscad/openscad/issues/3876
<peepsalot> or, are you using voronoi?