Closed GoogleCodeExporter closed 8 years ago
I figured out how to do this from within HeeksCNC.cpp. I won't be adding it to
svn, because I don't know how useful it will be for others, but here is what I
did:
long line_num= 0;
bool ok = true;
int nLines = theApp.m_output_canvas->m_textCtrl->GetNumberOfLines();
for ( int nLine = 0; ok && nLine < nLines; nLine ++)
{
ok = ofs.Write(theApp.m_output_canvas->m_textCtrl->GetLineText(line_num) + _T("\r\n") );
line_num = line_num+1;
}
There's probably a more sensible way of doing this in the post processor -
maybe in the CODES section of iso.py for instance.
Original comment by ddfalck2...@yahoo.com
on 3 Jul 2011 at 10:12
I think I have this one working properly in HeeksCNC.
Original comment by ddfalck2...@yahoo.com
on 4 Jul 2011 at 1:02
Original issue reported on code.google.com by
ddfalck2...@yahoo.com
on 1 Jun 2011 at 2:20