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
TheAssassin has quit [Quit: No Ping reply in 180 seconds.]
TheAssassin has joined #openscad
<peepsalot> Scopeuk: updating the wiki page you mean? I'm hoping it will get fixed on msys side soon enough, that we can go back to their official package, but if you feel like editing it be my guest
<peepsalot> Scopeuk: the macos thing being the folder permissions issue?
<Friithian> peepsalot: after downloading users may need to right click on the application and click enter to be able to override macos' built in security
J1A846896478096 has joined #openscad
J1A8468964780 has quit [Ping timeout: 260 seconds]
pa has quit [Ping timeout: 255 seconds]
<InPhase> Oh. Missed the primary school teacher. There are many other good tools to use there, like blockscad3d.
<dalias> scopeuk, should i report that on the tracker?
pah has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
LordOfBikes has quit [Ping timeout: 248 seconds]
LordOfBikes has joined #openscad
ur5us has quit [Ping timeout: 260 seconds]
<gbruno> [github] thehans synchronize pull request #4067 (Testing mimalloc shared library build for windows) https://github.com/openscad/openscad/pull/4067
redlizard has quit [Read error: Software caused connection abort]
redlizard has joined #openscad
drkow has joined #openscad
drfff has quit [Ping timeout: 252 seconds]
<gbruno> [github] thehans edited pull request #4067 (Use cmake for install and packaging across more platforms) https://github.com/openscad/openscad/pull/4067
milza has quit [Quit: milza]
milza has joined #openscad
milza has quit [Client Quit]
milza has joined #openscad
milza has quit [Client Quit]
milza has joined #openscad
J1A8468964780961 has joined #openscad
Scopeuk has quit [Quit: Ping timeout (120 seconds)]
Scopeuk has joined #openscad
J1A846896478096 has quit [Ping timeout: 260 seconds]
ubitux has quit [Ping timeout: 248 seconds]
ubitux has joined #openscad
milza has quit [Remote host closed the connection]
milza has joined #openscad
Guest62 has joined #openscad
Guest62 has quit [Client Quit]
kow__ has joined #openscad
drkow has quit [Ping timeout: 260 seconds]
ur5us has joined #openscad
<Scopeuk> dalias if it's. Ot already there yes
<Scopeuk> Not already there**
Scopeuk8 has joined #openscad
Scopeuk has quit [Ping timeout: 260 seconds]
Scopeuk8 is now known as Scopeuk
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
epony has quit [Ping timeout: 272 seconds]
drkow has joined #openscad
kow__ has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 260 seconds]
epony has joined #openscad
Guest3737 has joined #openscad
Guest3737 has quit [Quit: Client closed]
fling has quit [Remote host closed the connection]
fling has joined #openscad
pah is now known as pa
jonasbits has quit [Ping timeout: 276 seconds]
jonasbits has joined #openscad
snaked has quit [Quit: Leaving]
castaway has joined #openscad
Sauvin has quit [Read error: Connection reset by peer]
Sauvin has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
J1A8468964780961 has quit [Quit: Client closed]
J1A8468964780961 has joined #openscad
castaway has quit [Ping timeout: 260 seconds]
castaway has joined #openscad
<gbruno> [github] axle12693 opened issue #4412 (Intersection is interacting with unexpected objects.) https://github.com/openscad/openscad/issues/4412
<InPhase> :( I thought that issue ^ would be user error. But no, it is not user error.
<InPhase> It behaves fine right up until you put color into it.
<Scopeuk> maybe order of evaluation issue, we colour the mesh before we cut it down?
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
<Scopeuk> swapping the first and second blocks (which should have no consequence) resolves the visual issue
J1A8468964780961 is now known as J1A84
<J1A84> last object drawn wins
<J1A84> here was something similia https://github.com/openscad/openscad/issues/4325
<J1A84> similar
Bocaneri has joined #openscad
Sauvin has quit [Remote host closed the connection]
Bocaneri is now known as Guest6797
<gbruno> [github] thehans closed issue #4412 (Intersection is interacting with unexpected objects.) https://github.com/openscad/openscad/issues/4412
Guest6797 is now known as Sauvin
<InPhase> Yeah. We really shouldn't have that behavior.
<InPhase> I haven't looked enough into the preview logic to know if this is unfixable or a resolvable quirk of how color is propagated. But I am pretty confident we could do it right with render-propagated color.
<peepsalot> opencsg figures out the depth buffer of which surfaces are shown. then we go through and paint the primitives which exactly match that depth value
<peepsalot> so, last paint color wins
<Friithian> urgh, outer ring didn't fit over tube. have to resize and reprint
<JordanBrown[m]> preview is black magic. intersection support in preview doubly so.
J1A84 has quit [Quit: Client closed]
J1A84 has joined #openscad
<JordanBrown[m]> I understand how union support works, and kind of understand how difference support works. I don't understand at all how intersection support works.
<InPhase> peepsalot: Ah. Well, that is pretty fundamentally sketchy I suppose.
<peepsalot> it is explained some more in the issue #1000 which I marked it as duplicate of
<InPhase> If opencsg really has no knowledge of color, then we would need something like tree-like evaluation of surfaces just to figure out which colors to preserve.
<InPhase> Which sounds like a bit of overhead to get colors to work out right.
<peepsalot> like theoretically the stencil buffer might be usable in some way to track surface "id" or something (and later match to a color), but I think OpenCSG uses that interally also.
pa has quit [Ping timeout: 252 seconds]
pah has joined #openscad
<Scopeuk> yeh, once we got into it I guessed it would be a duplicate
<JordanBrown[m]> preview really hates coincident faces.
castaway has quit [Ping timeout: 260 seconds]
<JordanBrown[m]> Note that if you make the big red cylinder just a smidge taller its Z-fighting disappears... and that the part of the small red cylinder that's intersected away still shows up in Z-fighting.
castaway has joined #openscad
<JordanBrown[m]> If you render() intersection() {...} then the big red cylinder disappears, but you still have the union-derived Z-fighting for the small cylinder, where it can't decide whether that part is green or red.
<JordanBrown[m]> fixing *that* is much harder.
Junxter has joined #openscad
<JordanBrown[m]> To get color-safe union you need to render a difference, and then union. And you need to color that rendered difference.
<Friithian> you ever set $fn to be something way higher than it needs to be for no good reason?
<InPhase> Friithian: I sometimes use that for stress testing.
<InPhase> Or just to see pretty things, if you really want no good reason.
<Friithian> this is just a cap for a pipe lmao
<InPhase> For printing I typically just stick $fa=1; $fs=0.4; and move on. Or sometimes but rarely I'll upgrade to $fa=0.5; $fs=0.2;
<InPhase> I use $fa=1; $fs=0.4; so often that I think these should be the program's defaults.
<JordanBrown[m]> My winner for doing fine-grained work that ended up unnecessary was when I was laboriously constructing a polyhedron (one of the first times I ever did, which is why it was laborious) for the point where two bevels met, only to realize that that pyramid was going to be about one cubic mm.
<InPhase> JordanBrown[m]: Do you ever look at the printed 1mm blob and reminisce about how it should look?
<JordanBrown[m]> I realized that the detail work was unnecessary *after* I finished it. So the model has it right.
<JordanBrown[m]> And it's a bevel underneath something, as a designed-in support... and so it's not visible.
<JordanBrown[m]> *And* I realized that the better approach was to intersect two bevels to create the connection, rather than constructing a polyhedron.
<InPhase> I've certainly wasted time designing sub-printable features, but I suspect your example was probably more of a time sink than most of my recognition failures at this.
<InPhase> Sometimes you just get zoomed in and caught up in it, or you start your design at the wrong scale and figure you'll adjust the size later, and then you do and oops.
<JordanBrown[m]> On a completely different topic, but sort of related to something that comes up in OpenSCAD every once in a while (precision of floating point numbers), I just got this quote and link from the This is True newsletter...
<JordanBrown[m]> Other Good Reading: Pi (3.14159...) is used in a lot of mathematical computations. NASA uses it for navigation. Some people have memorized thousands of digits of its infinitely long sequence. But do we really need to know thousands and thousands of digits? NASA JPL’s Chief Engineer for Mission Operations and Science, Marc Rayman, answered that question in 2016, and recently updated it. His answer is understandable and interesting:
<JordanBrown[m]> How Many Decimals of Pi Do We Really Need? from JPL.
<JordanBrown[m]> https://owowi.com/pi
<Friithian> isn't 41 enough to calculate the size of the observable universe to the hydrogen atom?
<Friithian> I think I know like 30 off the top of my head
<JordanBrown[m]> He says 37.
<Friithian> huh lower than I thought it was
<Friithian> cool
<InPhase> I keep 16 around, because after that you can't fit in a double.
<InPhase> So what are you even going to do with the other digits? :)
<Friithian> I learned them in middle school bc middle school nerd
<Friithian> 3.1415926535893932384626433832?
<JordanBrown[m]> long double
<JordanBrown[m]> and some people do 256-bit float
<Friithian> quad float :D
<InPhase> Friithian: Well, you know 13 at least!
<Friithian> did I fuck it up?
<JordanBrown[m]> yes
<InPhase> 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067
<Friithian> fuck
<Friithian> oh fuck me I type it wrong :|
<Friithian> and I forgot to refill my pen again so I'm nearly out of ink :(
<JordanBrown[m]> I don't feel like doing the math again to get the details, but 64-bit floating point is precise enough to measure the distance to from the Earth to the Sun to something like the nearest millimeter.
teepee has quit [Ping timeout: 255 seconds]
<Friithian> if I wasn't trying to learn probability shite I'd do the math
aiyion1 has joined #openscad
Sauvin has quit [Read error: Connection reset by peer]
Bocaneri has joined #openscad
<Friithian> oh ew I forgot this slicer doesn't randomize z seam
<InPhase> JordanBrown[m]: To 30 microns.
Bocaneri is now known as Guest186
aiyion has quit [Ping timeout: 255 seconds]
<InPhase> JordanBrown[m]: math.nextafter(148.21e9, 1e15)
<JordanBrown[m]> That sounds too close. Aw, now you're going to make me go do the math.
teepee has joined #openscad
<JordanBrown[m]> ah, I slipped a prefix, and thus three orders of magnitude. 0.03mm sounds plausible.
<JordanBrown[m]> Anyhow, plenty accurate for most practical purposes.
Guest186 is now known as Sauvin
milza has quit [Read error: Connection reset by peer]
milza has joined #openscad
milza has quit [Read error: Connection reset by peer]
<peepsalot> i think i embedded a tiny glass splinter in my fingertip, and its actually below the surface so I don't see how I will ever remove it
<JordanBrown[m]> Dig.
<peepsalot> i wonder if it will eventually work its way out
<JordanBrown[m]> On the other end of the spectrum, we have "half precision", 16-bit floating point with an 11-bit mantissa and a 5-bit exponent.
<JordanBrown[m]> Measuring the distance from Los Angeles to New York to the nearest mile, or so.
<InPhase> peepsalot: One strategy I've tried is dumping rubbing alcohol on it, which causes it to hurt enough that you don't notice the splinter for a while. I'm not sure this helps, I'm just saying I've tried it.
J1A8438 has joined #openscad
<teepee> I bought one of those https://smile.amazon.de/gp/product/B000FFYMYU/ quite some time ago (amazon claims that was 2013 :-)
<peepsalot> if you used fixed precision 64 bit number (say 1 unit = 1 micron), then you can represent a distance out to well past pluto
<JordanBrown[m]> Fixed point is underrated.
<teepee> clipper2 moved from fixed to floating :P
<peepsalot> teepee: after looking at it a little more closely, it still converts to fixed. its just providing a slightly more convenient interface for double input
<teepee> oh, so it's just a wrapper :(
J1A84 has quit [Ping timeout: 260 seconds]
<teepee> but then, maybe better than the one we have
<JordanBrown[m]> I have some tweezers sort of like that. The pointy tip is good for digging splinters out.
<peepsalot> you have to provide a power of ten scale, which is worse granularity than the power of 2 i implemented
<J1A8438> inorganic splinter are encapsulated  ..  wood will be moved out
<JordanBrown[m]> Time to go back to pretending to work...
<teepee> JordanBrown[m]: yep, they specifically sell it for that, and it did work quite well a couple of days ago with a very tiny tip of a thorn I noticed via an annoying red spot on the finger :)
Non-ICE has quit [Quit: Screw you guys! I'm going home!]
Junxter has quit [Ping timeout: 260 seconds]
J1A843857 has joined #openscad
J1A84385718 has joined #openscad
J1A8438 has quit [Ping timeout: 260 seconds]
J1A8438571814 has joined #openscad
J1A843857 has quit [Ping timeout: 260 seconds]
J1A84385718 has quit [Ping timeout: 260 seconds]
ur5us has joined #openscad
linext has quit [Read error: Connection reset by peer]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
pah is now known as pa
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
ali1234 has joined #openscad
ali12341 has quit [Remote host closed the connection]
jonasbits has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
teepee has quit [Ping timeout: 255 seconds]
teepee has joined #openscad
<peepsalot> argh, was planning to move submodule settings into a new submodules/CMakeLists.txt
<peepsalot> then i found this would require cmake 3.13+ https://cmake.org/cmake/help/latest/policy/CMP0079.html
<peepsalot> and Ubuntu 18.04 is still on 3.10
<teepee> :(
linext has joined #openscad
castaway has quit [Ping timeout: 260 seconds]
<peepsalot> teepee: hrm the CI server actually contains cmake 3.24. So I think the only potential problem might be OBS for 18.04? if it is an issue could we use a PPA for cmake?
<peepsalot> i was just going off of the version listed at packages.ubuntu.com
<teepee> I'm not sure ppa would work, but there should be a way to get a newer cmake in somehow
<teepee> it might be as easy as pasting 3 urls into a custom cmake package
<teepee> looks like I already tried something into that direction a while ago
<teepee> so 3.13.4 is already there
<teepee> and is already used [ 22s] [3/490] installing cmake-data-3.13.4-1
<teepee> peepsalot: minimum for ubuntu/debian builds on OBS seems to be cmake 3.13.4
<peepsalot> teepee: ah, excellent!
<peepsalot> it seems strange to me, with how long cmake has been around, that so many features continue to be added or changed
<peepsalot> like, has there been a surge in development in the past few years, or has it always been that way?
<teepee> yep, there's huge changes going on
<teepee> not sure, but I suppose it's critical mass of adoption going on