I Need To Send Data To Blender From My Local Python App [Same Machine], I've tried the Socket Lib, but it Freezes Blinder so, how can I do that!


This is The Script that I need to Send from Python And Receive it in Blender To Make Animation

enter image description here

#edit 2: This is The Script of Client in Blender

enter image description here

This is The Script of Server

enter image description here

  • $\begingroup$ Does this answer your question? Could I use BGE, Python, and sockets to make a multiplayer game? $\endgroup$
    – Chris
    Commented Oct 21, 2021 at 7:09
  • $\begingroup$ Can you share the blender script you are using? A lot of people do manage to successfully use sockets to get data into Blender, but it's difficult to say what's not working if I don't know what you're trying. $\endgroup$ Commented Oct 21, 2021 at 16:13
  • $\begingroup$ Perhaps This gist might be helpful? The problem is that it polls, and the devs on devtalk recommend using async io $\endgroup$ Commented Oct 21, 2021 at 16:21
  • $\begingroup$ @MartyFouts I've Added The Script of Blender that I need to send from my python code to Blender To Make Animation Automatic, I've used basic socket script code to send and receive but it Freeze the blender bcoz it stuck in while loop. $\endgroup$ Commented Oct 21, 2021 at 19:02
  • 1
    $\begingroup$ I think I might have asked for the wrong thing, because that script doesn't have any socket code in it. Can you show me the code that you're trying to use to read from the socket? $\endgroup$ Commented Oct 21, 2021 at 19:04


You must log in to answer this question.

Browse other questions tagged .