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
<peeps[win]> that is to say, i'd love to see the "slow" version of the code and prove it can be optimized
<peeps[win]> without python LUT generation
snaked has joined #openscad
<teepee> uh, oh, qr code challenge :)
LordOfBikes has quit [Ping timeout: 240 seconds]
snaked has quit [Quit: Leaving]
snaked has joined #openscad
LordOfBikes has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
<InPhase> peeps[win]: The python qrcodegen module I usually use is 900 lines and about half of those are comments. And it doesn't seem to import numpy or really any heavy-lifting libraries. It's basically self-contained.
J23k33 has joined #openscad
J23k77 has quit [Ping timeout: 246 seconds]
<gbruno> [github] MichaelAtOz edited issue #3165 (Comparisons across types and for function literals) https://github.com/openscad/openscad/issues/3165
qeed_ has joined #openscad
qeed has quit [Ping timeout: 246 seconds]
<guso78> Yes with Python Integration, QR-Code models dont need more than 10 Lines of Code. Most of IT needed to Draw the squares.
<guso78> Teepee i think i could get rid of Output Statement If Python was able to detect Expressions which are Not Used, Not assigned
<guso78> Shortest Code would be 6 Chars only: cube()
mmu_man has joined #openscad
<juri_> teepee: one of these days, i swear, people will start using languages without dangerous primitives in them by default. #langsec
GNUmoon has quit [Ping timeout: 246 seconds]
teepee_ has joined #openscad
GNUmoon has joined #openscad
teepee has quit [Ping timeout: 246 seconds]
teepee_ is now known as teepee
TheCoffeMaker_ has quit [Ping timeout: 255 seconds]
extor has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
extor has joined #openscad
<ndnihil> that's kinda neat
<ndnihil> not sure how useful it is
<ndnihil> but it's neat
snaked has quit [Quit: Leaving]
qeed__ has joined #openscad
qeed_ has quit [Ping timeout: 244 seconds]
<Scopeuk> Part of me is moderately tempted to use it to print a guest WiFi credentials are code
<Scopeuk> Silly auto correct s/are/qr
<ndnihil> eh, I did that with a 2d printer
<ndnihil> the issue with qr codes in 3d is that shadows and parallax change things
<ndnihil> so you have to be dead on center to read it
<ndnihil> and you'd have to use contrasting filaments for the color contrast
<ndnihil> I guess you could try just painting the face?
TheCoffeMaker has joined #openscad
<Scopeuk> I sort of considered dark high bright low then fill the gaps with tipex or white paint and sand back
<guso78> I printed IT in White . Carefully painting the surface in black worked perfectly for me.
<othx> guso78 linked to "QR Code Door hanger by gigl" on thingiverse => 1 IRC mentions
<guso78> But IT also works having everything White and use the light cavities as black. The of course the qr Code needs to BE inversed.
fling has quit [Ping timeout: 246 seconds]
fling has joined #openscad
qeed__ has quit [Quit: qeed__]
qeed has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
<Scopeuk> Hmm the "light cavities" triggered a though, I wonder if just fiddling with the geometry might work (back lighting aside), should be possible to set one up where "white" is a flat top surface and black is a slightly sunken surface setup to scatter the light and cause a much lower response
<Scopeuk> A bit like how an anechoic chamber works
snaked has joined #openscad
<J23k33> I thought about this too - or as a light screen - but the QR code has unconnected voids so you can't print only the black or only the white.  But  print the whites .5 lower  put a drop white paint on and use a cardboard edge to squeegee  over ..  Let it sit a bit and wipe on a wet tissue (or with ipa) to clean residue .. or sanding
<Scopeuk> I also wonder how a smooth/glass's build plate for light and then bridge for recessed dark might work.
<Scopeuk> The though experiment is interesting but I know I'm very lazy
<J23k33> i have done this with pattern and text and filled with nail polish .. works well - here the cairo pattern https://www.printables.com/model/560416-roller-shutter-pill-dispenser
extor has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
qeed has quit [Ping timeout: 245 seconds]
qeed has joined #openscad
<joseph__> teepee: I have been working on eliminating errors from VertexArray::addAttributePointers. From my investigation it still uses CPU-side vertex arrays. And that code seems to get called when doing F6 shader rendering, so I believe it needs to actually be replaced with something modern instead of just turned off entirely by a macro.
<teepee> joseph__: ah, it's possible, there's still some ancient code in some places. replacing those code path would be a good step forward
<guso78> J23, qr Codes use one of 8 different patterns which get xored to the result , which ensures that there are Not too big voids or too big faces in local areas. You dont need to worry about too "lonesome" Locations.
<J23k33> guso78 if  you check https://en.wikipedia.org/wiki/QR_code#/media/File:QR_code_for_mobile_English_Wikipedia.svg as example -  you will not be able to print only the white or only the black parts - it will fall apart.  so you can't print a black code leaving white as holes - or a white code leaving black parts as hole
<guso78> Yes understood. This IS why i use a Base layer below in Addition and Paint the very top face black. Filament IS white
ccox_ has joined #openscad
RichardPotthoff has joined #openscad
TheCoffeMaker_ has joined #openscad
zauberfisch_ has joined #openscad
TheCoffeMaker has quit [*.net *.split]
gimzmoe has quit [*.net *.split]
L29Ah has quit [*.net *.split]
ccox has quit [*.net *.split]
MatrixBot1234514 has quit [*.net *.split]
zauberfisch has quit [*.net *.split]
clemens3 has quit [Ping timeout: 245 seconds]
rustyboy has joined #openscad
rustyboy has left #openscad [#openscad]
rustyboy has joined #openscad
rustyboy has quit [Client Quit]
MatrixBot1234514 has joined #openscad
gimzmoe has joined #openscad
snaked has quit [Quit: Leaving]
extor has joined #openscad
clemens3 has joined #openscad
foul_owl_ has joined #openscad
foul_owl has quit [Ping timeout: 258 seconds]
qeed_ has joined #openscad
qeed has quit [Ping timeout: 250 seconds]
snaked has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]