Code Monkey home page Code Monkey logo

bpy_externall's Introduction

zen_cms

a small cms that takes .txt files or .markdown files.

edit zen_cms.js script_table to order the links of the sidebar. like:

var script_table = {};
script_table['Edge_Tools_VTX'] = "Edge_Tools.txt";
script_table['Add_Vertex'] = "Add_Vertex.txt";
script_table['On_Comments'] = "On_Comments.markdown";

let zen_cms.js do the rest. visit zeffii.github.io

bpy_externall's People

Contributors

dat2016 avatar mipmip avatar zeffii avatar

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

Watchers

 avatar  avatar  avatar

bpy_externall's Issues

Additional Instructions for beginners

Hey,

Thanks for making this awesome tool.

I'm new to blender and specially new to python.

I'm on Linux Manjaro, using Blender 2.9.1


I'm so used to vim-mode, that using the built in text editor is a pain, so I want to connect it to vim.

For that I'm setting up this as well
https://github.com/mipmip/vim-run-in-blender

but first I need to make bpy_externall works.


I managed to install the addon by loading the zip file and enabling it in blender addons.

However, I'm not sure how it works.


Where do I store a script for this?

# start listening
bpy.ops.wm.bpy_externall_server(speed=1, mode="start")

is it inside blender or just in the terminal, or a .py file in any location?


What is the RECEIVER?

Apologies for the lack of skill, I'm sure this must be all pretty obvious for more advanced users,


I appreciate your work sharing this project. it you can provide some more details for beginners like me who can't live without vim, that would be truly appreciated!

Thanks!

Compatible with 3+?

Update:

Apologies, I think I have misunderstood how to work with this, I was expecting to find the tmp file in my directory structure somewhere. I now vaguely understand this may not be the case. I think this might be above my pay-grade. Basically what I'm trying to accomplish is to be able to trigger scripts in Blender from Alfred / AppleScript / Apple Shortcuts / Shell scripting. But alas, I am a bit lost here.

Original (possibly naive) message:

hello,

I haven't been able to get this to work and wondering if its a compatibility issue with more recent versions of Blender? Im on 3.2.

Thanks for your time, Nathan

UnicodeDecodeError

I have tried many methods in the past two days, but there is no way to solve this problem. The new statement will cause more errors, and other encodings have been tried, but the problem remains.
The following is the error description.

Python: Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\bpy_externall-master_init_.py", line 138, in modal
self.process()
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\bpy_externall-master_init_.py", line 123, in process
fp = filepath_read_handler()
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\scripts\addons\bpy_externall-master_init_.py", line 82, in filepath_read_handler
fp = f.read()
File "C:\Program Files\Blender Foundation\Blender 3.2\3.2\python\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc9 in position 9: invalid continuation byte

paths. windows / posix

the posix limitation is mostly superficial, down to paths:

  • posix /tmp/whatever.io
  • windows C:\\temp\\whatever.io

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.