use-value has quit [Remote host closed the connection]
use-value has joined #openscad
epony has joined #openscad
linext_ has joined #openscad
linext has quit [Ping timeout: 268 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee has joined #openscad
<linext_>
can i set up a build / test cases for openscad wasm?
<linext_>
i see there's an automated system on github
Junxter has joined #openscad
<peepsalot>
linext_: the test suite uses ctest. you'd need to figure out how to invoke ctest through the browser or whatever. I have no idea if that can be done on a CI server.
<peepsalot>
there's already an automated wasm build though
<peepsalot>
oh, and with NULLGL there won't be many tests that can even run
<linext_>
what about taking .scad files and getting out STL files, then checking the STL files
<linext_>
i wonder if it's possible to 3d print a pencil and jam the graphite core into it, then sharper the whole thing
<linext_>
peepsalot, i did more testing with those extra arguments. it appears that they didn't make a difference. if you have the F12 console open, it slows the rendering way down by about 50%
<linext_>
when i saw rendering time cut in half, i must have had the developer console open in one and not the other
<peepsalot>
hmm, strange
<linext_>
also there were some error messages in the new version that prevented it from functioning
<InPhase>
linext_: Apparently pencils are made by laying the graphite/clay core in, and then wood-gluing two halves of wood together, before cutting out the pencil shape.
<InPhase>
linext_: Following that logic you would make a 3D printed pencil by pausing the print and laying in the graphite/clay core.
<peepsalot>
linext_: which new version?
<peepsalot>
if it wasn't functioning then how did you test rendering time?
<peepsalot>
did you try testing each additional setting individually? some of them could potentially hurt performance, canceling out gains from others. no way to tell for sure besides benchmarking them
<peepsalot>
how long does it take you to compile a WASM build?
<peepsalot>
i would try to systematically do one change at a time until you can determine what introduces the errors
crazy_imp has quit [Ping timeout: 260 seconds]
crazy_imp has joined #openscad
snaked has quit [Ping timeout: 260 seconds]
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
snaked has joined #openscad
ur5us has quit [Ping timeout: 260 seconds]
<Junxter>
print out two halves of pencil, and glue together
ur5us has joined #openscad
califax has quit [Remote host closed the connection]
la1yv has quit [Read error: Connection reset by peer]
la1yv has joined #openscad
linext_ has quit [Quit: Leaving]
linext has joined #openscad
pah has quit [Ping timeout: 256 seconds]
pah_ has joined #openscad
DigitaltNoget has quit [Remote host closed the connection]
califax has quit [Ping timeout: 255 seconds]
califax has joined #openscad
aiyion has quit [Ping timeout: 255 seconds]
aiyion has joined #openscad
J1A8496680247021 has joined #openscad
J1A84966802470 has quit [Ping timeout: 260 seconds]
J1A8496680247021 is now known as J22
epony has quit [Read error: Connection reset by peer]
califax has quit [Remote host closed the connection]
J2274 has joined #openscad
califax has joined #openscad
<linext>
i did some testing to add arguments -O3 -flto -s MALLOC=emmalloc
<linext>
they all work, the argument causing the errors was --closure=1
J22 has quit [Ping timeout: 260 seconds]
<linext>
o javem
<linext>
i haven't noticed a difference in rendering speed on web assembly
peeps[win] has joined #openscad
peeps[win] has quit [Client Quit]
peeps[win] has joined #openscad
J227495 has joined #openscad
Junxter has quit [Ping timeout: 256 seconds]
J22749583 has joined #openscad
J2274 has quit [Ping timeout: 260 seconds]
J227495 has quit [Ping timeout: 260 seconds]
J2274958345 has joined #openscad
J22749583 has quit [Ping timeout: 260 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
J2274958345 is now known as J22
teepee has quit [Ping timeout: 255 seconds]
teepee has joined #openscad
<peepsalot>
teepee: how would you feel about deleting travis files? .travis.yml, scripts/travis-ci.sh, and scripts/travis-ci-before-install.sh
ur5us has joined #openscad
<teepee>
I'd rate travis as lost cause, so the config file can certainly go, for the scripts we need to check if they are used somewhere any maybe just need to be renamed
<teepee>
peepsalot: e.g. github actions just call travis-ci-before-install.sh
<teepee>
very likely not the case with travis-ci.sh
<peepsalot>
ah, hmm didn't notice that usage. seems like the stuff it sets could also be moved into the .yml matrix configs
<teepee>
yeah, with no other options at this point it does not matter too much. with multiple CIs it was useful to have a single point, just the naming was wrong :)