Python 3D Printing Guide: Make STL Files From Masks

Поделиться
HTML-код
  • Опубликовано: 29 окт 2024

Комментарии • 32

  • @fedyasemenov8236
    @fedyasemenov8236 2 года назад +3

    Dude you are legit genius! Such a complex topic explained with such detail and clarity. The sign of a true master. Understanding this made me feel good about myself. And you are the one who made me understand it.
    Thank you so much 🙏. Please keeps it up!

  • @cooperbarry2162
    @cooperbarry2162 7 месяцев назад +3

    Thank you for the great video! It was instrumental for me to 3D print antenna and array beam patterns.
    I found a way to smooth the stl instead of getting a "blocky" shape without having to resort to smaller dimensional spacing. Take the 3D mask array, cast it to single, and do a Gaussian blur (e.g., scipy.ndimage.filters.gaussian_filter). The larger the sigma value in the Gaussian blur, the smoother the surface will be but at cost of losing small and sharp features. (The Gaussian blur is low-pass filtering the image.) The marching cubes algorithm will then interpret values on [0,1] as a smooth surface, whereas if it were a bool mask on {0,1}, the marching cubes algorithm makes a blocky surface with sharp, 90-deg corners between pixels.

  • @tiddlywinks497
    @tiddlywinks497 3 месяца назад

    Very nice! I use .stl files daily from material imaging, so it's cool to be able to understand the process now.

  • @rosealsendi2893
    @rosealsendi2893 2 года назад +2

    Thanks for the great video! Really impressed with your python & physics content.
    I have a recommendation for a future python video; I think it'd be great if you make a plotly tutorial, because it's a very useful library and you've used it before in your physics videos. Also because your library tutorials include many realistic and useful examples especially for physicists.

  • @varunahlawat9013
    @varunahlawat9013 2 года назад +4

    Ohhhhhhhhhh, I'm a beginner and physics enthusiast. This made me a fan

  • @JerryJess-f2h
    @JerryJess-f2h Год назад

    I was quite confused when going through Numpy-stl documentation... So a big thank you for this video!
    For those who wonder how to smooth the 3d object, modify as follows:
    x=y=np.linspace(-1,1,100)
    z=np.linspace(0,0.5,100)
    to
    x=y=np.linspace(-1,1,500)
    z=np.linspace(0,0.5,500) it's not rocket science but I hope it helps!

  • @4001Jester
    @4001Jester 2 года назад +9

    Very cool topic! I’m impressed by how you present new (to me) topics and techniques in a clear and digestible fashion.
    Are you interested in making videos on finite element analysis, and do you think this video’s topic would be applicable to FEA?

  • @noahmcallister3597
    @noahmcallister3597 2 года назад +4

    Great video! Have you heard of the program called MeshLab? I'm fairly certain it has all the capabilities of what you are doing here as a GUI, as well as Python bindings. I've used the Python API for procedurally generating and decimating meshes for a research project; it was super easy to use. Thanks again!

    • @MrPSolver
      @MrPSolver  2 года назад +2

      Never heard of it, no! But I'll check it out. Sounds like the sort of stuff I might need!

  • @TheBarryLight
    @TheBarryLight 2 года назад +1

    Now I know what I will do on the next weekend :D

  • @MinerMovie
    @MinerMovie Год назад

    This video was great, helped me a lot with a project I'm working on. One thing, it would be nice to have the code in the video somewhere

  • @nicholasmetsavaht7663
    @nicholasmetsavaht7663 2 года назад

    Great video! Can I have more than one function to define the object, like from 0

  • @goutham94
    @goutham94 2 года назад +1

    Love your look 🔥

  • @mrmaple
    @mrmaple 2 года назад +2

    Thanks for this. I've done marching cubes and 3d printing in the past, but never with numpy! Great stuff. Do you ever use VTK / ITK for visualization and manipulation, or are they less relevant these days?

    • @MrPSolver
      @MrPSolver  2 года назад +1

      I use SimpleITK for some image processing/alignment in python ya!

  • @erikanderson1402
    @erikanderson1402 2 месяца назад

    Cadquery is also a great package for this kind of thing

  • @igorbrenno1459
    @igorbrenno1459 2 года назад +1

    I love you, brow. Thanksss...so much!

  • @kleeishere8045
    @kleeishere8045 2 года назад

    Great video loved it!

  • @Guillo1499
    @Guillo1499 Год назад

    This is very cool!

  • @pile333
    @pile333 2 года назад +1

    Have you physically printed it?

  • @thebestofenglish-movies
    @thebestofenglish-movies 2 года назад

    thank you for this video

  • @pile333
    @pile333 2 года назад +1

    Cool.

  • @russelldicken9930
    @russelldicken9930 2 года назад +3

    you've not come across democratiz3D?

    • @MrPSolver
      @MrPSolver  2 года назад +1

      Thank you for sharing this! I just sent to my research group (I'm sure somebody will require something like this at some point)

  • @stutyapatwal
    @stutyapatwal 2 года назад +5

    Bored from coding come here!!

  • @Ddaddyyeet
    @Ddaddyyeet 2 года назад +1

    just bored man thanks for this video

  • @melvinwalker2692
    @melvinwalker2692 Год назад

    Fucking wizard

  • @VictorLopez-qb7qr
    @VictorLopez-qb7qr 2 года назад +1

    First view👍