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
<JordanBrown2> teepee WRT '*'. Indeed. Sigh. I hate it when my mental model is wrong.
<teepee> we may have to change that at some point
<pca006132> so '*' is just a simpler way to comment out multiple lines?
<pca006132> (or half a line)
<teepee> it removes the subtree, so it's not a text based thing, but actually parsed
<JordanBrown> Right, I was just noticing that and getting the link to back it up. I was half right. It's parsed, but not executed.
<teepee> I suppose basically up to the next ";"
<teepee> yes, it will never leave the parser
JordanBrown has left #openscad [#openscad]
<teepee> so already gone in the AST which is not a good idea if we want to get into things like reformatting based on the AST
JordanBrown has joined #openscad
<JordanBrown> It eats one "module_instantiation", which is a foo() bar() ... chain, including both single invocations and {} grouping.
juri_ has joined #openscad
juri____ has quit [Ping timeout: 268 seconds]
<teepee> hmm, christmas peanut? https://imgur.com/a/COa1nKU
mmu_man has quit [Ping timeout: 256 seconds]
<JordanBrown> sure
<InPhase> teepee: lol
<JordanBrown> Hmm. I could do OpenSCAD versions of my lawn decorations: https://imgur.com/a/ZWHcsL5
mmu_man has joined #openscad
<teepee> I guess better math has to wait for tomorrow. but on the plus side, that's now polar coordinates which makes it even more fun
<InPhase> We still have calendar space?
<InPhase> I just had a doable idea.
<teepee> yes, 5
<teepee> if those peanuts turn into more christmasy stuff 4
<InPhase> teepee: Ornament.
<teepee> JordanBrown: what is that sign?
<JordanBrown> You mean the one with the L and a circle-slash?
<InPhase> teepee: It's close to a nice ornament. Perhaps those layered teardrop baubles.
<teepee> yes
<JordanBrown> So what does a circle-slash mean?
<teepee> InPhase: yep, too boring still :)
<JordanBrown> For instance, what does a P in a circle-slash mean?
<teepee> JordanBrown: usually something forbidden, but who is L
<JordanBrown> L is a letter.
<teepee> the neighbor cat lisa?
<JordanBrown> If you saw a P-circle-slash, how would you say it in two English words?
<JordanBrown> "No Parking", right?
<InPhase> teepee: Perhaps a transparent swirl bauble with something inside? Alpha is not used enough. :)
<teepee> so no larking :P
kintel has joined #openscad
<JordanBrown> So this this is an L with a circle-slash, and L is a letter here, not standing for anything...
<teepee> InPhase: alpha does not work for me on Wayland, it's a bit crazy
<JordanBrown> No L
<InPhase> teepee: :(
<teepee> but I'm fine with something printable too, just not so boring
<InPhase> teepee: Okay, then how about a rotating bauble where you fake the effect of a reflection and sparkle?
<InPhase> teepee: But more rotate back and forth, not spin.
<teepee> hmm, not sure about reflection
<InPhase> teepee: Well, just as a brighter color overlay, but then you can do a sparkle effect briefly with radiant lines.
<teepee> considering this week is going to be crazy at work, I may have to settle for something simple
<teepee> amazing how everyone found out that the year is ending last week
<InPhase> It's been one heck of a year.
<InPhase> At least for me. :)
<teepee> I still have no idea how it's gone already
<InPhase> I've had enough melodrama to fill a lifetime compressed into a short time period.
<JordanBrown> It hasn't been an awful year for us, but it's been an awful week.
<JordanBrown> teepee so do you understand the sign now?
<InPhase> I'm optimistic 2024 will be smoother, provided the rest of the world doesn't decide to go crazy or something.
<teepee> says someone from US :D
* teepee watching horrified from afar
<teepee> JordanBrown: nope, the "no L" has me still lost
<InPhase> Yeah... I've learned to have some survival of the species angst every 4 years. :)
<JordanBrown> say it out loud?
kintel has quit [Ping timeout: 256 seconds]
<linext> it might be nice to be able to export several STLs at the same time if the part is several pieces
<teepee> my brain is already asleep, I'll try tomorrow, well in 5h (argh)
<linext> i wonder if there's a wasm to separate multi-part STLs into a zip of separate STLs
<linext> that would be a fine web app
<JordanBrown> Does anybody here know how to set up to build on Ubuntu?
<JordanBrown> I have an Ubuntu system that used to be able to build OpenSCAD, but right now cmake is failing, some complaint about EGL. Any ideas?
<JordanBrown> Mr Google directed me to Mesa, and that made it work.
kintel has joined #openscad
<kintel> JordanBrown Just got it, clever :) But I live in Canada.
<JordanBrown> Yeah, I know it's a French thing but has solidly leaked over into American English, but maybe not so much in the rest of the world.
<JordanBrown> Not that even native American English speakers always get it right away. It's definitely geek humor.
<kintel> JordanBrown I may be responsible for some EGL-related issues on Linux : /
<JordanBrown> /home/jordan/openscad/4882a-CRLF/b/_deps/tbb-src/src/tbb/semaphore.h:184:5: error: ‘sem_t’ does not name a type
<JordanBrown> :-(
<kintel> That doesn't seem EGL-related
<JordanBrown> No, I think I got past at least the initial EGL problems.
<kintel> Are your 100% sure manifold submodules are current?
<JordanBrown> yes, fresh clone
<kintel> which gcc version?
<JordanBrown> 11.4
<kintel> wait, tbb? I thought that should come from the system, not from manifold
<JordanBrown> I don't know how any of that stuff fits together.
<kintel> sudo ./scripts/uni-get-dependencies.sh
<kintel> manifold has some fallbacks to self-built dependencies if they're not provided by the system. ..so TMMW if you're not supplying OpenSCAD's required deps
<kintel> *YMMV
<JordanBrown> Ran it, now re-cmake-ing.
<kintel> Out of curiosity, what was the EGL issue?
<JordanBrown> CMake Error at CMakeLists.txt:103 (add_executable):
<JordanBrown> Target "OpenSCAD" links to target "OpenGL::EGL" but the target was not
<JordanBrown> found. Perhaps a find_package() call is missing for an IMPORTED target, or
<JordanBrown> an ALIAS target is missing?
<JordanBrown> Fixed with sudo apt install libegl1-mesa-dev
<JordanBrown> And I misremembered my European signs; it's a P for parking but just a red circle-slash on blue for no-parking.
drkow has joined #openscad
drfff has quit [Ping timeout: 246 seconds]
LordOfBikes has quit [Ping timeout: 256 seconds]
mmu_man has quit [Ping timeout: 255 seconds]
LordOfBikes has joined #openscad
J23k52 has joined #openscad
J23k12 has quit [Ping timeout: 250 seconds]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kartheek has joined #openscad
<gbruno> [github] jordanbrown0 synchronize pull request #4895 (Uniform support for \n, \r\n, \r as line breaks. Fixes #4882.) https://github.com/openscad/openscad/pull/4895
<JordanBrown> That was an "oops", something I considered cleaning up in the first round of this fix but decided to go with minimum change, and then got hit by exactly the reason I wanted to clean it up. So now it's cleaned up. But one of the tests still fails, because the final "Can't parse" error message doesn't get the current directory stripped off of it (unlike WARNING and ERROR lines), and the test harness apparently uses a fully qualified pa
<JordanBrown> th, and so it's different when built in different places.
<InPhase> teepee: There, I added one. :)
<InPhase> Not the full exploration of body dynamic I had planned, but the simpler one I could get done. :)
<InPhase> JordanBrown: Your teacups are exceptionally colorful, so I am wedging my IceSkater in before your Teacups. The Teacups look like a good candidate to slide to door 24.
<JordanBrown> I didn't know they had a date assigned yet.
<JordanBrown> How many open slots do we have?
<InPhase> The index.js file.
<InPhase> After my push it will have 20 entries in it.
<InPhase> Teacups are currently under "setDay(20, ...", but assuming we get the requisite 4 entries before then, they can be inserted before that. Unless someone produces like an animated Santa sliding down a chimney or something. ;)
<InPhase> JordanBrown: Ironically, the tea party guests have a similar body composition to the ice skater. ;) But I had not actually looked at the tea cups image or video before doing this.
<JordanBrown> I don't know whether they are really worthy, but I'm going to make a bunch of no-L coins, and I'm designing Nessie.
<JordanBrown> You can see the real-world lawn decorations and the two OpenSCAD designs at https://imgur.com/a/ZWHcsL5
<JordanBrown> surface() won't take an array as input? Really?
aiyion2 has quit [Remote host closed the connection]
aiyion2 has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
<JordanBrown> teepee take a look at https://imgur.com/a/ZWHcsL5 and tell me what you think.
<JordanBrown> Note: For totally unknown reasons, Firefox doesn't display the water correctly. Chrome does.
<JordanBrown> Edge does too.
guerd871 has joined #openscad
guerd87 has quit [Ping timeout: 256 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
cart_ has joined #openscad
guso78k has joined #openscad
mmu_man has joined #openscad
<gbruno> [github] gsohler edited issue #4880 (Track all the issues/bugs of python-pr3-squashed PR) https://github.com/openscad/openscad/issues/4880
<gbruno> [github] gsohler edited issue #4880 (Track all the issues/bugs of python-pr3-squashed PR) https://github.com/openscad/openscad/issues/4880
<gbruno> [github] gsohler synchronize pull request #4841 (Squashed commit of python_pr3) https://github.com/openscad/openscad/pull/4841
J23k52 has quit [Quit: Client closed]
J23k52 has joined #openscad
guso78k has quit [Quit: Client closed]
snaked has quit [Quit: Leaving]
pca006132 has quit [Remote host closed the connection]
pca006132 has joined #openscad
jonasbits_ has quit [Quit: No Ping reply in 180 seconds.]
jonasbits has joined #openscad
JordanBrown has quit [Read error: Connection reset by peer]
JordanBrown has joined #openscad
<JordanBrown> I incorrectly blamed Firefox for bad display. It isn't Firefox's fault at all. It turns out that one of my monitors won't display a bunch of shades of blue (or something). It was just coincidence that my FIrefox was on that monitor and other browsers were on the other monitor.
<pca006132> so you use multiple browsers at the same time?
<pca006132> thought that only frontend designers would do that :P
<JordanBrown> When the image displayed very differently in the browser than it does in OpenSCAD, I fired up a different browser to see if something in the copy-paste-imgur pipeline had damaged it.
<J23k52> isn't browser compartmentalization normal?  I use 4 browser
<JordanBrown> Also when popping the "delete image" box dimmed the image, the details became visible, suggesting that there was something wrong on the display end. But last night I didn't realize that (by coincidence) the Chrome was on the other monitor.
<JordanBrown> I normally have many browser windows open, but they are all the same Firefox.
aiyion2 has quit [Ping timeout: 240 seconds]
aiyion2 has joined #openscad
<InPhase> JordanBrown: DVI still has color-specific pins like the old VGA days (just digital). So it can be a cable issue if you're pre-HDMI on the connector.
<JordanBrown> HDMI, duplicated on two computers on different cables on different TV inputs.
<JordanBrown> It's something in the TV picture settings.
mmu_man has quit [Ping timeout: 264 seconds]
<JordanBrown> It's like anything in the high end of blue gets saturated.
<Scopeuk> that sounds almost like the colour saturation is dialled up to far
<InPhase> Actually, HDMI might be color-specific too, it seems they just label them 0, 1, and 2...
<Scopeuk> a lot of stuff seams to like turning it up because it makes the display look more appealing
<InPhase> Scopeuk: Yeah, I do find that an odd thing. It doesn't make it more appealing to me. :)
<InPhase> Scopeuk: Turning down the awkward oversaturation is typically the first thing I do on a TV.
<InPhase> But other humans seem to have weird preferences, like thinking oversaturated colors are better, and thinking reflective display surfaces are better quality or clearer.
<InPhase> As a consistent consumer of matte displays, I have lived a peaceful life free of reflective interference, and never once broke a screen from dropping a laptop.
<JordanBrown> As a consistent consumer of cheap displays, I've never broken a laptop screen :-)
<JordanBrown> The picture parameter that seems to most directly control this problem is Brightness.
<Scopeuk> never broken a laptop top screen (not counting one backlight inverter for the ccfl which stopped on it's own) and I've only ever broken one phone screen on a nokia 3310
<JordanBrown> I broke a Kindle screen when I sat on it.
<JordanBrown> But I only just recently switched to large breakable exposed phone screens. I was on flip phones until this summer.
J23k52 has quit [Ping timeout: 250 seconds]
<InPhase> JordanBrown: :) I like having you around. I work mostly with young people, so I have the common experience of being the tech skilled person who adheres more to old ways of technology. But then I have you being tech skilled but adhering to older ones, so I feel more middle-ground. ;)
<JordanBrown> Flip phones are smaller, have better battery life, and the screen is protected.
<InPhase> Yeah, I feel the arguments there.
<JordanBrown> I was really unhappy on my last flip phone upgrade, when my typical battery life dropped to 3 or 4 days.
<JordanBrown> From 7 or 8.
<InPhase> This is why I wear a watch as well.
* Scopeuk hasn't replaced his phone in years. current one is 10 or so years old. just haven't see anything I want enough to cause me to replace it before it dies
<JordanBrown> Historically, I haven't worn a watch. For the last few months I've worn one, but it's so that it counts my steps.
<InPhase> 10 years before I have to even think about the battery beats a few days by a few orders of magnitude.
<Scopeuk> it has had 1 replacement battery in that time
<JordanBrown> Oh, and I'm a cheapskate.
<JordanBrown> (Or, rather, I spend money in other ways. I spend far too much on restaurants.)
<InPhase> My watch was $250, but that's about 6 cents per day with how long this line of watches lasts. 7 cents per day if I have to repair the band attachment once in the middle.
<JordanBrown> The one I'm wearing now is ~$600, but I got it for free when a friend upgraded.
<JordanBrown> Yeah, but where's the HRM and the GPS? :-)
<Scopeuk> HRM is integrated in the mk1 human afaik
<Scopeuk> and I just get lost :P
<JordanBrown> Data! You gotta have data!
<InPhase> Scopeuk: You're missing solar powered, a compass, and a barometer!
<Scopeuk> one of my old ones had hte compass and barometer
<Scopeuk> that was fun if not entirely useful
<JordanBrown> Mine isn't solar, but does have compass and barometer.
J23k has joined #openscad
<InPhase> The primary purpose of solar is to stretch the battery life up to that decade timescale. The rechargeables in the solar watches eventually go out, but it takes about 11 years.
<JordanBrown> BTW, if you're going to have multiple TVs as monitors, get different brands so the remotes each control one of them.
<InPhase> At that point you could replace the battery, but the other components of the watch tend to be worn by that point as well, like buttons and such no longer working so well.
<Scopeuk> I do have a nice "dress watch" with solar charging, that is mechanical and shiney stainless steel
<JordanBrown> My favorite was my Casio programmer calculator watch. It did hex.
<Scopeuk> Dad had one of those they were fun
<Scopeuk> the one with physical buttons or the one with the touch screen?
<InPhase> This is mine, but that's not the real retail price: https://www.casio.com/us/watches/protrek/product.PRW-2500T-7/
<JordanBrown> Physical buttons. Didn't know they made one with touch screen.
<Scopeuk> VDB-3000 is the model I can find
<JordanBrown> This is the one I'm wearing now: https://www.garmin.com/en-US/p/552982
<InPhase> The optional tide display shown there is occasionally useful on beach vacations, but mostly I only use the barometer and compass as the "extra" features beyond standards like alarm and such. The water proof part I use heavily, as I don't even take it off to shower.
<InPhase> It's comfortable enough that I sleep with it on and everything. It basically never leaves my wrist.
<JordanBrown> Same here, except for charging, which it needs about once a week depending on how much I use the GPS.
<JordanBrown> Totally random tidbit I noticed today, but at least on-topic: when you use the left mouse button to rotate the display, the light source stays locked in the same position relative to the camera.
<JordanBrown> So either you're rotating the model while leaving the camera and light fixed, or you're moving the camera and light together.
<JordanBrown> Sometimes it might be interesting to move the camera independent of the light.
<InPhase> JordanBrown: Yeah, we really only get the one lighting perspective.
<JordanBrown> One (two?) things it seems like might be cool would be to be able to have multiple cameras and multiple lights.
<InPhase> The general solution of custom shaders would certainly open this up.
<InPhase> If we let the scad code specify the shader, very interesting options become possible for animation.
<InPhase> Although that will expose the weak string editing features.
<JordanBrown> I don't *think* anything fancy is required to achieve multiple cameras and multiple lights. I believe OpenGL lets you specify multiple lights, and multiple cameras is just a matter of displaying the same model multiple times.
<JordanBrown> I don't know what a shader does.
<InPhase> Right. That's just a question of what interface is flexible enough to support a useful range of workflows with a balance of complexity, maintainability, and so on.
<InPhase> The shader approach puts the whole problem into user space, making it harder to do but with the guarantee everything can be done.
mmu_man has joined #openscad
<InPhase> Oh, the shader is just the code that tells the graphics card how to make the image given the model input.
<InPhase> So it includes coloring, lighting, textures, and potentially other things. Technically you could put an entire model rendering into a shader, like is done with shadertoy.
<JordanBrown> Indeed, complexity is the big question. Multiple cameras necessarily detaches the camera from the light, making there be (I think) two plus N rotations where there used to be one.
<JordanBrown> (Technically, moving the model would be equivalent to moving all of the cameras and lights, but it seems useful to think of it as a distinct rotation.)
<JordanBrown> But https://xkcd.com/1475/ applies :-)
califax has quit [Remote host closed the connection]
califax has joined #openscad
<lf94> So is Python in OpenSCAD yet
<lf94> :V
JordanBrown has quit [Read error: Connection reset by peer]
<lf94> J23k: still using printables as your main upload place?
<lf94> (I find you're the most inspiring code cad person :)
kartheek has quit [Quit: Leaving.]
J23k has quit [Quit: Client closed]
J23k has joined #openscad
<J23k> that tealight star is not mine .. it is for the SCADVENT   ..   lf94 thanks yes  printables seems to be a good place
<lf94> J23k: I know it wasn't yours - yeah I guess the proximity of my message may have implied that lol
<lf94> cool cool :)
<lf94> I just want to see what you've been up to!
<lf94> pca006132: sweet
<lf94> guso78 has worked very hard to make this happen and I'm sure a few thousand OpenSCAD users would love it :D
<lf94> Thanks for the link J23k
<lf94> oh damn eh, I forgot about AoC and scadvent entirely
<lf94> This year has been crazy for me
<lf94> Day 1 is dope
<pca006132> yeah, I want to help the python PR as well, but I have been a bit busy with a deadline this Thursday and can only work on simple stuff after work
<pca006132> will be more productive in the weekend
<J23k> lf94 here a more developed version of it https://www.printables.com/model/661365-stringart-stars
nelson_ has quit [Ping timeout: 245 seconds]
russnelson has joined #openscad
<lf94> pca006132: I think guso would absolutely love that.
<lf94> J23k: cool :o
J23k has quit [Quit: Client closed]
J23k has joined #openscad
JordanBrown has joined #openscad
mmu_man has quit [Ping timeout: 268 seconds]
<gbruno> [github] gsohler synchronize pull request #4841 (Squashed commit of python_pr3) https://github.com/openscad/openscad/pull/4841
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
<JordanBrown> Pidgin keeps crashing. Probably associated with display hotplug.
JordanBrown has quit [Read error: Connection reset by peer]
califax has quit [Remote host closed the connection]
califax has joined #openscad
<lf94> weechat > *
mmu_man has joined #openscad
rawgreaze has quit [Quit: ZNC 1.8.2 - https://znc.in]
rawgreaze has joined #openscad
TheCoffeMaker has quit [Ping timeout: 264 seconds]
TheCoffeMaker has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
kintel has joined #openscad
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
J23k has quit [Quit: Client closed]
J23k has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
J23k has quit [Quit: Client closed]
J23k has joined #openscad
guso78k has joined #openscad
cart_ has quit [Ping timeout: 252 seconds]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
peeps has quit [Remote host closed the connection]
peeps has joined #openscad
Joel has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
Joel has joined #openscad
lastrodamo has joined #openscad
guso78k has quit [Quit: Client closed]
<teepee> InPhase: nice one!
<teepee> also oops, I left the file server directory open and people of course found out
<teepee> but the it did not reveal any additional info
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee