speckleworks / SpeckleInstaller

Speckle desktop client installer for Grasshopper, Rhino, Dynamo etc...
MIT License
26 stars 3 forks source link

No option for Blender in Speckle.exe #16

Open grootstebozewolf opened 5 years ago

grootstebozewolf commented 5 years ago

Step 0:

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.

tsvilans commented 5 years ago

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?

didimitrie commented 5 years ago

@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.

tsvilans commented 5 years ago

@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?

JanFilipec commented 3 years ago

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?

daviddekoning commented 3 years ago

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 
tsvilans commented 3 years ago

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

JanFilipec commented 3 years ago

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."