CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > NCPlot G-Code editor / backplotter


NCPlot G-Code editor / backplotter Discuss NCPlot software here.


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 03-07-2010, 12:34 PM
MetLHead's Avatar
Gold Member
 
Join Date: Mar 2003
Location: USA
Posts: 740
MetLHead is on a distinguished road
NCPlot v2.20 beta 7 now available

These beta versions are for testing only and are intended to help us work out problems before updates are released. To download, go to www.ncplot.com and click the NCPlot v2 link.
*************************************************************

NCPlot v2.20 BETA 7 Release Notes
March 7, 2010


Bug Fixes

Fixed some issues with the multiple document interface and undesired switching between the open documents.

Fixed a problem with the program extents being miscalculated in some cases when an arc motion is at the extents.

Fixed a bug in the DXF sorting that could cause some objects to disappear from the drawing.

Fixed a problem with the local variables when using M98 subprogram calls. The local variables were being properly passed to the subprogram, but were not being passed back to the calling program. The M98 sub calls should maintain the local variables.

Fixed a bug in the renumbering tool. If there was a "GOTO" statement in the program without a block number after it the renumbering tool would crash.


General

Added preferences setting to select whether a new file is opened on startup.

Added preferences setting for script execution timeout. This setting determines how long to allow a script to run before prompting you to either allow it to continue or to kill it. Making this setting longer is useful if you have scripts that take a long time to run.

Added a machine configuration setting for default script folder. This allows you to specify a script folder for each machine configuration. If this setting is blank then the default scripts folder will be the "\scripts" folder under the installed application folder.

Added new M98 subprogram call format:

M98 Q1 L1 Q = Block number
L = Repeat count

Added support for M198 subprogram call:

M198 P1 L1 P = Program number
L = Repeat count

You can now open files by dragging and dropping them onto the application window instead of just on an open document.


Scripting

Added new scripting methods:

NCPGetSubprogramSetting strSetting
NCPSetSubprogramSetting strSetting, newvalue
NCPSublistAdd lngPNum, filepath
NCPSublistRemove lngPNum
NCPGetSublistCount
NCPGetSublistItem index, lngPNum, filepath
NCPSublistRemoveAll
NCPGetFileCount
NCPGetFilePath (index)
NCPFileNew
NCPFileLoad (filepath)
NCPFileSave ([PathToSave], [PathToSaveAs])
NCPGetActiveFile
NCPSetActiveFile (filepath)
NCPFileClose ([PathToClose])
NCPGetTTGSetting strSetting
NCPSetTTGSetting strSetting, newvalue
NCPConvertText
NCPGetCursorPos
NCPSetCursorPos (newvalue)

Check the release notes and sample scripts for complete descriptions of the new scripting functions.

Enjoy!

Scott
Reply With Quote

  #2   Ban this user!
Old 03-12-2010, 07:09 AM
 
Join Date: May 2006
Location: USA
Posts: 6
InDaBarn is on a distinguished road
Default Script Folder

Scott,

I created separate script folders for each machine and made them the default within each machine configuration. When I copied the scripts to their respective folders everything was fine. The Scripts bar was populated correctly and executed correctly. When I deleted the scripts from the "\scripts" folder under the installed application folder the Scripts bar was still populated correctly but when try to execute them I get a "Path not found:" error pointing to the "\scripts" folder under the installed application folder.

Also I noticed on the "View" window there is no maximize button. I use two monitors and drag this window to it's own monitor then I stretch it manually. This is not a big problem since NCPlot remembers size and location of the window but would be nice.

Thanks, and keep up the great job.

InDaBarn
Reply With Quote

  #3  
Old 03-12-2010, 06:07 PM
MetLHead's Avatar
Gold Member
 
Join Date: Mar 2003
Location: USA
Posts: 740
MetLHead is on a distinguished road

InDaBarn,

Thanks for the report, I did manage to track down and fix the script folder problem.

I'm not sure if I can add a maximize button to the viewport window, but I'll check into it.

Thanks,
Scott
Reply With Quote

  #4   Ban this user!
Old 03-18-2010, 05:13 AM
 
Join Date: Dec 2004
Location: U.K.
Posts: 143
TURNER is on a distinguished road
Minor Bug ?

Hi Scott,
May have found a minor bug. Please follow these steps to replicate what is happening.
1) run ncplot
2) open a file
3) plot/ refresh plot
4)now on the tool list bar click on a tool
....the tool is highlighted in the text window
5)now click in the text window and try to move cursor using the arrow keys

Doesnt work , i tried clicking in plot window then back in text window to regain correct focus but did not work. Then i tried again and accidentally clicked on an element in the plot window , clicked in text window all ok got focus back arrow keys working . I then closed file and opened another repeated steps this time all works ok. So seams to only be happening first time around.
Thanks,
Keith.
Reply With Quote

  #5  
Old 03-18-2010, 07:39 PM
MetLHead's Avatar
Gold Member
 
Join Date: Mar 2003
Location: USA
Posts: 740
MetLHead is on a distinguished road

Keith,

I was able to duplicate this behavior here, but I'm still scratching my head over it... kinda strange.

Thanks,
Scott
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 03-21-2010, 09:19 AM
 
Join Date: Oct 2007
Location: usa
Posts: 48
patcareyis is on a distinguished road
sub call

Looks as thought M98 Handling / Ignore Sub If Not Found.
is not working. I worked around this by Default Search Path and creating a file with the sub name. The file is just M99 command this works to allow it to plot (the sub that it won't ignore is on/off sub )
Looks as thought it skips the first (on sub) and errors on the second (off sub)
this works to plot the file but if I open it through macro translate it removes the sub call needed to start/stop.
I was using ignore if not found and both plotting and opening through macro translator worked in NcPlot v2.20b6
Attached Files
File Type: zip sub call.zip‎ (397 Bytes, 73 views)
Reply With Quote

  #7  
Old 03-21-2010, 08:07 PM
MetLHead's Avatar
Gold Member
 
Join Date: Mar 2003
Location: USA
Posts: 740
MetLHead is on a distinguished road

Thanks, this is something that got broken after I added the "warn on sub not found" setting. I know what's causing it and it'll be fixed for the next beta.

Scott
Reply With Quote

  #8   Ban this user!
Old 03-22-2010, 06:51 AM
 
Join Date: Dec 2004
Location: U.K.
Posts: 143
TURNER is on a distinguished road
SCRIPT TIMEOUT?

Hello again Scott,
In the preferences dialog there is a setting for "script execution timeout(sec)".
Is this running in milliseconds and not seconds?. It just seems to fire warning msg awfully quick. Not a problem though, as if you ignore it the scripts still run until finished. Also found another on same area, if you delete the text for this preference using either delete or backspace key, ncplot throws a runtime error.
Cheers,
Keith.

Last edited by TURNER; 03-22-2010 at 07:01 AM. Reason: UPDATE
Reply With Quote

  #9   Ban this user!
Old 04-13-2010, 06:48 PM
 
Join Date: Oct 2007
Location: usa
Posts: 48
patcareyis is on a distinguished road
print error

when trying to print veiwport i'm getting
run-time error '380' invalid property value
this only happens if i use file\print veiwport\print or alt\f\v\p
if i click setup it works fine
Reply With Quote

  #10   Ban this user!
Old 04-27-2010, 09:59 AM
 
Join Date: Dec 2004
Location: U.K.
Posts: 143
TURNER is on a distinguished road
Config offsets

Hi Scott,
Hope you are well. May have found another little one.
...Set up-machine config-workoffsets cannot change values, when i click on a field it turns yellow, lets me type in value then if i use tab or arrow keys or enter i cant get out of the field unless i use the mouse. This then changes the value back to zero??????
Thanks Keith
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 06-01-2010, 09:19 PM
 
Join Date: Jul 2006
Location: USA
Posts: 45
mvcalypso is on a distinguished road

Hi Scott,
Is there an ET when 2.20 will move to non-beta status?

I have a hankering to see that start up warning dialog go away... <grin>

Dave
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NCPlot v2.05 beta 2 now available MetLHead NCPlot G-Code editor / backplotter 0 05-16-2008 10:00 PM
NCPlot v2 beta 16 now available MetLHead NCPlot G-Code editor / backplotter 0 11-15-2005 08:24 PM
NCPlot v2 beta 15 now available MetLHead NCPlot G-Code editor / backplotter 0 11-08-2005 08:11 PM
NCPlot v2 beta 14 now available MetLHead NCPlot G-Code editor / backplotter 0 10-25-2005 07:49 PM
NCPlot v2 beta 13 now available MetLHead NCPlot G-Code editor / backplotter 4 10-22-2005 12:05 PM




All times are GMT -5. The time now is 10:36 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361