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
<UltimateCodeWarr> I understand PSI like in a tire, or PSF like a live load on a building a lot better than KiloNewtons
<buZz> yeah a tire is a pressure vessel
<buZz> the tire's function is keeping the high pressure inside it, that you pump in
<buZz> but, thats all just strength under compression, its not all forms of strength
<UltimateCodeWarr> Well, steel also has a sheering force specified in PSI, like 60k psi before 1" of steel sheers
<buZz> toughness is 'not bendy' , which is also a form
mtm has quit [Ping timeout: 248 seconds]
<buZz> nylon or abs gears work fine, but their teeth can bend under pressure , making it not sheering, resisting higher pressure, but not a very good gear
<UltimateCodeWarr> Right, like in the monolithic concrete domes, they sometimes substitute basalt or fiberglass rebar instead of steel rebar.   As it doesn't corrode and weaken over time, and in some instances is many time stronger.       It just can't bend beyond a certain point.
<buZz> CF reinforced its a completely different thing
mtm has joined #openscad
<UltimateCodeWarr> If I recall correctly the CF was 2x as strong
ccox has quit [Ping timeout: 272 seconds]
<InPhase> JordanBrown: I know, right? Like probably you could knife or scissor that TPU and you'd win in a heartbeat. But it really takes very little of it to exceed human hand destruction.
<InPhase> JordanBrown: Although I actually haven't tried to scissor cut TPU. Maybe I should be testing that explicitly. :)
<InPhase> JordanBrown: Another thing I'd like to know, is if you made sandals or something out of TPU, how long would they last?
<buZz> there's so many printable shoe designs, i'm sure someone must have tried?
<buZz> multimaterial with a ASA/ABS/Nylon core would be a cool shoesole
<buZz> maybe segmented to fascilitate feetmovement compliant bendy location in the sole
<UltimateCodeWarr> but would it give you atheletes feet
<InPhase> Maybe try not to use fungal filament.
<UltimateCodeWarr> Im sure Voidstar has tried it if it exists
ccox has joined #openscad
J24k79 has joined #openscad
J24k has quit [Ping timeout: 256 seconds]
<buZz> InPhase: hahahah
<buZz> that would be cool :D some kinda mushroom thats supereasy to polymerize into a thermoplast, or something
<buZz> maybesomeday
LordOfBikes has quit [Ping timeout: 244 seconds]
kintel has joined #openscad
snaked has joined #openscad
LordOfBikes has joined #openscad
snaked has quit [Ping timeout: 252 seconds]
snaked has joined #openscad
<JordanBrown> InPhase I would worry about the plastic eating my feet, between roughness and just not liking continuous contact. (Though I wear socks with my sandals, so maybe that would address that problem.
<JordanBrown> )
<JordanBrown> Mustn't trigger https://xkcd.com/859/ .
mmu_man has quit [Ping timeout: 265 seconds]
snaked has quit [Ping timeout: 260 seconds]
snaked has joined #openscad
<pca006132> TPU also has stronger layer adhesion compared to other filaments
<pca006132> and I don't think you can easily deform TPU printed things when you use high infill density and high wall thickness. maybe it is easier to leave a small dent on it, but definitely not easier to bend when the settings and design are correct
<InPhase> Yes, quite a bit. I haven't looked up comparative axial strengths under tests, but it's good enough that I haven't noticed delamination as a thing for TPU.
<pca006132> (and you can't crack it)
<pca006132> btw idk why people are saying that TPU must be printed slowly, I recall when I was tinkering with my Voron Zero, I can print TPU at more than 120mm/s without any issue...
<pca006132> though that was a long time ago, my printer was sitting there collecting dust after I started my phd :(
<pca006132> should revive it some day
germ has quit [Quit: ZNC 1.8.2+deb2ubuntu0.1 - https://znc.in]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yogadude has quit [Quit: ZNC 1.8.2 - https://znc.in]
yogadude has joined #openscad
ccox has quit [Remote host closed the connection]
ccox has joined #openscad
drkow has joined #openscad
drfff has quit [Ping timeout: 276 seconds]
<J24k79> PC is also very tough, other filaments are not easy printable like POM or need higher temp like PEEK PEK (and are expensive)
<J24k79> Also Nylon is not just Nylon - PA6 is very different to PA11
<J24k79> also these CF filaments contain dust of fibers not like rovings (markforged.com printer) - there are also graphene filaments
<J24k79> PPS-CF should be nice - never tried though https://eu.store.bambulab.com/products/pps-cf
UltimateCodeWarr has quit [Quit: Client closed]
J24k79 has quit [Quit: Client closed]
J24k79 has joined #openscad
<gbruno> [github] Dapid closed issue #5353 (Differences between preview and render) https://github.com/openscad/openscad/issues/5353
GolfMike has joined #openscad
GolfMike has quit [Quit: Client closed]
mmu_man has joined #openscad
<Scopeuk> TPU has become a staple of small scale (150g) combat robots for chassis
<Scopeuk> and some of the heavies use it to mount batteries
<Scopeuk> mostly that is down to how hard you can hit it without breaking it compared to rigids
snaked has quit [Remote host closed the connection]
mtm has quit [Ping timeout: 252 seconds]
mtm has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
ddddddesign has joined #openscad
<ddddddesign> i've downloaded 2021.01 version, latest available from github, yet i don't see measuerement options in design submenu, which i see was merged 9 months ago, should i recompile source or is there binary version available?
<nihil> you need a newer development build
<nihil> you grabbed stable
<ddddddesign> appreciate answer
<nihil> scroll down
<ddddddesign> in github releases?
<ddddddesign> oh yeah, i see it, on official page, thank you very much
<ddddddesign> oh, wow, twice in size,what has happened
<nihil> it has come a long way in the 3+ years since last stable release
<nihil> of interest to you might be: edit-> preferences-> features-> 'enable fast-csg'
<nihil> and edit-> preferences-> advanced-> 3d rendering-> backend-> manifold
<nihil> those are a couple of my favorite recent additions at any rate
<nihil> oh, and 3d mouse support
<nihil> but honestly, I just dont use that thing much
<nihil> takes up too much space on the keyboard tray
<ddddddesign> 3d mouse support? noice
<ddddddesign> it became full blown design environment
<nihil> not sure I'd put it in the big leagues quite yet, it's not going to dethrone the likes of autodesk or 3ds
<nihil> but, within the scope of its intended use, it is a ridiculously useful tool
<nihil> definitely my personally most used modeling program of all time
<nihil> by huge margins even
<ddddddesign> ok, measure submenu is disabled, do i need to enter some special mode to use it?
<nihil> f6/render before measure
<ddddddesign> ty
<nihil> yup
<ddddddesign> ...and render looses my original colors?
<nihil> there's a setting
<nihil> manifold I think is the one that does it
<nihil> that I mentioned above
<ddddddesign> yeah, it worked, though required restarting of an app (wasn't mentioned in options)
<ddddddesign> ty once again
ddddddesign has quit [Quit: The Lounge - https://thelounge.chat]
pbsds3 has quit [Ping timeout: 248 seconds]
pbsds3 has joined #openscad
GolfMike has joined #openscad
GolfMike has quit [Quit: Client closed]
mmu_man has quit [Ping timeout: 246 seconds]
OpaPeter has joined #openscad
myosotis has joined #openscad
<OpaPeter> Hi! I need help for MacMini. I tried to install the 2024.10.06. But the system rejected it cause it could not be share that it isn’t Malware. Sorry for my bad English…
<nihil> that's going to be an OS level issue
<nihil> nothing to do with openscad
<nihil> need to figure out how to allow install/run from "untrusted" sources
<OpaPeter> Thanks, that should help.
<InPhase> OpaPeter: I do not agree with how Apple describes the situation. They are open source hostile there.
<InPhase> OpaPeter: But those steps are how you override their security block.
<myosotis> in his defense, he's clearly ignoring it and trying to tell his OS to do the dang thing anyways, but yeah, biting my tongue pretty hard rn.
<InPhase> Yeah. It just needs to be said out loud more often. :)
<InPhase> Security protections are fine. Calling reputable open source software risky is both inappropriate and a lie, since the most secure systems are built around trusted open source software.
<myosotis> and basing that "trust" on the how-much-money-you-gave-us attribute I don't like at all
<InPhase> If Apple cared to be accurate and honest in their security processes, they would have a process in place for verifying open source software for their users, rather than use their software-demonization as a money grab.
<nihil> I dont mind apple being cunts
<nihil> it'll just push more people toward linux
<nihil> and while I do kinda dislike interacting with newer linux users, I'm well aware that having the numbers is a good thing
<InPhase> Linux certainly got a lot easier to run as the numbers grew over the decades I've been using it.
<InPhase> Most of the challenges basically just vaporized.
<nihil> I wasn't privy to the very early stuff from linus, but I can say my first linux was volkerdings initial post of slackware to usenet
<myosotis> as long as we don't talk about the state of graphics card drivers
<nihil> so I've seen it grow in amazing ways
<myosotis> doing the linuxfromscratch project decades ago taught me soooooo much
<OpaPeter> By the way. I changed from windows to Mac one year ago. And I’m happy (mostly). MacMini is for me the best price/power choose. On windows most software works but there is a lot of Malware. Perhaps Linux is better, but for me MacOS is ok.
<nihil> modern linux has a lot in common with 3d printers, you never really know how useful it is until you have one and start using it
<myosotis> whatever makes you the most productive is the right thing for you to use.
<myosotis> every time I use macOS or windows I want to rip my hair out... but you're not me :)
OpaPeter has quit [Quit: Client closed]
<nihil> yeah, whatever gets your work done in a way that's comfortable for you, is the best tool for the job
mmu_man has joined #openscad
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
mmu_man has quit [Ping timeout: 245 seconds]
mmu_man has joined #openscad
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
ooxoo has joined #openscad
Junxter has quit [Ping timeout: 260 seconds]
noitsnotmagain has joined #openscad
noitsnotmeagain has joined #openscad
<noitsnotmeagain> guys i'm getting an error on assigning to array:
<noitsnotmeagain> arr = [[1, 2], [3, 4]];
<noitsnotmeagain> arr[0][1] = 10; //here show's error on first bracket
<noitsnotmeagain> echo(arr); // Output should be : [[1, 10], [3, 4]]
<noitsnotmeagain> i'm using latest stable version, 2021.01
<noitsnotmeagain> am i doing something wrong?
noitsnotmagain has left #openscad [#openscad]
<noitsnotmeagain> i think i double connected
<teepee> it's not possible to reassign variables (or array elements)
<noitsnotmeagain> ha
<noitsnotmeagain> so basically ararys are read only?
<teepee> yes
<noitsnotmeagain> i see, ty
<nihil> that frustrated the hell out of me too when I first encountered it
<nihil> but you get used to it
<noitsnotmeagain> also, i see that i can't change global variable inside, for example,function, is there any workaround for this
<nihil> global like the specials?
<noitsnotmeagain> i defined x=0 in global, then in function i changed x to 1 and outside i'm getting x==0, like x in function is treated as local and i like to change this global x
<myosotis> maybe if you said your goal somebody can offer you an openscad way of doing it?
<nihil> cant change vars like you can't change arrays
<noitsnotmeagain> i have hashmap of units with string description and i like to change global used unit based on string provided to function like change_unit("inch") which should change global index for hashmap, and well it doesn't work, cause changes inside function deosn't affect globals
<nihil> if you try to openscad like you would perl or bash or (ugh)python, you're going to have a bad time
<noitsnotmeagain> what would be openscad way of doing something like this?
<myosotis> there's an options section, and users are given a UI to select from those options, you can read thta in code
<noitsnotmeagain> yeah, i got caught already by few surprises, np though if i find some workaround
<myosotis> so you could have a "convert_to_user_units" function that reads those options and returns the modified values
<nihil> paste your $otherlanguage code somewhere and we can translate a bit
<myosotis> I haven't openscad in a while, but if I remember right, a module should typically output a geometry
<noitsnotmeagain> i can't (?) execute block of code as a function so here we go with module, does it make any difference?
<myosotis> What is the purpose of that code? I tend to enforce the units on my frontend, instead of letting users choose what units they want to use (I assume that's your intention)
<noitsnotmeagain> given how scope work i find it surprising, is it impossible to change any variable from outside of scope in, for example, if (uses brackets)?
<myosotis> function itomm(i) = 25.4 * i;
<noitsnotmeagain> i'm doing include<units...> then call function set_unit("inch", for example, and then every parameter in diagram is in inches
<noitsnotmeagain> i have module which draws ruler and showing measurements
<noitsnotmeagain> it depends on code form units
<noitsnotmeagain> so i can only change (in theory) set_unit to soemthing else and ruler displays differnret measurements
<myosotis> ohhhh that's interesting
<noitsnotmeagain> i cannot change unit so it doesn;t work...
<noitsnotmeagain> though
<noitsnotmeagain> i'd like to provide design with units set, so it shouldn't be changeable by viewer
<noitsnotmeagain> it should be set up inside design
<noitsnotmeagain> i mean i can do it in naive way, i hoped though to be able to do it like this
<myosotis> stay in here long enough and you'll get a solution eventually
<noitsnotmeagain> i can just change variable directly but i find it kinda meh
<noitsnotmeagain> i can just change some variable to for example units ="mm" and have function which returns units based on description
<noitsnotmeagain> isn't there other way though
<myosotis> how about something like this: https://pastebin.com/RLNbcgeM
<noitsnotmeagain> can i set variable in ? operator? it throws error in function stg() = x_ = 3 == 3? x_ ; 4;
<myosotis> it sort of bypasses your questoin
<myosotis> that top line presents numbers as labels to the user, so you can use the option (Unit) directly in code
<noitsnotmeagain> oh, interesting, though it requires viewer interaction
<myosotis> so in openscad's Parameters window, I see "Unit" with 3 options, [mm, in, ft] but in code when I use it I get the cooresponding numbers
<myosotis> hmm
<myosotis> if there's no user interaction
<myosotis> then why do you need choices for unit length?
<noitsnotmeagain> to change it from my side, i provide variious ready deisgns by only switching used and siaplyed units
<myosotis> you can use the -D option to customize that variable at render time
<noitsnotmeagain> k, i've solved it like this:
<noitsnotmeagain> function u_index_of_units_table() = search([unit], units_table,num_returns_per_match = 1) == undef ? 0 : search([unit], units_table,num_returns_per_match = 1)[0];
<myosotis> on the cli
<noitsnotmeagain> k, taht's another option, thank you
<myosotis> always good to have a full tool belt glad you found an answer
<noitsnotmeagain> how to get to parameter window? and setting Unit=1 sets default as 1?
<myosotis> yes, and "Window" => "Customizer"
<InPhase> noitsnotmeagain: So the natural way to do unit selection would be with something like an assignment to $unit
<myosotis> my ft constant lost one of it's 0's .083...
<InPhase> noitsnotmeagain: Let me see if I can demonstrate...
Guest49 has joined #openscad
<noitsnotmeagain> InPhase what is $unit
<noitsnotmeagain> is it some special variable or you are reffering to the Unit from posted example? (i haven't found it in docs)
<InPhase> noitsnotmeagain: Here, this feels to me like an OpenSCAD friendly approach to what I think you are describing: https://bpa.st/3KH2U
Guest49 has quit [Quit: Client closed]
<gbruno> [github] coder2999 opened issue #5358 (FAST-CSG is no longer fast starting with version 20240929) https://github.com/openscad/openscad/issues/5358
<InPhase> noitsnotmeagain: No, it's not a built-in. It's an arbitrary chosen name for a "special variable", which is simply a variable with dynamic scoping that follows down a function call or module call path. This means that if you chose to redefine $unit within a module, all modules called within that module would inherit the redefined $unit.
<InPhase> noitsnotmeagain: Which in turn means that all calls to the u() function within those modules would use the redefined $unit value.
<gbruno> [github] coder2999 closed issue #5358 (FAST-CSG is no longer fast starting with version 20240929) https://github.com/openscad/openscad/issues/5358
<noitsnotmeagain> so this is basicaly what i posted but using middle variable $unit, is $unit like a function? cause unit() would recalculate every time called, will it recalculate when index will change?
<InPhase> noitsnotmeagain: And you could enhance the utility of redefining by breaking it out like: function UnitLookup(desc) = units_table[search([desc], units_table, num_returns_per_match = 1)[0]][1]; and then at the top level: $unit = UnitLookup(desc);
<noitsnotmeagain> when i change desc and call u() it will use old variable value
<InPhase> So this is set to use the numerical value in $unit. To redefine you would do with what I just provided: $unit = UnitLookup("cm");
<InPhase> But remember, that's redefining within a scope, for all sub-calls within a scope.
<noitsnotmeagain> do you read what i wrote InPhase
<gbruno> [github] coder2999 edited issue #5358 (FAST-CSG is no longer fast starting with version 20240929) https://github.com/openscad/openscad/issues/5358
<InPhase> It's a declarative language, rather than imperative, so you don't redefine in sequence.
<InPhase> noitsnotmeagain: I did, and tried to answer it.
<noitsnotmeagain> to work it $unit would need to act like unit(), is this how i works
<noitsnotmeagain> docsclaims you cannot assign special $ variables
<InPhase> What do you mean "act like unit()"?
<InPhase> There's no unit() in your or my example.
<noitsnotmeagain> "These $ variables are read-only and cannot be directly assigned values. They are typically used to control certain aspects of the rendering or to access information..."
<noitsnotmeagain> if you change desc variable and then use u() it will use old $unit variable value
<noitsnotmeagain> it would work if $unit acted like it was function, calculating everytime, like unit() = ....
<InPhase> I don't know where you got that quote, but $ variables can certainly be assigned.
<noitsnotmeagain> andit seems it doesn't act like a function
<nihil> are you just trying to have functions for different units?
<nihil> like
<nihil> function inch(x) = x*25.4;
<nihil> echo("### ", inch(10));
<nihil> just added the "###" to make it easier to find in output
<noitsnotmeagain> what i'm saying i think there is an error in https://bpa.st/3KH2U
<noitsnotmeagain> how would you change unit using pasted code?
<InPhase> noitsnotmeagain: You could set units at the top level by setting desc as desired. Or you could change units within a module by doing $unit = UnitLoopup("cm");
<noitsnotmeagain> oh, you mean in thismodule?
<noitsnotmeagain> once and for all?
<nihil> function inch(x) = x*25.4;
<nihil> cube([inch(10),inch(10),inch(10)]);
<InPhase> It's a declarative language, so all variables are single-valued within a scope.
<noitsnotmeagain> caus ei'm looking for a soultion when one module can use mm and other inches in same deisgn
<noitsnotmeagain> you are using function, i was reffering to the pasted code
<noitsnotmeagain> anyway, i've solved it already, thank you, appreciated
<nihil> I wouldn't use the pasted code, I would do it the way I indicated
<noitsnotmeagain> looks like there are soem quirks i have to get used to , i like the idea though, i've already made few sketches
<nihil> yeah, there's an adjustment period for sure
<nihil> particularly if you've been scripting in more conventional languages for a while
<noitsnotmeagain> take care and till the next one!
noitsnotmeagain has quit [Quit: The Lounge - https://thelounge.chat]
<InPhase> nihil: I also prefer to do it the way you were describing. :) But noitsnotmeagain was pretty fixed on a different mode of thinking, so I shifted to that mindset. :)
<nihil> yeah, it's easy to try and force it to what you want it to do, but it's a lot more effort than adjusting your expectations to suit your new found environment
<InPhase> nihil: This is my imperial units demo: https://bpa.st/Q6GKE
<nihil> oof
<nihil> nice
<nihil> but oof
<InPhase> The ImpStr part is kind of neat.
<nihil> I usually convert before any values even get into an scad script
<InPhase> Not that I ever found a use for ImpStr, but it's neat. :)
<nihil> yeah it's fancy for sure
<nihil> I dig it
<gbruno> [github] coder2999 reopened issue #5358 (FAST-CSG is no longer fast starting with version 20240929) https://github.com/openscad/openscad/issues/5358
<nihil> but yeah, that's a mental exercise that I would not likely leverage in practice
<gbruno> [github] coder2999 edited issue #5358 (FAST-CSG is no longer fast starting with version 20240929) https://github.com/openscad/openscad/issues/5358
<nihil> I have enough problems just churning through my projects as it is, I dont need to complicate things further
<nihil> been "working" on this laser cutter for like 6 months now
<InPhase> If I really had to work a design in imperial units, I'd probably break out that ImpStr for diagnostic printouts. This has just never been an issue, as the only reason I ever use imperial units in 3D printing is inputting some part dimension in native form. I like my thinking to be in metric, to reduce suffering.
<nihil> and by working, I mean, I ordered a bunch of shit and put it in a corner of my office
<nihil> took me a full year to finish building this voron
<nihil> made great progress the first couple weeks
<nihil> got sidetracked
<nihil> and a year later I took maybe a weeks worth of afternoons to finish it up
<nihil> rearranging shit in my office, I'll run across weird and obscure parts/components
<nihil> and have nfi what I ordered them for
<InPhase> I too have a pile of projects I still need to get to. Usually not as bad as it has been for me on this lately.
<InPhase> Pursuit of a work-life balance sort of gave way to hoping for any sort of balance in anything. ;)
SamantazFox has quit [Ping timeout: 265 seconds]
<gbruno> [github] t-paul closed issue #5358 (FAST-CSG is no longer fast starting with version 20240929) https://github.com/openscad/openscad/issues/5358
SamantazFox has joined #openscad
Ckat has quit [Read error: Connection reset by peer]
Ckat has joined #openscad
Ckat has quit [Read error: Connection reset by peer]
Ckat has joined #openscad
drkow has quit [Read error: Connection reset by peer]
guso78 has joined #openscad
UltimateCodeWarr has joined #openscad
guso78 has quit [Client Quit]
<gbruno> [github] kintel pushed 2 modifications (Hide fast-csg (#5343)) https://github.com/openscad/openscad/commit/00e1f44ba84ead091ff2ee9de46c288b5192f748
<gbruno> [github] kintel closed pull request #5343 (Hide fast-csg) https://github.com/openscad/openscad/pull/5343
guso78 has joined #openscad
<gbruno> [github] gsohler synchronize pull request #4841 (Squashed commit of python_pr3) https://github.com/openscad/openscad/pull/4841
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
snaked has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
mmu_man has quit [Ping timeout: 260 seconds]
<gbruno> [github] kintel pushed 1 modifications (Regression: Allow building without manifold) https://github.com/openscad/openscad/commit/8dfbe044b4e7f2b0fdbbe191cdae2933f1dc7428
mmu_man has joined #openscad
<gbruno> [github] kintel opened pull request #5359 (Regression: Allow building without manifold) https://github.com/openscad/openscad/pull/5359