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: 260 seconds]
mtm has joined #openscad
ccox has quit [Ping timeout: 246 seconds]
ccox has joined #openscad
LordOfBikes has quit [Ping timeout: 246 seconds]
LordOfBikes has joined #openscad
L29Ah has quit [Excess Flood]
L29Ah has joined #openscad
mmu_man has quit [Ping timeout: 264 seconds]
J24k16 has joined #openscad
J24k52 has quit [Ping timeout: 256 seconds]
snaked has joined #openscad
snakedGT has joined #openscad
snaked has quit [Ping timeout: 255 seconds]
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
califax_ has joined #openscad
califax has quit [Remote host closed the connection]
califax_ is now known as califax
deathonater has quit [Quit: (╯°□°)╯︵ ┻━━┻]
killjoy has joined #openscad
killjoy has joined #openscad
killjoy has quit [Changing host]
snakedLX has joined #openscad
snakedGT has quit [Ping timeout: 252 seconds]
noonien808310429 has quit [Quit: Ping timeout (120 seconds)]
noonien808310429 has joined #openscad
Joel has quit [Remote host closed the connection]
Joel has joined #openscad
kanzure has quit [Ping timeout: 260 seconds]
ndnihil has quit [Ping timeout: 260 seconds]
ndnihil has joined #openscad
ndnihil has quit [Changing host]
ndnihil has joined #openscad
kanzure has joined #openscad
aiyion1 has quit [Remote host closed the connection]
aiyion1 has joined #openscad
<gbruno> [github] MethylBromide opened issue #5278 (roof(method="straight") fails with complex outlines) https://github.com/openscad/openscad/issues/5278
rogeliodh91 has quit [Ping timeout: 255 seconds]
Gungee has joined #openscad
sinned6915 has quit [Ping timeout: 272 seconds]
misterfish has joined #openscad
noonien808310429 has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
noonien808310429 has joined #openscad
misterfish has quit [Ping timeout: 260 seconds]
J24k16 has quit [Quit: Client closed]
misterfish has joined #openscad
J24k16 has joined #openscad
noonien808310429 has quit [Ping timeout: 260 seconds]
mmu_man has quit [Ping timeout: 244 seconds]
mmu_man has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
J24k16 has quit [Quit: Client closed]
J24k16 has joined #openscad
ccox_ has joined #openscad
ccox has quit [Ping timeout: 252 seconds]
noonien808310429 has joined #openscad
J24k16 has quit [Quit: Client closed]
J24k16 has joined #openscad
petaflot has joined #openscad
petaflot has left #openscad [#openscad]
mmu_man has quit [Ping timeout: 244 seconds]
mmu_man has joined #openscad
SamantazFox_ has quit [Ping timeout: 252 seconds]
misterfish[x] has joined #openscad
mtm has quit [Ping timeout: 252 seconds]
mtm has joined #openscad
Artea has joined #openscad
SamantazFox has joined #openscad
little_blossom has quit [Quit: little_blossom]
little_blossom has joined #openscad
DamienMarchal has joined #openscad
<DamienMarchal> Hi
<Scopeuk> Hi
mmu_man has quit [Ping timeout: 272 seconds]
mmu_man has joined #openscad
<gbruno> [github] ochafik edited pull request #37 ([WIP] 🌈 Colorful & Customizable ™ Playground) https://github.com/openscad/openscad-playground/pull/37
<gbruno> [github] ochafik edited pull request #5180 (Color support for 3D rendering + export to glTF, Collada, STEP, PLY, X3D) https://github.com/openscad/openscad/pull/5180
mmu_man has quit [Ping timeout: 245 seconds]
<gbruno> [github] ochafik edited pull request #5180 (Color support for 3D rendering + export to glTF, Collada, STEP, PLY, X3D) https://github.com/openscad/openscad/pull/5180
<gbruno> [github] ochafik edited pull request #5180 (Color support for 3D rendering + export to glTF, Collada, STEP, PLY, X3D) https://github.com/openscad/openscad/pull/5180
misterfish has quit [Ping timeout: 246 seconds]
mmu_man has joined #openscad
<teepee> hi DamienMarchal, how did you dump those framebuffer images? My notebook only has an intel gpu, so it's not possible to reproduce the context-menu problem
teepee_ has joined #openscad
<DamienMarchal> Hi teepee, sadly to get the image from the selection framebuffer I had to modify the code (I wanted to use a gl debugging tools like nsight but failed).
<DamienMarchal> So I changed the code in MouseSelector::select() to read the whole framebuffer and export it as a png. I also had to change the MouseSelection shader to save more contrasted ID.
<DamienMarchal> I can makes a branch if this help.
<teepee_> ah, ok, I was hoping for some neat tool :-)
<DamienMarchal> (me too)
<teepee_> I tried renderdoc a while ago but this needs some serious reading of documentation which I did not manage yet
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
* teepee googles nsight
<DamienMarchal> I have to go but you some you are interested in rendering issues... there is this one https://github.com/openscad/openscad/issues/4595 for which I made a POC for fix in https://github.com/openscad/openscad/pull/5272 and would appreciate feedback before moving forward (or no).
<teepee> I assume that's nvidia only then :(
<DamienMarchal> nsight is probably
<teepee> I've seen the shader fixes, and those look great
HumanG331 has joined #openscad
<DamienMarchal> Bye
DamienMarchal has quit [Quit: Client closed]
snakedLX has quit [*.net *.split]
peepsalot has quit [*.net *.split]
dustinm` has quit [*.net *.split]
HumanG33k has quit [*.net *.split]
peepsalot has joined #openscad
snakedLX has joined #openscad
dustinm` has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
rogeliodh91 has joined #openscad
noonien808310429 has quit [Quit: The Lounge - https://thelounge.chat]
noonien808310429 has joined #openscad
mmu_man has quit [Ping timeout: 246 seconds]
mmu_man has joined #openscad
sinned69158 has joined #openscad
stealth_ has joined #openscad
<stealth_> why can't i write `if (i%2){
<stealth_> } else {
<stealth_> rotate([i*90, 0, 90])
<stealth_> rotate([i*90, 90, 0])
<stealth_> }`
<stealth_> i want to ; at the end since its past of other code underneath
<stealth_> dont want to *
<stealth_> and openscad keep crashing if there is error i suppose. `OpenSCAD version 2024.08.30.ai20307`
rogeliodh91 has quit [Quit: The Lounge - https://thelounge.chat]
rogeliodh91 has joined #openscad
Artea has quit [Remote host closed the connection]
<Scopeuk> I wouldn't expect a crash from that but openscad will refuse to build it as it isn't valid syntax. to achieve something like that I would probably build a module, will kicks something togeather as a demo
<Scopeuk> !paste
<Scopeuk> hmm maybe the bot is down
<stealth_> Scopeuk, https://bpa.st/+openscad
misterfish has joined #openscad
<Scopeuk> thanks
<stealth_> thats weird way to go about it but i suppose thats how the openscad syntax works, thanks Scopeuk
<Scopeuk> you can do it that way, or you can put your geometry in a module and then put that inside your iff statement after the rotate
<InPhase> paste?
<othx> paste is https://bpa.st for .scad files and other text like long error reports, https://pasteboard.co/ or https://imgur.com/ for images
<InPhase> Scopeuk: syntax. :)
<Scopeuk> looks like it
<InPhase> stealth_: For the simplest example, that seems like extra boilerplate. But the power of that scales nicely with more complicated things.
<stealth_> InPhase, makes sense
<InPhase> stealth_: But note the simplest example also could have been: for (i=[0:3]) { odd = i%2; rotate([i*90, odd ? 90 : 0, odd ? 0 : 90]) cylinder(h=10,d=2); }
<InPhase> The assignment only to avoid repetition.
<stealth_> InPhase, it doesn't matter how long the code is in openscad right? its not like you are running software, it just needs to render?
<InPhase> Well I primarily aim first for code that I can parametrically modify, second for code that I can maintain/modify/change easily, and third for performant code that will render in a timely manner. Although that third one has been getting a whole lot easier with the latest codebase.
<InPhase> The length of the code matters to me only in how it impacts those other parameters.
<InPhase> Very long code can easily become hard to maintain. But very often slightly longer code is easier to maintain and work with than code golf.
<stealth_> i just write it so its readable for me
<InPhase> OpenSCAD performance is unusual compared to other languages, because usually the bulk of the render time has to do with things like the count of faces rather than the actual compute runtime.
<stealth_> like 1 function per line
<InPhase> Only in certain niche designs does the compute time start to become significant.
<InPhase> We have had some compute time overheads in the past, but most of those have been hammered out pretty well, to where it doesn't hit unless you do some wildly recursive computations with very simple render outputs.
<stealth_> like in C is you write short code it impoves speed vs long code, since its makes copies. in python you have reference so you can write more long/readable code. with openscad i assume it creates some kind of ast before rendering?
<InPhase> It does.
<stealth_> cool, so it will rewrite your code into optimal one before rendering then.
<InPhase> Well I wouldn't go throwing the word optimal around there.
<stealth_> lol, ok it just rewrite the code.
<stealth_> i just noticed i had empty `do = [];` which did nothing and didn't call it, and it was in AST
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
misterfish has quit [Ping timeout: 264 seconds]
rogeliodh910 has joined #openscad
germ_ has joined #openscad
krushia_ has joined #openscad
dTal_ has joined #openscad
oldlaptop_ has joined #openscad
Alexer- has joined #openscad
gbruno_ has joined #openscad
misterfish[x] has quit [Ping timeout: 246 seconds]
gbruno has quit [Ping timeout: 246 seconds]
rogeliodh91 has quit [Ping timeout: 246 seconds]
germ has quit [Ping timeout: 246 seconds]
dTal has quit [Ping timeout: 246 seconds]
krushia has quit [Ping timeout: 246 seconds]
Alexer has quit [Ping timeout: 246 seconds]
oldlaptop has quit [Ping timeout: 246 seconds]
paddymahoney has quit [Ping timeout: 246 seconds]
gbruno_ is now known as gbruno
dTal_ is now known as dTal
mmu_man has quit [Ping timeout: 272 seconds]
Artea has joined #openscad
paddymahoney has joined #openscad
mmu_man has joined #openscad
paddymahoney has quit [Ping timeout: 246 seconds]
paddymahoney has joined #openscad
luser has joined #openscad
luser has left #openscad [Konversation terminated!]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
Gungee has quit [Ping timeout: 244 seconds]
J24k16 has quit [Quit: Client closed]
J24k16 has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
oldlaptop_ is now known as oldlaptop