HannoBraun[m] has quit [Quit: You have been kicked for being idle]
Junxter has quit [Remote host closed the connection]
Junxter has joined #openscad
arebil has joined #openscad
arebil has quit [Client Quit]
toulene has joined #openscad
arebil has joined #openscad
LordOfBikes has quit [Quit: Ex-Chat]
LordOfBikes has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
pa has quit [Ping timeout: 256 seconds]
pah has joined #openscad
GNUmoon has quit [Ping timeout: 240 seconds]
<peepsalot>
teepee: how do you feel about merging the src organization as is? i still plan to try separating out libsvg, but i think its going to be a lot more involved than anticipated, so wanting to keep that effort separate as well
<teepee>
yep, all in one might be a bit ambitious, I don't have any objections, hopefully not causing a lot of pain for OlivierChafik[m]
<OlivierChafik[m]>
teepee: I've made the web demo to be a bit more responsive (simpler UI on mobile). And... learned how to lazily mount zip files in Emscripten through BrowserFS, so have bundled quite a bit of libraries by default (displaying license files is high up on my todo list, and now so is cleaning up the code)
<teepee>
I've seen that mentioned maybe a week ago, but did not really have a closer look
<OlivierChafik[m]>
Ooooh, interesting!!
<teepee>
I've not seen any wasm loaded, so it seems to work differently. also no source code link I can see
<OlivierChafik[m]>
Re/ performance I have found new leads in some old CGAL threads on how to do a non-filtered lazy kernel. I'm still dogged by the compilation issue so couldn't try it properly but will try and abuse circleci
<teepee>
yeah, getting the circle-ci stuff in good shape would be nice, I did not have enough time to discuss that, but it seems DSchroer has some ideas too
<teepee>
would be nice to get something setup that works easily just based on latest master checkin
<teepee>
the download page seems to update at least with the WASM zip
<OlivierChafik[m]>
yes ofc, I hope we don't have to merge my current adhoc filtered number PR though
<peepsalot>
what is the filtering in regards to again?
<OlivierChafik[m]>
teepee: that's a very mysterious web app... compiled with something else (maybe emscripten's ASM.js?) and maybe... from something else? (minimalist .scad parser + plugged with a different CAD renderer maybe?)
<teepee>
no idea, I'm wondering if that's the original jscad author with a translation logic
<teepee>
that would be xyzdims or so, let me check
<OlivierChafik[m]>
@peepsalot filtering in general speeds up an exact kernel by doing lots of operations on its lower and upper bounds. But when rounding is not IEEE 754 compliant, having tight bounds leads to lots of errors
<OlivierChafik[m]>
So I've done a crude wrapper around Gmpq that adds horribly large bounds to be safe
<OlivierChafik[m]>
But also, it's not lazy, so it's slower than Epeck normally used by fast-csg
Guest672 has joined #openscad
<OlivierChafik[m]>
peepsalot: that was the only way I could find to make the web builds not to explode.
<OlivierChafik[m]>
ALso tried to enlarge the intervals used by existing kernels but have't found anything that works so far
<teepee>
ok, I'm confused, one is scriptcad.org and one is scriptcad.com and they don't really look the same, also the name does not match I believe
Guest672 has quit [Client Quit]
<OlivierChafik[m]>
oh, what is csg.js ?
<OlivierChafik[m]>
teepee: wait until openscad.cloud is live haha
<teepee>
javascript implementation of the CSG stuff
<OlivierChafik[m]>
then everyone will be confused
<peepsalot>
that was the name of a very old impl that jscad was based on
<OlivierChafik[m]>
but based on where it is in the diagram i wonder if it's an OpenCSG port just for visualization w/ Three.js
<OlivierChafik[m]>
(which we could really use!)
<teepee>
yeah, quite fast in some cases, but also having issue with a number of models
<teepee>
that would be useful
<teepee>
but I'm afk for a bit, need to get some groceries :)
<OlivierChafik[m]>
Anyway, it's amazing there's all these options. I guess the added value of the current efforts is to really support 100% of OpenSCAD files and libraries rather than likely a subset, however nice and snappy these apps may look
<OlivierChafik[m]>
Also, things now work on iPhone / Android (well, as slowly as on desktop of course)
<teepee>
yes, that, and the automatic support for new stuff that is coming
<teepee>
which in my view is also a very important point
Guest6 has joined #openscad
<OlivierChafik[m]>
I've struggled to find some UX that works, had to resort to a toggle button that switches between edit mode (with translucent render in the background) and 3d interaction (w/ code in the background)
<Guest6>
is there a way to import modules from a separate file?
<Guest6>
like an stl is imported
<OlivierChafik[m]>
Guest6: That's in my plans... I'll support drag & drop of zip files
<OlivierChafik[m]>
(probably persisting them in localStorage)
<OlivierChafik[m]>
I was prioritizing bundling standard libraries as it means one can still share a deep link into a fully-functional model, whereas with local zip files the model will be incomplete
<Scopeuk>
OlivierChafik[m] was mid talking about his web based client when you joined, I think that caught them out
<Guest6>
i did not find that but was probably using different term
<Guest6>
thx
<Scopeuk>
No problem
Guest6 has quit [Quit: Client closed]
<OlivierChafik[m]>
Scopeuk: sorry I interrupted!
Claws61821 has joined #openscad
Claws61821 has quit [Client Quit]
<OlivierChafik[m]>
Scopeuk: I actually spent a bit of time fiddling with OpenJSCAD when I first hit performance issues with OpenSCAD last year. I figured it would be easier to modify their JS codebase than to dive into the OpenSCAD C++, but then I ran into some sort of NPM hell that was eating up my laptop's limited harddrive space and I gave up... Also, I thought it couldn't possibly be faster than C++, which is ironic given how snappy it is compared
<OlivierChafik[m]>
to the wasm build for now
<OlivierChafik[m]>
Scopeuk: haha misread your message, I need to sleep more and code less
Junxter has quit [Ping timeout: 240 seconds]
<teepee>
right, I do approve of the first file in that scriptcad.com thingy :)
ur5us_ has joined #openscad
<Scopeuk>
OlivierChafik[m] very easy done, I think we'll let you off :)
<J2295>
making the stars and moon stand out even more
<J2295>
so it might even be recognized when at symbol size
<teepee>
problem is I'm not finding any script to generate the files :(
<J2295>
and a nice Star star(starHeight, 24, [1.6,4,1.6,3]);
<J2295>
maybe it was done manually and you just find a png
nedko has quit [Ping timeout: 240 seconds]
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
nedko has joined #openscad
J2295 has quit [Quit: Client closed]
J2295 has joined #openscad
<peepsalot>
hmm, i almost forgot about wanting to rename many of the files. For example making sure corresponding .h and .cc filenames match.
<peepsalot>
I'm thinking of possibly CamelCase the rest of the files while I'm at it, or at very least if they represent a CamelCase class name.
<peepsalot>
feels like such renames should maybe be done as part of this same file relocating PR, what do you think?
<peepsalot>
teepee: ^
<peepsalot>
i did the CamelCase previously in #3787, but it was just the GUI classes, since I think many(but not all) of them were already patterned that way
ur5us_ has quit [Ping timeout: 240 seconds]
<linext>
is it possible to center an imported STL
<linext>
import("", center=true);
<linext>
i realize i could import the file into Netfabb and get the 3d model measurements, and use translate