<church_>
TylerTork: you want hard to miss visual cue to warn user? - do some logical check in model code, that will change color of some part of whole model. or will display it with # (transparent red, usually used to prefix code you want to set appart from rest)
<church_>
or change with color("somecolorname"). or add text in model somewhere on top.
<TylerTork>
Here's another question: What's the best way currently to automatically wrap a long message to a given line length, breaking at space characters and other sensible places?
<church_>
though FOV .. that sounds of generic viewing in openscad, not model specific. so it's not about model, but in general about openscad UI?
<TylerTork>
church_ The code I posted above is using the $vp parameters to try to create text sized, rotated, and position so as to fill a reasonable portion of the preview window. The problem is none of those numbers seem to account for the size of the preview area as a proportion of the overall window size -- because resizing that pane doesn't also zoom the
<TylerTork>
pane.
<church_>
i just accepted as given that openscad's text rendering is too limited. at most i'd do text splitting into rows and alike externally. best i see regarding textmetric() function that you can pass same string/same font parameters as for text(), and query eg. result size/width/length/height/spacing and so on ..
<church_>
so i use text() only for relatively small text, like small line/writing, not anything that would need splitting, not anything of multilines
Guest23 has joined #openscad
Guest23 has quit [Client Quit]
kintel has joined #openscad
<kintel>
TylerTork FOV isn't calculated based on user-resized windows; it's set to determine how user-resized windows should adjust camera settings
<kintel>
..and I believe it's vertical FOV, but I could be wrong. ..meaning "half viewportsize" should behave differently depending on in which direction you halve it
Smeef has joined #openscad
<TylerTork>
kintel: okay -- but the fact remains that they do not adjust.
<TylerTork>
ok it rescales if you change the height but not if you change the width. Odd.
<kintel>
TylerTork That's what vertical FOV means. $vpf is something you write to. Resizing the window is not going to change it
<kintel>
..or are you saying that writing to $vpf doesn't work?
califax has quit [Remote host closed the connection]
<church_>
kintel: stupid question (as in 95% cases answer to such in relation to anything is usually "when it's ready") :) - but any aproximate guesstimation of when next stable release is planned? half a year, year, two years, more? :)
<mkatychev>
Oh, you mean for tree-sitter-openscad?
<mkatychev>
whoops
<kintel>
church_ Since we're all doing this on our spare time, it's very hard to say, depends on how lives of people involved are progressing.
<kintel>
I'd say, a single person with 2h per day effective contribution could probably pull it off in a year
<church_>
kintel: just that imho manifold is too tasty of addition that even those that for whatever whimsical reasons stick to 'stable', would deserve to get sooner :)
<church_>
or if some stick to 'stable' as lowest common denominator for intercompatibility, also might by large be swayed if new 'stable' version pops up
mkatychev58 has joined #openscad
mkatychev58 has quit [Client Quit]
<kintel>
I agree, but backporting manifold to stable isn't going to happen, so we'll have to see it through. ..but we can cut some corners, like not promoting any more experimental features to stable, and if needed remove some feature we cannot make stable. No real plans though, it all come down to what we experience on a weekly basis
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Virindi has joined #openscad
bozo16 has quit [Quit: Leaving]
mkatychev has quit [Ping timeout: 240 seconds]
TylerTork has quit [Quit: Client closed]
kintel has joined #openscad
mkatychev has joined #openscad
hyperair has quit [Remote host closed the connection]
<TylerTork>
I've been searching the Internet and github, and it looks like at present there is no support for exporting color information from OpenSCAD client. Is that correct?
<kintel>
You can export 3MF or OFF with colors, provided you use the Manifold backend
<gbruno>
[github] dbyy opened issue #5676 (OpenScad v 2025.01.26 (Snap on Linux Mint) - Save File As: Can't navigate to mounted NAS locations (/mnt/...) (on NAS)) https://github.com/openscad/openscad/issues/5676