<teepee>
phoo: you mean like a cancel button in the GUI? hopefully that comes at some point, needs a little bit of work in the internals so it's not a trivial change
<Scopeuk>
had a little play with multi line select inline with https://github.com/openscad/openscad/issues/4682 (used alt plus draw a vertical bar as notepad++) oddly it drew the line, then let me type by everything I typed was written backwards on the last row. i.e. I selected three rows and typed hello and ended up with the bottom line saying olleh
<teepee>
ouch, that's not very useful.
<teepee>
I wonder if QScintilla has too old scintilla code or if we somehow suppress the hotkey for the feature
J23k3 has quit [Quit: Client closed]
J23k3 has joined #openscad
J23k3 has quit [Quit: Client closed]
J23k3 has joined #openscad
snaked has quit [Quit: Leaving]
mmu_man has joined #openscad
Guest6040 has quit [Ping timeout: 246 seconds]
qeed_ has joined #openscad
qeed has quit [Ping timeout: 246 seconds]
qeed_ has quit [Client Quit]
qeed has joined #openscad
Guest78 has joined #openscad
Guest78 has quit [Client Quit]
fling has quit [Remote host closed the connection]
fling has joined #openscad
misterfish has quit [Ping timeout: 250 seconds]
dTal has quit [Server closed connection]
dTal has joined #openscad
mmu_man has quit [Ping timeout: 250 seconds]
mmu_man has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
peepsalot has joined #openscad
<joseph_>
Here is a file that has strange behavior in F5 mode. https://gist.github.com/jbinvnt/bdb2c63a170c1306e97a5c35373cf2f2 The incline cutout fades away when zoomed in, and appears as expected when zoomed out. So far I tested this on Linux with both stable and nightly, plus on Mac with stable. All have the same behavior
<joseph_>
teepee: Do you know if there is already an open issue for this bug? It might be something relevant for me to know about as I work on rendering improvements. The issue doesn't happen in F6
Alexer has quit [Ping timeout: 240 seconds]
Mewz has joined #openscad
Mewz has quit [Client Quit]
<J23k3>
joseph_ can't replicate (with manifold and isometric view) you can try to color the substracted cylinder sometimes the shading is equal so you can't see the cut - but if you are close with perspective view some clipping might occure
<J23k3>
if the camera is within the object that is substracted you will see a wrong preview
Alinef has joined #openscad
Alinef has quit [Client Quit]
mmu_man has quit [Ping timeout: 246 seconds]
<teepee>
joseph_: let me try the example....
<teepee>
yep, that's normal, and not exactly a bug
<teepee>
only happens in perspective mode when you move the camera into the cube doing the cutting
<teepee>
due to the camera being inside, the cut is not drawn
<teepee>
oh, hey, J23k3 already said that :)
<teepee>
this does not happen in F6 as we have the final mesh, no oversized cutting cubes anymore
<joseph_>
Thank you, yes I understand now. It's because of my habit to make a giant cube when I want to make a planar cut without worrying about the necessary size. I guess I just normally wouldn't expect the camera position to factor into what makes the cuts
<J23k3>
didn't find it mentioned
<teepee>
joseph_: I suppose one option would be to explicitely support a cutting plane, but I don't know if that helps with the CSG preview then
<teepee>
it would at least reduce the need for creating a cube
<joseph_>
Perhaps it would be a good exercise for me to try pinpointing in the rendering process what would cause this. Because normally I wouldn't expect that a user would need to worry about clipping of objects that are really just an intermediate step in making their model
<teepee>
well, moving the camera into the actual object is probably not solvable
<teepee>
the cutting cube is a bit special as it's difficult to produce a general solution, so making it giant is an easy way out for making sure the cut happens but it give the preview issues in perspective mode
<teepee>
there's an old PR that had also user movable X/Y/Z cutting planes for inspecting the inner parts of a model which would also be a very neat feature
<joseph_>
Interesting. Do you mean movable with a UI slider?
<othx>
teepee linked to YouTube video "Making an ESP32-S3 Dev Board for the Framework Laptop" => 1 IRC mentions
<teepee>
lol, #ohl for open hardware license is not ideal. looks like most use is Ontario Hockey League
<petaflot>
whoo clipping planes is going to be nice
<teepee>
indeed, and interactive ones in addition would be awesome. although someone needs to find a working implementation :)
kintel has joined #openscad
<kintel>
joseph_ The reason for the preview rendering issue is really the CSG rendering algorithm inside OpenCSG. It essentially counts the number of front faces and back faces by shooting a ray from the camera through the object.
Alexer has joined #openscad
<kintel>
..but since it does this in image space by drawing actual primitives, the primitives drawn needs to fall within the view frustum to render correctly.
<kintel>
Once the camera is inside an object, or even too close to an object, it won't work.
<kintel>
It can always be fixed, but that's a question of inventing as new CSG algorithm :)