<teepee>
the confusion seems to be the unclear difference between a) list-of-points and list-of-faces versus b) list-of-points(pointindexes)-of-each-face
<J24k80>
but it is funny how someone write text and obviously never checked if that would work - it is not for making a thesis about how you think it could work
<teepee>
a is not ordered, b is strictly ordered
<J24k80>
»the point sequence for a face needs to be clockwise so the resulting normal vector is pointing outwards«
misterfish has quit [Ping timeout: 264 seconds]
<teepee>
I tried to explain it a bit more, but I'm not sure if it's now clear
<J24k80>
maybe "clockwise" already is confusing as you can see this from the back
<J24k80>
.. well i mean we have pictures - Ü
mmu_man has joined #openscad
<teepee>
by now I reverted twice and tried to explain better, lets see if we get a 3nd round :)
<teepee>
ahem 3rd
* teepee
goes checking on the cold brew...
misterfish has joined #openscad
Tom85 has joined #openscad
Tom85 has quit [Ping timeout: 250 seconds]
mmu_man has quit [Ping timeout: 252 seconds]
pca006132 has quit [Remote host closed the connection]
pca006132 has joined #openscad
pca006132 has quit [Remote host closed the connection]
pca006132 has joined #openscad
cart_ has joined #openscad
misterfish has quit [Ping timeout: 256 seconds]
mmu_man has joined #openscad
cart_ has quit [Quit: Konversation terminated!]
Guest14 has joined #openscad
Guest14 has quit [Client Quit]
mmu_man has quit [Ping timeout: 268 seconds]
misterfish has joined #openscad
mmu_man has joined #openscad
<InPhase>
teepee: I had to check the edit history to see the brewing confusion. :) But yeah, it's a notch better now after addressing that editor's confusion.
<InPhase>
That's a confusing enough section that one should probably not be editing it to try to remove perceived contradictions until actually understanding the underlying requirement the hard way.
<InPhase>
I made a number of edits to that section in the past. It has gone through a lot of evolution already.
<InPhase>
I do notice that the word "arbitrary" was inserted initially by me, but within the list of each face was the intended meaning.
<InPhase>
I think there was no logical ambiguity in "arbitrary which point you start with".
<InPhase>
The "start with" carries a lot of weight. But I guess someone's brain latched onto "arbitrary" and didn't contextualize it, so pre-contexting it as you did is a bit better.
<InPhase>
I was trying to avoid saying "periodic ordering" because this is not commonly understood jargon.
<InPhase>
J24k80: And I never much liked the clockwise description there, which is why I added the right-hand rule which I think is easier to keep straight and work with. But I left the clockwise description because both are correct, and it doesn't hurt to have two equivalent descriptions for people to choose between. Someone confused by one phrasing can lean on the other, or can keep mentally poking at it
<InPhase>
until both descriptions give them the same understanding, and then have confidence they got it.
<InPhase>
Oh good grief. We still have a left hand rule in there in a different section from before I added the right hand rule. lol
<InPhase>
Now THAT probably should not be there.
<InPhase>
One does not need a right hand rule thumb in, and a left hand rule thumb out, even if these are equivalent.
<InPhase>
There is an argument that this helps all the one handed people, but... I'm not sure if most other people are ready for these two alternate descriptions.
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
L29Ah has quit [Ping timeout: 256 seconds]
Tom85 has joined #openscad
<Tom85>
Hello everyone, I hope I came to the right place and that we can talk about OpenSCAD here. I have a question for you: which version of Qt is best to use for compiling OpenSCAD? If I'm not using this chat correctly, please let me know, as it's my first time using IRC.
L29Ah has joined #openscad
mmu_man has quit [Ping timeout: 255 seconds]
<InPhase>
Tom85: qt5 still works fine, but I think qt6 has been relatively recently supported.
<InPhase>
I haven't personally tested qt6 yet.
<Tom85>
Thank you for the information
Tom85 has quit [Quit: Client closed]
J24k80 has quit [Quit: Client closed]
J24k80 has joined #openscad
J24k80 has quit [Client Quit]
J24k80 has joined #openscad
mmu_man has joined #openscad
J24k80 has quit [Client Quit]
J24k80 has joined #openscad
mmu_man has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
<J24k80>
InPhase .. we can intruduce the "Screw rule" if points are used like a screw rotates the direction the screw moves is the normal which need to point outwards
J24k80 has quit [Quit: Client closed]
J24k80 has joined #openscad
<J24k80>
so order the points as you would screw into that face
Tom85 has joined #openscad
sidilakies has quit [Quit: Konversation terminated!]
<Tom85>
I have another question for you. I am writing a 3D application in which I need to have the ability to build/define 3D shapes. I really like the possibility of integrating OpenSCAD for this. Generally, I envision it like this: in my application, I have a SCAD code editor where the user writes code, then the code generates 3D shapes and displays them
<Tom85>
in the application. However, I've encountered a few problems. Firstly, OpenSCAD cannot be compiled as a library, but that doesn't seem to be an issue. OpenSCAD can be run without a GUI and can generate shapes. The problem is that the compilation in OpenSCAD sometimes takes quite a long time. Before the actual shape is rendered, I would like to have
<Tom85>
the possibility of displaying a "preview" of the shape. However, from what I see in the OpenSCAD CLI, there is no option to get a preview? I don't mean a preview as a .png image, but the shape that appears in the OpenSCAD rendering window after pressing the preview button.
<teepee>
if you mean "export a preview" then yes, that's technically not possible
<Tom85>
I mean, of course, the shape as an .stl or .obj file that the program generates as a 'preview' of the final rendering.
<teepee>
well, strictly speaking it might be possible to export the low level data structure for preview so another application can render that itself
<teepee>
*that* is actually impossible
<teepee>
the whole point of preview is, there is no mesh representation available
pca006132 has quit [Remote host closed the connection]
pca006132 has joined #openscad
<Tom85>
I'm not sure if I understand correctly, so there isn't a mesh per se, but there are some vertex data since the application can render a preview, and that data could be exported?
<teepee>
if you preview a difference of a cube and a sphere, there is only the meshes for a cube and the sphere
<teepee>
there is no mesh that describes the actual difference of the two
mmu_man has quit [Ping timeout: 252 seconds]
<teepee>
preview is clever display to make it look like the difference happened without actually calculating the vertices
<Tom85>
Okay, I understand. So there must be some clever technique used there to give the impression that the shape is cut out. Well, that's interesting.
<Tom85>
Okay, tell me, does this have anything to do with those two classes, CGALRenderer.h and OpenCSGRenderer.h? Is the rendering context somehow switched here depending on whether it's for the actual rendering or the preview?
mmu_man has joined #openscad
Guest97 has joined #openscad
Guest97 has quit [Client Quit]
Tom85 has quit [Quit: Client closed]
mmu_man has quit [Ping timeout: 264 seconds]
pca006132 has quit [Remote host closed the connection]