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
<teepee> yeah, I don't have access to that, I'll have to check so we can get the headers configured
<teepee> oh, no, what did you do?
<teepee> firefox did work till a minute ago
<teepee> also, I mistyped the include, so that works:
<teepee> use </libraries/MCAD/regular_shapes.scad> torus(20, 18); $fa = 2; $fs = 0.2;
<teepee> a bit more setup and this really starts to be usable :)
<OlivierChafik[m]> I didn't do anything!!
<OlivierChafik[m]> try and refresh
<OlivierChafik[m]> I think the service worker i use to trick the browser into allowing SharedArrayBuffer only works after a reload (on Chrome it works without it because I asked for an exemption). Maybe your SW was down or something. You can also turn it down in the Application / Service Workers and reload twice to see
<teepee> getting now EXCEPTION: ReferenceError: SharedArrayBuffer is not defined
<teepee> it did work once :)
Koly has joined #openscad
<gbruno> [github] t-paul closed issue #4109 (fast-csg eats fabric) https://github.com/openscad/openscad/issues/4109
<gbruno> [github] t-paul pushed 36 additions 17 modifications (Merge pull request #4132 from ochafik/fast-csg-missing-casts [fast-csg] Add missing hybrid-awareness / casts to fix top-level disappearing geom (esp. w/ lazy-union).) https://github.com/openscad/openscad/commit/660b066c9201431c36faa40868dd07b980520231
redlizard has quit [Ping timeout: 245 seconds]
ur5us has joined #openscad
<OlivierChafik[m]> teepee: weird. If i run it from a private browsing window it fails all the time. If i load it from my main profile it fails the first time after I killed the service worker, then works after a refresh
<OlivierChafik[m]> something about private window + service worker behaviour. Now I hate firefox thanks.
<OlivierChafik[m]> (ugh and it seems you can only debug service workers with the nightly builds of firefox, right)
redlizard has joined #openscad
<myosotis> service workers made my head hurt. so buggy and different between browsers. I gave up on every project I tried it on maybe 2ish years ago
LordOfBikes has quit [Ping timeout: 256 seconds]
LordOfBikes has joined #openscad
myosotis has quit [Quit: myosotis]
drkow has joined #openscad
snaked has quit [Read error: Connection reset by peer]
snakedGT has joined #openscad
drfff has quit [Ping timeout: 256 seconds]
ali1234 has quit [Remote host closed the connection]
ali12341 has joined #openscad
J2269 has joined #openscad
ur5us has quit [Ping timeout: 240 seconds]
J22 has quit [Ping timeout: 256 seconds]
luissen has quit [Ping timeout: 250 seconds]
ferdna has quit [Quit: Leaving]
teepee_ has joined #openscad
GNUmoon has quit [Ping timeout: 240 seconds]
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
GNUmoon has joined #openscad
king has joined #openscad
GNUmoon has quit [Ping timeout: 240 seconds]
king has quit [Quit: Client closed]
GNUmoon has joined #openscad
ur5us has joined #openscad
ur5us has quit [Ping timeout: 240 seconds]
gunnbr_ has joined #openscad
othx has quit [Read error: Connection reset by peer]
othx has joined #openscad
gunnbr has quit [Ping timeout: 256 seconds]
arebil has joined #openscad
KimK has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
arebil has joined #openscad
foul_owl has quit [Ping timeout: 256 seconds]
foul_owl has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
<teepee> OlivierChafik[m]: found this https://github.com/CGAL/cgal/pull/5510
<OlivierChafik[m]> Aha!!
<OlivierChafik[m]> -DCGAL_ALWAYS_ROUND_TO_NEAREST=1 it is, then 🎉
<OlivierChafik[m]> nice find
<teepee> yep, looks like it, lets see if a rebuild confirms that :)
<teepee> I'll go back to the unpatched cgal version
<teepee> which brings wasm to require cgal 5.3, but that's fine :)
Guest51 has joined #openscad
Guest51 has quit [Client Quit]
<OlivierChafik[m]> updated https://ochafik.com/openscad, `cube(); sphere(2);` explodes with a cryptic exception now :-(
<teepee> :(
<teepee> oops, it already claims cgal 5.5
<teepee> I'm not sure it reverted the docker stuff
<teepee> I wonder if just cloning the repo is a good idea anyway
<teepee> ok, not it's 5.4 so that should be the unpatched version and I see -DCGAL_ALWAYS_ROUND_TO_NEAREST with the openscad build
arebil has joined #openscad
<teepee> ok, updated again,
<teepee> crossing fingers it was just a mixup with the patched version
<OlivierChafik[m]> updated, still exception :-(
<teepee> meh, so no magic #define NO_BUGS
<OlivierChafik[m]> btw you can try it locally by checking out my branch https://github.com/ochafik/openscad-wasm/tree/editor-ochafik.com, copying the files to example/www and running `make example` (then open http://localhost:8080 )
tachoknight has joined #openscad
tachoknight has quit [Client Quit]
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
<teepee> does that ring a bell? https://github.com/CGAL/cgal/issues/5119
myosotis has joined #openscad
myosotis has quit [Read error: Connection reset by peer]
myosotis has joined #openscad
<peepsalot> teepee: do you know what the __GCC is about here? https://github.com/openscad/openscad/blob/master/cmake/Modules/FindLib3MF.cmake#L96
<teepee> that was needed for lib3mf enabling the MINGW stuff
<peepsalot> the way that line is defined it treats it like a single definition in a weird way info.cmake shows DEFINES = ... ENABLE_CAIRO;__GCC -DENABLE_LIB3MF;USE_QOPENGLWIDGET; ...
<teepee> hmm, yeah, looks like it's 1 string and probably gets split later, that's a bit messy
<teepee> it's a normal define IIRC
<teepee> so those 2 should be separate -D
<peepsalot> and then there ends up being a line in moc_predefs.h: #define __GCC -DENABLE_LIB3MF 1
<peepsalot> whatever that does
<teepee> ouchies
<dalias> that sounds very broken
<teepee> well, it defines __GCC with that string
<teepee> which still counts as #isdef
<dalias> well yes, but ... defining macros in private __GCC namespace ??
<teepee> but it's certainly not that it should be :)
<peepsalot> i mean, i get what the define does, i don't know what that generated header does though
<teepee> probably just some crazy Qt stuff, it's not needed there
<teepee> it's really just the nonstandard use of defines in lib3mf that needed it
<teepee> otherwise it would break building the stream stuff with the VS code path
<OlivierChafik[m]> > does that ring a bell? https://github.com/CGAL/cgal/issues/5119
<OlivierChafik[m]> * > does that ring a bell? https://github.com/CGAL/cgal/issues/5119
<OlivierChafik[m]> We'll most need something similar to the change mentioned at the end. Although I'd rather have wider intervals + still filtering than just no filtering, for speed reasons.
<OlivierChafik[m]> I used to think (before reading that bug) we could switch all of corefinement to Cartesian<Gmpq>, which I tried (to be consistent w/ the legacy nef) and is slower. But that wouldn't help with wasm if it still uses epeck inside.
<OlivierChafik[m]> * > does that ring a bell? https://github.com/CGAL/cgal/issues/5119
<OlivierChafik[m]> teepee We'll most likely need something similar to the change mentioned at the end. Although I'd rather have wider intervals + still filtering than just no filtering, for speed reasons.
<OlivierChafik[m]> I used to think (before reading that bug) we could switch all of corefinement to Cartesian<Gmpq>, which I tried (to be consistent w/ the legacy nef) and is slower. But that wouldn't help with wasm if it still uses epeck inside.
<teepee> it's a bit confusing as the PR mentions "cool, now we can support platforms without rounding-math"
<OlivierChafik[m]> (I hope to have more time later this week to test modified kernels + patch things up)
<teepee> but it seems like 96,29% broken
<OlivierChafik[m]> > the PR mentions "cool, now we can support platforms without rounding-math"
<OlivierChafik[m]> wait i missed that PR
<teepee> hm?
<teepee> well, to be precise it's a comment in a linked ticket https://github.com/CGAL/cgal/issues/3180#issuecomment-947376584
<OlivierChafik[m]> oh this one? https://github.com/CGAL/cgal/issues/2791
<teepee> and it's referencing valgrind instead of wasm, but the issue with valgrind is the same that it does not support rounding-math
<OlivierChafik[m]> ah yes
<teepee> and the test they show (in the PR I think) with a big shere and lots of small spheres cut out does not work with any random resolution I tried
Koly has quit [Quit: Client closed]
lastrodamo has joined #openscad
J2269 has quit [Quit: Client closed]
J2269 has joined #openscad
othx has quit [Ping timeout: 272 seconds]
othx has joined #openscad
gunnbr_ has quit [Ping timeout: 240 seconds]
gunnbr has joined #openscad
tachoknight has joined #openscad
tachoknight has quit [Client Quit]
gunnbr_ has joined #openscad
gunnbr has quit [Ping timeout: 240 seconds]
othx has quit [Ping timeout: 240 seconds]
gunnbr_ has quit [Ping timeout: 256 seconds]
othx has joined #openscad
gunnbr has joined #openscad
othx has quit [Remote host closed the connection]
othx has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
GNUmoon has quit [Ping timeout: 240 seconds]
linext has quit [Ping timeout: 256 seconds]
GNUmoon has joined #openscad
linext has joined #openscad
ur5us has joined #openscad
linext_ has joined #openscad
linext has quit [Ping timeout: 260 seconds]
snakedGT has quit [Ping timeout: 256 seconds]
Guest86 has joined #openscad
Guest86 has quit [Client Quit]
ali12341 has quit [Ping timeout: 245 seconds]
ur5us has quit [Ping timeout: 240 seconds]