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> maybe we can sync that stuff so future update are actually drop-in
<linext> the openscad.js file has gotten much more complex
<linext> oh wait
<linext> the dshroer version uses two separate files
<linext> openscad.js which loads openscad.wasm.js
<linext> your version combined the two i believe
<linext> i think if i rename your openscad.js to openscad.wasm.js, it'll match up
<teepee> hmm, it's basically just the make file from his repo, and also updated to the latest version
<teepee> repo is in sync
<linext> yes, appears to be working now
<teepee> but not using the makefile, so that could be the difference
<linext> is there a command to print the openscad version to std out?
<teepee> --version
<linext> echo(version=version());
<teepee> that works too
<linext> hmm...
<linext> Cannot use 'import.meta' outside a module
<linext> i'll investigate tomorrow with a demo
<linext> it's probably just the way new javascript is
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
foul_owl has quit [Ping timeout: 264 seconds]
foul_owl has joined #openscad
rvt has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
rvt has joined #openscad
kintel has joined #openscad
J2354 has joined #openscad
J235451 has joined #openscad
J23 has quit [Ping timeout: 260 seconds]
J2354 has quit [Ping timeout: 260 seconds]
<gbruno> [github] kintel pushed 3 modifications (Merge pull request #4572 from ochafik/manifold-wasm Enable Manifold in WASM builds) https://github.com/openscad/openscad/commit/f0e885e4f1dd3d863f62711ba636101a7c1c78f9
<gbruno> [github] kintel pushed 1 modifications (Use python3) https://github.com/openscad/openscad/commit/7355acd63b58e066efdfe9a5dc11e6f0ae95b19e
foul_owl has quit [Ping timeout: 268 seconds]
<gbruno> [github] ochafik synchronize pull request #4571 ([manifold] Nudge macos circleci towards python3) https://github.com/openscad/openscad/pull/4571
<gbruno> [github] kintel opened pull request #4573 (Fix recently introduced macOS deployment target issue) https://github.com/openscad/openscad/pull/4573
LordOfBikes has quit [Ping timeout: 250 seconds]
foul_owl has joined #openscad
LordOfBikes has joined #openscad
<gbruno> [github] ochafik synchronize pull request #4571 ([manifold] Nudge macos circleci towards python3) https://github.com/openscad/openscad/pull/4571
J23545194 has joined #openscad
J2354519486 has joined #openscad
J235451 has quit [Ping timeout: 260 seconds]
J23545194 has quit [Ping timeout: 260 seconds]
J2354519486 has quit [Quit: Client closed]
J2354519486 has joined #openscad
L29Ah has quit [Read error: Connection reset by peer]
redlizard_ has joined #openscad
redlizard has quit [Ping timeout: 268 seconds]
<gbruno> [github] kintel pushed 1 modifications (Find python hack) https://github.com/openscad/openscad/commit/62ca8bd2aa9011dc73a89f7641c4cb982ca5849a
<gbruno> [github] kintel synchronize pull request #4573 (Fix recently introduced macOS deployment target issue) https://github.com/openscad/openscad/pull/4573
J235451948697 has joined #openscad
J2354519486 has quit [Ping timeout: 260 seconds]
<kintel> teepee See discussion in https://github.com/openscad/openscad/pull/4571 - any gut feeling on how to deal with CMake and leaking settings?
<gbruno> [github] kintel ready_for_review pull request #4573 (Fix recently introduced macOS deployment target issue) https://github.com/openscad/openscad/pull/4573
<gbruno> [github] kintel edited pull request #4573 (Fix recently introduced macOS deployment target issue) https://github.com/openscad/openscad/pull/4573
Alexer has quit [Ping timeout: 256 seconds]
Alexer- has joined #openscad
ur5us has quit [Ping timeout: 252 seconds]
<gbruno> [github] kintel pushed 1 modifications (Update sanity check to accept binaries built for macOS 10.14) https://github.com/openscad/openscad/commit/6847d45c8cb99abb6e8a1d494997d7ef987ee895
<gbruno> [github] kintel synchronize pull request #4573 (Fix recently introduced macOS deployment target issue) https://github.com/openscad/openscad/pull/4573
<gbruno> [github] kintel pushed 1 modifications (macOS snapshots now require minimum macOS 10.14, due to Manifold) https://github.com/openscad/openscad.github.com/commit/2c41ecc245cffe9ec60a1b7b9ef99f0ec7644836
J23545194869783 has joined #openscad
J235451948697 has quit [Quit: Client closed]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest75 has joined #openscad
<Guest75> why cant I download it on my mac
Guest75 has quit [Quit: Ping timeout (120 seconds)]
kintel has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
J23545194869783 is now known as J23
guso78 has joined #openscad
fling_ has joined #openscad
fling has quit [Ping timeout: 255 seconds]
fling_ is now known as fling
noonien has quit [Ping timeout: 246 seconds]
noonien7 has joined #openscad
ur5us has joined #openscad
castaway has joined #openscad
Guest27 has joined #openscad
Guest27 has quit [Ping timeout: 260 seconds]
Guest27 has joined #openscad
L29Ah has joined #openscad
guso78 has quit [Quit: Client closed]
L29Ah has quit [Ping timeout: 268 seconds]
L29Ah has joined #openscad
Guest27 has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 260 seconds]
snaked has quit [Quit: Leaving]
L29Ah has left #openscad [#openscad]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
L29Ah has joined #openscad
<Virindi> Gosh, the speed improvements in the last few years lulled me into complacency. I started loading files for display on my zoom pc, which is like a generation 1 i5, and everything has been great...until I forgot there are limits and tried to load a file I created on my desktop which has a product label created by surface()ing a png
<Virindi> took 20 minutes to render, my desktop does it in 20 seconds
<Scopeuk> would be interesting to see what if anything the manifold stuff in the nightly's does with that
<Scopeuk> it's been quite impressive in my little bit of playing arround with it
<Virindi> which setting? I only use nightly, I did fast-csg...that computer is unusable on normal models without VBOs
<Scopeuk> it should now be in the nightly's
<Virindi> not a feature checkbox?
<Scopeuk> it is called manifold, you should turn off all the fast csg options when using it
<Scopeuk> should be, although I pulled the circle ci build on it, havent checked the nightly myself, its merged though
<Virindi> oh, whoops, I am on my desktop and this nightly is 2022
* Virindi updates it
<Virindi> ah, there it is :)
<Virindi> that applies to render() right?
<Scopeuk> this is anythign that triggers a proper render
<Scopeuk> so render() or hitting F6
<Scopeuk> when I say proper I mean anything that generates the 3d mesh rather than the 2d preview magic
<Virindi> seems good, I don't understand why fast-csg is ever described as faster though. I still haven't found a case where it is faster. Running comparison times and now I am waiting on fast-csg :)
<Virindi> I guess fast-csg is faster with some other type of model style than I use
<Virindi> the amusing thing is without fast-csg-trust-corerefinement, it complains that it is using the slow method, but when you enable that it actually takes 10x as long
<Virindi> so really it is using the fast method
<Virindi> preview time:
<Virindi> no options - 1:13
<Virindi> fast-csg - 1:15
<Virindi> manifold - 1:06
<Virindi> fast-csg, fast-csg-trust-corerefinement - 12:17 (yes 10.1x slower)
<Virindi> very nice :)
<Virindi> (I mean preview with render())
<Virindi> Guess I will use manifold :)
<Scopeuk> it all varies across designs, I think Manifold is the closest to universally fastest, it is also the onyl one that properly makes use of multiple cores
<Virindi> yeah I know, but I have never personally encountered a case where fast-csg wasn't a huge hindrance
<Virindi> hmm
<Virindi> I didn't notice it using multiple cores
<Virindi> yeah, it is not. it is using one core.
<Virindi> if I could make it use multiple cores that would be amazing
<Scopeuk> interesting, it may depend on the model. and the cache state
<Virindi> Ah. I just tried one of my other really complex models and it did parallelize...for the 2 seconds before it finished. Very impressive. It must just be the surface() operation.
<Scopeuk> that seams likely,
<Scopeuk> noit sure any changes were made to surface
<Scopeuk> all of the csg operations should be quicker
<Scopeuk> mikowski should be a lot quicker
<Virindi> The second model is 2 seconds with manifold, 1 minute 30 seconds with no options. Hooooly shit, wow
<Virindi> that is incredible
<Virindi> now that's what I call an improvement :D
<Virindi> that kind of speed maybe makes it worthwhile now to automatically render() every single object without it being specified
<Virindi> I would like that option
<Virindi> I guess it would need to remember colors from inside the tree though
<Virindi> so, stop at color()
<Scopeuk> I think there are still cases it isn't quite quick enough but a switch becomes an option, I guess throwing a render() in your model isn't too painful to force it yourself
<Virindi> yeah all my models already have hundreds of render()s, one on every component
<Virindi> it is needed for the preview framerate to be usable on complex models
<Virindi> (yes everything is already super blocky, very course angle and segment settings0
<Virindi> )
J23 has quit [Quit: Client closed]
J23 has joined #openscad
n1essa has quit [Remote host closed the connection]
mohammadlatif has joined #openscad
mohammadlatif has quit [Client Quit]
n1essa has joined #openscad
n1essa has quit [Remote host closed the connection]
n1essa has joined #openscad
J23 has quit [Quit: Client closed]
J23 has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
guso78 has joined #openscad
Ckat has quit [Ping timeout: 268 seconds]
Ckat has joined #openscad
kintel has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ckat has quit [Ping timeout: 265 seconds]
Ckat has joined #openscad
kintel has joined #openscad
L29Ah has left #openscad [#openscad]
guso78 has quit [Ping timeout: 260 seconds]
<gbruno> [github] kintel closed pull request #4573 (Fix recently introduced macOS deployment target issue) https://github.com/openscad/openscad/pull/4573
<gbruno> [github] kintel closed pull request #4571 ([manifold] Nudge macos circleci towards python3) https://github.com/openscad/openscad/pull/4571
<gbruno> [github] kintel pushed 1 modifications (Update sanity check to accept binaries built for macOS 10.14) https://github.com/openscad/openscad/commit/8a62dd5d39948ab3ebf86e22a6d8f168a048e77f
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gbruno> [github] kintel pushed 16 modifications (Sweep up LOG stragglers) https://github.com/openscad/openscad/commit/d37cdd00ee1d1ba9f8cfed68fb2ce7012e69b4c4
<gbruno> [github] kintel synchronize pull request #4569 (Added simplified LOG() overloads for a common logging cases) https://github.com/openscad/openscad/pull/4569
kintel has joined #openscad
Ckat has quit [Ping timeout: 264 seconds]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest91 has joined #openscad
Guest91 has quit [Client Quit]
Ckat has joined #openscad
<linext> is the openscad.wasm on https://ochafik.com the one that supports manifold by emmett
<teepee> what do you mean by "the one"?
<linext> file size is the same
<teepee> same as before?
<teepee> or same as on the openscad download page
<linext> the same as the new version on the download page with manifold support (50x render increase)
<linext> according to winmerge there are a few differences
<teepee> he probably builds via his own repo, but it should be basically the same emscripten environment and the same openscad code
<linext> the version on ochafik say version = [2023, 3]
<linext> can i check if manifold is supported?
<linext> there's a checkbox for "manifold"
<linext> under "Show experiments"
<teepee> yes, --help would show that
<linext> is there specific openscad code that i can render to demo the new manifold 50x increase?
<teepee> maybe example24, the menger sponge
L29Ah has joined #openscad
<linext> yes, you're right
Ckat has quit [Ping timeout: 265 seconds]
Ckat has joined #openscad
<linext> menger sponge n=2 (fractal depth) takes 8.4 seconds on the old wasm, and n=3 takes 0 seconds on the new wasm
<linext> n=4 takes 22 seconds
<linext> pretty good
<linext> i suppose the examples that look like the ones on https://manifoldcad.org/ will have speedup
kintel has joined #openscad
<linext> so far most of the examples copied from 3dcustomizer.net to ochafik.com/openscad/ render in 0 seconds
<linext> this is going to be great
J23 has quit [Quit: Client closed]
J23 has joined #openscad
<linext> hard to say, because that would never have rendered... maybe if left running overnight
Guest14 has joined #openscad
Guest14 has quit [Client Quit]
<gbruno> [github] kintel pushed 2 modifications (Naming cleanup) https://github.com/openscad/openscad/commit/4e6c134ca69716646ea6e104111444a8037b6944
<gbruno> [github] kintel synchronize pull request #4570 (Refactored all the various GL error checking macros) https://github.com/openscad/openscad/pull/4570
<kintel> teepee I seem to encounter this Ubuntu 20.04 test failure relatively often. Do you know if this is a flaky test? https://github.com/openscad/openscad/actions/runs/4492929695/jobs/7903476021?pr=4569
<teepee> I'm not sure if it's the same, but I saw one flip flop once on 18.04 too
<kintel> manifold-cgalpng_example024 -> Error: openscad failed with return code -11
<teepee> oh, different one then
<kintel> ok, I'll rerun a few times to determine if it's actually flaky
Ckat has quit [Ping timeout: 268 seconds]
<teepee> not finding my 18.04 fail yet
<teepee> oh, that was circle-ci maybe
<gbruno> [github] kintel pushed 1 modifications ([fast-csg] Ditch ExactLazyNumbersVisitor (superseded by CorefinementVisitor)) https://github.com/openscad/openscad/commit/f0c1cadada766d7ca1ab94de56af75a2f6deede7
<gbruno> [github] kintel synchronize pull request #4555 ([fast-csg] Simplify experimental features.) https://github.com/openscad/openscad/pull/4555
<gbruno> [github] kintel review_requested pull request #4555 ([fast-csg] Simplify experimental features.) https://github.com/openscad/openscad/pull/4555
ur5us has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kintel has joined #openscad
<kintel> It's definitely flaky, it succeeded on a rerun. Not sure what return code -11 really means, but something to keep an eye open for
<gbruno> [github] kintel edited pull request #4570 (Refactored all the various GL error checking macros) https://github.com/openscad/openscad/pull/4570
<gbruno> [github] kintel pushed 2 modifications (Naming cleanup) https://github.com/openscad/openscad/commit/a0a86ee1575ad17c44350c7cd88df9006ace32b3
<gbruno> [github] kintel synchronize pull request #4570 (Refactored all the various GL error checking macros) https://github.com/openscad/openscad/pull/4570
<gbruno> [github] kintel closed pull request #4569 (Added simplified LOG() overloads for a common logging cases) https://github.com/openscad/openscad/pull/4569
<gbruno> [github] kintel pushed 81 modifications (Added simplified LOG() overloads for a common logging cases (#4569) * Added a simplified LOG() function for a common logging case * Renamed message_group::None to message_group::NONE to avoid collision with X11's None) https://github.com/openscad/openscad/commit/c2477f2560c17963098b34668d667f6b7d56c322
J23 has quit [Quit: Client closed]
J23 has joined #openscad
<gbruno> [github] kintel synchronize pull request #4555 ([fast-csg] Simplify experimental features.) https://github.com/openscad/openscad/pull/4555
<gbruno> [github] kintel closed pull request #4555 ([fast-csg] Simplify experimental features.) https://github.com/openscad/openscad/pull/4555
<gbruno> [github] kintel pushed 9 modifications ([fast-csg] Simplify experimental features. (#4555) * [fast-csg] Simplify features.
castaway has quit [Ping timeout: 264 seconds]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
teepee_ has joined #openscad
snaked has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
<Virindi> okay manifold mode is just...it just makes things so much better :)
<Virindi> so great
GNUmoon has quit [Ping timeout: 255 seconds]
<linext> thank emmett
<linext> emmett lalish who designed the gear cube, stretchy bracelet, etc.
<linext> a bunch of openscad examples
GNUmoon has joined #openscad
<Virindi> I hit render (with insane $fn) and it finished so fast that I thought it didn't do it
<linext> same
<linext> stuff that would take days is now taking less than a minute
<linext> according to the blog article, emmett has been working on this for 8 years
kintel has joined #openscad
<gbruno> [github] kintel pushed 2 modifications (Naming cleanup) https://github.com/openscad/openscad/commit/661a9d1c3697be3ada1d1041dbc26cfe09fd1e0a
<gbruno> [github] kintel synchronize pull request #4570 (Refactored all the various GL error checking macros) https://github.com/openscad/openscad/pull/4570
<Virindi> finally, a use for all these cores that modern cpus are packed with :)
<linext> i emailed Dominick Schroer to update his demo and build instructions to include manifold, for building WASM