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
erectus has quit [Ping timeout: 240 seconds]
erectus has joined #openscad
J23k3 has joined #openscad
J23k98 has quit [Ping timeout: 246 seconds]
mmu_man has quit [Ping timeout: 250 seconds]
LordOfBikes has quit [Ping timeout: 245 seconds]
LordOfBikes has joined #openscad
Guest75 has joined #openscad
Guest75 has quit [Client Quit]
qeed has quit [Quit: qeed]
teepee has quit [Remote host closed the connection]
qeed has joined #openscad
teepee has joined #openscad
teepee_ has joined #openscad
teepee has quit [Ping timeout: 240 seconds]
teepee_ is now known as teepee
srk has quit [Remote host closed the connection]
srk has joined #openscad
phoo has joined #openscad
<phoo> hi. For testing purposes, I wish there was an 'end' command, that stops the parser from contuing
clemens3 has joined #openscad
<gbruno> [github] KungPhoo opened issue #4682 (Column editor) https://github.com/openscad/openscad/issues/4682
clemens3 has quit [Client Quit]
misterfish has joined #openscad
clemens3 has joined #openscad
<gbruno> [github] t-paul closed issue #4682 (Column editor) https://github.com/openscad/openscad/issues/4682
<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
<gbruno> [github] KungPhoo opened issue #4683 (end() command) https://github.com/openscad/openscad/issues/4683
<gbruno> [github] KungPhoo edited issue #4683 (end() command) https://github.com/openscad/openscad/issues/4683
<phoo> Is SCAD internally working with triangles? Or mathemetic shapes, like OpenCascade does?
<gbruno> [github] t-paul reopened issue #4682 (Column editor) https://github.com/openscad/openscad/issues/4682
<teepee> at this point everything is mesh based
<teepee> what do you mean with end() command?
<phoo> Nice. Is there a way to implement own code that has access to the triangles?
<phoo> the end() comamnd should stop the parsing. Example: sphere(1); end(); cube(1); // only the sphere is visible
<teepee> no, and that's unlikely to happen
<phoo> you might also call it stop or kill
<teepee> there is the ! modifier for that
<teepee> !sphere(1); cube(1);
<teepee> will only show the sphere
<phoo> I see. But !difference() will still do the difference
<teepee> currently there's no way to query generated meshes, a feature like that exists as unfinished preview in a Pull-Request
califax has quit [Quit: ZNC 1.8.2 - https://znc.in]
<teepee> ! means: show only the sub-tree that is marked
<teepee> an end() command is mostly impossible as we don't process code sequentially
califax has joined #openscad
<phoo> oh! Thank you so much. The ! is exactly the thing I was searching for
<teepee> parsing generates a tree of operations that will be evaluated in a second step
<teepee> also check the other modifiers, they are very usefull too :)
<teepee> modifiers?
<othx> modifiers are useful helpers for developing/debugging OpenSCAD scripts, for details see https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Modifier_Characters
<gbruno> [github] KungPhoo closed issue #4683 (end() command) https://github.com/openscad/openscad/issues/4683
<gbruno> [github] KungPhoo edited issue #4683 (end() command) https://github.com/openscad/openscad/issues/4683
Guest6040 has joined #openscad
phoo has left #openscad [#openscad]
<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
<gbruno> [github] t-paul locked issue #4130 (Dark mode plz.) https://github.com/openscad/openscad/issues/4130
<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?
<teepee> yep
mmu_man has joined #openscad
<teepee> right, that new github search is bad
<teepee> 8 results (in 156 ms)
<teepee> thanks, very much, information overload
<teepee> still showing only 5 in the list then
<teepee> hmm, I thought it had screenshots... https://github.com/openscad/openscad/pull/1300
<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 :)
<juri_> CSG systems are hard to write. :)
<gbruno> [github] kintel closed issue #4673 (Support building on macOS 13 and Xcode >= 14.3) https://github.com/openscad/openscad/issues/4673
<gbruno> [github] kintel edited issue #4673 (Support building on macOS 13 and Xcode >= 14.3) https://github.com/openscad/openscad/issues/4673
<gbruno> [github] kintel edited issue #4673 (Support building on macOS 13 and Xcode >= 14.3) https://github.com/openscad/openscad/issues/4673
<gbruno> [github] kintel edited issue #4673 (Support building on macOS 13 and Xcode >= 14.3) https://github.com/openscad/openscad/issues/4673
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kintel has joined #openscad
<gbruno> [github] kintel pushed 1 modifications (Bump xcode to 14.3.1) https://github.com/openscad/openscad/commit/abbe51a96f63c60f27b2c224f91fca19941c2da2
<gbruno> [github] kintel opened pull request #4684 (Support patch version in macosx-build-dependencies + bump xcode) https://github.com/openscad/openscad/pull/4684
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erectus has quit [Ping timeout: 240 seconds]
erectus has joined #openscad
peepsalot has quit [Ping timeout: 240 seconds]
snaked has joined #openscad
Guest8003 has joined #openscad
Guest8003 has quit [Client Quit]
mikolajw has joined #openscad
guso78[m] has joined #openscad
ClaPadoz[m] has joined #openscad
ludoviko has joined #openscad