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
mtm has quit [Ping timeout: 272 seconds]
mtm has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
ToAruShiroiNeko has quit [Ping timeout: 255 seconds]
ToAruShiroiNeko has joined #openscad
LordOfBikes has quit [Ping timeout: 248 seconds]
LordOfBikes has joined #openscad
J24k29 has joined #openscad
snaked has joined #openscad
J24k80 has quit [Ping timeout: 256 seconds]
mmu_man has quit [Ping timeout: 248 seconds]
teepee has quit [Ping timeout: 260 seconds]
teepee has joined #openscad
myosotis has joined #openscad
myosotis has quit [Client Quit]
J24k29 has quit [Quit: Client closed]
J24k29 has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
Gungee has joined #openscad
L29Ah has quit [Read error: Connection timed out]
ooxoo has quit [Remote host closed the connection]
ooxoo has joined #openscad
Gungee has quit [Ping timeout: 248 seconds]
mmu_man has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
noonien808310429 has joined #openscad
Gungee has joined #openscad
<gbruno> [github] damienmarchal opened pull request #5272 (FIX Issue #4595) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 (Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 (Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 (Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 (Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 (Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 (Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 (Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 (Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 ([WIP] Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal synchronize pull request #5272 ([WIP] Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
<gbruno> [github] damienmarchal edited pull request #5272 ([WIP] Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
aiyion1 has quit [Ping timeout: 260 seconds]
mtm has quit [Ping timeout: 276 seconds]
vitaminx has joined #openscad
little_blossom has quit [Quit: little_blossom]
mtm has joined #openscad
<vitaminx> Good afternoon! I'm relatively new to OpenSCAD, so maybe there's an obvious solution to what I'm about to ask. Please forgive if it's a matter of RTFM, I did but couldn't find anything. I'm using OpenSCAD 2024.07.27 and I want the following function to return a scalar, not a list (of one element), is there any way to do that?
<vitaminx> function get_value2(table, param) = [ for (t = table) if (t[0] == param) t[1] ];
little_blossom has joined #openscad
<vitaminx> "table" accepts list of lists in the form of: [ [ "element_name1", element_value1 ], [ "element_name2", element_value2 ], ... ]
<vitaminx> "param" is a string, and it should return a scalar with the value of the element with the name given in "param"
<J24k29> hello vitaminx
<J24k29> check the search function
<J24k29> cheatsheet!
<othx> cheatsheet is https://www.openscad.org/cheatsheet/ for the release version and https://www.openscad.org/cheatsheet/snapshot.html for the development snapshot versions
<vitaminx> gotcha, thanks! will have a read :)
<J24k29> search will provide you where in the list to find the name and so you can access the values associated with that position
<vitaminx> ok, will give it a try.
<vitaminx> rewrote the function like this and it work well now:
<vitaminx> function get_value(param, table) = table[search([param], table)[0]][1];
<gbruno> [github] damienmarchal edited pull request #5272 ([WIP] Implements a two pass rendering in OpenCSGRenderer to fix z-fighting issue (issue #4595)) https://github.com/openscad/openscad/pull/5272
aiyion1 has joined #openscad
guerd871 has joined #openscad
guerd87 has quit [Read error: Connection reset by peer]
misterfish has joined #openscad
vitaminx has quit [Quit: WeeChat 4.3.1]
L29Ah has joined #openscad
aiyion1 has quit [Ping timeout: 260 seconds]
hyperair has quit [Ping timeout: 244 seconds]
hyperair has joined #openscad
aiyion1 has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
GNUmoon has quit [Ping timeout: 260 seconds]
GNUmoon has joined #openscad
<t4nk_fn> I've tried to build that adapted version, I copied the submodules dir over from an existing git version on my hd..
<t4nk_fn> but I'm now facing stuff like this: https://dpaste.com/2M7A8E99R
<t4nk_fn> is that pointing to some kind of problem with my cgal-5.6?
<t4nk_fn> or does it perhaps need a more recent version
snaked has quit [Quit: Leaving]
<t4nk_fn> nah.. 5.6.1 and 6.0_beta1 both had the same result
Virindi has quit [Ping timeout: 255 seconds]
misterfish has quit [Ping timeout: 252 seconds]
misterfish has joined #openscad
mmu_man has quit [Ping timeout: 248 seconds]
<gbruno> [github] Uncle808 opened issue #5273 (scroll overlay is (eyballed) twice as big as the left sub window, stealing the mouse scroll event from the targeted window to the right) https://github.com/openscad/openscad/issues/5273
<gbruno> [github] Uncle808 edited issue #5273 (scroll overlay is (eyballed) twice as big as the left sub window, stealing the mouse scroll event from the targeted window to the right) https://github.com/openscad/openscad/issues/5273
<gbruno> [github] Uncle808 edited issue #5273 (scroll overlay is (eyballed) twice as big as the left sub window, stealing the mouse scroll event from the targeted window to the right) https://github.com/openscad/openscad/issues/5273
<gbruno> [github] Uncle808 edited issue #5273 (scroll overlay is (eyballed) twice as big as the left sub window, stealing the mouse scroll event from the targeted window to the right) https://github.com/openscad/openscad/issues/5273
mmu_man has joined #openscad
<gbruno> [github] Uncle808 edited issue #5273 (scroll overlay is (eyballed) twice as big as the left sub window, stealing the mouse scroll event from the targeted window to the right) https://github.com/openscad/openscad/issues/5273
snaked has joined #openscad
misterfish has quit [Ping timeout: 260 seconds]
mmu_man has quit [Ping timeout: 244 seconds]
mmu_man has joined #openscad
Gungee has quit [Ping timeout: 252 seconds]
snaked has quit [Remote host closed the connection]
snaked has joined #openscad
ali12341 has quit [Remote host closed the connection]
ali1234 has joined #openscad
Virindi has joined #openscad
ali1234 has quit [Remote host closed the connection]
ali12341 has joined #openscad
L29Ah has quit [Read error: Connection timed out]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
L29Ah has joined #openscad