<gioele>
right now I use the difference of two cylinders, then I attach it to two stretched cubes (plus some epsilon to join the geometries). Are there better ways?
RoyK has joined #openscad
GNUmoon has quit [Remote host closed the connection]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
<gioele>
I have a file with 1) constant definitions, 2) various `module`s, 3) some geometries. How can I include this file from another file but without running the geometries at the end? `use` will not load the constants into the file; `include` will generate the geometries at the end
<teepee>
I guess it's either 1) split the file or 2) if it's not too many constants, give them query functions
<teepee>
well, with the dev snapshots there are 2 more options :)
<teepee>
use a json file for the constants and import() that
<teepee>
use the new object() function to return all constants as one data structure
kintel has joined #openscad
<teepee>
gioele: ^
<teepee>
ah, kintel, welcome back :)
<kintel>
thx!
<kintel>
Future idea: The ability to export a symbol would be fun as well, but perhaps more useful could be to assign the result of `use` to a variable as a namespace (or allow import() to do that)
<teepee>
fyi, I merged the input config stuff, so watch out for mouse control issues
<kintel>
teepee Any objections to merging the clang-format stuff?
<teepee>
there was one macos specific check where I'm not 100% sure that was converted into the new code
<teepee>
nope, it's a bit more changes than I would have liked, specifically for short functions going into multi-line
<teepee>
but I guess trying to get this perfect is not worth it
<kintel>
re. short functions: You'd prefer more single-line ones?
<teepee>
I don't mind either way, it's just lots of changes
<kintel>
Yeah, it's kind of unavoidable if we want global formatting, I tried tinkering with it a bit, but the configs aren't that flexible compared to uncrustify
<kintel>
Personally I gave up on trying to maintain my own style and started valuing single-click formatting over micromanaging readability : /
<teepee>
I certainly have some sort of preference, but using some sort of public default with just some minor tweaks (line length) is more useful
<teepee>
especially if that's then supported by various editors
<kintel>
yup
<kintel>
Once we have auto-formatting working and committed, we can always tweak single settings if someone has a strong preference
<kintel>
Re. mouse stuff: The default preset works on macOS, but both Fusion and Blender presets are wrong I think. My guess is that Fusion and Blender on macOS behave differently than on other platforms?
<teepee>
yes, I guess we'd need also macos versions if someone cares enough
<teepee>
oh, OBS already added Trixie :)
kintel has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
howiemnt1 has joined #openscad
howiemnt has quit [Ping timeout: 260 seconds]
kintel has joined #openscad
kintel has quit [Quit: My Mac has gone to sleep. ZZZzzz…]