nav111 / heekscnc

Automatically exported from code.google.com/p/heekscnc
Other
0 stars 0 forks source link

Changed API in OpenCamLib #247

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Use a ZigZag operation (using ocl)

What is the expected output? What do you see instead?

An error message is displayed on the console: "python: 
/home/guido/src/HeeksCAD/HeeksCNC/opencamlib/src/cutters/cylcutter.cpp:31: 
ocl::CylCutter::CylCutter(): Assertion `0' failed."

What version of the product are you using? On what operating system?

HeeksCNC SVN: 1111

Please provide any additional information below.

The issue is caused by a changed API in OCL. One should use CylCutter(diameter, 
length) instead.

Original issue reported on code.google.com by g.mue...@gmail.com on 28 Aug 2010 at 9:27

GoogleCodeExporter commented 8 years ago
I made a change to ocl_funcs.py to correct this.  See attached diff.

Note:  The length that I added is hard coded to 10. It seems to work for me. 
even using imperial and metric units.

Original comment by Chris.A....@gmail.com on 4 Sep 2010 at 11:34

Attachments:

GoogleCodeExporter commented 8 years ago
This has been fixed now.

Original comment by danhe...@gmail.com on 17 Feb 2011 at 11:38