<kintel>
The author (Damien) is part of the team helping to implement that bidirection programming paper/thesis that was discussed a while ago. Trying to motivate him to keep up the steam :)
<kintel>
Unrelated to the above: I think it's slowly time to make Manifold the default. I think it's trivial, but the test frameworks needs a bit of work to make the switch. Any concerns/ideas/wishes?
<gbruno>
[github] damienmarchal opened pull request #5630 ([UX] Add of the "Jump to..." navigation method and clean the "Window" menu of its duplicated elements) https://github.com/openscad/openscad/pull/5630
<gbruno>
[github] damienmarchal edited pull request #5630 ([UX] Add of the "Jump to..." navigation method and clean the "Window" menu of its duplicated elements) https://github.com/openscad/openscad/pull/5630
<gbruno>
[github] damienmarchal edited pull request #5630 ([UX] Add of the "Jump to..." navigation method and clean the "Window" menu of its duplicated elements) https://github.com/openscad/openscad/pull/5630
<gbruno>
[github] damienmarchal edited pull request #5630 ([UX] Add of the "Jump to..." navigation method and clean the "Window" menu of its duplicated elements) https://github.com/openscad/openscad/pull/5630
<gbruno>
[github] damienmarchal edited pull request #5630 ([UX] Add of the "Jump to..." navigation method and clean the "Window" menu of its duplicated elements) https://github.com/openscad/openscad/pull/5630
<gbruno>
[github] damienmarchal edited pull request #5630 ([UX] Add of the "Jump to..." navigation method and clean the "Window" menu of its duplicated elements) https://github.com/openscad/openscad/pull/5630
mmu_man has quit [Ping timeout: 265 seconds]
J25k51 has quit [Quit: Client closed]
J25k51 has joined #openscad
<gbruno>
[github] damienmarchal synchronize pull request #5630 ([UX] Add of the "Jump to..." navigation method and clean the "Window" menu of its duplicated elements) https://github.com/openscad/openscad/pull/5630
<church__>
hmm, finding that polyhedron often seems much better choice then making up same shape from different cubes/differences/intersections and alike. but slightly hate careful noting which point is which and specifying each face.
<church__>
would be nice to have that set automatically if it's relatively simple shape with no convex stuff/holes and alike ..
mmu_man has joined #openscad
<church__>
hmm .. though then again, it might be aswell just doing small cubes or spheres of 0.001 size at tips and hulling over :/
fling_ has joined #openscad
califax_ has joined #openscad
califax has quit [Ping timeout: 264 seconds]
califax_ is now known as califax
fling has quit [Ping timeout: 264 seconds]
J25k51 has quit [Quit: Client closed]
J25k51 has joined #openscad
fling_ is now known as fling
TheCoffeMaker has quit [Remote host closed the connection]
TheCoffeMaker has joined #openscad
guso78k has joined #openscad
<J25k51>
church__ there are libraries that allow easy building polyhedron
<J25k51>
it is also quite simple to put numbers to each point .. ’’’for (p=[0:len(points)-1]) translate(points[p])text(p,size=$vpd);’’’
guso78k has quit [Quit: Client closed]
mmu_man has quit [Ping timeout: 248 seconds]
cart_ has quit [Ping timeout: 244 seconds]
fling_ has joined #openscad
fling has quit [Read error: Connection reset by peer]
TheAssassin has quit [Remote host closed the connection]
TheAssassin has joined #openscad
fling_ is now known as fling
guso78k has joined #openscad
mmu_man has joined #openscad
J25k51 has quit [Quit: Client closed]
J25k51 has joined #openscad
<guso78k>
@kintel , since today when i compile openscad master, i get this output: Warning: Shader not available
<guso78k>
i am running Linux fedora 6.5.12-100.fc37
kintel has joined #openscad
* teepee
running a full rebuild...
<kintel>
guso78 Clean you build folder and rerun cmake from scratch. I renamed a shader file
<teepee>
hmm, now I've got the warning too, even though the images does show up
<teepee>
is the info available which one is failing?
<teepee>
both double click and right mouse -> code select work
<guso78k>
the error comes from barycentric attribute not available
<teepee>
one warning per top level object :)
<teepee>
in preview mode only
<InPhase>
teepee: kintel just touched OpenCSGRenderer.cc with an if statement right before that warning.
<InPhase>
teepee: git blame shows a change yesterday.
<guso78k>
kintel, i run from gui with simple cube shown
<teepee>
NO warning if show-edges is enabled
<guso78k>
InPhase the merge was actually my trigger to check O:3
<teepee>
(and it does show edges)
<teepee>
also NO warning with lazy union = off
<teepee>
so the switch seems to be "show edges"
<kintel>
guso78k Does that mean that this works? openscad cube.scad -o out.png
<kintel>
.but this fails? openscad cube.scad -o out.png --enable=lazy-union --view=edges
<guso78k>
i have to check that, fgive me little time
<teepee>
show edges seems to make the difference
<teepee>
not lazy union
<kintel>
This works for me (and also on the CI): openscad cube.scad -o out.png --view=edges
<teepee>
the output is fine with both for me
<teepee>
show edges = off gives the warning
<kintel>
aaah, I see it now
<guso78k>
kintel: command openscad cube.scad -o out.png yields an error: RROR: Cannot open shader source file: 'Preview.vert and Preview.frag
<guso78k>
no output
<teepee>
well in GUI mode, that I have tested
<guso78k>
kitnel sorry, took wrong openscad ;)
<guso78k>
./openscad cube.scad -o out.png yields: Warning: Shader not available, output is correct
<kintel>
It's benign warning: We render with the fixed pipeline by default, so no shader will be used
<kintel>
^ I want to change that so we always use more modern OpenGL, always with shaders, but that requires an OpenCSG patch
<kintel>
I'll fix the warning
<kintel>
explanation: As mentioned, we use the fixed (no shaders) pipeline for preview, but when turning on edges, we have to use a shader. This shader used to be called Preview.frag/vert, which was slightly misleading, so I renamed it to ViewEdges.frag/vert
<kintel>
..but I also refactored and touched ~1000 LoC in the process, so I missed something :)
lastrodamo has quit [Quit: Leaving]
<InPhase>
:)
<kintel>
Good to know that no change goes unnoticed ;)
<guso78k>
O:3 O:3
<kintel>
Btw., this is all part of the quest to enable view edges for Manifold models
mmu_man has joined #openscad
peepsalot has quit [Remote host closed the connection]
<guso78k>
kintel, something else which i have realized: when i start ./openscad cube.scad with edges initially turned off. the cube is displayed correctly. But when i turn on edges right after, the cube is gone, until i press 'F5'
peepsalot has joined #openscad
<kintel>
guso78k Thx - I'll do some more interactive testing of this. I've been relying mostly on cmd-line testing
<guso78k>
np, this is why we are here ...
aiyion3 has quit [Remote host closed the connection]
aiyion3 has joined #openscad
JakeSays is now known as JakeSayss
guso78k has quit [Quit: Client closed]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 264 seconds]
teepee_ is now known as teepee
stealth_ has joined #openscad
JakeSayss is now known as JakeSays
noonien808310429 has quit [Ping timeout: 248 seconds]