home.social

#trimesh — Public Fediverse posts

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

  1. I have built a new bundling of Portable Thonny #Python IDE for #WIndows with #py5 and some other libraries pre-installed (#shapely, #trimesh, #pymunk & etc.) it would help me if people could test it:

    github.com/villares/thonny-por

    More about this (and example code to test!) at abav.lugaralgum.com/como-insta

    On other news, I would love to find someone with #MacOS dev skills willing to volunteer re-packaging Thonny with py5 for MacOS

  2. Se vocês quiserem presentear alguém com uma coisa diferente... Andei fazendo umas camisetas e canecas com uns desenhos meus:

    villares-shop.fourthwall.com/ (internacional)
    umapenca.com/villares/ (Brasil)

    Tem coisa sobre as bibliotecas de #Python para computação científica e geometria que eu uso na #ProgramaçãoCriativa e tem também aviãozinho colorido, plantas fractais e uns outros desenhos abstratos, tudo feito usando programação. #shapely #trimesh #numpy #py5 #processing

  3. @damien you could draw it with #Blender or #FreeCAD, both can be controlled with #Python also. And I like making stuff directly with Python + #shapely + #trimesh (+ #py5) and export STL for 3D printing :)

    Update: sorry to reply to an old toot, and Jelle had already recommended Blender and FreeCAD 🤪

  4. #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.

  5. Updated: Sharing today a new version of my #Thonny portable (the beginner friendly #Python IDE) with #py5 #shapely #trimesh and #pymunk pre-installed. This "re-packaged distribution" makes it easier for my students to have a #CreativeCoding environment on Windows, and is specially useful for school labs with installation constraints...

    Please help me test it!
    github.com/villares/thonny-por
    Some code: abav.lugaralgum.com/como-insta

    I'd like help to build and sign a MacOS "equivalent" and maybe make a Linux AppImage, I'm not sure if AppImage will work as it would need to let people install further libraries. DM of you'd like to help!

  6. 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

  7. Galera, como muitos lugares em que eu dou aula usam Windows, eu andei montando um pacotinho "portátil" usando o #ThonnyIDE portable, que já vem com #Python 3.10, e acrescentei a biblioteca de desenho que eu uso, #py5 e mais umas coisinhas como #shapely, #trimesh e #pymunk... se alguem quiser testar, atualizei hoje algumas coisas:

    github.com/villares/thonny-por

    Thonny e py5 rodam no MacOS e no GNU/Linux também. Pra quem quiser saber mais sobre o py5 (e essa dobradinha com o Thonny IDE) veja esta páginai: abav.lugaralgum.com/como-insta (nessa página está um link para uma versão anterior do portable para Windows que pretendo trocar por essa que está em testes). #ProgramaçãoCriativa #Python #Processing

  8. Hi people with access to computers with #Windows

    I have put together a new zip file with the portable version of #ThonnyIDE + #py5 #shapely #trimesh and the #thonnypy5mode plugin pre-installed. I'd love to have some testers... it should work on most Windows 64-bit machines I think...

    here-> github.com/villares/thonny-por

    Unzip it and double-click on the thonny.exe file. Tip: use 7-zip.org to unzip it, it is much faster than the native Windows extract tool.

    If you are unfamiliar with py5, you could perhaps read this, which I will update with the new portable Thonny link at some point.

    If you use other OSs, like MacOS or GNU/Linux, maybe you could help us make other student friendly bundles? DM me #CreativeCoding #ComputingEducation

  9. Hi people with access to computers with #Windows

    I have put together a new zip file with the portable version of #ThonnyIDE + #py5 #shapely #trimesh and the #thonnypy5mode plugin pre-installed. I'd love to have some testers... it should work on most Windows 64-bit machines I think...

    here-> github.com/villares/thonny-por

    Unzip it and double-click on the thonny.exe file. Tip: use 7-zip.org to unzip it, it is much faster than the native Windows extract tool.

    If you are unfamiliar with py5, you could perhaps read this, which I will update with the new portable Thonny link at some point.

    If you use other OSs, like MacOS or GNU/Linux, maybe you could help us make other student friendly bundles? DM me #CreativeCoding #ComputingEducation

  10. Hi people with access to computers with #Windows

    I have put together a new zip file with the portable version of #ThonnyIDE + #py5 #shapely #trimesh and the #thonnypy5mode plugin pre-installed. I'd love to have some testers... it should work on most Windows 64-bit machines I think...

    here-> github.com/villares/thonny-por

    Unzip it and double-click on the thonny.exe file. Tip: use 7-zip.org to unzip it, it is much faster than the native Windows extract tool.

    If you are unfamiliar with py5, you could perhaps read this, which I will update with the new portable Thonny link at some point.

    If you use other OSs, like MacOS or GNU/Linux, maybe you could help us make other student friendly bundles? DM me #CreativeCoding #ComputingEducation

  11. Hi people with access to computers with #Windows

    I have put together a new zip file with the portable version of #ThonnyIDE + #py5 #shapely #trimesh and the #thonnypy5mode plugin pre-installed. I'd love to have some testers... it should work on most Windows 64-bit machines I think...

    here-> github.com/villares/thonny-por

    Unzip it and double-click on the thonny.exe file. Tip: use 7-zip.org to unzip it, it is much faster than the native Windows extract tool.

    If you are unfamiliar with py5, you could perhaps read this, which I will update with the new portable Thonny link at some point.

    If you use other OSs, like MacOS or GNU/Linux, maybe you could help us make other student friendly bundles? DM me #CreativeCoding #ComputingEducation

  12. Hi people with access to computers with #Windows

    I have put together a new zip file with the portable version of #ThonnyIDE + #py5 #shapely #trimesh and the #thonnypy5mode plugin pre-installed. I'd love to have some testers... it should work on most Windows 64-bit machines I think...

    here-> github.com/villares/thonny-por

    Unzip it and double-click on the thonny.exe file. Tip: use 7-zip.org to unzip it, it is much faster than the native Windows extract tool.

    If you are unfamiliar with py5, you could perhaps read this, which I will update with the new portable Thonny link at some point.

    If you use other OSs, like MacOS or GNU/Linux, maybe you could help us make other student friendly bundles? DM me #CreativeCoding #ComputingEducation

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

  14. Olha só @dunossauro, tou pensando aqui numa disciplina que eu vou dar para arquitetos... querendo ver se rola produzir uns objetos com #trimesh e jogar no #ursina... trimsh.org/trimesh.exchange.ob

  15. 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])

  16. 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])

  17. 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])

  18. 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])

  19. 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])