spiraloid
  • Member for 2 years, 7 months
  • Last seen this week
Convert particle system to animated meshes
8 votes

Here's a modified version for 2.8 that keys visibility as scale and does all particle systems on the emitter object. import bpy # Set these to False if you don't want to key that property. ...

View answer
bpy.ops.transform.rotate ignores pivot point
2 votes

here's the version that will work in blender 2.80. the previous examples on this thread have depreciated. bpy.context.scene.tool_settings.transform_pivot_point = 'CURSOR' bpy.ops.transform.rotate(...

View answer
How to make an object stay inside another object?
1 votes

you can also use the outliner and shift drop the diamonds onto the box to parent them as well. https://docs.blender.org/manual/en/latest/editors/outliner.html

View answer
Getting around polling issues with bpy.ops.object.make_override_library
0 votes

my solution in case others hit the same issue: scene = bpy.context.scene view_layer = bpy.context.view_layer coll = bpy.context.collection coll_name = collection.name bpy.data.collections[coll_name]....

View answer
How do i control a driver using an RGB node?
0 votes

I thought I'd leave this here in case others follow this breadcrumb. I could find no docs or examples on this so it was made by trial and error. Here is how I delete and remake a color driver in a ...

View answer
What is the most efficient way to make instance real and joined
0 votes

I just discovered that bpy.ops.object.convert(target='MESH') will apply the visual mesh and remove all the modifiers, linked or not. handy for cleaning up linked modifiers after making all instances ...

View answer
Decimate f-curves using python
0 votes

Like this: import bpy def simplify_fcurves(): C=bpy.context old_area_type = C.area.type C.area.type='GRAPH_EDITOR' bpy.ops.graph.decimate(mode='ERROR', remove_ratio=0.698113, ...

View answer
How can i update my changes in the UI scripts?
0 votes

On windows I use visual studio code and open this folder: %AppData%\Blender Foundation\Blender\2.90\scripts\addons (this is the actual files blender is running so it you make a typo and save. ...

View answer
Create a Collection inside another Collection with python
0 votes

posting how I do this in blender 2.90 for others in case it's useful. doing it like this doesn't require context or ui polling. import bpy #create scene collection shared_assets_collection_name = ...

View answer
How to keep Blender from adding frame numbers to output filename?
0 votes

Ended up crying "uncle" and doing it with an OS call. In case it's usefull: outRenderFileNamePadded = materials_dir+outBakeFileName+"0001.png" outRenderFileName = materials_dir+outBakeFileName+"png"...

View answer
How to convert a normal map into a curvature map (per pixel curvature)
0 votes

This is how you do it based on the mesh and not a normal map.

View answer
How to render surface divisions for subsurface modifier?
0 votes

you could capture from the viewport with a flat white shading and the subdivision modifier "on cage" turned on, and then use the compositor to overlay it onto a regular render from the same camera.

View answer
Bad 90 rotation from
0 votes

there are some inconsitencies in the blender fbx exporter/unity fbx import path. here's what I found after some digging. The three inconsistent behaviors of the FBX exporter depend on the blender ...

View answer
2.8 Rotate multiple objects around the origin in edit mode?
-2 votes

here's the version I had to use in my script to set the pivot point to work in blender 2.80. by setting the transform to rotatate around the cursor, all objects will rotate around that locations and ...

View answer