SpeckleInstaller icon indicating copy to clipboard operation
SpeckleInstaller copied to clipboard

No option for Blender in Speckle.exe

Open grootstebozewolf opened this issue 5 years ago • 7 comments

Step 0:

Expected Behaviour

When you start speckle.exe it should have an option for Speckle for Blender and setup the database that is shared between Rhino, Dynamo and Grasshoper or can be used on its own.

Actual Behaviour

There is no Speckle for Blender option, so it can't be used on its own.

Affected Projects

No

Reproduction Steps & System Config (win, osx, web, etc.)

Windows 10 Blender 2.81.1 PySpeckle 1.1.0

Proposed Solution (if any)

Install empty database and configure installed Blender configuration.

grootstebozewolf avatar Aug 02 '19 13:08 grootstebozewolf

Perhaps a larger issue... @didimitrie is there a "standalone" installation of Speckle? It kind of seems like it's evolving to where there is Speckle and the plug-ins to various platforms, like a rendering engine would have, or something.

Perhaps the Speckle installer could also install and manage the user account database?

tsvilans avatar Aug 02 '19 15:08 tsvilans

@tsvilans, we (read: @mishaelnuh) are now looking at revamping the installer and how we distribute speckle to people, and of course we would be more than happy to include Blender!

I'll move this issue to the SpeckleInstaller in the meantime.

didimitrie avatar Aug 13 '19 06:08 didimitrie

@tsvilans, we (read: @mishaelnuh) are now looking at revamping the installer and how we distribute speckle to people, and of course we would be more than happy to include Blender!

I'll move this issue to the SpeckleInstaller in the meantime.

@didimitrie I think the question here more relates to the SpeckleCache.db file that gets created by the .NET client. Perhaps this should be installed with Speckle so that it's coordinated and available for all clients?

tsvilans avatar Aug 13 '19 07:08 tsvilans

So, is there a way to get speckle runing on Blender/Windows? I can't activate the plugin in blender (2.91)

Traceback (most recent call last): File "C:\PortableApps\BlenderPortable\App\Blender64\2.91\scripts\modules\addon_utils.py", line 351, in enable mod = import(module_name) File "C:\PortableApps\BlenderPortable\Data\user_scripts\addons\bpy_speckle_init_.py", line 53, in from speckle import SpeckleApiClient, SpeckleCache ModuleNotFoundError: No module named 'speckle'

and I can't install the blender client, because the setup only allows me to pick GH or Revit

image

Or did I just uderstand the system wrong?

JanFilipec avatar Feb 18 '21 22:02 JanFilipec

Hi @JanFilipec - yeah, the Blender client installation is completely separate from the Revit, Rhino, etc... clients.

It looks like you are missing the Speckle Python library, you can install it with:

pip install speckle 

daviddekoning avatar Feb 18 '21 22:02 daviddekoning

Try restarting Blender. If it worked correctly, it should pip install speckle automagically, but it might need some coercion.

tsvilans avatar Feb 18 '21 23:02 tsvilans

Ok thanks a lot, it worked now. May I suggest adding a few more sentences about this proces to the first run description in the Speckle Blender readme? Something along the lines "Speckle for Blender is currently not part of the Windows installer, it will be installed automatically by the python package manager pip after enabling the add-on in Blender. If the automatic installation doesn't work, try installing pip separately."

JanFilipec avatar Feb 19 '21 21:02 JanFilipec