xenovacivus/PathCAM

PathCam bogs on the first attempt to use it

haoudar opened this issue · 0 comments

Hi,
Just want to give it a try, after installation I loaded my stl file and got the message " Unhandled exception has occured in your application .... Value was too large or too small for a decimal. "
my stl file represent a boxe of 40cmmx40cmx1.27cm.

this is the details of what happened:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OverflowException: Value was either too large or too small for a Decimal.
at System.Decimal.FCallMultiply(Decimal& result, Decimal d1, Decimal d2)
at System.Decimal.op_Multiply(Decimal d1, Decimal d2)
at TriangleNet.Primitives.InCircleDecimal(Point pa, Point pb, Point pc, Point pd)
at TriangleNet.Primitives.InCircle(Point pa, Point pb, Point pc, Point pd)
at TriangleNet.Algorithm.Dwyer.MergeHulls(Otri& farleft, Otri& innerleft, Otri& innerright, Otri& farright, Int32 axis)
at TriangleNet.Algorithm.Dwyer.DivconqRecurse(Int32 left, Int32 right, Int32 axis, Otri& farleft, Otri& farright)
at TriangleNet.Algorithm.Dwyer.Triangulate(Mesh m)
at TriangleNet.Mesh.Delaunay()
at TriangleNet.Mesh.Triangulate(InputGeometry input)
at Geometry.Slice.d__5.MoveNext()
at GUI.TabsGUI.Draw()
at GUI.Drawing3D.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)