<teepee>
yes, mentor eval starts after your deadline
Virindi has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
teepee has quit [Quit: bye...]
J1A849450 has joined #openscad
teepee has joined #openscad
J1A8494 has quit [Ping timeout: 244 seconds]
Virindi has joined #openscad
Virindi has left #openscad [#openscad]
Virindi has joined #openscad
fling has quit [Remote host closed the connection]
fling has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee_ is now known as teepee
aiyion has quit [Ping timeout: 258 seconds]
aiyion has joined #openscad
aiyion has quit [Remote host closed the connection]
LordOfBikes has quit [Ping timeout: 260 seconds]
Virindi has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
Virindi has joined #openscad
LordOfBikes has joined #openscad
<lf94>
ABSHK: not sure
<lf94>
I kind of just accept whatever I see :p
aiyion has joined #openscad
snaked has joined #openscad
<joseph_>
teepee: By the way, I actually didn't see a notification for the first message you sent reminding me of the deadline (it was a coincidence that I was working on finalizing it at the same time). I mention this because I was having problems connecting to my ZNC bouncer earlier, even though it's been reliable historically. Your message was logged as 2022-10-22 22:55:09 UTC for me, does that match your end?
<teepee>
yes, that matches
<J1A849450>
teepee .. already missed your "listen to DJ" Suggestions
<Guest55>
hi i have found this place based on a youtube video, i am on the hunt for a case for my Khadas Vim4. i have no clue what i am doing when it comes to making my own case so i was wondering if anyone would be able help me? my actual use case is the Khadas Vim4 with the new m2x breakout board (which wont fit in the basic case) is anyone able to assist
<Guest55>
with these edits or perhaps already done so themselves? TIA
<J1A849450>
you either import an existing case and modify but that can cause problems .. ideal would be having an scad file for the old case so you can modify this
<J1A849450>
if you need to build everything new . .you need measurements of all size and then build the box .. one approach is to have an outside form and remove everything on the inside that needs space
<Bram[m]12>
<J1A849450> "if you need to build everything..." <- Is there another approach in openscad? 😬 I dont know any better than basic shapes and then sustraction to get other shapes...
<J1A849450>
Bram[m]12 you could have an existing design and modify .. also there are libraries for boxes you can use
pah_ has quit [Ping timeout: 250 seconds]
pah has joined #openscad
pah has quit [Ping timeout: 272 seconds]
pah has joined #openscad
pah has quit [Ping timeout: 250 seconds]
pah has joined #openscad
linext has quit [Read error: Connection reset by peer]
<InPhase>
Guest55: A box is a reasonably straightforward project to do from scratch for a beginner. But you can also use a library like this: https://github.com/mrWheel/YAPP_Box
<InPhase>
Guest55: But certainly go through the tutorial a bit first so that you're comfortable with the language.
<InPhase>
Oh, looks like that's already setup to handle the vim4 as well.
<Cadisson>
Hey there! I have a quick question: I've built a new PC the other day and now have a (glorious) 4k monitor. :) Now, in OpenSCAD all icons (especially those to close (x) panels like the console or the customizer) are really, really tiny. I've tried searching for a solution, but couldn't find one. Is there a obvious solution that I have missed? (I'm
<Cadisson>
running Ubuntu 22.10 (fractional scaling set to 125%) with OpenSCAD 2021.01.)
<J1A849450>
Hi Cadisson
<Cadisson>
Hi J1A849450! ✌🏽
<J1A849450>
if you want the same size you need to scale this way up .. if you calculate the monitor size you had before and the resolution you get the DPI .. i assume you now have 2× more so 200% scale is needed to compensate
<J1A849450>
Or did you say all other symbols are big and only SCAD has small symbols .. maybe you have a screenshot to compare
<J1A849450>
the window close buttons are roughly only ⅙ of the normal close X so these will get awfully small on high res monitors
<J1A849450>
what monitor size do you hale 27"?
<teepee>
hmm, on Ubuntu I would have expected to be automatic
<Cadisson>
Yes, fractional scaling seems to work really well and the whole UI of Ubuntu is fine. Just the icons in OpenSCAD are really small: https://imgur.com/a/QfdqDHs It's a 28" (nearly 27.9 to be precise :)) monitor.
<teepee>
the high DPI handling is a bit shaky but mostly works
<Cadisson>
(My yes referred to your "Or did you say all other symbols are big and only SCAD has small symbols", J1A849450)
<teepee>
fractional scaling might be the issue, OpenSCAD uses the "other" GUI framework, not the one Ubuntu usually uses
<J1A849450>
looks indeed bit smaller .. not sure what determines the size within the application
qeed has quit [Ping timeout: 272 seconds]
<teepee>
can you try if integer scaling works?
J1A849450 is now known as J1A84
qeed has joined #openscad
<Cadisson>
teepee I can only guess integer scaling is when I turn off fractional scaling and use the "regular" scaling. (I'm new to all the hidpi magic. :)) Here I've had it set to 200%. The icons are now a pleasant size, but everything else is way too huge: https://imgur.com/a/dXz8gkQ
<teepee>
hmm, so I guess that means the framework OpenSCAD is using does not handle the fractional scaling :(
<teepee>
do you know if this is Wayland?
<teepee>
e.g. in a terminal: echo $XDG_SESSION_TYPE
<Cadisson>
It's X11 (due to the NVidia drivers I guess).
<teepee>
so that option is out, not sure if it would help, but essentially the only idea I'd have at this point
<Cadisson>
The icons get a bit fuzzy, but QT_AUTO_SCREEN_SCALE_FACTOR=1 openscad actually did the trick! Thanks a lot for your help! (Yours as well, J1A84!) QT_SCALE_FACTOR=1.5 openscad scaled the whole UI, including the text, which got too big. https://imgur.com/a/yoolN2j
<teepee>
oh, hah! it's running the application directly, doh :)
<InPhase>
The export command will try to export a variable named openscad (which it won't find, so that part is a no-op).
<teepee>
right for being part of the value it would have needed quotes too
* teepee
goes fetching some coffee
* InPhase
continues to sip his second cup of tea.
<Cadisson>
(The last screenshot shows QT_AUTO_SCREEN_SCALE_FACTOR=1 openscad with - imho - everything scaled perfectly.)
<InPhase>
Excellent. :)
<InPhase>
That was easy enough.
<InPhase>
Cadisson: Do you know how to make that into a bash script for launching OpenSCAD?
<Cadisson>
Aye. :)
<InPhase>
Excellent.
<Cadisson>
So, thanks again for your help, you all! :)
<J1A84>
i have only 2.5K for the same monitor size .. maybe time to update
<J1A84>
i was hoping for quantum dot displays or OLED
<Cadisson>
This new PC replaced my 12 year old Mac Mini (running debian) with a 1080p monitor. I'm absolutely blown away by the performance of this new hardware! These speeds are bonkers!
<InPhase>
12 years is a big jump in performance.
<InPhase>
Hopefully you picked up a good RAM boost too, so you can do the fancy OpenSCAD models. :)
<J1A84>
i still remember how IPS vs the old TN was such a difference and how you needed two monitor cables to drive it via HDMI Ü
<Cadisson>
I was constantly giggeling and shaking my head, especially when I installed the 1TB NVMe "harddisk". :D Light years!
<Cadisson>
InPhase 32GB DDR4. :D
GNUmoon has quit [Ping timeout: 258 seconds]
<InPhase>
Cadisson: Hold on, I have an OpenSCAD benchmark for you to run...
<Cadisson>
:D
<InPhase>
Cadisson: https://bpa.st/RIMQ Do View, Animate, and FPS: 30, Steps: 1500, and report back the typical render time it's providing.
<J1A84>
wow 1TB is far under 100¥€$
<InPhase>
J1A84: Yeah, the nvmes are now comfortably cheap. I slapped 2TB nvme on this laptop a year ago.
<InPhase>
My first nvme was pretty pricey, and a hard decision.
<teepee>
oi! my octoprint raspi just rebooted mid-print
<J1A84>
my first was 250gb (SSD)
<InPhase>
teepee: Oops!
<teepee>
maybe I should upgrade to a pi3 at some point :)
<InPhase>
teepee: Apparently supplies are at roughly zero, and the pi's are only available at some ridiculous markup.
<teepee>
I should have a pi3 or two sitting around here
<InPhase>
That'd do it.
<InPhase>
Cadisson: Nice.
<InPhase>
Cadisson: I'm getting about 0.027.
<teepee>
yeah, I really would like a more ram pi4 for homeassistant, with the music assistant now running too, the 2G seems a bit tiny
<Cadisson>
It was hovering between 0:00:00.018 and 0:00:00.021
<teepee>
J1A84: yen-euro-dollar?
<J1A84>
YES .. well the yen ratio didn't fit .. but say yes to all you can buy
<InPhase>
Cadisson: I'm running a Ryzen 7 4800H, 8 core with dual copper cooling, 64GB RAM. A pretty decent model from about 18 months ago.
<Cadisson>
👌🏽
<InPhase>
Cadisson: What did you pick up for this one?
<Cadisson>
A Ryzen 5 5600. I wanted something somewhat modern, but not too expensive. And it seemed like a good choice. (It has been ~20 years since I've last built a PC, so all these new names and models … phew. :))
<teepee>
ok, lets try that again
GNUmoon has joined #openscad
<InPhase>
Cadisson: Hmm, so then I wonder how you're getting faster times than me. Maybe the RAM is faster?
<InPhase>
Cadisson: Found my specs. It seems I have 3200MHz CL22 DDR4.
<Cadisson>
teepee My OctoPi also decided to go on strike. :D
<teepee>
wtf, it's hardware broke week or something?
<teepee>
on friday we had 3 company notebooks fail in a matter of hours
<teepee>
not all identical hardware and slightly different install
<Cadisson>
InPhase Mine is also 3200MHz DDR4. Perhaps the graphics card? I've got a Gainward GeForce GTX 1650 D6 GHOST, which is - at least in my opinion - pretty beafy: https://www.gainward.com/main/vgapro.php?id=1083&lang=en
<InPhase>
Cadisson: That might be enough to make the difference. I'm running the integrated AMD gpu.
<InPhase>
Cadisson: It's a bit ambiguous how much difference the GPU actually makes for OpenSCAD things, since we don't do any heavy GPU calculations.
<InPhase>
But animations could be an area where it kicks in a little bit.
<peepsalot>
i have amd 3900 and GTX 1660. 0.024-0.025
<peepsalot>
that was for the nightly build. on 2021.01 i get 27-28ms. seems like CPU is probably the main scaling factor
<peepsalot>
although I'm really curious how one of those 5800X3D would perform in OpenSCAD. i have a feeling it would love the extra cache
<peepsalot>
also need a more stressfull test imo
teepee_ has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee_ is now known as teepee
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
<peepsalot>
InPhase: any thoughts about the transform member function inheritance issue?
<peepsalot>
So far I'm thinking something like this https://bpa.st/OQJQ , if that makes any sense
<peepsalot>
can't template virtual functions, can't define virtual member functions in subclasses which take parameters that are subclasses. idk inheritance is hard
<Cadisson>
Since this channel is logged and it might be helpful to others: I've copied openscad.desktop from /usr/share/applications/ to ~/.local/share/applications and modified it to start a shell script instead of directly starting OpenSCAD: Exec=~/opt/openscad.scale.sh This script contains: QT_AUTO_SCREEN_SCALE_FACTOR=1 /usr/bin/openscad Now, whenever I
<Cadisson>
start OpenSCAD the regular way, I get correct scaling. :) #ubuntu 22.10
<Cadisson>
(Ubuntu seems to first look for .desktop files in the users' home directory, and then system-wide. Which makes sense.)
<Cadisson>
teepee Oh, I can spare myself the shell script, nice!
<Rayyan>
teepee: I see, I had claimed it before he commented that so I was a bit confused
fling has quit [Ping timeout: 258 seconds]
fling_ has joined #openscad
qeed has quit [Quit: qeed]
<teepee>
Rayyan: no worries, he was the person fixing the bounty source integration over the last weeks, so he knows how it works, I'm sure he'll see the notification eventually
qeed has joined #openscad
fling_ is now known as fling
<Cadisson>
So, got to go. Bye, and thanks again for the help!
<teepee>
bye, have fun :)
<teepee>
so I guess I need other screws, 2 out of 4 just lost their head screwing into plastics? what shitty quality is that :)
Cadisson has quit [Quit: Client closed]
fling has quit [Ping timeout: 258 seconds]
GNUmoon has quit [Ping timeout: 258 seconds]
fling has joined #openscad
GNUmoon has joined #openscad
TheAssassin has quit [Quit: No Ping reply in 180 seconds.]
TheAssassin has joined #openscad
<J1A84>
i had that with nylon screws .. maybe it is iron not steel
<J1A84>
if you oil and heat them a bit they can melt their thread nicely
snaked has quit [Quit: Leaving]
snaked has joined #openscad
<peepsalot>
teepee: what do you use M2 for? holding down a pcb?
<peepsalot>
i rarely use anything lower than M3. i was mounting an RPi recently which was smaller, but after looking it up i guess it actually uses M2.5. M2 is tiny
<peepsalot>
also if its cold PLA, self tapping can be kinda brutal
<teepee>
peepsalot: yes. it's just pre-made pcbs with 2.3mm holes. I guess I could just drill some extra holes
<teepee>
it's self tapping into J1A84 style holes :)
<peepsalot>
PETG is much more forgiving, if you aren't already using it
<J1A84>
hmm seems i have M1.8 and M2.2 screws .. strange
<teepee>
annoyingly they put the 2mm holes that close to the edges that I don't think it's possible to drill them out to 3mm
Guest51 has joined #openscad
Guest51 has quit [Client Quit]
<J1A84>
can use a piece of filament as dowel .. or with heat as a rivet
<peepsalot>
the pillars could be made wider I think, up to `+ wall` in radius, but the positions are also a bit off I think, regarding the tolerance directions they are moved for each corner
<peepsalot>
i don't really get what tolerance means in this context, like are you trying to purposely leave a gap between the walls and posts?
<peepsalot>
gotta reboot
peepsalot has quit [Quit: Connection reset by peep]
peepsalot has joined #openscad
<dalias>
would it be possible to get a new tag, like, ever?
<dalias>
distros are still shipping 202101 because there's no tag
<peepsalot>
there's a bit more work that goes into a release than just marking a tag
<teepee>
from my view there's 2 (possibly related) issues that are blocking a release
<teepee>
yes, apart from time which is obviously also an issue
<teepee>
neat Clipper2
<teepee>
set(CMAKE_CXX_STANDARD 17)
<peepsalot>
teepee: hmm? are you looking at Clipper2's CMakeLists implying that's a problem? i don't think it would be. that possibility of incompatible build settings is the reason why, when I added mimalloc, I redid everything to set target properties rather than global settings
<teepee>
yes, that's clipper2 cmake
<teepee>
I guess moving to c++17 should happen soon-ish anyway but we need to handle all the stuff based on ubuntu-18.04
<teepee>
which probably is only the AppImage at this point
castaway has quit [Ping timeout: 250 seconds]
lastrodamo has quit [Quit: Leaving]
<teepee>
oh, clipper2 handles floating point
GNUmoon has quit [Remote host closed the connection]
snaked has quit [Ping timeout: 260 seconds]
GNUmoon has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 258 seconds]
teepee_ is now known as teepee
<teepee>
fwiw, I just tried the normal M2 machine screws from my SAM box and those work just fine :)