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
use-value1 has joined #openscad
ferdna has quit [Quit: Leaving]
myosotis has joined #openscad
use-value has quit [Ping timeout: 240 seconds]
use-value1 is now known as use-value
ur5us_ has quit [Ping timeout: 240 seconds]
TheAssassin has quit [Remote host closed the connection]
nedko has quit [Remote host closed the connection]
teepee has quit [Write error: Connection reset by peer]
GNUmoon has quit [Write error: Connection reset by peer]
aiyion has quit [Write error: Connection reset by peer]
J22 has quit [Quit: Ping timeout (120 seconds)]
teepee has joined #openscad
J22 has joined #openscad
nedko has joined #openscad
TheAssassin has joined #openscad
aiyion has joined #openscad
lf94- is now known as lf94
walterwhip has joined #openscad
ur5us_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
ur5us_ has quit [Ping timeout: 240 seconds]
teepee has joined #openscad
walterwhip has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us_ has joined #openscad
gunnbr has quit [Read error: Connection reset by peer]
GNUmoon has joined #openscad
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
LordOfBikes has quit [Ping timeout: 256 seconds]
LordOfBikes has joined #openscad
myosotis has quit [Quit: myosotis]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
arebil has joined #openscad
J2295 has joined #openscad
J22 has quit [Ping timeout: 256 seconds]
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
aiyion has quit [Remote host closed the connection]
aiyion has joined #openscad
ur5us_ has quit [Ping timeout: 240 seconds]
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
KimK has joined #openscad
GNUmoon has quit [Ping timeout: 240 seconds]
arebil has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
aiyion has quit [Ping timeout: 240 seconds]
aiyion has joined #openscad
arebil has joined #openscad
GNUmoon has joined #openscad
aiyion1 has joined #openscad
nirvdrum[m] has joined #openscad
aiyion has quit [Ping timeout: 240 seconds]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
lastrodamo has joined #openscad
ferdna has joined #openscad
paddymahoney has quit [Ping timeout: 256 seconds]
paddymahoney has joined #openscad
ferdna has quit [Quit: Leaving]
ur5us_ has joined #openscad
ur5us_ has quit [Ping timeout: 240 seconds]
ubitux1 is now known as ubitux
little_blossom has quit [Quit: little_blossom]
myosotis has joined #openscad
arebil has quit [Ping timeout: 260 seconds]
myosotis has quit [Quit: myosotis]
toulene has quit [Quit: The Lounge - https://thelounge.chat]
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)
<OlivierChafik[m]> https://tinyurl.com/3bj2ey6r
<teepee> that's cool, so I really should start packaging stuff :)
<OlivierChafik[m]> Oh, src organization, didn't look but I don't have that many big changes in flight that I want to persist, go ahead!
GNUmoon has joined #openscad
<teepee> very nice, bosl and fonts \o/
<OlivierChafik[m]> teepee: yes please! Here's the current list: https://github.com/ochafik/openscad-wasm/blob/editor-ochafik.com/example/www/openscad-worker.js
<teepee> did you see that reddit post? i wonder what that is
<OlivierChafik[m]> Now I need to make things a lot faster, it's just not cutting it.
<OlivierChafik[m]> Yeah I had to redo the font support to be more lazy / read from zips on demand
<OlivierChafik[m]> which reddit post?
<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
snaked has quit [Ping timeout: 272 seconds]
use-value has quit [Quit: use-value]
<Scopeuk> Guest6 you can include other scad files, https://en.m.wikibooks.org/wiki/OpenSCAD_User_Manual/Include_Statement documents it,
<Guest6> yeah that's what i mean
<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 :)
<gbruno> [github] MichaelPFrey closed issue #3858 (Joystick won't bind anything to Relative Y) https://github.com/openscad/openscad/issues/3858
<teepee> J2295: what do you think... https://pastebin.com/raw/hgmcakhe ?
<J2295> funny  i already thought the stars shouldn't be differences but on the surface
<J2295> teepee the color is not "midnightblue"
<teepee> should it be?
<teepee> I grabbed the colors from wikipedia
<J2295> well  not necessarily
<J2295> oh .. its the ukrain colors ?
<teepee> :)
<J2295> .. nice
<teepee> I thought I try to make it work somehow as you suggested
<teepee> I'm not sure it would work with just changing the colors, but this way it might work as icon
<J2295> so the moon crescent is more clearly
<teepee> right, makes sense
<J2295> probably nobody notice the Ukraine color connection
<J2295> is there a reason why render is $fn=20?  ..  also the function r in star is not used anymore
<teepee> just to prevent long render, it's useless anyway
<J2295> only until colors are in the 3mf and OS going full 3D with real 3D icons - Ü
<teepee> true, we can update once that happened :)
GNUmoon has quit [Ping timeout: 240 seconds]
<J2295> some "Ghost in the shell cyber shit"
snaked has joined #openscad
<J2295> teepee how is this https://pastebin.com/wDsWPD2U
<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
<peepsalot> linext: no way that I can thinki of
GNUmoon has joined #openscad
Junxter has joined #openscad
ur5us_ has joined #openscad