zeffii / BlenderSciViz

Preliminary code for plotting data in Blender. (not blender 2.8... yet)
76 stars 10 forks source link

Could you update BlenderSciViz on par with Blender2.8+? #3

Open HakunanMatatat opened 4 years ago

HakunanMatatat commented 4 years ago

Hi,zeffii,many scripts in BlenderSciViz is outdated.Could you please update it to Blender2.8+?Thank you.

zeffii commented 4 years ago

hi @HakunanMatatat

this is not high on my todo list. Maybe if there's a particular example that you want but can't get working yourself in 2.8 then link it here, and i'll see

HakunanMatatat commented 4 years ago

hi @zeffii,I am a new learner.Many scripts have the following error.Thanx.

Traceback (most recent call last): File "\Text", line 42, in File "\Text", line 37, in generate AttributeError: 'bpy_prop_collection' object has no attribute 'link' Error: Python script failed, check the message in the system console

    scene = bpy.context.scene    
    scene.objects.link(obj)     #line37
    obj.select = True
    obj.show_bounds = True # optional
    generate(geometry_function, "PointCloud_Object")  #line42` 
zeffii commented 4 years ago

OK, please read the blog post here about the changes needed.

https://blenderscripting.blogspot.com/2019/01/blender-bpy-for-280.html