BlenderCAM 9 install

321 views
Skip to first unread message

acrou...@gmail.com

unread,
Jan 18, 2016, 3:55:51 PM1/18/16
to blender CAM forum
 Hi everyone.
      I've just downloaded v9 for windows  64 bit, and although the addon is installed and enabled in the 
user preferences window, blendercam doesn't appear in the render engine dropdown box. I've changed the path to where I have it installed, but no luck. Thanks.

kungfum...@gmail.com

unread,
Jan 19, 2016, 7:56:49 AM1/19/16
to blender CAM forum, acrou...@gmail.com
Try running Blender from the command line. Useful messages may be printed to the console.

/Daryl 

blenderCAM developer

unread,
Jan 19, 2016, 10:18:36 AM1/19/16
to blender CAM forum, acrou...@gmail.com
Curious for how many ppl this is an issue, anybody else here tested the packed binary I put online?

narvik86

unread,
Jan 19, 2016, 1:46:05 PM1/19/16
to blender CAM forum, acrou...@gmail.com
I got this.
So i can not use CAM module on windows 8 64bit.


---------------------------
Blender: blender-app.exe - Błąd systemu
---------------------------
Nie można uruchomić programu, ponieważ na komputerze nie znaleziono MSVCP140.dll. Spróbuj ponownie zainstalować program, aby naprawić ten problem.
---------------------------
OK  
---------------------------

Like there is no file like MSVCP140.dll.

blenderCAM developer

unread,
Jan 20, 2016, 11:17:02 AM1/20/16
to blender CAM forum, acrou...@gmail.com
Ah, so it's the build of blender I used. 
I should have used the official blender. By now, you can replace it yourself, I will try to re-upload the build soon.

chrisb...@gmail.com

unread,
Jan 22, 2016, 9:59:08 PM1/22/16
to blender CAM forum, acrou...@gmail.com
Hi,

I tried it aswell but the it was not possible to select the addon in the render engine dropbox. When I deactivated the addon and activated it again I got the following error, see picture.

I hope somebody knows a solution.

gr Chris


Op dinsdag 19 januari 2016 16:18:36 UTC+1 schreef blenderCAM developer:
error.JPG

Jeff Doyle

unread,
Jan 23, 2016, 9:07:36 AM1/23/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
The geos_c.dll is missing.  Blendercam uses Shapely which uses the geos library.  A new Blendercam Windows zip will have to be made with the missing dlls. 

chrisb...@gmail.com

unread,
Jan 23, 2016, 9:29:10 AM1/23/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
but if I look into the files  then there is a geos_c.dll is there. at the following location. 

C:\Program Files\blenderCAM64\blender-2.76\2.76\python\lib\shapely\DLLs

Op zaterdag 23 januari 2016 15:07:36 UTC+1 schreef Jeff Doyle:

acrou...@gmail.com

unread,
Jan 23, 2016, 1:37:20 PM1/23/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
Hi.
 I've tried installing the addon manually, but now there is error message " No module named polygon". This also occurred on the linux version I tried on another machine 
as well. Wasn't polygon replaced by shapely?

Jeff Doyle

unread,
Jan 23, 2016, 6:23:33 PM1/23/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
chrisb: ok, that is odd.  I haven't used Windows since 1995 so not sure what the next course of action is.  Vilem will have to help out here, he made the zip for Windows.


Jeff Doyle

unread,
Jan 23, 2016, 6:39:55 PM1/23/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
acrou: could you post a screen shot or type the last few lines of the error message so I could see the line number and file name of where the error occurs.  I don't have Polygon installed on my linux machines and so far Blendercam works.  I will go through the source to see if an import got missed during the change over from Polygon to Shapely. 


acrou...@gmail.com

unread,
Jan 24, 2016, 4:25:02 AM1/24/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
Hi Jeff,
         Here's a screenshot of the error message, this is from the windows version, although it's the same error on linux version. I don't have python installed on this machine ,but the previous version of Blendercam worked fine. I think it needs to be tested on a machine that does not have python
installed on it.
 Thanks, Tony
error_msg.png

Jeff Doyle

unread,
Jan 27, 2016, 8:07:10 AM1/27/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
Based on your screenshot an older version of Blendercam is being used.

Line 35 of utils.py should be:
import bmesh

But the error message in the screenshot shows line 35 of utils.py to be:
import Polygon


Have a look in the directory:
C:\Program Files\Blender Foundation\Blender\2.76\scripts\addons\cam

That is where the old Blendercam is residing.

How did you do the manual install?

acrou...@gmail.com

unread,
Jan 27, 2016, 12:14:00 PM1/27/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
Hi Jeff.
         I  just copied the files from the addon zip into the addons folder, I just wanted to try something different as I couldn't get the original blendercam windows package to work.
I managed to get it working in the end, but it seems that python needs to be installed on your machine. It seems blendercam can't find some files in blenders version of python, so is
looking elsewhere maybe. 

Gaeldk

unread,
Jan 28, 2016, 10:01:49 AM1/28/16
to blender CAM forum, acrou...@gmail.com
Hello,

For me here is what happened :
- Unzipped on a PC running Windows 10 x64 with a lot of things preinstalled (like Python 3.3 and lots of other stuff) and it worked straight out of the zip

- Unzipped on a fresh Windows 10 x64 with nearly no software on it and it does not launch with the following in the console :

C:\Users\Gael\Desktop\blenderCAM64>blender-2.76\blender.exe
Read new prefs: C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\config\userpref.blend
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
found bundled python: C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\python
addon not found: 'space_view3d_screencast_keys'
addon not found: 'io_import_scene_dxf'
addon not found: 'export_svg'
Traceback (most recent call last):
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\scripts\modules\addon_utils.py", line 324, in enable
    mod = __import__(module_name)
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\scripts\addons\cam\__init__.py", line 34, in <module>
    from cam import ui, ops, utils, simple, polygon_utils_cam#, post_processors
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\scripts\addons\cam\ops.py", line 26, in <module>
    from cam import utils, pack,polygon_utils_cam,chunk,simple
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\scripts\addons\cam\utils.py", line 41, in <module>
    from cam import chunk
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\scripts\addons\cam\chunk.py", line 3, in <module>
    from shapely.geometry import polygon as spolygon
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\python\lib\shapely\geometry\__init__.py", line 4, in <module>
    from .base import CAP_STYLE, JOIN_STYLE
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\python\lib\shapely\geometry\base.py", line 9, in <module>
    from shapely.coords import CoordinateSequence
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\python\lib\shapely\coords.py", line 8, in <module>
    from shapely.geos import lgeos
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\python\lib\shapely\geos.py", line 138, in <module>
    _lgeos = CDLL("geos_c.dll")
  File "C:\Users\Gael\Desktop\blenderCAM64\blender-2.76\2.76\python\lib\ctypes\__init__.py", line 347, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 nÔÇÖest pas une application Win32 valide
addon not found: 'add_mesh_pipe_joint'
addon not found: 'delaunay_voronoi'
addon not found: 'space_view3d_precise_align12'

Gaeldk

unread,
Jan 28, 2016, 10:24:54 AM1/28/16
to blender CAM forum, acrou...@gmail.com
Further to my previous post ... The Funny thing is that on this new and fresh PC with a clean Win10 x64 even BlenderCAM 0.8 does not work although it fails loading another DLL Polygon.cPolygon


So this is weird... A fresh Windows 10 x64 will not launch Blendercam 0.8 based on 2.70 and will not launch Blendercam 0.9 based on 2.76 because of some DLLs python can not find... Hmmm


Gaeldk

unread,
Jan 28, 2016, 11:26:42 AM1/28/16
to blender CAM forum, acrou...@gmail.com
It just can't find the geos_c.dll ...
After having installed a 64bits python the error changes form a WinError 193 to a WinError 126...

I really don't get what is so different between my two PC... I checked the path, the Python ftype ...

The PC where BlenderCAM works runs python 3.3.0 x64 so I rolled back from 3.5.0 x64 to 3.3.0 x64 on the "fresh win10" and guess what... No luck either

What on earth is different between those PCs both running the same app from the same ZIP on the same OS but one just keeps failing finding a dll

chrisb...@gmail.com

unread,
Jan 30, 2016, 4:35:37 PM1/30/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
Ok thx! I hope he knows.. I also tried to install manually but had the same problem as Gaeldk. 







Op zondag 24 januari 2016 00:23:33 UTC+1 schreef Jeff Doyle:

Gaeldk

unread,
Feb 2, 2016, 11:14:07 AM2/2/16
to blender CAM forum, acrou...@gmail.com
Installing miniconda on my system from http://conda.pydata.org/miniconda.html did solve the issue for me.

Thanks Tony for the tip.

tord.b...@gmail.com

unread,
Feb 29, 2016, 3:25:03 PM2/29/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com
Hello Chris,

I installed 0.9.0 64-bin on Windows 10 last week with the same problem.
The geos_c.dll is there, but using depends.exe I found that this DLL depends on other ones that was not found. So that is why the geos_c.dll cannot be loaded.  After some googleling I found that the VC runtime distributables are missing. I downloaded and installed a few of those but could not get it working. I suppose something needs to be configured additionally. Installing any other package that include the VC runtim might solve the problem so I will try the miniconda installation too.

Best regards,
Tord

ikem...@gmail.com

unread,
Feb 29, 2016, 10:17:46 PM2/29/16
to blender CAM forum, acrou...@gmail.com, chrisb...@gmail.com, tord.b...@gmail.com

I experienced the same issues with a windows 7 install. It appears the windows blenderCAM 'out of the box image installations have issues finding the MS visual c++ dll (msvcp140.dll) and the Geometric engine dll (geos_c.dll). In addition it appears geos_c.dll may have some 64bit issue.


The 'out of the box' images; blenderCAM64_0.9.0.zip and blenderCAM32_0.9.0.zip Installed and ran with a 'file not found msvcp140.dll' error on windows 7. When blender comes up there is no CAM tabs. Going to 'file / user preferences / addons' and scrolling through the list shows the CAM add on present.


Once the msvcp140.dll issue was resolved, a similar behavior showed up with the geos_c.dll not found failure. Once this was resolved the 64bit image (blenderCAM64_0.9.0.zip) would issue [WinError 193] %1 is not a valid Win32 application' on the geos.py geos_c.dll open and then it would start crashing intermittently. In order to recover, from the crashing, the geos_c.ddl had to be removed from the dll search path, the application had to be deleted, the box rebooted and the app reinstalled.


So after this the 32 bit image (blenderCAM32_0.9.0.zip) was tried with the two dlls in the dll search path which seemed to work fine.


So the final 32 bit (blenderCAM32_0.9.0.zip) 'out of the box' install that worked for my windows 7 box is as follows:


Download and extract blender-2.76b-windows32.zip

Copy msvcp140.dll from C:\Windows\SysWOW64\ to c:\Windows\System32\

Copy geos_c.dll from blenderCAM32\blender-2.76\2.76\python\lib\shapely\DLLs to c:\Windows\System32\


The msvcp140.dll is part of the microsoft “Visual C++ Redistributable for Visual Studio 2015” package which can be downloaded at

https://www.microsoft.com/en-us/download/details.aspx?id=48145


I tried installing by component without success. With a Python 3.4.4 install, I also found the standard shapely install failed due to geos.dll. It appears this is by design. The shapely install calls out a separate 'apt-get install libgeos-dev' for Debian and Ubuntu linux, For windows it calls out the following web page of special wheel files with geos.dll; http://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely Interestingly I found the same 64bit peculiarity with the wheel geos.dll files. So I had to stick with the 32bit Shapely-1.5.13-cp34-none-win32.whl


At any rate, I hope this might be of some help


Thanks

Novice


Reply all
Reply to author
Forward
0 new messages