<JordanBrown>
have its z=0 vertexes at approximately 9.25 instead of 10?
<JordanBrown>
Ah, because it's measuring at the theoretical equator, and $fn=8 doesn't have an equator.
<JordanBrown>
... doesn't have vertexes along the equator.
<InPhase>
JordanBrown: Fun math problem: For which set of values of $fn does an OpenSCAD sphere have the correct xy plane bounding box corresponding to its radius?
<JordanBrown>
Eww.
<JordanBrown>
My immediate answer is "none".
<JordanBrown>
InPhase^
<InPhase>
:) Yeah, it'a all of the odd values which are multiples of 4... aka, the empty set.
<JordanBrown>
exactly.
<InPhase>
s/it'a/it's/
<JordanBrown>
One nice thing about Slack and Matrix is that you can go back and change history to fix typos.
<JordanBrown>
And to gaslight people, of course.
<InPhase>
Although $fn=24 is good enough for government work.
<JordanBrown>
I was trying to do something with octahedral cylinders so that they would print nicely on their sides, and the spherical caps weren't coming out right.
<JordanBrown>
But mostly I've decided that I don't want octahedral cylinders and spherical caps anyway.
<othx>
InPhase linked to "3D Printed Nails (That Don't Work) by rcolyer" on thingiverse => 4 IRC mentions
<JordanBrown>
the particular thing I want is a barb, that needs to print horizontally.
<JordanBrown>
Theoretically it should be a cylindrical barb, because it's going into a round hole
<JordanBrown>
but practically I want it to print flat
<JordanBrown>
and don't want to have small layers on the top that could easily break off.
<JordanBrown>
I want the print perimeters to be continuous all the way around.
<JordanBrown>
that is, from the shaft to the barb and back.
<InPhase>
A barb like to push into a printed hole but not come back out?
<JordanBrown>
it's not a printed hole, it's a hole in an existing device, but yes.
<JordanBrown>
I have a fan in my bathroom ceiling with a motion sensor.
<JordanBrown>
It blows through an array of round holes.
<JordanBrown>
it can "see" out the door into the bedroom, and so triggers inappropriately.
<JordanBrown>
I want to make a little blinder for it that pops into its holes.
<InPhase>
I discussed this on here a couple years back, and my conclusion after thinking about that problem was that with printing and plastic, rather than machining and metal, it is probably optimal to rethink the traditional design slightly, and curve the entire piece so that it flexes along its entire length, rather than trying to print a barb that will flex. Then make the barb a rigid bit, and let it slide
<InPhase>
into piece by the flex of the whole length, and then it relaxes back into latched.
<JordanBrown>
I made one for the other bathroom, but unfortunately they don't have the same shape holes.
<JordanBrown>
the other one has slots.
<JordanBrown>
it's not very structural; it only has to support the ~1oz of blinder.
<JordanBrown>
probably not even 1oz.
<InPhase>
Then I guess it would be hard to mess up. :)
<JordanBrown>
yep. Just has to be small enough to push in, big enough not to fall out, and small enough that you can pull it out.
<JordanBrown>
theoretically I think I want some kind of cylinder plus cone that is clipped on both sides in one axis. But that's too much work so right now I'm just going rectangular.
<JordanBrown>
I want to know, when I tell PrusaSlicer to eject the thumb drive, which should I believe that it's safe to pull it: PrusaSlicer, Windows, or the LED on the drive itself.
Guest20 has joined #openscad
<JordanBrown>
WRT #5101 above, somebody should take a look at it and if they concur that we shouldn't fix it and don't need to change the docs, close it.
Guest20 has quit [Quit: Client closed]
<JordanBrown>
InPhase: maybe-final version is 10g.
J24k41 has quit [Quit: Client closed]
J24k41 has joined #openscad
drfff has joined #openscad
drkow has quit [Ping timeout: 268 seconds]
cart_ has joined #openscad
KimK has joined #openscad
drkow has joined #openscad
drfff has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
J24k41 has quit [Quit: Client closed]
J24k41 has joined #openscad
snaked has quit [Quit: Leaving]
<InPhase>
JordanBrown: Responded on 5101. Words are apparently hard. :)
<pca006132>
wonder if there is a way to CNC something modeled in openscad, I am currently thinking about DIY espresso machine...
<pca006132>
not pump based but piston based, with a threaded screw, spring, sensor and stepper to control the water pressure, as well as a silicone mat outside the cylinder to regulate temperature... (yeah I am thinking about a very 3D printer like design)
<pca006132>
but the piston head should be machined in stainless, and it seems that most shops expect STEP file
<pca006132>
had a bit of experience using traditional CAD such as solidworks, but I have no idea how to use FreeCAD (at least based on my experience months ago)
cart_ has quit [Ping timeout: 246 seconds]
<J24k41>
pca006132 use the openscad inside freeCAD and you can claim you can use freecad Ü
<J24k41>
Freecad can use scad code and convert it into step (if not too complex with libraries)
<Scopeuk>
if it is 2d we have dxf which everyone seams to take
<t4nk_fn>
the seams are clearly visible
<pca006132>
sounds good, will give it a try
aiyion3 has quit [Remote host closed the connection]
<linext>
i took another try at setting up the openscad wasm
<linext>
openscad.js is a module that doesn't get loaded with importScripts
<linext>
is there a simple demo of how the current openscad.js and openscad.wasm get loaded and work like a CLI program?
<linext>
dschroer's code has a separate loader such that openscad.js isn't a module
<teepee>
I would assume the openscad-playground does that
guso78k has quit [Quit: Client closed]
<teepee>
but we can update all the places, whatever makes more sense
<linext>
eh, it requires react
<teepee>
e.g. the wasm build itself, or the openscad build side
<linext>
"This is wrapping the headless WASM build of OpenSCAD (done by @DSchroer) into a lots of pretty PrimeReact components, slapping in a React Monaco editor (VS Codesque power!), a React STL viewer and a few tricks (of course, it's using the experimental Manifold support we've added recently, to make it super fast)."
<teepee>
yeah, it does use but the editor integration and the overlay display is very cool
<linext>
it's just that adding react is another lay of complexity more than a demo
<teepee>
right, what I'd love to see would be a minimal demo, that could do something like publish a single github (or somewhere else) hosted repo with a customizer
<teepee>
so maybe editor for minor changes, but no save/storage
<linext>
i mean a simple HTML/JS demo that doesn't require a server or client-side library rendering system
<linext>
maybe 5-10 files
<linext>
i'm starting from scratch from the two files: openscad.js and openscad.wasm
<linext>
the openscad playground is sort like a GUI app and i'm just looking for a CLI demo
califax has quit [Ping timeout: 260 seconds]
califax has joined #openscad
erectus has quit [Ping timeout: 260 seconds]
<linext>
ok, i think i got the minimal demo working
<linext>
these two lines really should be warnings instead of fatal errors: //err("wasm streaming compile failed: " + reason);
<linext>
//err("falling back to ArrayBuffer instantiation");