Giter Site home page Giter Site logo

s-a / toblender Goto Github PK

View Code? Open in Web Editor NEW
40.0 5.0 3.0 19.49 MB

Use any external text editor with Blender ๐Ÿต

License: MIT License

JavaScript 38.97% Python 61.03%
blender blender-scripts blender-python blender-plugin blender28 blender-addon

toblender's Introduction

ToBlender

Use an external editor with Blender ๐Ÿต.

Installation

1. Blender Addon

To make this work you need to install the corresponding addon 2blender. This will start a simple tcp server to manage the synchronisation process. Since this could be a security risk you might want to keep an eye on activation state of the addon when you finished your python development.

2. Console Application

This application is based on Node.js so you need to install it from https://nodejs.org/en/download/.

After that you can install the application with npm install toblender -g. It needs to be global to make it systemwide available.

Demo usage

Demo

Commandline arguments

See COMMANDLINE-ARGUMENTS.md for all details.

toblender's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

toblender's Issues

ModuleNotFoundError

Hi, I'd love to give it a shot to your cool package but I've faced already some issues on blender 2.82.7, pls take a look to this little test

Here's the steps i've followed:

  • Installed the provided addon on blender 2.82.7
  • Restarted blender
  • Create script at d:\foo\test.py and run cd d:\foo && toblender --reload test.py (also tried with toblender --reload test.py --watch d:\foo\test.py)
  • Got error:
Traceback (most recent call last):
  File "D:\software\blender\blender-2.82a-windows64\2.82\scripts\modules\addon_u
tils.py", line 351, in enable
    mod = __import__(module_name)
ModuleNotFoundError: No module named 'test'

Could you pls advice?

Also... each time it's reloading is making a new client connection

showcase

is this intended?

Error: connect ECONNREFUSED

I get the following Error when saving the python script:

Connected
  Error: connect ECONNREFUSED 127.0.0.1:3001

Connection closed

when running toblender --watch /blender --reload /blender/blender.py

I am using Ubuntu 22.04, Blender 3.5.1 and toblender 1.0.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.