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
linext has quit [Remote host closed the connection]
linext has joined #openscad
kintel has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
J24k12 has joined #openscad
J24k has quit [Ping timeout: 250 seconds]
mmu_man has quit [Ping timeout: 256 seconds]
snaked has joined #openscad
<gbruno> [github] kintel opened pull request #5005 (Another batch of green VBO cleanup) https://github.com/openscad/openscad/pull/5005
<gbruno> [github] kintel pushed 1 modifications (Set isTriangular when triangulating PolySet) https://github.com/openscad/openscad/commit/b9c39db69992aadefb86f78e9deb30becee3501e
ToAruShiroiNeko has quit [Ping timeout: 264 seconds]
ToAruShiroiNeko has joined #openscad
To_Aru_Shiroi_Ne has joined #openscad
ToAruShiroiNeko has quit [Ping timeout: 255 seconds]
To_Aru_Shiroi_Ne is now known as ToAruShiroiNeko
<gbruno> [github] kintel edited pull request #5005 (Another batch of green VBO cleanup) https://github.com/openscad/openscad/pull/5005
LordOfBikes has quit [Ping timeout: 256 seconds]
LordOfBikes has joined #openscad
<gbruno> [github] jordanbrown0 opened pull request #5006 (Clean up LOG/PRINT functions. Fixes #5004.) https://github.com/openscad/openscad/pull/5006
drkow has joined #openscad
kow__ has quit [Ping timeout: 255 seconds]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
erectus has quit [Ping timeout: 255 seconds]
erectus has joined #openscad
erectus has quit [Remote host closed the connection]
erectus has joined #openscad
J24k12 has quit [Quit: Client closed]
J24k12 has joined #openscad
JakeSays_ has joined #openscad
JakeSays has quit [Ping timeout: 260 seconds]
guso78k has joined #openscad
arebil has joined #openscad
peepsalot has quit [Remote host closed the connection]
peepsalot has joined #openscad
guso78k has quit [Quit: Client closed]
TheCoffeMaker has quit [Ping timeout: 264 seconds]
TheCoffeMaker has joined #openscad
guso78k has joined #openscad
guso78k has quit [Quit: Client closed]
misterfish has joined #openscad
JakeSays has joined #openscad
JakeSays_ has quit [Ping timeout: 256 seconds]
misterfish has quit [Ping timeout: 260 seconds]
mmu_man has joined #openscad
<pca006132> guso78: I do have experience writing 3mf files
<pca006132> iirc it is quite simple
<pca006132> just zip
guso78k has joined #openscad
<guso78k> pca006132 thank you . in the meantime i have found some sample code which can do the colors.
<guso78k> When i experience issues to read back color from 3mf, i would contact you again
<pca006132> sure
<guso78k> did you know  that the triangle order of the manifold boolean output is sorted by input operand ?
<pca006132> no
<pca006132> I think this is not reliable, csg_tree can reorder operations for better performance
<guso78k> this is realiable. manifold outputs " run" info. in my case triangles coming from "A" are from 0 - 47 and triangles coming vom "B" are from 48 to 95
GNUmoon has quit [Ping timeout: 255 seconds]
<guso78k> kintel are you sure about the glUniform1f ? I have removed all but the main one next to the others and the crash still happens
GNUmoon has joined #openscad
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
pca006132 has quit [Remote host closed the connection]
mmu_man has joined #openscad
kintel has joined #openscad
<kintel> guso78 Try to call glGetError() and you should get an error
<kintel> The error happens somewhere else, but it happened because GL was in an errored state
<kintel> I mean, there could be other issues in addition.
snaked has quit [Remote host closed the connection]
<guso78k> i  can do that. thanx for the hint
<kintel> guso78 If you want to debug: This if statement failed in your case, causing the barycentric vertex attributes to not be added (hence null vector): https://github.com/openscad/openscad/blob/dc2a0d1c28e41016abf4f91ffbc4c6c707c4f64a/src/glview/VBORenderer.cc#L145
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<guso78k> does anybody know how to iterate though the result of  3mf:  PBaseMaterialGroupIterator GetBaseMaterialGroups();
kintel has joined #openscad
<kintel> pca006132 In terms of trying to avoid exporting degenerate triangles: I'll look into avoiding the obvious cases by making the PolySetBuilder filter out obvious null-triangles.
<kintel> However, I'm wondering how to deal with degenerate triangles arising from downcasting from double to float.
<kintel> If the result comes from Manifold, we might not need to deal with that as Manifold already de-duplicates vertices within some epsilon?
<gbruno> [github] kintel edited issue #4968 (Improve VBO support for Nef polyhedrons) https://github.com/openscad/openscad/issues/4968
peeps[work] has quit [Remote host closed the connection]
peeps[work] has joined #openscad
<gbruno> [github] kintel assigned issue #5000 (Crash in STL export after rotate_extrude) https://github.com/openscad/openscad/issues/5000
guso78k has quit [Ping timeout: 250 seconds]
L29Ah has left #openscad [#openscad]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kintel has joined #openscad
L29Ah has joined #openscad
<gbruno> [github] kintel pushed 1 modifications (Use PolySetBuilder as we cannot trust user input) https://github.com/openscad/openscad/commit/303d883d66c8a9aa316c63bfca31d35de8b1bddb
drkow has quit [Read error: Connection reset by peer]
<gbruno> [github] kintel opened pull request #5007 (Remove degenerate polygons in PolySetBuilder) https://github.com/openscad/openscad/pull/5007
J24k12 has quit [Quit: Client closed]
J24k12 has joined #openscad
noonien8 has joined #openscad
noonien80 has joined #openscad
noonien has quit [Ping timeout: 272 seconds]
noonien8 has quit [Ping timeout: 255 seconds]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arebil has quit [Quit: arebil]
kintel has joined #openscad
<gbruno> [github] kintel pushed 1 modifications (Don't compare non-trivial STLs due to floating point differences across platforms) https://github.com/openscad/openscad/commit/b71cd761b9b03bad098bd24c3e1a6dd5b371ec8c
<gbruno> [github] kintel synchronize pull request #5007 (Remove degenerate polygons in PolySetBuilder) https://github.com/openscad/openscad/pull/5007
mmu_man has quit [Ping timeout: 256 seconds]
noonien80 has quit [Quit: The Lounge - https://thelounge.chat]
noonien80 has joined #openscad
noonien80 has quit [Client Quit]
noonien80 has joined #openscad
mmu_man has joined #openscad
J24k12 has quit [Quit: Client closed]
J24k12 has joined #openscad
<gbruno> [github] kintel closed pull request #5005 (Another batch of green VBO cleanup) https://github.com/openscad/openscad/pull/5005
<gbruno> [github] kintel pushed 8 modifications (Another batch of green VBO cleanup (#5005) * Fix VBO memory leak
JakeSays has quit [Read error: Connection reset by peer]
guso78k has joined #openscad
JakeSays has joined #openscad
<guso78k> great catch, its a pity, that i did not notice its already in the code ;)
<guso78k> this will help me to finalize colorized 3mf import, too
drfff has joined #openscad
Guest55 has joined #openscad
Guest55 has quit [Client Quit]
berndj-blackout has joined #openscad
berndj has quit [Ping timeout: 272 seconds]
berndj-blackout is now known as berndj
<guso78k> kintel i believe  the reason for my crash is that MainWindow::opencsgRenderer is a different value after CGAL render has run. my understanding is that these are once intialized and always reused.
<guso78k> and i dont understand why in MainWindow.cc this->opencsgRendereer->getShaderInfo() always results in a segfault
mmu_man has quit [Ping timeout: 256 seconds]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mmu_man has joined #openscad
guso78k has quit [Ping timeout: 250 seconds]
L29Ah has quit [Ping timeout: 256 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
teepee_ has joined #openscad
teepee has quit [Remote host closed the connection]
teepee_ is now known as teepee
kintel has joined #openscad
L29Ah has joined #openscad
<kintel> guso78 I believe the renderers are created new for each compile