<joseph_>
teepee: It seems to happen only with links to https://forum.openscad.org but using http instead will successfully redirect me to the correct site. I encountered this after clicking a link in Google results, which uses https
<teepee>
ah, indeed. might be an error when the shortcut link was switched not long ago
<kintel>
Another chapter in the world of python: Does anyone have a convenient, multi-platform way of correctly callinh python from a shell script?
<kintel>
e.g. depending on system, the python interpreter is called "python", "python2", or "python3", but any of those may also be missing.
<kintel>
I noticed this because scripts/translation-update.sh stopped working on macOS, since "python" is no longer shipped; it's only "python3" now..
<kintel>
I can rename to "python3", just not sure if that would break other platforms
<InPhase>
kintel: On everything but Windows, /usr/bin/env python3
<InPhase>
"python" sometimes exists. "python3" always exists, except on python2 only systems which no one is supporting anymore.
<InPhase>
So there's no need to call anything but python3.
<InPhase>
The /usr/bin/env will work for automatically finding the path of python3 in a #!
<InPhase>
And in any place on Windows that can actually handle on a #! line, /usr/bin/env is probably present there too.
<InPhase>
If you just need to call it directly on a regular line, and it's in the path, then just plain old "python3" should work reliably on all systems worth caring about.
<kintel>
InPhase Sounds good - I'll get the remaining scripts updated to python3 :)
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
linext has quit [Read error: Connection reset by peer]
mmu_man has quit [Remote host closed the connection]
linext has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
califax has quit [Remote host closed the connection]
califax has joined #openscad
<pa>
hi folks, [OT] does anyone happen to have an STL for a handle for a file?
<pa>
nvm found one
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
muesli has quit [Quit: NO CARRIER]
muesli has joined #openscad
peepsalot has joined #openscad
califax has quit [Ping timeout: 240 seconds]
califax has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<guso78[m]>
Special question. Does an object stay manifold, when at an Edge only one of the halfedges IS Split into two colinear halfedges. That means two halfedges abut to one Long halfedge.
Guest57 has joined #openscad
Guest57 has quit [Client Quit]
califax has quit [Remote host closed the connection]
califax has joined #openscad
mmu_man has joined #openscad
<J23k59>
isn't manifold if none points are shared in two volumes?
guso78 has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
<guso78>
my question is just one volulme
<joseph_>
kintel: Here's a summary of what I've found so far about the artifacts. For some context, I try to build all of my projects in Docker. Last year I had issues matching the libc version with my host OS, so I was actually also running OpenSCAD inside Docker the whole time (with X forwarding). That meant the flickering/z-fighting artifact didn't appear at all.
<joseph_>
kintel: But I just fixed the dynamic library issues and I now can build OpenSCAD binaries that run directly on my Linux host. What I've found is that my code from last year on #4330 has the flickering on F5 show edges (no different from master). BUT, I haven't seen any artifacts in F6 mode when using GLSL shaders.
use-value has quit [Remote host closed the connection]
<teepee>
guso78: I think that is manifold if that those 2 middle vertex are attaching to the new edge and to 2 half length edges each
<guso78>
ok great. this is relevant when when creating data for my polyhedron. i believe such a solid as shown can *ALWAYS* be reduced to have always mirrored halfedges, but generation of shown object is easier
<J23k59>
guso78 you may get a problem if the other faces go over the additional center vertex.
pah has joined #openscad
pa has quit [Ping timeout: 248 seconds]
<J23k59>
imagine you move those vertex up a little .. then there would be an open gap to the side walls and not being watertight anymore due to floating point imperfection
<guso78>
yes, but everything is calculated mathematically. no chance for imperfection.
<guso78>
but i got the idea
<J23k59>
you can not make a face with a vertex on the edge that is not used for the face. And you always have floating point error which is why you need to overlap objects in scad
<guso78>
you simply put the number of 0's into your brain. its 15 exactly ...
<teepee>
I just starred the github repos so I can find it via "0.3" :)
<teepee>
sadly searching for just 000 does not work
<guso78>
haha, all contemporary stuff must be on github nowadays ...
<guso78>
... is printing his 1st qr code now ...
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
peepsalot has quit [Ping timeout: 250 seconds]
kintel has joined #openscad
<kintel>
joseph_ Makes sense, F6 mode doesn't use OpenCSG, so the artifacts would be gone. However, I would expect we'd want custom shaders to be applied during F5 as well, as we try to make the two modes as similar as possible.
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]