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
califax has quit [Remote host closed the connection]
califax has joined #openscad
mmu_man has quit [Ping timeout: 256 seconds]
J76 has joined #openscad
J23 has quit [Ping timeout: 245 seconds]
Zymurgy is now known as Sauvin
Sauvin has joined #openscad
Sauvin has quit [Changing host]
hyperair has joined #openscad
use-value has quit [Remote host closed the connection]
use-value has joined #openscad
hyperair has quit [Read error: Connection reset by peer]
snaked has joined #openscad
hyperair has joined #openscad
fling has quit [Read error: Connection reset by peer]
aiyion1 has quit [Remote host closed the connection]
caveman has quit [Remote host closed the connection]
fling has joined #openscad
aiyion1 has joined #openscad
caveman has joined #openscad
hyperair has quit [Read error: Connection reset by peer]
snaked has quit [Ping timeout: 264 seconds]
J76 has quit [Quit: Client closed]
leohoo_sdu[m] has joined #openscad
leohoo_sdu[m] has left #openscad [#openscad]
J23 has joined #openscad
hyperair has joined #openscad
mmu_man has joined #openscad
J23 has quit [Quit: Client closed]
J23 has joined #openscad
J23 has quit [Quit: Client closed]
J23 has joined #openscad
<J23> anyone else ever experienced that oSCAD needed 20sec after the welcome screen (or when opening files directly)  - windows ?
sunbow has joined #openscad
mmu_man has quit [Ping timeout: 256 seconds]
sunbow has quit [Client Quit]
J23 has quit [Quit: Client closed]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
J23 has joined #openscad
<J23> after reboot it seems to work normal for some time at least
<Scopeuk> hmm, I have seen the windows dynamic loader be very slow on the odd occasion but usually that would come back with a proper reboot (windows 10 and up have some funny ideas about shutdowns/reboots and what goes to live in ram)
<Scopeuk> 10 and up do try to also pre-cache "likely to be launched" application code into system memory, and the more memory the more that gets pre cached, no idea what the heuristics are to decide what is and isn't in there
<J23> havent seen this with older snapshots (2023.1)
<J23> and the first start after a reboot is fine .. but now i already have this  waiting - and it seems to get worse .. rendering the gui unresponsive
<J23> this is now unusable
<J23> hm  and now working again ..   I would think it is MY windows but why is this only in scad 2023.5.5
<Scopeuk> I'm trying to think if this is perhaps one of the first builds to pull in a new feature that might be doing a search for library with time out or similar and inadvertently blocking the ui thread.
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 240 seconds]
J23 has quit [Quit: Client closed]
J23 has joined #openscad
Guest42 has joined #openscad
guerd87 has quit [Read error: Connection reset by peer]
rogeliodh has quit [Quit: The Lounge - https://thelounge.chat]
rogeliodh has joined #openscad
snaked has joined #openscad
qeed_ has quit [Ping timeout: 265 seconds]
qeed has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
<J23> https://scriptcad.com/   didn't know thisone
<lf94> same
<lf94> looks bad though
<J23> seems you can use js scripts
<gbruno> [github] sonichy opened issue #4636 (How to partly cut ?) https://github.com/openscad/openscad/issues/4636
<teepee> it's been brewing on twitter for a while, I still have not looked details, it seems like some sort of language translator maybe? but supporting external libraries too
mmu_man has joined #openscad
JakeSays has quit [Ping timeout: 256 seconds]
JakeSays has joined #openscad
mmu_man has quit [Ping timeout: 248 seconds]
mmu_man has joined #openscad
anoblet has joined #openscad
<anoblet> I am trying to subtract threaded_nut from BOSL2 from a cylinder. When using difference, the center post is filled. Is there away to have the center post not be filled?
<InPhase> Use another difference? A threaded nut would naturally have its negative having the middle filled.
<teepee> but what's the goal anyway? if the thread should not be filled in, why have it at all?
<InPhase> Also, why not just use an outer thread?
<InPhase> The threaded nut is already an inner thread.
<anoblet> I'm trying to create a pipe that can be extended with multiple parts. i.e. a cylinder with a threaded rod on top, and a threaded nut inside on the bottom.
<anoblet> I've tried using difference with another threaded_rod with no success.
<anoblet> This is my first time here. Is there a way to paste code snippets?
<lf94> gist.github.com
<lf94> IRC is a very tool driven chat tech - wanna share a pic? image host - code ? paste bin of some sort
<anoblet> I think I may have figured it out: https://gist.github.com/anoblet/a6774f058d60787fbbb574097056043d
<anoblet> I used intersection.
Sauvin has quit [Quit: Leaving]
<InPhase> anoblet: I have a module already for that which is missing only the hole in the middle.
<InPhase> anoblet: See back middle in the image: https://github.com/rcolyer/threads-scad
<InPhase> anoblet: The three module pieces are RodStart, RodExtender, and RodEnd.
<anoblet> I printed RodExtender first, though the fit was too tight.
<InPhase> That might be a printer settings issue.
<InPhase> Threads can require some careful calibration.
<anoblet> It might be, though I just got done messing with the settings on my printer and finally got it working after a couple of months.
<anoblet> I'm a bit tired of calibrating, and would like to print something useful :)
<anoblet> With RodExtender it fits on, though it doesn't screw in all of the way.
<InPhase> There is a "tolerance" parameter to ScrewThread and ScrewHole, which defaults to 0.4. I see I did not expose it for RodExtender, but you can trivially add that in and pass it along.
<InPhase> Increasing that value accounts for printers that require a bit more tolerance for imprecise printing.
Sauvin has joined #openscad
<anoblet> I read something in BOSL2/screws about preferring $slop over tolerance:
<anoblet> "This example shows the gap between nut and bolt at the loosest tolerance for UTS. This gap is what enables the parts to mesh without binding and is part of the definition for standard metal hardware. Note that this gap is part of the standard definition for the metal hardware, not the 3D printing adjustment provided by the $slop parameter."
<anoblet> So if I wanted a 100mm tube with 20mm screws, it would be RodExtender(diameter = 50, height = 100, thread_len=20)?
<InPhase> Yep.
<anoblet> Awesome. Thanks :)
<InPhase> I forgot all about that little cone inside the bottom to make printing easier. I guess pay attention to that if you're going to hollow it out. You might even want to comment that out for your purpose.
<InPhase> If I were solving your problem, I'd copy/paste the Rod* modules and make a PipeStart etc.
teepee_ has joined #openscad
<InPhase> It's nice to just make customized abstractions to work with, so you can keep things flexible going forward.
<InPhase> That whole bottom section of the thread library is basically just a grab bag of usage examples.
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
<anoblet> Nice. I may go back to using RodExtender :)
anoblet has quit [Quit: Client closed]
anoblet has joined #openscad
Guest42 has quit [Quit: Client closed]
anoblet has quit [Client Quit]
<lf94> wtf is this lol
<J23> »pipe that can be extended with multiple parts«
<J23> if anoblet hadn't left ..
Guest79 has joined #openscad
<Guest79> Hey there!
<Guest79> I want to become a part of OpenSCAD developer community. I decided to start with resolving a few `Good First Issues`.
<Guest79> I cloned repo, installed all dependencies and did successful builds.
<Guest79> Did same with QtCreator IDE.
<Guest79> Now i need some help with understanding project file structure and architecture. What can you recommend me to read or take my look closely.
<Guest79> For example, i want to work on Issue #4458.
<Guest79> It needs changes in Qt GUI to make "New From Template" option and It's implementation, which right location is a mystery for me.
<Guest79> Thanks for attention, Alex.
<Guest79> Hey there!
<Guest79> I want to become a part of OpenSCAD developer community. I decided to start with resolving a few `Good First Issues`.
<Guest79> I cloned repo, installed all dependencies and did successful builds.
<Guest79> Did same with QtCreator IDE.
<Guest79> Now i need some help with understanding project file structure and architecture. What can you recommend me to read or take my look closely?
<Guest79> For example, i want to work on Issue #4458.
<Guest79> It needs changes in Qt GUI to make "New From Template" option and It's implementation, which right location is a mystery for me.
<Guest79> Thanks for attention, Alex.
<Guest79> -----------------
<Guest79> Accident duplicate.
<lf94> It can be difficult, but the best way is to start with `tree .` and also there is a pdf in the repo showing the classes
<J23> hmm  i have an example file in the example file list for that to start with a template
<lf94> Start searching for strings you normally see in the GUI
<lf94> just start reading the code
<J23> and we have "insert template"  for code snippets
<lf94> * Guest79 has left the channel.
mmu_man has quit [Ping timeout: 265 seconds]
abff_ has joined #openscad
abff has quit [Ping timeout: 256 seconds]
germ_ has joined #openscad
<teepee> while "insert template" is a bit similar from user side, from technical perspective following the "new" code path is probably a better fit
germ has quit [Ping timeout: 268 seconds]
abff_ is now known as abff
muesli has quit [Quit: NO CARRIER]
muesli has joined #openscad
<J23> if we had templates like *.tscad  that will give you "save as" when saved
<J23> write protected files give  an error msg
<Guest79> Thanks for all of your advice!
<Guest79> J23, what do you mean by this?
<Guest79> > hmm i have an example file in the example file list for that to start with a template
<Guest79> Do i understand correctly, that OpenSCAD has no "Start with a template" feature right now?
<Guest79> The ways to do it are two:
<Guest79> 1) Just copy by hand.
<Guest79> 2) Include that file.
<Guest79> As said in Issue comments.
<teepee> yes, there's a couple of similar things, but not this specific feature
<J23> right, you can open an example file but that also is not a real template
<J23> there is an option to enter template code into the file - but that template code need to be stored as json and is not very user friendly to generate
<teepee> yeah, maybe at some point, we'll have a GUI for the templates too, but right now it's not very user friendly
<Guest79> Okay, it makes that issue wanted to resolve by implementing feature.
<Guest79> Do I understand correctly, that Qt Creator doesn't show any of "src/gui/*.ui" files because project uses cmake?
<Guest79> Is it worth to make dummy add_executable in CMakeLists.txt for Qt Creator to index ui files?
<Guest79> Doesn't show in project tree, I mean.
<teepee> that's possible, but the editor for the UI files is a different application anyway
<teepee> I'm running debian and there it's just called "designer"
<teepee> for get started looking at code, you can check that: https://github.com/openscad/openscad/blob/master/src/gui/MainWindow.cc#L385
lagomorph has joined #openscad
<teepee> it's the "New" action from the menu bar calling the actionNew() method on the TabManager class
<J23> so instead of "create tab" you would open default.scad if available .. but  then saving would become an issue
J23 has quit [Quit: Client closed]
J23 has joined #openscad
<teepee> I suppose a combination between examples (like in the startup screen) and the template logic would be nice
<teepee> like get a popup showing default installed files merged with user supplied ones
Guest79 has quit [Quit: Client closed]
use-value has quit [Quit: use-value]
peeps[work] has joined #openscad
lostapathy has quit [Quit: WeeChat 3.5]
lostapathy has joined #openscad
lostapathy has quit [Client Quit]
lostapathy has joined #openscad
Guest94 has joined #openscad
anoblet has joined #openscad
mmu_man has joined #openscad
<J23> maybe creating  examples.json dynamically by the folder and file contents would allow a "template" folder holding user created files
Guest94 has quit [Quit: Client closed]
germ_ has quit [Ping timeout: 265 seconds]
abff has quit [Ping timeout: 265 seconds]
abff has joined #openscad
germ has joined #openscad
caveman has quit [Ping timeout: 240 seconds]
caveman has joined #openscad
noonien has quit [Quit: The Lounge - https://thelounge.chat]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
snaked has quit [Read error: Connection reset by peer]
peeps[work] has quit [Ping timeout: 240 seconds]
mmu_man has quit [Ping timeout: 256 seconds]
snaked has joined #openscad