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
J24k25 has joined #openscad
J24k8 has quit [Ping timeout: 250 seconds]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
mmu_man has quit [Ping timeout: 276 seconds]
califax has quit [Remote host closed the connection]
califax has joined #openscad
J24k64 has joined #openscad
J24k25 has quit [Ping timeout: 250 seconds]
LordOfBikes has quit [Ping timeout: 256 seconds]
LordOfBikes has joined #openscad
hyvoid has joined #openscad
sinned6915 has quit [Quit: Ping timeout (120 seconds)]
Reisga2 has joined #openscad
fling has quit [Ping timeout: 255 seconds]
fling has joined #openscad
foul_owl has quit [Ping timeout: 276 seconds]
Reisga2 has quit [Ping timeout: 260 seconds]
foul_owl has joined #openscad
Reisga2 has joined #openscad
mmu_man has joined #openscad
Reisga2 has quit [Ping timeout: 260 seconds]
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 264 seconds]
sinned6915 has joined #openscad
mmu_man has joined #openscad
sinned6915 has quit [Client Quit]
mmu_man has quit [Ping timeout: 256 seconds]
sinned6915 has joined #openscad
sinned6915 has quit [Client Quit]
sinned6915 has joined #openscad
sinned6915 has quit [Client Quit]
sinned6915 has joined #openscad
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #openscad
mmu_man has quit [Ping timeout: 268 seconds]
clemens3 has joined #openscad
foul_owl has quit [Ping timeout: 256 seconds]
foul_owl has joined #openscad
califax has quit [Remote host closed the connection]
califax has joined #openscad
moonlight has joined #openscad
L29Ah has left #openscad [#openscad]
Non-ICE has quit [Quit: Screw you guys, im going home!]
Non-ICE has joined #openscad
rapha has quit [Quit: WeeChat 3.7.1]
Non-ICE has quit [Ping timeout: 256 seconds]
moonlight has quit [Ping timeout: 264 seconds]
epony has quit [Ping timeout: 264 seconds]
mmu_man has joined #openscad
Reisga2 has joined #openscad
epony has joined #openscad
L29Ah has joined #openscad
Non-ICE has joined #openscad
Non-BEAST has joined #openscad
Non-ICE has quit [Ping timeout: 268 seconds]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
epony has quit [Remote host closed the connection]
L29Ah has left #openscad [#openscad]
L29Ah has joined #openscad
mmu_man has quit [Ping timeout: 276 seconds]
mmu_man has joined #openscad
Guest82 has joined #openscad
Guest82 has quit [Client Quit]
Guest21 has joined #openscad
mmu_man has quit [Ping timeout: 246 seconds]
Guest21 has quit [Client Quit]
Guest21 has joined #openscad
epony has joined #openscad
epony has quit [Remote host closed the connection]
ferdna has joined #openscad
mmu_man has joined #openscad
epony has joined #openscad
mmu_man has quit [Ping timeout: 260 seconds]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openscad
arebil has joined #openscad
mmu_man has joined #openscad
Guest21 has quit [Quit: Client closed]
mmu_man has quit [Ping timeout: 255 seconds]
fling has quit [Remote host closed the connection]
fling has joined #openscad
ferdna has quit [Quit: Leaving]
califax has quit [Remote host closed the connection]
califax has joined #openscad
<gbruno> [github] jordanbrown0 synchronize pull request #4946 (Make customizer font and size selectable.) https://github.com/openscad/openscad/pull/4946
<gbruno> [github] jordanbrown0 synchronize pull request #4946 (Make customizer font and size selectable.) https://github.com/openscad/openscad/pull/4946
<gbruno> [github] jordanbrown0 synchronize pull request #4946 (Make customizer font and size selectable.) https://github.com/openscad/openscad/pull/4946
mmu_man has joined #openscad
<gbruno> [github] jordanbrown0 synchronize pull request #4946 (Make customizer font and size selectable.) https://github.com/openscad/openscad/pull/4946
<mmu_man> I tried to write a proper OFF importer… workish but it seems identical vertex are merged together so it misses half of the points
<mmu_man> I'll have to add a map for that
<teepee> hmm, I thought with the new indexed polyset that would not happen
<gbruno> [github] jordanbrown0 synchronize pull request #4946 (Make customizer font and size selectable.) https://github.com/openscad/openscad/pull/4946
<JordanBrown1> teepee when you merge a pull request, do you squish out noise changesets, or should I make sure I do that before you do your thing?
<teepee> I try to not use github squish as it's all-or-nothing which is not really nice
<JordanBrown1> To be clear, I wasn't using "squish" in any technical sense. I just meant "remove".
<JordanBrown1> I'll rebase them out myself, as soon as I get CI results from the latest.
<mmu_man> teepee: I looked at import_obj, is there a different API?
<mmu_man> I first thought it was same coords but different colors (seems Meshlab puts colors there, probably for gradients), but sort|uniq says not
<mmu_man> at least not always
<mmu_man> teepee: or is there a dev branch? I'm on git master
<teepee> yep, master is correct, only feature branches, no separate collect-all dev branch
<teepee> I mainly remember https://github.com/openscad/openscad/pull/4855 which I understand is doing exactly that, trying to duplicate vertices so they don't collapse
<teepee> hmm, that's not actually changing import code :)
<JordanBrown1> teepee any idea hat's going on with that tbb error that I'm getting in my CI runs? That's nowhere near the stuff I'm working on, unless it's a really obscure relationship.
<JordanBrown1> oops What'
<JordanBrown1> oops oops What's
<mmu_man> repair_polygon_soup nice name :D
<teepee> JordanBrown1: I have not seen that before, it sounds like maybe a naming conflict with "emit"
<JordanBrown1> Yeah, but what changed to make it happen?
<teepee> additional include file?
<JordanBrown1> Hmm. I have not updated the submodules; perhaps I should do that.
<JordanBrown1> I will check for additional include files, but I didn't do anything radical.
<teepee> well, that unity build stuff seems very fragile
<JordanBrown1> I see that schiele had the same error on macos (but not on Linux).
<teepee> it feels like a huge hack that can get quite some build benefit, but still is just some very messy stuff internally
<JordanBrown1> I haven't looked at it. I suspect that I don't want to :-)
<teepee> as far as I understand it just mushes as many files as it can find into a single unity_xx.cpp file and compiles that
<teepee> which breaks with various things like overlapping #defines or anonymous namespaces or whatever else did not expect to be thrown into a single file
<JordanBrown1> Right.
<JordanBrown1> File scope is a thing.
moonlight has joined #openscad
<mmu_man> return vertices_.lookup(pt); < of course it won't add it if it's there already…
<mmu_man> so I can't use PolySetBuilder directly, I have to make a map first
<gbruno> [github] jordanbrown0 opened pull request #4958 (CI test) https://github.com/openscad/openscad/pull/4958
<teepee> mmu_man: I think I saw some mentions of "not using polysetbuilder" in some notification mails lately
<teepee> I'll see if I can find that again after dinner
<teepee> but I'm not sure if that's related to indexing / duplicate vertices
<mmu_man> teepee: so construct the PolySet manually I guess
guso78k has joined #openscad
<JordanBrown1> teepee I decline to be worried about that error, since a stock master triggers it too.
<gbruno> [github] jordanbrown0 closed pull request #4958 (CI test) https://github.com/openscad/openscad/pull/4958
<gbruno> [github] jordanbrown0 synchronize pull request #4946 (Make customizer font and size selectable.) https://github.com/openscad/openscad/pull/4946
<JordanBrown1> teepee, kintel, any others who care: PR#4946 is ready for review and possible merge.
<JordanBrown1> AFK now for several hours.
<moonlight> During compilation on ubuntu 22.04 headless machine i have the following result of cmake:
<moonlight> """
<moonlight> CMake Error at CMakeLists.txt:104 (add_executable):
<moonlight>   Target "OpenSCAD" links to target "OpenGL::EGL" but the target was not
<moonlight>   found. Perhaps a find_package() call is missing for an IMPORTED target, or
<moonlight>   an ALIAS target is missing?
<moonlight> """
<moonlight> Does anyone have a clue?
<teepee> that needs some egl mesa package, let me find the name
<moonlight> I'm trying now with "libegl1-mesa-dev"
<teepee> apt-get install libgl1-mesa-dev
<teepee> yep, that's the one
<moonlight> Oh nice !!! it worked
<moonlight> thak you very much !
<gbruno> [github] t-paul pushed 1 modifications (Add libgl1-mesa-dev for compiling with EGL support.) https://github.com/openscad/openscad/commit/d07d0661fd9dfb62f33e08e811e5ba9f539a9bf9
<gbruno> [github] t-paul opened pull request #4959 (Add libgl1-mesa-dev for compiling with EGL support.) https://github.com/openscad/openscad/pull/4959
<moonlight> That's efficience =D
<teepee> well, I lack the time to do all the more interesting stuff I would like to do
<teepee> so I'll try to at least mop up some tiny things here and there :)
<teepee> mmu_man: found the referenc in https://github.com/openscad/openscad/issues/4851 - "ManifoldGeometry: You should not use the builder with manifold. It purposely duplicate the vertices to maintain manifoldness, so deduplicating them will just cause you more trouble. Also, the mesh data structure is very much like the indexed polyset, so there is no point hashing everything again..."
<teepee> from that I assume https://github.com/openscad/openscad/blob/master/src/geometry/manifold/ManifoldGeometry.cc#L96 is an example on how to preserve indexed geometry
<moonlight> Okay, I really need to use manifold, there a commit hash which is known to work good? I can chechout that hash
<moonlight> is there a commit**
<teepee> not sure about the state of triangle faces, there was some discussion about that not long ago too - IIRC OFF supports more than triangles, or was that OBJ?
<teepee> moonlight: what's wrong with the latest master commit?
<teepee> ignoring platform or driver issues that are hard to catch, the test suite does a reasonable job in ensuring the latest snapshot works
<moonlight> Ahh sorry I missunderstood, It was a message for mmu_man, sorry for confusion
<mmu_man> teepee: OK, was about to try with an std::array<Vector3D> as a temporary index, and let the builder handle reindexing, but I suppose it'd be better to maintain them in the PolySet
<mmu_man> checking #4937
<mmu_man> ah, example, thanks
<mmu_man> let's first commit what I did
snaked has joined #openscad
<moonlight> Another question guys:
<moonlight> On main branch version, when running from command line, is it necessary to specify --manifold or it's used by default ?
<teepee> --enable manifold
<moonlight> (y) (y)
<mmu_man> teepee: wasn't that difficult, works now!
<teepee> nice
<mmu_man> except the color, which was the reason I looked at it in the first place but it seems it's way more involved
<mmu_man> hmm the scale is wrong, I had to scale(1000)
<mmu_man> should I fix the coords or just let people scale?
<teepee> strictly speaking there's no units, but also there some sort of convention 1 unit = 1 mm
<teepee> so if the multiply by 1000 would match mm that would be a good compromise
<mmu_man> yes
<mmu_man> not sure there's any convention on OFF files
<mmu_man> I only tested a single KiCad export through meshlab
<mmu_man> the Wikipedia page doesn't say
moonlight has quit [Quit: Connection closed]
<teepee> yeah, no unit mentioned in https://paulbourke.net/dataformats/off/
<teepee> hmm, they really missed the cance to have the first line "ON" and the last one "OFF"
califax has quit [Remote host closed the connection]
califax has joined #openscad
<mmu_man> LOL I think I tried to load that page yesterday and it didn't work
<mmu_man> hmm actually it's another OFF format
<mmu_man> I saw the PDF version for that one and it didn't make any sense
<teepee> oh? another one?
<mmu_man> probably
<mmu_man> oh, need to remove all those fprintfs
<teepee> if there are some useful ones, you can convert to PRINTDB
<teepee> which will output via --debug into the console
<gbruno> [github] mmuman opened pull request #4960 (Fix OFF import) https://github.com/openscad/openscad/pull/4960
<mmu_man> Now how do I add color to that…
<teepee> mmu_man for full disclosure I'm the one on Mastodon too :)
R2 has joined #openscad
<teepee> hmm, color will be a challenge
R2robot has quit [Ping timeout: 260 seconds]
<mmu_man> teepee: LOL
<mmu_man> yeah I noticed it wasn't really provisionned anywhere
<teepee> with CGAL it was always the issue that they do support properties, but not in the scenario we use
<teepee> pca006132 mentioned it should be possible with Manifold as they have vertex properties that survive the boolean operations so it's possible to determine what part belongs to what input
<teepee> and long time ago someone did a prototype with another geometry engine but unfortunately people happened on the mailing list and that effort died :/
<teepee> ubitux: yep, watched that earlier, very nice
<teepee> I was surprised about that tiny pin being printed so nicely
<ubitux> yeah i was surprised too
<ubitux> the prusa really isn't a bad printer
<ubitux> compared to the one i had previously…
<teepee> yep, owning a MK4 for a bit more than a month, I very much agree
<teepee> the ancient MK1 worked well for years, but the tiny things making live really better are amazing with the MK4
<ubitux> mk3s here
fling has quit [Ping timeout: 255 seconds]
fling has joined #openscad
teepee_ has joined #openscad
<mmu_man> not sure what to look into right now, is there documentation about the architecture of what is used where?
<mmu_man> anyway, should sleep
teepee has quit [Ping timeout: 255 seconds]
teepee_ is now known as teepee
<mmu_man> and tomorrow is again a busy FOSDEM day
<teepee> ahh, I'll miss the burger tram :)
teepee has quit [Remote host closed the connection]
teepee has joined #openscad
<teepee> oof that website brings back horror memories of the flash hype - http://www.letramdeboitsfort.be/
<gbruno> [github] t-paul pushed 6 modifications (Bump actions/upload-artifact to v4.) https://github.com/openscad/openscad/commit/82e28554f0a6d4a008df9c5e61373efe3cbf9205
<gbruno> [github] t-paul opened pull request #4961 (Update GitHub actions) https://github.com/openscad/openscad/pull/4961