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 or report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://libera.irclog.whitequark.org/openscad | don't ask to ask
<InPhase> peepsalot: I have a CMakeLists for work that, if a submodule isn't there, uses execute_process to do a git submodule update. So you can get pretty flexible once you take the bold step of starting to run stuff. For example, you can run cmake externally, or run a script.
<InPhase> Sometimes I feel a little fenced in inside of cmake's logic process. It does one niche set of jobs well, and most other jobs really awkwardly.
RoyK has quit [Ping timeout: 264 seconds]
RoyK has joined #openscad
LordOfBikes has quit [Ping timeout: 252 seconds]
LordOfBikes has joined #openscad
gunnbr has joined #openscad
gunnbr has quit [Ping timeout: 264 seconds]
gunnbr has joined #openscad
The_Jag_ has joined #openscad
<peepsalot> InPhase: it can be definitely get pretty frustrating. seems like its not very consistent or well documented regarding scope and value inheritance
<peepsalot> is there no "CMake Core Guidelines" type of doc?
The_Jag has quit [Ping timeout: 264 seconds]
ur5us has joined #openscad
gunnbr has quit [Ping timeout: 264 seconds]
<InPhase> peepsalot: The docs don't seem to do much of a high level principles thing.
ur5us has quit [Remote host closed the connection]
<InPhase> Everything I find is examples and jargon-filled descriptions of individual commands.
<InPhase> peepsalot: Maybe you can poke someone here to point you toward a comprehensive description, or nudge someone into typing one up by a good cmake-nerd-snipe question? https://discourse.cmake.org/
<InPhase> Probably a general/specific dual question is best.
<teepee> I started looking at https://cliutils.gitlab.io/modern-cmake/ some time ago, but have not read through everything yet
<InPhase> I'm not sure where the "modern" part is.
<InPhase> Maybe I already gradually adjusted to "modern" cmake and didn't notice.
<InPhase> I guess they specify a few old commands that I should not be using, that I do in fact use interspersed with the new commands, but mostly because I'm blindly following examples and grabbing from old cmake files because it's a mess to wade through the docs all over again. ;)
<teepee> my interpretation so far is that "modern" mostly means working with targets as things that have setup/properties/...
<teepee> basically having none or only very limited global setup that is then just applied everywhere
<teepee> but it's really hard to do with just the reference docs
ochafik has quit [Ping timeout: 252 seconds]
gunnbr has joined #openscad
gunnbr_ has joined #openscad
gunnbr has quit [Ping timeout: 264 seconds]
<InPhase> teepee: Yeah. Although I almost always just have one target.
gunnbr_ has quit [Ping timeout: 264 seconds]
gunnbr has joined #openscad
gunnbr has quit [Ping timeout: 264 seconds]
gunnbr has joined #openscad
TheAssass1n has joined #openscad
TheAssassin has quit [Ping timeout: 276 seconds]
gunnbr has quit [Ping timeout: 268 seconds]
TheAssass1n is now known as TheAssassin
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
linext_ has quit [Remote host closed the connection]
hyperair has quit [Ping timeout: 250 seconds]
linext_ has joined #openscad
arebil has joined #openscad
arebil has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
luissen has joined #openscad
RichardP_ has joined #openscad
RichardPotthoff has quit [Read error: Connection reset by peer]
arebil has joined #openscad
arebil_ has joined #openscad
arebil has quit [Ping timeout: 260 seconds]
gunnbr has joined #openscad
<gbruno> [github] t-paul closed issue #3933 (Issue in latest macOS development snapshots (from 2010-10-04)). https://github.com/openscad/openscad/issues/3933
arebil_ has quit [Quit: My keyboard has gone to sleep. ZZZzzz…]
gunnbr has quit [Ping timeout: 264 seconds]
<gbruno> [github] bob-ewart opened issue #3945 (BOSL2 cyl with rounding fails in nightly build). https://github.com/openscad/openscad/issues/3945
ferdna has joined #openscad
lastrodamo has joined #openscad
gunnbr has joined #openscad
<gbruno> [github] t-paul closed issue #3945 (BOSL2 cyl with rounding fails in nightly build). https://github.com/openscad/openscad/issues/3945
gunnbr has quit [Remote host closed the connection]
gunnbr has joined #openscad
<InPhase> Solid success for the nightlies there. peepsalot's new undefined operation warnings highlighted a scad code error the 2019 release was glazing over.
<InPhase> Well, "new".
<teepee> no issue with the latest version of bosl2 though, no idea what the issue was
gunnbr has quit [Read error: Connection reset by peer]
<InPhase> Oh, I thought that came from a BOSL2 dev. I guess that was just a BOSL2 user.
fd0r has joined #openscad
<teepee> yeah, I think so. I'm fine with the latest version looking good :)
fd0r has quit [Client Quit]
<gbruno> [github] gounthar opened issue #3946 (Raspberry Pi 3 running Raspbian 10 buster armv7l Linux 5.10.63-v7+: /usr/include/GLES3/gl32.h:1821:187: error: void __glewTexStorage3DMultisample(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean) redeclared as different kind of symbol). https://github.com/openscad/openscad/issues/3946
<gbruno> [github] gounthar edited issue #3946 (Raspberry Pi 3 running Raspbian 10 buster armv7l Linux 5.10.63-v7+: /usr/include/GLES3/gl32.h:1821:187: error: void __glewTexStorage3DMultisample(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean) redeclared as different kind of symbol). https://github.com/openscad/openscad/issues/3946
ur5us has joined #openscad
ochafik has joined #openscad
ochafik has quit [Remote host closed the connection]
lastrodamo has quit [Quit: Leaving]
ochafik has joined #openscad
ochafik has quit [Remote host closed the connection]
othx has quit [Ping timeout: 252 seconds]
ochafik has joined #openscad
ur5us has quit [Ping timeout: 264 seconds]
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
ochafik has quit [Remote host closed the connection]
ochafik has joined #openscad
Guest70 has joined #openscad
<Guest70> m brand new to this and am trying to modify something. How do I wrap text or have 2 lines of text in an item?
ochafik has quit [Ping timeout: 265 seconds]
<teepee> there's no text formatting, so it's basically just the script having 2 text objects
<Guest70> so how would I set that up in the script?
<teepee> simplest case is to really just move the text parts to the places they should appear:
<teepee> difference() { cube([60, 50, 2]); translate([10, 30]) linear_extrude(5, center = true) text("Hallo"); translate([10, 10]) linear_extrude(5, center = true) text("World!"); }
<teepee> the dev snapshots have some features to ask for sizes of text, so it would be possible to actually do line wrapping
<teepee> but this is fairly new, so I'm not sure if there's much code using it - also it's an experimental feature still, so needs to be enabled in preferences