<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]
<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.
<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.
<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.