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 / report bugs: https://goo.gl/lj0JRI | Tutorial: https://bit.ly/37P6z0B | Books: https://bit.ly/3xlLcQq | FOSDEM 2020: https://bit.ly/35xZGy6 | Logs: https://bit.ly/32MfbH5
<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_> eg. if(howeveryoufindouterrorstate) { #part(); } else { part(); }
<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]
<kintel> FYI: I've added a new repo to the OpenSCAD org: https://github.com/openscad/tree-sitter-openscad
J25k27 has joined #openscad
<kintel> This is a parser typically used as the basis for writing OpenSCAD LSP language servers. It's maintained by https://github.com/mkatychev
J25k36 has quit [Ping timeout: 240 seconds]
califax has joined #openscad
<gbruno> [github] kintel pushed 2 modifications (Allocate modal dialogs on the stack to simplify memory management) https://github.com/openscad/openscad/commit/04836b617470fdb57c20b72ce4f7a7a94baeb45c
<gbruno> [github] kintel synchronize pull request #5646 (Use new FBO wrapper in MouseSelector) https://github.com/openscad/openscad/pull/5646
mmu_man has quit [Ping timeout: 244 seconds]
mkatychev has joined #openscad
<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]
hyperair has joined #openscad
<gbruno> [github] kintel pushed 8 modifications (Calculate edge color from current face color) https://github.com/openscad/openscad/commit/cf2596718c99e4b7239de1256ed36f73e750d5ff
<gbruno> [github] kintel synchronize pull request #5530 (Introduce PolySetRenderer and add support for wireframe overlay) https://github.com/openscad/openscad/pull/5530
mkatychev has quit [Quit: Client closed]
TylerTork has joined #openscad
<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
<kintel> Pending release notes aren't merged yet: https://github.com/openscad/openscad/pull/5514/files
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hyperair has quit [Ping timeout: 260 seconds]
J25k27 has quit [Quit: Client closed]
J25k27 has joined #openscad
J25k27 has quit [Client Quit]
J25k27 has joined #openscad
TylerTork has quit [Quit: Client closed]
Guest27 has joined #openscad
Guest27 has quit [Client Quit]
hyperair has joined #openscad
hyperair has quit [Ping timeout: 244 seconds]
kmerfeld has quit [Remote host closed the connection]
adigitoleo has quit [Remote host closed the connection]
athenaeryma has quit [Remote host closed the connection]
adigitoleo has joined #openscad
kmerfeld has joined #openscad
athenaeryma has joined #openscad
misterfish has joined #openscad
hyperair has joined #openscad
teepee_ has joined #openscad
Kehet has quit [Quit: rebooting.. (up 17 weeks, 1 day, 22 hours, 1 minute)]
Kehet has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
J25k27 has quit [Quit: Client closed]
mmu_man has joined #openscad
J25k27 has joined #openscad
J25k27 has quit [Quit: Client closed]
J25k27 has joined #openscad
Non-BEAST has joined #openscad
ccox_ has joined #openscad
ccox has quit [Ping timeout: 276 seconds]
misterfish has quit [Ping timeout: 245 seconds]
misterfish has joined #openscad
J25k27 has quit [Quit: Client closed]
J25k27 has joined #openscad
misterfish has quit [Ping timeout: 248 seconds]
misterfish has joined #openscad
misterfish has quit [Read error: Connection reset by peer]
misterfish has joined #openscad
<gbruno> [github] Nexusnui opened issue #5673 (Add LDraw Colour Codes to Named Colors) https://github.com/openscad/openscad/issues/5673
misterfish has quit [Ping timeout: 252 seconds]
misterfish has joined #openscad
<gbruno> [github] Nexusnui edited issue #5673 (Add LDraw Colour Codes to Named Colors) https://github.com/openscad/openscad/issues/5673
J25k27 has quit [Quit: Client closed]
J25k27 has joined #openscad
TylerTork has joined #openscad
TylerTork has quit [Client Quit]
J25k27 has quit [Quit: Client closed]
J25k27 has joined #openscad
misterfish has quit [Ping timeout: 268 seconds]
drfff has quit [Ping timeout: 268 seconds]
KSandeep has joined #openscad
KSandeep has quit [Quit: Client closed]
mkatychev has joined #openscad
teepee_ has joined #openscad
teepee has quit [Remote host closed the connection]
teepee_ is now known as teepee
<gbruno> [github] kintel synchronize pull request #5530 (Introduce PolySetRenderer and add support for wireframe overlay) https://github.com/openscad/openscad/pull/5530
<gbruno> [github] kintel pushed 8 modifications (Calculate edge color from current face color) https://github.com/openscad/openscad/commit/923a5fa84cfd0ba9c21f2ff5907b0bb9169c2a3a
<gbruno> [github] kintel pushed 7 modifications (Calculate edge color from current face color) https://github.com/openscad/openscad/commit/1faeeee817441d4d35e87d17c36b2dc02dfbabb6
<gbruno> [github] kintel opened pull request #5674 (Use VBO colors for ViewEdges shader instead of uniforms.) https://github.com/openscad/openscad/pull/5674
<gbruno> [github] FourCinnamon0 opened issue #5675 (Color inheritance glitchyness on sibling geometries) https://github.com/openscad/openscad/issues/5675
<gbruno> [github] FourCinnamon0 edited issue #5675 (Color inheritance glitchyness on sibling geometries) https://github.com/openscad/openscad/issues/5675
<gbruno> [github] kintel closed issue #5675 (Color inheritance glitchyness on sibling geometries) https://github.com/openscad/openscad/issues/5675
kintel has joined #openscad
misterfish has joined #openscad
misterfish has quit [Ping timeout: 245 seconds]
misterfish has joined #openscad
<gbruno> [github] kintel pushed 11 additions 1 modifications (Add testcase for rendering edges for multi-color objects) https://github.com/openscad/openscad/commit/7caef49833e0f7ff403eb7dd4a51564caea549dd
<gbruno> [github] kintel synchronize pull request #5674 (Use VBO colors for ViewEdges shader instead of uniforms.) https://github.com/openscad/openscad/pull/5674
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gbruno> [github] kintel pushed 1 modifications (Disable test with artifacts) https://github.com/openscad/openscad/commit/8e9c4aee3fd93637285ca4aa34697a1a5e5686e7
<gbruno> [github] kintel synchronize pull request #5674 (Use VBO colors for ViewEdges shader instead of uniforms.) https://github.com/openscad/openscad/pull/5674
<gbruno> [github] kintel pushed 1 modifications (Disable test with artifacts) https://github.com/openscad/openscad/commit/34aca971723728f10ea7bbb60520f0c3c9901eaf
<gbruno> [github] kintel synchronize pull request #5674 (Use VBO colors for ViewEdges shader instead of uniforms.) https://github.com/openscad/openscad/pull/5674
stealth_ has joined #openscad
<gbruno> [github] kintel pushed 1 modifications (NULLGL fix) https://github.com/openscad/openscad/commit/28e8aa389952fa87145d7360ca9374c499481e0b
<gbruno> [github] kintel synchronize pull request #5674 (Use VBO colors for ViewEdges shader instead of uniforms.) https://github.com/openscad/openscad/pull/5674
J25k63 has joined #openscad
J25k27 has quit [Ping timeout: 240 seconds]
misterfish has quit [Ping timeout: 272 seconds]
<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
Guest74 has joined #openscad
Guest74 has quit [Client Quit]