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
fedorafan has quit [Ping timeout: 248 seconds]
fedorafan has joined #openscad
actiondave has joined #openscad
<kintel> joseph_: OpenGL modernizing could be a decent project. There is probably some homework to do; determine how to deal with the existing open PRs, understanding the scope of the problem (e.g. how many legacy calls are left), decide how to deal with OpenCSG, whether to support WASM, GLES compatibility.
<kintel> I think the main challenge with this project would be that it's mostly about refactoring and less about writing new features. Just make sure this is in-line with your wishes. This does, however, model real-world development pretty well, and could probably benefit from a more agile development workflow, with frequent Pull Requests and testable code.
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
LordOfBikes has quit [Ping timeout: 268 seconds]
fedorafan has quit [Ping timeout: 265 seconds]
fedorafan has joined #openscad
LordOfBikes has joined #openscad
_whitelogger has joined #openscad
J2387 has joined #openscad
J23 has quit [Ping timeout: 260 seconds]
fedorafan has quit [Quit: Textual IRC Client: www.textualapp.com]
mack has joined #openscad
teepee has joined #openscad
<mack> Hi all. I downloaded and started my first use of openscad today by attempting to modify someone else's script. I was going to ask for guidance about the trouble I'm having with the threads library, but hit the Logs link first. I think I've found the problem -- there are at least 3, possibly a myriad, versions of threads.scad. I think I might have found the one with the module used in the script.
<mack> I did indeed find the correct threads.scad. File modified and send to printer.
<InPhase> Glad we did such a great job of helping you! ;)
<InPhase> Also, welcome.
<mack> I did find your threads lib, InPhase :) It wasn't the one, though.
<mack> well, I assume. We'll see when the job finishes.
<InPhase> Yeah. Sorry for contributing to the overlapping names. ;)
<InPhase> Searching the called module name can help.
<mack> right. After I realized there wasn't a "standard" one as the main web site led me to believe, that's what I did.
<mack> it also doesn't help that several people have copied and/or modified files and put them on their github without attribution
<kintel> Problem solved: alias openscad="mv ./openscad.exe ./offscreen.exe && ./offscreen.exe". Now, back to coding
<InPhase> kintel: lol
<mack> and you did help me -- the logs in the topic is what gave me the lightbulb moment.
<InPhase> kintel: After that long on it, that sounds like a perfectly valid approach.
<kintel> At least it allows me to run tests over ssh. For all other purposes: "don't ssh into Windows" is the advice until someone can reproduce this magical configuration :)
ur5us has quit [Ping timeout: 250 seconds]
<gbruno> [github] kintel pushed 1 additions 3 modifications (WGL) https://github.com/openscad/openscad/commit/984124948e12a339273a7fcfd73262ab8c77c2ce
<gbruno> [github] kintel synchronize pull request #4576 (WIP: Refactor offscreen context management) https://github.com/openscad/openscad/pull/4576
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mlaga97 has quit [Ping timeout: 248 seconds]
mlaga97 has joined #openscad
zauberfisch_ is now known as zauberfisch
fedorafan has joined #openscad
fedorafan has quit [Ping timeout: 246 seconds]
ur5us has joined #openscad
fedorafan has joined #openscad
L29Ah has quit [Ping timeout: 252 seconds]
fedorafan has quit [Ping timeout: 246 seconds]
fedorafan has joined #openscad
castaway has joined #openscad
fedorafan has quit [Ping timeout: 248 seconds]
fedorafan has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
fedorafan has quit [Ping timeout: 252 seconds]
fedorafan has joined #openscad
ur5us has quit [Ping timeout: 250 seconds]
pie_ has quit []
pie_ has joined #openscad
pie_ has quit [Client Quit]
pie_ has joined #openscad
J2387 has quit [Quit: Client closed]
J2387 has joined #openscad
L29Ah has joined #openscad
snaked has quit [Quit: Leaving]
L29Ah has left #openscad [#openscad]
Av8r has joined #openscad
L29Ah has joined #openscad
L29Ah has left #openscad [#openscad]
fedorafan has quit [Ping timeout: 252 seconds]
fedorafan has joined #openscad
guso78 has joined #openscad
<guso78> its working!
<lf94> I have not forgotten about openscad + libfive
<lf94> just been busy
<guso78> did not want to conflict with anybody. this is python approach
<guso78> (not using oracle approach)
<guso78> building a tree instead. i believe the tree evaluation time needs to be super fast  and it has the option, that the tree program can eventually be uploaded the the graphics card
Guest11 has joined #openscad
<lf94> build da tree
<lf94> oh, haha!
<lf94> i didnt realize what i said was on-topic lol
<lf94> very cool man !
<lf94> that's just like my node-libfive bindings
<lf94> except im seeing openscad here :o
<lf94> guso78: yes, i think you're doing it right, but you lose some power of openscad, right?
<lf94> i.e. you cant use the openscad language
<lf94> this is incredibly cool regardless, awesome work
<lf94> are you retired or have a lot of free time or just super focused? :D
Guest11 has quit [Client Quit]
<guso78> no openscad power  is still there.  I just using python interpreter instead of scad interpreter
<guso78> using openscad language is probably possible, but get it running in python was WAY easier for me.
<guso78> still need to tidy up quite a bit but thats streight forward, i believe
<lf94> ah
<lf94> would you like to port one of my examples as a test?
<guso78> you are talking about an SDF program right ?
<lf94> yeah
<guso78> why not. lets give it a try
<lf94> https://github.com/lf94/node-libfive/blob/main/examples/shipping-box.js is pure libfive, but you may need to implement the stdlib that libfive comes with. maybe you've already done it
<guso78> (hope its not guile  language )
<lf94> is another one
<lf94> nope, it's all js
<guso78> java script is much more readable :)
<guso78> so in your side you can display libfive in the web browser ?
<lf94> no, it's node.js based, so outside of browser
<lf94> i didnt want a browser based one on purpose
<lf94> i wanted a REPL basically :D
<lf94> so now i can use node + my editor + libfive to generate models nicely. only thing im missing is a view lol. I have to use an stl viewer for now.
<guso78> ahh, right now it did not base on the libfive provided libs but i believe now its rather easy to adopt
<lf94> you mean for yours?
<guso78> yep , for mine
<lf94> ah ok
<lf94> i actually dont recommend it
<lf94> reason: mkeeter is working on fidget
<lf94> so libfive-stdlib work will not be portable
<lf94> re-implement the sdfs in python with libfive primitives.
<lf94> you'll thank me
<lf94> i made a mistake not doing this
<guso78> i think next step is to use libfive to use nice rounded joints for objects
<guso78> thank you for the hint!
<lf94> look at cube.smooth
<lf94> ez pz :)
<guso78> haha
<lf94> this i took from curv3d, which took it from iquilez
<guso78> actually i have two data types in python-openscad. one is PyOpenSCAD and one is PyLibFive
<lf94> You may even want to stop work on libfive and immediately switch to fidget
<guso78> last one just establishes the evaluation tree
<lf94> the speed improvements are insane
<lf94> he gets GPU comparable performance
<lf94> (on GPU they only do interpreted, on CPU they now do JIT)
<guso78> Ahh Fidget is the successor of LIbfive.
<lf94> it's amazing. you'll see ive been commenting in places there
<lf94> I convinced them to add a mesher very recently ;)
<lf94> so it's on par now with libfive functionality essentially
<guso78> i think the infrastructure is already there, its just a replacement of the engine
<lf94> yea exactly
<guso78> i will push my branch soon. just let me know in case you are interested
<lf94> im good, you should push as soon as you need to :)
<guso78> one advantage of push is to be safe against hard disc crash :b
<guso78> (now i know why i do, just had another .git repo crash, but was able to recover)
guso78 has quit [Quit: Client closed]
fedorafan has quit [Ping timeout: 248 seconds]
fedorafan has joined #openscad
WayneS has joined #openscad
L29Ah has joined #openscad
fedorafan has quit [Ping timeout: 252 seconds]
use-value has quit [Quit: use-value]
fedorafan has joined #openscad
<lf94> what kind of computer are you working with? ive never had a hd die on me ever, in my entire existence lol
<WayneS> Some very cheap SSDs (usually those with low capacity) have extremely low write endurance and will break after just a few months.
castaway has quit [Ping timeout: 248 seconds]
<WayneS> Anyway, OpenSCAD is very cool! So far I did not really understand traditional modeling software, but OpenSCAD clicked with me right from the start. Thanks to all the developers! <3
castaway has joined #openscad
<guso78[m]> The hard disc IS Not the Problem. Rather the Problem IS that i use to hardly shut down my virtual Box. Still hard to believe that IT die Not sync all git Files after Minutes...
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
fedorafan has quit [Ping timeout: 252 seconds]
fedorafan has joined #openscad
clemens3 has quit [Quit: WeeChat 2.7]
fedorafan has quit [Ping timeout: 246 seconds]
fedorafan has joined #openscad
castaway has quit [Ping timeout: 264 seconds]
clemens3 has joined #openscad
WayneS has quit [Quit: Leaving.]
guso78 has joined #openscad
KimK has quit [Quit: Leaving]
KimK has joined #openscad
KimK has quit [Remote host closed the connection]
KimK has joined #openscad
kintel has joined #openscad
<gbruno> [github] kintel pushed 4 modifications (cosmetics) https://github.com/openscad/openscad/commit/e903d289eef34db24c17eced328e8104ee98c91e
<gbruno> [github] kintel synchronize pull request #4576 (WIP: Refactor offscreen context management) https://github.com/openscad/openscad/pull/4576
<gbruno> [github] kintel edited pull request #4576 (WIP: Refactor offscreen context management) https://github.com/openscad/openscad/pull/4576
<gbruno> [github] kintel edited pull request #4576 (WIP: Refactor offscreen context management) https://github.com/openscad/openscad/pull/4576
<guso78> whats the concept behind that shaderinfo is used  with OPENCSG rendering, but not with CGAL rendering ?
<kintel> peeps[zen] I believe you looked at clang-tidy last: It looks like clang-tidy doesn't like manifold
<kintel> ..but it should already be disabled; it could be a header filter not working. It's a bit cryptic though. Any ideas?
ur5us has joined #openscad
<kintel> "...openscad/submodules/manifold/src/third_party/thrust/thrust/detail/type_traits.h:147:10: error: builtin __has_trivial_constructor is deprecated; use __is_trivially_constructible instead [clang-diagnostic-deprecated-builtins]"
<kintel> guso78 I believe shaderinfo is a giant hack
<guso78> ok. thank you
<guso78> can you briefly explain what is shaderinfo is meant to be (it contains face and edge colors)
<guso78> doesn't make shader info also make sense in F6 render mode?
<kintel> I seem to remember that it was initially used to render wireframe in preview mode
<kintel> ..as it needs a different technique
<guso78> ok. its a good method to destinguish between F5 and F6 render mode :)
<kintel> Yeah, ideally, the mechanism for passing any info like that should be the same for both modes, as there could be good reasons for passing shader parameters also in F6 mode
<kintel> There's a related open PR which makes some changes (I haven't reviewed that PR myself yet): https://github.com/openscad/openscad/pull/4330
<guso78> actually i'd love to see  shaderinfo ALWAYS used . then i could put texture info there as well and textures would also  display with F6
<guso78> will analyse the PR for myself.
<kintel> In the end, "shaderinfo" is really just some information which should follow the mesh, like a material definition
<kintel> Managing such things has been done so many times, which is why I've been wanting to use some sort of rendering library instead of inventing our own
<kintel> ..but to get there, we may need to refactor a lot of the rendering stuff to make these concepts cleaner in our own codebase
<guso78> i think first goal could be to make sure, that shaderinfo is always not NULL. (because also vertex shader handles are constant). so code would not have to check for NULL ...
<guso78> BTW today i managed to combine my local branch with libfive. i have merged klein bottle  with a dish :)
<guso78> probably will use successor "fidget" soon
aiyion has quit [Remote host closed the connection]
vsellier has quit [Ping timeout: 240 seconds]
vsellier has joined #openscad
aiyion has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guso78 has quit [Ping timeout: 260 seconds]
omegatron has joined #openscad
<lf94> sweet :)
lkcl has quit [Read error: Connection reset by peer]
lkcl has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
fedorafan has quit [Ping timeout: 246 seconds]
fedorafan has joined #openscad
kintel has joined #openscad
<gbruno> [github] kintel pushed 1 modifications (macOS fix) https://github.com/openscad/openscad/commit/dcead9fece33f5c9b0e4f44c77ed4d4bf943d775
<gbruno> [github] kintel synchronize pull request #4576 (WIP: Refactor offscreen context management) https://github.com/openscad/openscad/pull/4576
snaked has joined #openscad
castaway has joined #openscad
fedorafan has quit [Ping timeout: 248 seconds]
fedorafan has joined #openscad