kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JakeSays_ has quit [Read error: Connection reset by peer]
JakeSays has joined #openscad
LordOfBikes has quit [Ping timeout: 264 seconds]
Guest48 has joined #openscad
Guest48 has quit [Client Quit]
LordOfBikes has joined #openscad
J23k79 has joined #openscad
J23k97 has quit [Ping timeout: 245 seconds]
L29Ah has left #openscad [#openscad]
hyvoid has quit [Ping timeout: 240 seconds]
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
guso78k has joined #openscad
feuerrot has quit [Server closed connection]
feuerrot has joined #openscad
mmu_man has quit [Ping timeout: 246 seconds]
qeed_ has joined #openscad
qeed has quit [Ping timeout: 264 seconds]
bozo has joined #openscad
bozo has quit [Quit: Leaving]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 246 seconds]
teepee_ is now known as teepee
Guest4 has joined #openscad
kintel has joined #openscad
<kintel>
teepee: Can we (and should we) build OpenSCAD on the CI server on bare metal? .. or is it better to set up docker also for interactive build jobs?
kintel has quit [Client Quit]
Guest63 has joined #openscad
Guest4 has quit [Quit: Client closed]
Guest63 has quit [Client Quit]
<guso78k>
kintel trying to build openscad for MAC without a mac. could it be an option to virtualize it somehow ?
cart_ has joined #openscad
kintel has joined #openscad
<kintel>
guso78: You cannot legally virtualize a Mac, but it's technically possible to install a "Hackintosh" on an Intel VM I think. Never tried though
<kintel>
Getting it to build on one of the CI services may be the easiest option, perhaps with ssh option enabled so you can do short interactive sessions too
<cart_>
Something that I have been wondering. Is it hard to have OpenSCad run on multiple threads? I read a really brief explanation somewhere on why that is the case. But I can not remember
kintel has quit [Client Quit]
kintel has joined #openscad
<kintel>
cart_ This was mostly an issue of the geometry library (CGAL) not being parallelizable. Should be a lot better now with the new Manifold backend
<cart_>
kintel: The Manifold backend? In latest version of OpenSCad or? What is that though?
<J23k79>
cart_ a feature you need to activate in version 2023
<Scopeuk>
specifically it is an experimental feature available in the nightly builds which enables the manifold engine in place of the openCSG engine traditionally used by openscad. it can have significant performance gain and has multithreading
<guso78k>
kintel, i believe i would feel most convenient having ssh access to an mac account to collect experience compiling my fork on MAC. Doubt that it will be a walk-through ...
<kintel>
guso78k Yeah, macs are annoying that way that you need a physical mac. However, if you open a PR on GitHub, it's possible to modify the CI setup to allow you to ssh into the build machine. That would give you a few hours (I think) per session to play around on a real Mac: https://github.com/marketplace/actions/debugging-with-ssh
<kintel>
(I haven't looked into the ssh stuff in detail though, but it looks reasonable)
<guso78k>
kintel, thank you for the link. this sounds like an option. let me elaborate it ...
cart_ has quit [Quit: Konversation terminated!]
cart_ has joined #openscad
<kintel>
guso78k Another option could be to rent a cloud VM. I see pricing down to 0.11 EUR per hour for a M1 Mac: https://www.scaleway.com/en/hello-m1/
<kintel>
Challenge with Cloud VMs is that I don't know how long it takes to bootstrap; install compilers etc., and if they allow creating backup images
berndj has quit [Read error: Connection reset by peer]
snaked has quit [Quit: Leaving]
berndj-blackout is now known as berndj
<Joel>
Today's stupid question, there's no way to specify what a "unit" of size is, right? inches? mm? cm? etc.
<Scopeuk>
openscad has no concept of units
<Scopeuk>
most of the export formats don't either
<Scopeuk>
stl does not have units (there are some stl models out there in inches rather than mm's) it's just by convention in 3d printing we use mm's
<Joel>
I figured, so when I run it through a slicer I probably have to tell it what units I'm in
<teepee>
in theory yes, so far I've seen all slicers I used just default to mm
<teepee>
fwiw, gcode has no units either, and there are SET-MM and SET-INCH commands in Marlin I think
<teepee>
G20 - Inch Units
<teepee>
G21 - Millimeter Units
<teepee>
:)
<Joel>
awesome, thanks so much <3
<Scopeuk>
slicers have a setting for unit to use as base for stl, as teepee said it defaults to mm's
<Joel>
https://docs.arduino.cc/hardware/uno-mini-le - I have this bad boy, I've been able to open the fritzing files, but wasn't able to find a way to measure the mounting hole placement. I've downloaded the cad files but haven't found anything that'll open them on linux yet, so I'm stuck doing the measure/print/test repeat cycle
<peeps[zen]>
Joel: for what its worth, if you have a need to specify some dimensions in inches, feet, etc. I often define a unit near the top, in relation to mm, `in = 25.4;` then you can define a length as a multiple of that unit: `partL = 6*in;`
<Joel>
peeps[zen] thankfully prusa slicer throws up a warning for me somehow, and asks if I want to convert inches to mm, no idea how it detects, but thankful it caught that with my first couple of pritns
<Joel>
I guess 4" -> 4mm is pretty small lol
guso78k has joined #openscad
<Scopeuk>
looks like the "cad" files are some weird altium format for sending to clients you want to impress without releasing their own ip back to them
<Joel>
Scopeuk which is hilarious from the "open source" arduino project
<Joel>
peeps[zen] hey thanks, that might be what I do next <3
mmu_man has joined #openscad
bozo16 has quit [Remote host closed the connection]
bozo16 has joined #openscad
J23k79 has quit [Quit: Client closed]
J23k79 has joined #openscad
<J23k79>
function inch(n)=n*25.4; ↦ length= inch(5); .. or you slap a scale(25.4) around
<joseph_>
teepee: I know this is the last week of my extended GSoC so a bit later this evening (in your time zone) I've allocated a chunk of time to do some fixup/organization of my branches in preparation for my report submission. I think the optional compile-time macro can get merged with little review since it doesn't do anything when not specified. More experimental changes can potentially get reviewed later on
sauce has quit [Ping timeout: 264 seconds]
sauce has joined #openscad
bozo16 has quit [Quit: Leaving]
bozo16 has joined #openscad
peeps[work] has quit [Quit: Leaving]
peeps[work] has joined #openscad
kintel has joined #openscad
<kintel>
joseph_: Just so I understand: Is your macro PR essentially a way of #ifdef'ing out most legacy OpenGL calls so that it's possible yo compile, but not run, OpenSCAD against GLES 3.2 core/GLES ?
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<joseph_>
Yes. And when I have a chance to try making a branch that combines this with my work last year on F6 shader rendering, the hope is that it will be able to run (render only, for now)
<InPhase>
Joel: Including canonical string printouts to the nearest 32nd of an inch.
<InPhase>
in = 25.4; though really covers like 99% of possible need. I just felt like implementing a complete set for fun one day, so now I have it. :)
<InPhase>
Also, I think "in(5, 1/4)" is a little easier on the eyes than (5+1/4)*in
<InPhase>
Plus you get automatic precedence support. 50*in / ((5+1/4)*in) vs. in(50)/in(5, 1/4)
bozo16 has quit [Remote host closed the connection]
bozo16 has joined #openscad
snaked has joined #openscad
<Joel>
InPhase yeah I ended up doing something like that when I was doing house framing, I think you might have helped me back then actually