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
califax has quit [Remote host closed the connection]
califax has joined #openscad
J23k74 has joined #openscad
J23k77 has quit [Ping timeout: 245 seconds]
LordOfBikes has quit [Ping timeout: 246 seconds]
LordOfBikes has joined #openscad
J23k64 has joined #openscad
J23k74 has quit [Ping timeout: 245 seconds]
bozo16a has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
bozo16 has quit [Ping timeout: 240 seconds]
linext__ has joined #openscad
linext_ has quit [Ping timeout: 258 seconds]
hyperair has joined #openscad
qeed_ has joined #openscad
qeed has quit [Ping timeout: 244 seconds]
misterfish has joined #openscad
misterfish has quit [Ping timeout: 260 seconds]
guso78k has joined #openscad
J23k64 has quit [Quit: Client closed]
J23k64 has joined #openscad
guso78k has quit [Quit: Client closed]
hyperair has quit [Remote host closed the connection]
hyperair has joined #openscad
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
hyperair has quit [Client Quit]
hyperair has joined #openscad
guso78k has joined #openscad
cart_ has joined #openscad
cart_ has quit [Ping timeout: 258 seconds]
little_blossom has quit [Ping timeout: 252 seconds]
little_blossom has joined #openscad
cart_ has joined #openscad
misterfish has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 252 seconds]
teepee_ is now known as teepee
yogadude` has joined #openscad
yogadude has quit [Ping timeout: 252 seconds]
ccox has quit []
ali12341 has joined #openscad
ali1234 has quit [Remote host closed the connection]
<gbruno> [github] kintel pushed 3 modifications (Regenerate GLAD) https://github.com/openscad/openscad/commit/22bb9793f0910a8584e8a805bc68aae497fc630b
<gbruno> [github] kintel synchronize pull request #4737 (Add new, more capable, EGL offscreen support) https://github.com/openscad/openscad/pull/4737
<gbruno> [github] kintel pushed 5 modifications (Regenerate GLAD) https://github.com/openscad/openscad/commit/8d1978fcaa469f20ee41a977c33064eec45b9515
<gbruno> [github] kintel synchronize pull request #4737 (Add new, more capable, EGL offscreen support) https://github.com/openscad/openscad/pull/4737
<gbruno> [github] kintel pushed 5 modifications (Regenerate GLAD) https://github.com/openscad/openscad/commit/348a6f0d6da429adec8f0af6a5d1ddd06f14b909
<gbruno> [github] kintel synchronize pull request #4737 (Add new, more capable, EGL offscreen support) https://github.com/openscad/openscad/pull/4737
J23k64 has quit [Quit: Client closed]
J23k64 has joined #openscad
<gbruno> [github] kintel pushed 5 modifications (Regenerate GLAD) https://github.com/openscad/openscad/commit/71c7c0b724b01771d4f590d93653c810d2c1c921
<gbruno> [github] kintel synchronize pull request #4737 (Add new, more capable, EGL offscreen support) https://github.com/openscad/openscad/pull/4737
kintel has joined #openscad
<kintel> teepee Found the recipe for dealing with user accounts in docker containers when mounting writable volumes from the host
<kintel> docker run --user $(id -u):$(id -g) --workdir="/home/$USER/openscad" --volume "/etc/group:/etc/group:ro" --volume "/etc/passwd:/etc/passwd:ro" --volume "/etc/shadow:/etc/shadow:ro" -v $PWD:/home/$USER/openscad -it kintel-openscad-dev /bin/bash
califax_ has joined #openscad
califax has quit [Ping timeout: 252 seconds]
GNUmoon has quit [Ping timeout: 252 seconds]
califax_ is now known as califax
<kintel> Has anyone encountered this when running OpenSCAD in a container? LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!
GNUmoon has joined #openscad
<kintel> (this is on a bookworm container on ci.openscad.org)
<kintel> I kind of assume it's this Mesa bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9442
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guso78k has quit [Quit: Client closed]
guso78k has joined #openscad
mmu_man has joined #openscad
<teepee> nope, never seen that
<guso78k> lvmm is logical volume mount ?
<teepee> https://llvm.org/ - compiler infrastructure
rogeliodh has quit [Quit: The Lounge - https://thelounge.chat]
rogeliodh has joined #openscad
mmu_man has quit [Ping timeout: 246 seconds]
Guest22 has joined #openscad
Guest22 has quit [Client Quit]
Scopeuk has quit [Quit: Quit]
Scopeuk has joined #openscad
mmu_man has joined #openscad
guso78k35 has joined #openscad
mmu_man has quit [Ping timeout: 244 seconds]
guso78k has quit [Quit: Client closed]
mmu_man has joined #openscad
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
J23k64 has quit [Quit: Client closed]
J23k64 has joined #openscad
<guso78k35> teepee, tried your lnuxdeploy now
<guso78k35> any suggestions ?
J23k64 has quit [Quit: Client closed]
J23k64 has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
guso78k35 has quit [Quit: Client closed]
linext__ has quit [Quit: Leaving]
linext has joined #openscad
<teepee> guso78: did you run the the make-install
invultri has joined #openscad
<invultri> Can I flatten a vector of strings to a single string?
guso78k has joined #openscad
<InPhase> invultri: Yep, you can use join. :)
<guso78k> teepee no i used the ./scripts/release_common.sh flow to create the openscad-2023.09.22 folder. no I tried with cmake/make/make install DESTDIR=../AppDir
<InPhase> invultri: https://bpa.st/TA5Q
<guso78k> when starting the docker image and access the dir via /data/ i appear to get exact same issue
<invultri> btw, I was dumb: function toString(v) = len(v)>1 ? str(first(v),toString(tail(v))) : first(v)
<InPhase> invultri: This sources from the funcutils library: https://github.com/thehans/funcutils/blob/master/string.scad
<teepee> guso78k: I'm not sure release common can do AppImages right now, I'd suggest using the commands I linked earlier that are used to build the official appimage
<invultri> InPhase: so 3rd party lib?
<guso78k> yep, will try get more exact ...
<InPhase> invultri: Well not very 3rd, peeps[work] wrote that particular join.
<InPhase> invultri: That was the "how do we make these new function features useful?" library we worked on 2 years ago.
<InPhase> 2? 4 years I guess. Time flies.
<InPhase> invultri: Personally, I almost never include that library. But I do copy/paste out of it often.
<invultri> hmm I do not know what a forf function is
<invultri> for with a function?
<teepee> guso78k: I guess it would make sense to move the build-appimage logic into release-common.sh
<guso78k> yep, but before i'd like to get it working manually ;)
<teepee> sure, also not saying you should do that, that was more a note to myself :)
<guso78k> appreciate when others think "loud" ;)
mmu_man has joined #openscad
misterfish has quit [Ping timeout: 252 seconds]
<guso78k> problem of the cmake/make/linuxdeply flow is: make install does not preserve all the external libraries during 'make install' . when accessing AppDir from within docker, libs like libboost... are not visible and available anymore.
<guso78k> trying without docker image now
<guso78k> hmm could not find plugin qt/  could not find plugin AppImage/ how to get these plugins for linuxdeploy ?
<InPhase> invultri: Yeah, forf was my addition. Basically, it's a tool for iteration with a state vector. init() should return the starting vector, update(v) should return next_v, cond(v) should return true to continue, false to stop. Then func(v) if set will run on v each time. Basically, it's a re-expression of a for loop in terms of a pattern of function calls so that one can think of them as iterative
<InPhase> operations on an arbitrary state vector.
<InPhase> Currently the only role of "func" is for echo statements, but that's also a placeholder for module literals, which should work in that spot as soon as they are in place.
snaked has quit [Quit: Leaving]
<InPhase> Basically, an experimental idea just to see how it helps with reasoning.
<invultri> InPhase: I see, so to see if people would 'get it' without having to think in functional recursions?
<invultri> ... I think I should request a feature such that we can directly output (or at least echo) to a file
<teepee> nope :)
<teepee> if you need that, the feature will be available via the python stuff, openscad scripts are not going to write files via script functions
<invultri> "the python stuff" seems like a thing that might be useful
<guso78k> invultri, please watch the thread with william adams. he has just successfully realized such a function and its callable from openscad
buZz has quit [Quit: Reconnecting]
buZz has joined #openscad
<invultri> if it is callable from openscad, it is in effect still from within the openscad?
guso78k has quit [Ping timeout: 245 seconds]
<guso78> Nope. IT uses Python Extensions to so that.
<invultri> guso78: does that matter to me as the user? I would still write "echoSomethingToFile(something)" in my scad file right?
teepee_ has joined #openscad
teepee has quit [Ping timeout: 252 seconds]
teepee_ is now known as teepee
J23k64 has quit [Quit: Client closed]
cart_ has quit [Ping timeout: 260 seconds]
J23k64 has joined #openscad
J23k64 has quit [Quit: Client closed]
J23k64 has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
<guso78> Yes, but you will need to install another OpenSCAD Version as the Python functionality IS Not mergee.
<guso78> Fully ...
<teepee> and flip the "it's dangerous to do that switch"
mmu_man has joined #openscad
<teepee> openocd
<teepee> ah, wrong window :)
mmu_man has quit [Ping timeout: 245 seconds]
cart_ has joined #openscad
<InPhase> invultri: If unclear, writing to files is a security hazard for a 3D printing community made up of non-programmers accustomed to thinking of models as data, and not as general purpose programs requiring a security audit before running them.
<InPhase> invultri: We are of course aware of other communities where general purpose code sharing is prolific, but one needs that to exist in a culture of a certain level of technical competence plus some established trust systems for accountability and for thinking about who one is receiving code from.
mmu_man has joined #openscad
<InPhase> invultri: So there are some hard "no"s on certain features that we can't just slip into the scad language for convenience.
cart_ has quit [Ping timeout: 252 seconds]
<teepee> also if we ever get full mutilprocessing, I would not want to talk about why the output of a for 1:10 gives random results
<ndnihil> breaking stuff left and right lately
<ndnihil> not exactly sure how, it's just a torus being diffed from some cylinders...
<InPhase> teepee: The "OpenSCAD should not have side-effects" principle. :)
<InPhase> ndnihil: Overlap rule?
HumanGeek has quit [Ping timeout: 246 seconds]
HumanGeek has joined #openscad
<ndnihil> shouldnt be
<ndnihil> I am diff'ing that torus as a union'd group of objects, doing them separately now to see which one makes it shit itself
<ndnihil> s/as a/as part of a/
<ndnihil> shows up in preview fine, but on render its like none of those things are being diff'd out
<ndnihil> but yeah, it looks like one of that group was just a bit too close
mmu_man has quit [Ping timeout: 258 seconds]
<invultri> clear, I probably should make my wrapper around openscad for this stuff anyway
cart_ has joined #openscad
<lf94> So I tried KittyCAD. Theyve got some ways to go
<lf94> They're currently at "alpha" stage
<gbruno> [github] jbinvnt synchronize pull request #4738 (GSoC 2023: Macro to allow building with OpenGL 3.2 Core) https://github.com/openscad/openscad/pull/4738
mmu_man has joined #openscad
<gbruno> [github] jbinvnt synchronize pull request #4738 (GSoC 2023: Macro to allow building with OpenGL 3.2 Core) https://github.com/openscad/openscad/pull/4738
J23k64 has quit [Quit: Client closed]
J23k64 has joined #openscad
J23k64 has quit [Client Quit]
J23k64 has joined #openscad
muesli has quit [Quit: NO CARRIER]
muesli has joined #openscad
invultri has quit [Remote host closed the connection]
<gbruno> [github] jbinvnt synchronize pull request #4738 (GSoC 2023: Macro to allow building with OpenGL 3.2 Core) https://github.com/openscad/openscad/pull/4738
misterfish has joined #openscad
<gbruno> [github] jbinvnt edited pull request #4738 (GSoC 2023: Macro to allow building with OpenGL Core) https://github.com/openscad/openscad/pull/4738
<gbruno> [github] chotchki opened pull request #4751 (Remove unneeded assert that crashes repeated manifold model renders) https://github.com/openscad/openscad/pull/4751
cart_ has quit [Ping timeout: 240 seconds]
J23k16 has joined #openscad
yogadude` has quit [Remote host closed the connection]
guso78k has joined #openscad
J23k64 has quit [Ping timeout: 245 seconds]
<gbruno> [github] jbinvnt edited pull request #4738 (GSoC 2023: Macro to allow building with OpenGL Core) https://github.com/openscad/openscad/pull/4738
<gbruno> [github] jbinvnt ready_for_review pull request #4738 (GSoC 2023: Macro to allow building with OpenGL Core) https://github.com/openscad/openscad/pull/4738
guso78k has quit [Quit: Client closed]
<joseph_> teepee kintel: My PR #4738 is ready for review. The description reiterates that it's a no-op unless the macro is specified.
guso78k has joined #openscad
<guso78k> teepee openocd sounds you are doing firmware. yet another great emulator ?
kintel has joined #openscad
<kintel> Huh, the current Debian binaries of OpenSCAD-2021.01 also fails on the ci box with the same LLVM error
<kintel> (without docker this time)
<teepee> guso78: not in this case, that was #reprap.de someone trying to flash an AVR via raspberry pi
<kintel> I suspect the server provider has an uncommon way of describing the virtual CPU, triggering that Mesa bug
<guso78k> raspberry pi has lots of io pins. might be possible :)
<teepee> hmm, strange, I had some issue with clang at some point, switching to gcc worked
<teepee> but this is shader compile or something?
<kintel> I'm not sure exactly which gl call it fails on. It's inside Mesa, so it could be anything
<guso78k> teepee did you schedule to integrate the appimage into the release_common.sh , suppose there would be more than one winner ...
<kintel> The Mesa bug report has this failing on glDrawRangeElements()
<kintel> I don't think we have any shaders in the CGAL renderer path
<kintel> openscad ../build/test.scad -o out.png --render
<kintel> teepee Have you run OpenSCAD in any capacity on the CI box already?
<teepee> no, I don't think so
<guso78k> kintel , found out, that my brother got an old MAC which he can borrow for few weeks. lets see how complicated it is to create a DMG file.
<guso78k> worked with xcode some time back
<kintel> guso78k If you follow the README, it should be easy, but caveat is: How old Mac:)
<kintel> We don't really use xcode for anything
<guso78k> my brother always uses to own the bleeding edge mac. so 2nd generation is quite new, i believe
<guso78k> hmm, believe i read xcode it somewhere, strange ...
<kintel> technically, Apple ships the compiler as part of xcode command-line tools, so yes, you have to install something, but you don't need to use the IDE
<guso78k> of course, i meantto use the command line programs of xcode. but you need to install xcode to have them
<guso78k> did you refer to the README.MD right on the github frontpage and does it mean: i can try to compile on mac same as on linux ?
<kintel> Yes, pretty much the same
<kintel> We use ./scripts/release-common.sh to build DMGs
<guso78k> sounds promising. i am curious where i will hit the caveats ...
<kintel> ..but I rarely build it locally; I rely on the CI server for that. Locally I just do cmake , make, ctest
<kintel> caveats is installing the dependencies; it takes time, and if your mac is too old or too new, the script may not work 100%
<gbruno> [github] jbinvnt opened pull request #4752 (GSoC 2023: Final Checkpoint) https://github.com/openscad/openscad/pull/4752
<kintel> I haven't dared update to macOS 13 yet, not until I can build OpenSCAD in a VM :(
<kintel> but ideally it should just work.
<guso78k> ahh, i see macdeployqt  :)
<joseph_> teepee kintel: One more note. I just created PR 4752, which is actually branched off of my other PR. GitHub therefore shows 4752 as adding all the commits from both branches. But if 4738 is merged to master, those older commits will no longer be shown on the newest PR, right?
<kintel> teepee I wonder if the netcup server config can be tweaked to identify as a different CPU. Otherwise we may be out of luck for a while running openscad on it..
<teepee> joseph_: yep, if the commits are identical (same hash)
<teepee> kintel: there might be some llvm flags, or maybe even disabling it completely
<kintel> ..but I'm curious if the appimage binaries would run
<teepee> I have not tried building x86 appimage yet. only ARM64 so far
<teepee> the base image is already there, so it's easy to add the openscad build pipeline
<gbruno> [github] jbinvnt edited pull request #4752 (GSoC 2023: Final Checkpoint) https://github.com/openscad/openscad/pull/4752
<kintel> teepee by "disable llvm", do you mean rebuilding Mesa without LLVM support and linking against that?
<joseph_> teepee: They would be, except for the merge commit. I believe it will be trivial for me to rebase and force-push my second branch, though.
ccox has joined #openscad
<teepee> DRAW_USE_LLVM=0
misterfish has quit [Ping timeout: 264 seconds]
<teepee> ah, also GALLIUM_OVERRIDE_CPU_CAPS
<kintel> Do you happen to know how to force Gallium? It's choosing llvmpipe
<teepee> if I'm reading that right: LIBGL_ALWAYS_SOFTWARE = true and GALLIUM_DRIVER=softpipe
<teepee> but I thought llvmpipe is gallium too
guso78k has quit [Ping timeout: 245 seconds]
<kintel> hm, the DRAW_USE_LLVM=0 didn't do anything
<kintel> ..but if I force softpipe, it seems to choose another driver
<kintel> oh, and then the LLVM error is gone. Probably cost some performance but I don't care :)
<gbruno> [github] t-paul closed pull request #4751 (Remove unneeded assert that crashes repeated manifold model renders) https://github.com/openscad/openscad/pull/4751
<gbruno> [github] t-paul pushed 1 modifications (Merge pull request #4751 from chotchki/remove_assert Remove unneeded assert that crashes repeated manifold model renders) https://github.com/openscad/openscad/commit/8ce215ab005d29bf8621ecac67744dee37dbed2a
<gbruno> [github] kintel synchronize pull request #4737 (Add new, more capable, EGL offscreen support) https://github.com/openscad/openscad/pull/4737
<gbruno> [github] kintel pushed 1 modifications (Add missing include) https://github.com/openscad/openscad/commit/84397e12c1064e7d690226ff4e63e59920e7650e
<kintel> Woot: single binary with EGL support and all tests pass without having to spin up an X11 server
JakeSays_ has joined #openscad
JakeSays has quit [Ping timeout: 244 seconds]
<gbruno> [github] kintel pushed 1 modifications (Don't spin up virtualfb in EGL mode) https://github.com/openscad/openscad/commit/712619f49244baa153ef0fc8f39922dfd6ef3073
<gbruno> [github] kintel synchronize pull request #4737 (Add new, more capable, EGL offscreen support) https://github.com/openscad/openscad/pull/4737
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<teepee> kintel: nice!
zauberfisch has quit [Ping timeout: 255 seconds]
yogadude has joined #openscad
zauberfisch has joined #openscad
<gbruno> [github] jbinvnt synchronize pull request #4738 (GSoC 2023: Macro to allow building with OpenGL Core) https://github.com/openscad/openscad/pull/4738
<gbruno> [github] jbinvnt synchronize pull request #4752 (GSoC 2023: Final Checkpoint) https://github.com/openscad/openscad/pull/4752
snaked has joined #openscad
L29Ah has left #openscad [#openscad]