23

A more detailed example of the technique zeffi outlined is illustrated by the following example from http://web.purplefrog.com/~thoth/blender/python-cookbook/import-python.html import bpy import sys import os dir = os.path.dirname(bpy.data.filepath) if not dir in sys.path: sys.path.append(dir ) #print(sys.path) import cityFunctions # this next ...


13

External processes can be run while collecting their output using non-blocking file reading. This example uses a mix-in class (works the same way as Import/ExportHelper) which you can subclass to create your own operator that runs a command. Each line printed by the external application shows in the header, and pressing escape kills the process. Notes: ...


11

Between Inventor and Blender you can use the .STL file format. There are also paid addons for Inventor to export in .OBJ or other types (some have free Trial). Note that a parametric mesh from any 3D cad app will not be best suited for game engines, because the mesh will be relatively high-poly and non-optimized. You will get better results building the ...


10

V-Ray and Cycles use similar methods to light a scene (path tracing, global illumination). The differences is in their implementation and ease of use. In cycles we define materials using "nodes". V-ray seems to take a more traditional approach in just having a giant material with lots of settings. Example would be to do a normal looking material in cycles, ...


10

When you execute a python script inside Blender, the current working directory is not the base directory of your .blend file. You can easily confirm this by importing os and printing os.getcwd(), and that will explain why blender isn't finding these modules you're trying to import. you'll get the current .blend filepath using bpy.data.filepath, from which ...


9

As of Blender 2.8x you can export your entire scene using Alembic or USD (Autodesk is working on adding USD support). Layout in Blender Alembic file imported into 3ds Max 2019 3ds is a deprecated file format. For Blender 2.7x export your scene to FBX 6.1 ASCII, this should work immediately. In some cases you have to adjust the settings because it also ...


8

This script will convert weight to vertex color and vertex color to weight : the script create new groups if they don't exist and overwrite old groups with the same names the script use two methods for conversions grayscale<-->weight and RGB<-->weight the conversion works in two ways weight--> color and color-->weight HOW TO USE: run the script ...


6

You entered a link on your desktop. Change the image editor to the executable C:\Program Files\Krita (x64)\bin\krita.exe (or where you have installed Krita)


6

There is now a public release of a Renderman plugin for Blender. Maintained in part by folks from Pixar. Official intro to RenderMan for Blender: https://community.renderman.pixar.com/article/906/introduction-to-prman-for-blender.html Also see PRMan for Blender Support thread: https://renderman.pixar.com/forum/showthread.php?s=&threadid=28298


6

I found that the script mentioned by neowitch had some shortcomings (the fact that data and context were assigned at the top of bpy.py made pycharm sad), so I made a modified version: https://github.com/mutantbob/pycharm-blender Unfortunately, right now it does not offer pre-dumped API stubs. You'll have to run it either from the command line, or from a ...


6

A few open source engines which come to mind immediately: Luxrender Yafaray TheBounty, a fork of YafaRay POV-Ray (exporter) Aqsis Jot (exporter) Mitsuba implement biased and unbiased rendering techniques (Exporter) Some non-open source engines: Octane, fast GPU renderer integrated into blender (Commercial) Vray, production proven render engine. (...


6

When exporting from Makehuman, I choose the ".dae" file format, and then import this into Blender Upon importing into Blender, my scene looks like this: I then switch to the "Material" view, which changes my model to a brighter shade of grey: Next, I go to the "Materials" tab, and click "Use Nodes" I then click the little dot to the right of the "Color" ...


6

For this specific case you could try the Fake BPY module, which seems to be designed to solve this: https://github.com/nutti/fake-bpy-module


6

Other languages support (than Python) is considered as antifeature for now: Supporting multiple languages is not something we're currently interested in. Embedding a language runtime has a significant maintenance overhead, so there would need to be very compelling reasons (besides developer preference) to add support for other languages or to move away from ...


5

When exporting, tick Include Default Take. Also, since you aren't using bones, you should apply the scale on the model before exporting (CtrlA > Scale). The animation(s) should now come over with the selected one (in Blender) as the default take.


5

Blender saves a direct copy of its memory to the blend file. As a result, the file contents change little when you change a small thing in Blender. This allows tools that perform binary diffs (not sure about Git, but Subversion and Mercurial do a good job at this) to produce a small diff. When you save your blend file compressed, the entire file can change ...


4

Answered on blenderartists in Dec 2015 Download pydev-blender.zip from http://airplanes3d.net/pydev-000_e.xml Quoted from ba: unzip into Blender folder(where blender.exe is). go into doc folder and run refresh_python_api.bat. go into doc\python_api\pypredef folder and change all extensions to .py instead of pypredef. cut or copy contents of pypredef ...


4

In past year we used Maya for aditional effects on characters (especially for cloth simulations) and we discovered that the best way to import is .mdd. This format transfers the maya animation and convert it into animated shapes keys: Get your first pose (in maya) and export as .obj object Export the animation from maya as .mdd Import the .obj object in ...


4

I've released YafaRay-E (experimental) v2.0.0, which includes Render Passes, Render Views and, among other things, there is a samplerate pass available that shows the places where the adaptative AA is sampling more pixels. It's not exactly what you showed here, but I hope it's good enough. You can download it from here: http://www.yafaray.org/community/...


4

Try changing the child_process.spawn('blender', arguments); line to child_process.spawn('/Applications/blender/Blender.app/Contents/MacOS/blender', arguments);. NodeJS won't be using your bash aliases, so unless the blender executable is in its PATH it won't be able to find the executable and will throw an ENOENT. The other option is adjusting Node's PATH ...


4

While removing doubles with a high merge distance of 0.1 or more will remove some of the problem, fixing the non-manifold issue manually will take a very long time as you need to fix each and every errant vertex. However, if you don't need to maintain the exact same mesh and can live with a very very close reconstruction of it, you can fix the non-manifold ...


4

You should not use Blender 2.8 for production until it is realeased. It is not stable yet and you may lose your work if you do. Other than that, the add-on does not seem to contain anything that is changed in the bpy API from the first glance(I might be wrong), so you could try to just find the add-on's file [Blender 2.80 install location]\2.80\scripts\...


4

Blender is comprehensive enough to me. On my PC, I have over 25 FREE open alternatives and AFFORDABLES, none of your overpriced. Avoid Adobe, if you wish to avoid auto-renewal subscription trap. If you want softwares to use alongside Blender, see the list below. MyPaint — free lightweight painting software. Great realistic pencils & gritty ...


4

Make sure the dropdown on the top right of the Image Viewer is set to the correct pass (DENOISED): I'd suggest render to OpenEXR Multilayer to get both passes (beauty and denoised) in one file for comp: Alternatively you can add a Render Layer node in the Compositor to get the DENOISED socket and connect both passes to a File Output node or even blend ...


4

Don't use EPS to transfer UV maps - it only exports the occupied area. Use SVG instead, it exports the whole UV canvas.


3

You would choose a raytracer that has features that are required for architecture projects. An example is YafaRay. YafaRay supports features like Global Illumination and Background Illumination which are specifically useful for architecture visualization. Cycles has Global Illumination (since a few years ago) and I am not sure that it has as good ...


3

There is a patch for Blender allowing you to use RealFlow .bin files inside blender. https://developer.blender.org/T41935 However it looks like the patch is no longer in development, due to alembic support coming very soon. see: http://lists.blender.org/pipermail/bf-committers/2015-March/045025.html


3

You have three ways to control how animations are exported in FBX: NLA Strips and All Actions disabled: only 'active' actions in scenes will be exported (i.e., actions assigned to objects/armatures/etc.). All Actions enabled: all existing actions are exported for all compatible objects (because there is no way by default in Blender to restrain a set of ...


Only top voted, non community-wiki answers of a minimum length are eligible