Comments (2)
Well this is unfortunate. It looks like they changed the OBJ importer API from version 3.3 to version 3.6. Since Blender 3.3LTS is on its way out in a few months and I'm still trying to get the addon working for 4.0, I'm not going to make a special version for 3.3.
So you have three options, two of which involve some Python surgery.
Option 1: Switch to Blender 3.6. I realize this may not be possible with your circumstances, but this would be the quickest route.
Option 2: "Downgrade" your copy of Stop Motion OBJ to use the legacy OBJ importer. If you navigate to where the addon is installed on your machine (looks like C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\Stop-motion-OBJ\stop_motion_obj.py
based on the error message you shared), open up stop_motion_obj.py
in a text editor and find def loadOBJ
near line 502. There are a few version checks in this function, two of which are checking for version 3.3. Anywhere it's checking for (3, 3, 0)
, you'll want to change it to (3, 6, 0)
. This means that it will use a different OBJ importer using the correct parameters. This should work, but it means you'll be using the legacy (slow) OBJ importer rather than the faster one.
Option 3: Fix the function call to match that of the 3.3 OBJ importer. Like in option 2, you'll need to find def loadOBJ
near line 502. It's trying to pass in three parameters that exist in the 3.6 importer, but not in the 3.3 importer: global_scale
, use_split_objects
, and use_split_groups
. If you remove these three parameters from the function call, it should work (I've tried it successfully with Blender 3.3). So after the 'surgery', it should read:
bpy.ops.wm.obj_import(
filepath=filePath,
clamp_size=self.obj_clamp_size,
forward_axis=newForwardAxisStr,
up_axis=newUpAxisStr)
Hope this helps!
from stop-motion-obj.
Hi Justin,
Thank you for outlining the various options. Most kind of you.
Complicated for my little brain, but I will give these options a try.
Add to the mess.....I am a Blender Octane user, so upgrades there usually involve unwanted surprises that screw up files generated years back. Your addon case in point. I had to revert to Blender 2.9x to get results. Sub-optimal.
Ug.
Your Addon should be part of Blender, I think.
Best,
Rick
from stop-motion-obj.
Related Issues (20)
- No Matching Files found HOT 4
- Where is the shade smooth all frames button :D ? HOT 1
- export this reBuild-animation? HOT 1
- UVs and Textures totally broken when you run the animation. HOT 6
- Material update HOT 4
- STL sequence not animating HOT 2
- Doesn't import meshes HOT 1
- Streamed mesh sequence: Blender crashes randomly while rendering animation HOT 5
- PLY import without textures HOT 1
- Shade smooth doesn't work for all frames HOT 1
- OBJ import fails in Blender 4.0.0 alpha HOT 1
- Multiple Errors When Trying to Import Mesh Sequence HOT 1
- im a studen. when i did my homework, i faced on a trouble. please help me! thatβs scary that i will "reply" my semester HOT 9
- Request: multi-object obj import HOT 2
- Import multiple PLY file meet AttributeError: Calling operator "bpy.ops.import_mesh.ply" error, could not be found HOT 2
- Compatibility with Blender 4.x HOT 1
- Vertex Color is lost when importing PLY or OBJ point cloud sequences
- Can't import OBJ sequence - Blender 3.2/4.0 HOT 2
- .mtl textures don't import while creating an OBJ sequence HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stop-motion-obj.