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
califax has quit [Remote host closed the connection]
snaked has joined #openscad
califax has joined #openscad
<gbruno> [github] kintel edited issue #4825 (Move manifold out of experimental) https://github.com/openscad/openscad/issues/4825
mmu_man has quit [Ping timeout: 256 seconds]
teepee_ has joined #openscad
teepee_ has quit [Remote host closed the connection]
LordOfBikes has quit [Ping timeout: 252 seconds]
qeed has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
LordOfBikes has joined #openscad
J24k87 has joined #openscad
J24k53 has quit [Ping timeout: 250 seconds]
peeps has joined #openscad
peeps[work] has quit [Ping timeout: 240 seconds]
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
ypy has joined #openscad
<ypy> a new openscad playground
ypy has quit [Quit: Connection closed]
ypy has joined #openscad
ypy has quit [Quit: Connection closed]
<InPhase> Nice. It seems they went public with it.
pa has quit [Ping timeout: 260 seconds]
<InPhase> "An interactive interface on top of openscad would be epic"
<InPhase> That reminds me... Granted, reminds me right before bed. But I was planning a make-openscad-pretty PR to change our default color-scheme and default $fa and $fs.
<InPhase> I do think small things like that would really help give people a better first impression. That's really a large part of what bambu did there to impress people. :)
<InPhase> Although I have even better colors available than they used.
pah has joined #openscad
<pca006132> curious which version they are using
<crazy_imp> is there a variable with the openscad version that can be access and used in the model?
<InPhase> pca006132: Well it runs way too fast to be anything other than manifold.
<InPhase> pca006132: I tested some classic stuff that takes annoyingly long in cgal, but is instant in manifold, and it generates it instantly.
<InPhase> pca006132: Therefore, they must have grabbed a nightly.
<InPhase> Or I mean, up-to-date build, since wasm.
califax has quit [Remote host closed the connection]
califax has joined #openscad
<J24k87> hm maybe something for the "news" https://openscad.org/news.html
<J24k87> regarding https://github.com/openscad/openscad/issues/5091  would it make sense to make "language reference" a own sub page (lemma)
noonien808310429 has quit [Quit: The Lounge - https://thelounge.chat]
<crazy_imp> J24k87: nice! pca006132 can you feed it a scad file with the `version()` command inside?
pah is now known as pa
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 246 seconds]
cart_ has joined #openscad
<pca006132> 2024 3 22
<pca006132> I hope they will try to keep it up-to-date
J24k87 has quit [Quit: Client closed]
J24k87 has joined #openscad
ali1234 has quit [Remote host closed the connection]
ali1234 has joined #openscad
guso78k has joined #openscad
<guso78k> I am getting regular assert crashes here when I pan/move/rotate the model. is it a known issue ? maybe the file is temporarily not available  ?
<InPhase> That code comment sounds sketchy.
<InPhase> "We're also not interested in the file's name." So let's crash if it doesn't have one?
<InPhase> git blames teepee.
<InPhase> git falsely blames teepee because teepee fixed formatting.
<guso78k> must be an old relic ...
<InPhase> Probably just a comment error that slipped in amidst 1000 lines of changes.
<InPhase> 2 reviewers, but it was a hefty change. It happens. :)
<InPhase> So at the very least, that line doesn't do what it says it's doing. The question is, is it doing something wrong?
<InPhase> That it involves the mouse selector probably explains why something in parser settings is getting called during view manipulation.
<InPhase> Does it happen when you drag, or when you first click? (If you have noticed the difference.)
<InPhase> At right click, correct?
<guso78k> i cant recall but i remember that i was panning rotating
<guso78k> i can try to prone for the error
<guso78k> shouldn't be too hard
<InPhase> I bet it has to do with which part of the model you right clicked on. :)
<InPhase> It's triggering in MainWindow.cc's line 2396 where get_library_for_path is called, presumably with a location.filePath that is problematic in some manner.
<InPhase> You must have some portion of your code where the path is set as an empty string?
<InPhase> Is this merging in python bits?
<guso78k> yes, i am running my python branch ...  and right now i cannot get the error again i was getting it 3x within 3 minutes
<InPhase> It seems an appropriate guard would only run that library hunt routine in MainWindow's rightClick if location.filePath is non-empty
<InPhase> It might have been a proper right click, rather than a right click with drag.
<InPhase> Perhaps you occasionally and briefly accidentally right click for the right click context menu.
<guso78k> i have it now
<guso78k> right click once properly into the model
<InPhase> Good. Reproducible means fixable.
<InPhase> Perhaps you can diagnose first why the path is empty.
<InPhase> Is it perhaps that you python generate something and it has no path set because that makes sense? :)
<guso78k> yes,  i will offer some "improvement" hints
<InPhase> If so, you might be the only person triggering this error. But you could still reasonably put a guard in that rightClick function for everyone, since it's invalid to call that function if the path is empty. And we have no benefit to crashing out in such a scenario. It'd be better for the right click menu to quietly not populate.
<InPhase> Perhaps even something like: fs::path libpath = location.filePath() ? get_library_for_path(location.filePath()) : {};
<InPhase> I guess you might need location.filePath().empty() ? {} : get_library_for_path(location.filePath())
<guso78k> yes, your fix works in a derived way . suppose this is my bug only as everybody else has filenames filled in properly :')
<guso78k> https://imgur.com/a/FSe73c9 and it even knows the toplevel node correctly
J24k87 has quit [Quit: Client closed]
J24k87 has joined #openscad
<InPhase> lol. Is the smiley face on purpose?
<guso78k> nope. suppose before the colon should be the filename which is inadvertently empty. but i take the smiley as a positive indicator
<guso78k> indicator->sign
J24k87 has quit [Quit: Client closed]
J24k87 has joined #openscad
foul_owl has quit [Read error: Connection reset by peer]
foul_owl has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
<JordanBrown> WRT #5090 "can't add .scad files to issues"... JamesC1's reluctance to click on a link that starts a download is a good example of why we want to maintain the "no write operations" principle... it would not be surprising if somebody had a configuration where downloading a .SCAD file started OpenSCAD, and where OpenSCAD was set to preview on load.
guso78k has quit [Quit: Client closed]
LordOfBikes has quit [Ping timeout: 260 seconds]
L29Ah has quit [Ping timeout: 252 seconds]
J24k87 has quit [Quit: Client closed]
J24k has joined #openscad
<J24k> wait ill open my text files with open scad scintilla
cart_ has quit [Ping timeout: 260 seconds]
guso78k has joined #openscad
mmu_man has joined #openscad
guso78k has quit [Client Quit]
<InPhase> JordanBrown: Yeah.
JordanBrown1 has joined #openscad
noonien808310429 has joined #openscad
JordanBrown has quit [Ping timeout: 255 seconds]
J24k has quit [Quit: Client closed]
J24k has joined #openscad
LordOfBikes has joined #openscad
kahara has quit [Quit: Lost terminal]
kahara has joined #openscad
kahara has quit [Client Quit]
kintel has joined #openscad
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #openscad
L29Ah has joined #openscad
fling has quit [Read error: Connection reset by peer]
erectus has quit [Remote host closed the connection]
fling has joined #openscad
erectus has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #openscad
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<JordanBrown1> J24k indeed, the particular file in question wouldn't be a problem, because it's not a .scad file.
<JordanBrown1> The complaint about searching the language reference has made me take a deeper look at the docs, and one low-hanging fruit that seems appropriate to prune is the "Command Glossary", which should be pruned in favor of the cheat sheet.
<linext_> can opening an openscad .scad file be hazardous?
<JordanBrown1> Not currently. But people have asked for various features that would allow writing to the local file system, and that *could* be hazardous.
<JordanBrown1> It's also why the Python-OpenSCAD work, despite being very cool, is terrifying.
Guest56 has joined #openscad
Guest56 has quit [Client Quit]
qeed has quit [Quit: qeed]
Lagopus has joined #openscad
J24k has quit [Quit: Client closed]
J24k has joined #openscad