Quantcast
Channel: CNCzone.com- Largest Forums for CNC Professional and Hobbyist alike!
Viewing all articles
Browse latest Browse all 72868

NCPlot v2.30 beta 1 now available

$
0
0
There is now a beta version of NCPlot v2.30 available at NCPlot.com - Tools for CNC Programmers. Feel free to give this version a try, but please report any problems you find.

Thanks!
Scott



NCPlot v2.30 BETA 1 Release Notes
October 30, 2012


Bug Fixes
=========

Fixed a bug in the Find functionality that was introduced in v2.25. If the search text was not found a run time error ocurred after the message asking if you want to search again from the beginning of the file.

When a new document was loaded by a script the document tiling was not being applied to it, this is fixed.

Text typed into the editor was being colorized even if the colorize setting was turned off, this is fixed.

The 'Convert arc I/J/K to R' tool was incorrectly converting helical arcs when the start and end points were the same on the active plane, this is fixed.

The 'Convert arc I/J/K to R' tool was not allowing very small arcs to be converted even if the start and end points were not the same, this is fixed.


Improvements
============

The popup menus for selecting machine configurations and scripts are now alphabetized.

Added a new program coloring scheme. The program can now be colored by the modal G-Code state.

The machine configuration toolbar button now opens the machine configuration instead of the popup list of configurations.

The save to file feature of the viewport print preview window will now prompt for a desired image width.

Changed the 'Eval Block' display on the variable display window. This display will now show results of IF, WHILE and GOTO expressions as well as variable assignments.


New Features
============

The toolbar style can now be selected from the Preferences window. Available styles are Office 2000, Office XP, Office 2003 and Visual Studio 2005.

Added the ability to define the colors for buttons and frames. These settings can be found on the Preferences window.

Added a setting to the machine configurations "G/M Codes" page. This setting is labeled "Maximum Subprogram Nesting Level" and allows NCPlot to match the maximum nesting level of your control.

The "Break arcs into lines" tool has a new setting that allows you to break only arcs smaller than a specified length. This is useful for converting very short arc moves into line segments.

Added a line width setting to the viewport print preview window. This allows setting the drawing line width for printing and for saving the preview as a .BMP file.

Added new scripting functions:

NCPEvaluate(strExpression, isEmpty, errCode)
This function evaluates an expression given by strExpression and returns a numeric value. If the expression evaluates to <empty> then isEmpty returns TRUE. If there is an error in the expression then errCode returns an integer error code.

NCPParseExpression(strExpression, lPointer, errCode)
This function parses an expression within a string, returning the parsed expression. Parsing starts at the character index specified by lPointer and is updated by this function to the character immediately after the expression.

The possible error codes are:
0 = no error
1 = Expression syntax error
2 = Grouping mismatch
3 = Missing operator
4 = Invalid variable number
5 = SQR operand is negative
6 = LN operand is negative
7 = Division by zero
8 = MOD division by zero

NCPGetVariable(varNum, isEmpty, [pLevel])
This function returns the current value in the specified variable number. If the variable is <empty> then isEmpty returns TRUE. If requesting a local variable then the optional pLevel specifies the program level, 0 = Main program, 1 = sub 1, etc.

NCPSetVariable(varNum, varVal, isEmpty, [pLevel])
This function sets the specified variable number to the value given by varVal. Setting isEmpty to TRUE will set the specified variable to <empty>. If specifying a local variable then the optional pLevel specifies the program level, 0 = Main program, 1 = sub 1, etc.

NCPBreakLines SegmentLength
This function is equivalent to the "Tools / Break Lines Into Segments" tool. The specified segment length determines how many smaller moves are created.

NCPBreakArcsIntoLines MaxDeviation, [MaxLength]
This function is equivalent to the "Tools / Break Arcs Into Lines" tool. The specified maximum deviation amount determines how many line segments are created. The optional MaxLength parameter will break only arcs smaller then this setting. If omitted or less than or equal to zero then all arcs will be converted.

NCPBreakArcsAtQuadrants
This function is equivalent to the "Tools / Break Arcs At Quadrants" tool.

Viewing all articles
Browse latest Browse all 72868

Trending Articles