home.social

#trimesh — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #trimesh, aggregated by home.social.

  1. #GitHub #GitHubPages #fail This is driving me mad...

    Images randomly deciding not to load on all my pages.

    Is it just me? Is it my browser's fault? Is it just in Brazil?

    I was working on this #shapely + #trimesh page... and I can only see the last image (the animated gif)!

    abav.lugaralgum.com/material-a

    Update: On this exact page I have bungled the image URLs (I blame Marktext for being stupid and not using a relative reference). But I swear loading problems have been going on other well formed pages.

  2. For me, the most waited and exciting presentation at #PyConUS24 was Jim's (@hx2A) talk: #CreativeCoding with #py5 (@py5coding), the #Python version of #Processing

    If you missed it, you can watch it now! youtube.com/watch?v=pNVn3FPi5P

    I'm so glad I was able to be there! We had a nice "creative coding open space" the next day. I wish @ericof and @TomLarrow could have been there too. #numpy #shapely #trimesh #matplotlib #opencv

  3. For me, the most waited and exciting presentation at #PyConUS24 was Jim's (@hx2A) talk: #CreativeCoding with #py5 (@py5coding), the #Python version of #Processing

    If you missed it, you can watch it now! youtube.com/watch?v=pNVn3FPi5P

    I'm so glad I was able to be there! We had a nice "creative coding open space" the next day. I wish @ericof and @TomLarrow could have been there too. #numpy #shapely #trimesh #matplotlib #opencv

  4. I wish #trimesh .show() method would work with the latest #pyglet (v2.0.X, it only works with v1.5.X)
    #Python #WishesFor2024

  5. I wish #trimesh .show() method would work with the latest #pyglet (v2.0.X, it only works with v1.5.X)
    #Python #WishesFor2024

  6. Myślicie, że jest wam dzisiaj gorąco?

    Najpierw walczyłem z nowym segfaultem w #pydantic 2 z Pythonem 3.12. Nie udało mi się zajść daleko, co najwyżej ustalić, że to #heisenbug.

    github.com/pydantic/pydantic/i

    Potem testowałem świeży snapshot #LLVM — tylko po to, by odkryć, że testy znów padly na 32-bitowych platformach. Po bisect'cie, okazało się, że przyczyną była zmiana "NFCi" (niezamierzająca zmian funkcjonalnych) do logiki hashowania — wygląda na to, że LLVM drukuje teraz funkcje w kolejności zależnej od platformy.

    reviews.llvm.org/D158217#46009

    Na koniec walczyłem z segfaultem w testach #trimesh. Najwyraźniej jest to regresja związana z betą #numpy 1.26.0, więc wypracowałem backtrace i zgłosiłem błąd.

    github.com/numpy/numpy/issues/

    #Gentoo #Python

  7. You think it's hot today?

    First I've been trying to figure out a new segfault in #pydantic 2 with #Python 3.12. I haven't been able to get far, except for establishing that it's a #heisenbug.

    github.com/pydantic/pydantic/i

    Then I've been testing a fresh #LLVM snapshot — only to discover the test suite is broken on 32-bit platforms again. After a bisect, it turned out that it was caused by a NFCi change to the hash logic — I guess that the function ordering depends on the platform now.

    reviews.llvm.org/D158217#46009

    Finally, I've been figuring out a #trimesh segfault in tests. Apparently it's specific to #numpy 1.26.0 beta, so I've gotten a backtrace and filed a bug there.

    github.com/numpy/numpy/issues/

    #Gentoo

  8. sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D

    import trimesh
    import shapely

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global m
    size(400, 400, P3D)
    no_stroke()
    polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
    (0, 0), (-50, -50), (-100, 0)])
    m = trimesh.creation.extrude_polygon(polygon, 30)

    def draw():
    background(0)
    translate(width /2, height / 2)
    rotate_x(QUARTER_PI)
    rotate_y(radians(mouse_x))
    for i, face in enumerate(m.faces):
    fill(palette[i % 12])
    with begin_closed_shape():
    vertices([m.vertices[v] for v in face])

  9. sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D

    import trimesh
    import shapely

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global m
    size(400, 400, P3D)
    no_stroke()
    polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
    (0, 0), (-50, -50), (-100, 0)])
    m = trimesh.creation.extrude_polygon(polygon, 30)

    def draw():
    background(0)
    translate(width /2, height / 2)
    rotate_x(QUARTER_PI)
    rotate_y(radians(mouse_x))
    for i, face in enumerate(m.faces):
    fill(palette[i % 12])
    with begin_closed_shape():
    vertices([m.vertices[v] for v in face])

  10. sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D

    import trimesh
    import shapely

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global m
    size(400, 400, P3D)
    no_stroke()
    polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
    (0, 0), (-50, -50), (-100, 0)])
    m = trimesh.creation.extrude_polygon(polygon, 30)

    def draw():
    background(0)
    translate(width /2, height / 2)
    rotate_x(QUARTER_PI)
    rotate_y(radians(mouse_x))
    for i, face in enumerate(m.faces):
    fill(palette[i % 12])
    with begin_closed_shape():
    vertices([m.vertices[v] for v in face])

  11. sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D

    import trimesh
    import shapely

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global m
    size(400, 400, P3D)
    no_stroke()
    polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
    (0, 0), (-50, -50), (-100, 0)])
    m = trimesh.creation.extrude_polygon(polygon, 30)

    def draw():
    background(0)
    translate(width /2, height / 2)
    rotate_x(QUARTER_PI)
    rotate_y(radians(mouse_x))
    for i, face in enumerate(m.faces):
    fill(palette[i % 12])
    with begin_closed_shape():
    vertices([m.vertices[v] for v in face])

  12. sketch_2022_02_01 #Processing #Python #py5 imported mode #shapely #trimesh #3D

    import trimesh
    import shapely

    # iamkate.com/data/12-bit-rainbo
    palette = (
    '#817', '#a35', '#c66', '#e94',
    '#ed0', '#9d5', '#4d8', '#2cb',
    '#0bc', '#09c', '#36b', '#639'
    )

    def setup():
    global m
    size(400, 400, P3D)
    no_stroke()
    polygon = shapely.geometry.Polygon([(-100, -100), (0, -100),
    (0, 0), (-50, -50), (-100, 0)])
    m = trimesh.creation.extrude_polygon(polygon, 30)

    def draw():
    background(0)
    translate(width /2, height / 2)
    rotate_x(QUARTER_PI)
    rotate_y(radians(mouse_x))
    for i, face in enumerate(m.faces):
    fill(palette[i % 12])
    with begin_closed_shape():
    vertices([m.vertices[v] for v in face])