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
mtm has quit [Ping timeout: 252 seconds]
mtm has joined #openscad
UltimateCodeWarr has quit [Quit: Client closed]
<gbruno> [github] kintel closed pull request #5359 (Regression: Allow building without manifold) https://github.com/openscad/openscad/pull/5359
<gbruno> [github] kintel pushed 1 modifications (Regression: Allow building without manifold (#5359)) https://github.com/openscad/openscad/commit/2146a3b053c88746226f1a82bbc0b810c3f340c7
mmu_man has quit [Ping timeout: 265 seconds]
mmu_man has joined #openscad
J24k81 has joined #openscad
J24k79 has quit [Ping timeout: 256 seconds]
<gbruno> [github] kintel pushed 1 modifications (Disable previewmanifold tests where the corresponding preview tests are disabled) https://github.com/openscad/openscad/commit/367d3f862e76f1c412a72f23459e77264253447b
<gbruno> [github] kintel opened pull request #5360 (Make non-experimental examples tests work again) https://github.com/openscad/openscad/pull/5360
LordOfBikes has quit [Ping timeout: 265 seconds]
LordOfBikes has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
<gbruno> [github] kintel edited pull request #5310 (Support building and using externally built manifold on macOS) https://github.com/openscad/openscad/pull/5310
<JordanBrown> InPhase WRT https://bpa.st/3KH2U
<JordanBrown> That kind of technique is tempting, but note that something semi-stupid will happen if you give a bad name.
<JordanBrown> If only we had a clean way to turn names into values with error checking for undefined names.
<JordanBrown> like, say
<JordanBrown> inch = 25.4;
<JordanBrown> $unit = inch
<JordanBrown> ;
<JordanBrown> In a compiled language, using language symbols to refer to your enumerations is a big win, because the compiler can check for typos.
<JordanBrown> Unless you want to dynamically define new entries in the table, I wouldn't use strings for this sort of thing.
<JordanBrown> pca006132 yeah, the default TPU settings for PrusaSlicer were really slow. I tried speeding up, and tweaked some other values, and right now I'm at about 75% of my PLA speed (rather than 25%). I haven't tried bumping it higher. The stock temperature and extrusion multiplier values were way off, stringing hell, and when I dropped the temp 30C and dropped the extrusion multiplier by 25% the strings all went away.
<JordanBrown> InPhase and you can still be Customizer-friendly by using the [ n: label ] syntax.
<JordanBrown> unit = 1; // [1: mm, 25.4: inch]
<gbruno> [github] kintel pushed 1 modifications (Make non-experimental examples tests work again (#5360)) https://github.com/openscad/openscad/commit/7fae0c75ce50354fb240cad21c08eb94ba8f2484
<gbruno> [github] kintel closed pull request #5360 (Make non-experimental examples tests work again) https://github.com/openscad/openscad/pull/5360
Smeef has quit [Ping timeout: 252 seconds]
<gbruno> [github] JeffreyOI opened issue #5361 (Crashing randomly and frequently) https://github.com/openscad/openscad/issues/5361
<gbruno> [github] JeffreyOI edited issue #5361 (Crashing randomly and frequently) https://github.com/openscad/openscad/issues/5361
<gbruno> [github] JeffreyOI edited issue #5361 (Crashing randomly and frequently) https://github.com/openscad/openscad/issues/5361
Smeef has joined #openscad
myosotis has quit [Ping timeout: 252 seconds]
hyperair has quit [Remote host closed the connection]
hyperair has joined #openscad
<pca006132> kintel should we dump the backend setting alongside the library settings?
<pca006132> https://github.com/openscad/openscad/issues/5361 I don't see the backend setting there (not that it is related)
snaked has quit [Ping timeout: 260 seconds]
pca006132 has quit [Remote host closed the connection]
<gbruno> [github] gsohler synchronize pull request #4841 (Squashed commit of python_pr3) https://github.com/openscad/openscad/pull/4841
pca006132 has joined #openscad
guso78 has quit [Ping timeout: 256 seconds]
foul_owl has quit [Ping timeout: 255 seconds]
<gbruno> [github] gsohler synchronize pull request #4841 (Squashed commit of python_pr3) https://github.com/openscad/openscad/pull/4841
<gbruno> [github] gsohler synchronize pull request #4841 (Squashed commit of python_pr3) https://github.com/openscad/openscad/pull/4841
foul_owl has joined #openscad
<gbruno> [github] gsohler synchronize pull request #4841 (Squashed commit of python_pr3) https://github.com/openscad/openscad/pull/4841
guso78 has joined #openscad
GolfMike has joined #openscad
UltimateCodeWarr has joined #openscad
GolfMike has quit [Ping timeout: 256 seconds]
<gbruno> [github] gsohler synchronize pull request #4841 (Squashed commit of python_pr3) https://github.com/openscad/openscad/pull/4841
guso78 has quit [Ping timeout: 256 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
snaked has joined #openscad
mmu_man has joined #openscad
GolfMike has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #openscad
GolfMike has quit [Quit: Client closed]
mtm has quit [Ping timeout: 246 seconds]
mtm has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
snaked has quit [Read error: Connection reset by peer]
cart_ has joined #openscad
ubuntourist has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
J24k81 has quit [Quit: Client closed]
J24k81 has joined #openscad
Deneb has joined #openscad
<Deneb> I am still very new to openscan and am now familiar with cubes, spheres and cylinders, but how does one draw a trapezoid?
<nihil> you spelled scan wrong
<nihil> this is openscaD
<nihil> the programetric parametric 3d design swiss army knife
<nihil> why you would be scanning spheres and cylinders and cubes with an openscan 3d scanner is beyond me though
<nihil> they're quite easy to make in openscad
<nihil> ...
<nihil> tough crowd
<nihil> ok, so for a trapezoid, linear_extrude(10) polygon([[0,0],[20,10],[40,10],[60,0]]);
<Deneb> nihil: apologies for the spelling error! OpenScan was meant. Not come across polygon yet.
<Deneb> *OpenSCAD! .....
<Deneb> thank you.
<nihil> I know, I was just making jokes
<nihil> ^you'll want to keep that open when scad'ing
cart_ has quit [Quit: Konversation terminated!]
J24k81 has quit [Quit: Client closed]
califax has quit [Ping timeout: 260 seconds]
J24k81 has joined #openscad
califax has joined #openscad
mmu_man has quit [Ping timeout: 252 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
mmu_man has joined #openscad
ubuntourist has quit [Quit: Leaving]
<JordanBrown> Depending on exactly what kind of shape you want, there's also variations like
<JordanBrown> This Week’s Sunday Reading: What happens when medics CAN’T save a patient? Well.... One of my callouts from 2014. .
<JordanBrown> Oops.
<JordanBrown> Forgot the "copy" part of copy-paste.
<JordanBrown> linear_extrude(height=10, scale=[0.5,1]) square([10,5], center=true);
UltimateCodeWarr has quit [Quit: Client closed]
<JordanBrown> polygon is the most flexible, but there may be times when other variations are at least in a sense easier because the program will do the math for you.
<JordanBrown> And if you mean something more like a truncated pyramid, you can use a scaled linear extrude sort of like that
<JordanBrown> linear_extrude(height=10, scale=0.5) square(10, center=true);
<JordanBrown> or polyhedra(), which is complex to use but ultimately flexible.
<Deneb> nihil: thank you for the cheat sheet! Was looking for something like that!
<InPhase> Behold, the truncated pyramid: cylinder(r1=10, r2=5, h=5, $fn=4);
<InPhase> Behold, the even worse code abomination: cylinder(r1=10, r2=5, h=5, $fn=4); linear_extrude(height=5, scale=0.5) square(10*2^0.5, center=true);
<Deneb> JordanBrown: thank you for those options
<Deneb> InPhase: thanks also
<Deneb> did think one could transform a cylinder into a trapezoid!
<JordanBrown> InPhase: cylinder, yeah, duh.
<JordanBrown> Deneb creating pyramid-related shapes out of cylinders is a combination of two somewhat unobvious features.
<JordanBrown> First, when you set $fn on any round thing (circles, cylinders, spheres, et cetera) it controls the number of sides, versus the usual scheme where OpenSCAD makes up its own mind. (Based on some parameters that yield really low resolution and should be updated but that's a different discussion.)
<JordanBrown> Thus cylinder($fn=4, ...) yields a four-sided cylinder... or what you might call a box.
<JordanBrown> Second, when you specify d1 and d2 (or r1 and r2), the d1 specifies the diameter at the bottom of the cylinder and d2 specifies the diameter at the top of the cylinder.
<JordanBrown> But, hint: do *not* use $fn to control things that you really want to be round, especially as a global setting. It tends to produce way too many sides for small round things. Set $fa=2 and $fs=1 and you'll generally be happy.
<nihil> lies
<nihil> $fn=8192; at the top of every script
<nihil> make your CPU earn its keep
<nihil> no free rides
t4nk_fn has quit [Remote host closed the connection]
t4nk_freenode has joined #openscad
guerd871 has quit [Remote host closed the connection]
guerd871 has joined #openscad
teepee_ has joined #openscad
noonien808310429 has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
noonien808310429 has quit [Quit: The Lounge - https://thelounge.chat]
noonien808310429 has joined #openscad
guerd871 has quit [Remote host closed the connection]
guerd871 has joined #openscad
guerd871 has quit [Ping timeout: 252 seconds]
noonien808310429 has quit [Quit: The Lounge - https://thelounge.chat]
guerd871 has joined #openscad
<Deneb> I have $fa=2 and $fn=0.4 as per OpenSCAD tutorial. Tried $fn=8192 just for fun to see what it does and it just crashes OpenSCAD after a few seconds delay....
<nihil> lol
noonien808310429 has joined #openscad
<InPhase> WARNING: GeometryEvaluator: Node didn't fit into cache. on the following file for preview: $fn=8192; sphere(10);
<InPhase> And no displayed result.
<InPhase> Let's see if Manifold can handle it.
<nihil> works fine here in manifold
<nihil> and I just crammed it in an existing thing with a bunch of curves
<nihil> printing out house numbers
<InPhase> It finished and printed out the completion noise. But now it's spiking up to like 33GB and thinking hard before it will actually let me see the result on the window.
<InPhase> Waaaaat.
<InPhase> There's nothing there.
<nihil> so four 150mm by 100mm 'ish numbers with lots of round
<InPhase> With render I got "WARNING: GeometryEvaluator: Node didn't fit into cache." twice, and everything else looked like success, and then it displays nothing.
<nihil> odd
<InPhase> Yes.
<nihil> what version?
<InPhase> 2024.06.16
<nihil> 2024.10.05 here
<InPhase> teepee: Which weird limit does your intuition say I hit? :)
<nihil> the "you've listened to nihil too much" limit
<nihil> I'd imagine
<InPhase> teepee: This is a dumb thing to try to do, but I should have the right to make $fn=8192 spheres!
<nihil> hah oops, I did 9182
<nihil> instead of 8192
<InPhase> Wild. The exported stl has size 0.
<InPhase> It just ate the whole item.
<InPhase> Did I hit the grid limit or something, ruining everything?
<nihil> ooh
<InPhase> OH. No, the stl file is not size 0.
<nihil> I might have angered it
<nihil> sphere(d=120,$fn=32768);
<InPhase> The stil file is size 3.2GB, but just took like 60 seconds to save. I didn't realize it was still thinking about it.
<InPhase> So the problem is only a display issue.
<nihil> I definitely pissed it off
<nihil> whole machine is jumpy as fuck
<nihil> 8192 was fine, took a second to preview/render, but worked
<nihil> 32768, no bueno
<nihil> has to SSH in and kill it
<nihil> it probably would have finished at some point
<nihil> but like, need my machine in the next 12hrs
Deneb has quit [Quit: Leaving]
mmu_man has quit [Ping timeout: 252 seconds]
guso78 has joined #openscad
mmu_man has joined #openscad
guso78 has quit [Ping timeout: 256 seconds]
mmu_man has quit [Ping timeout: 255 seconds]
snaked has joined #openscad
kintel has joined #openscad