Script request
All  1-5  6-10

Previous
Next
 From:  shayno
11140.6 
Hi Michael

is there a chance my save.js can be changed to switch view to 3d view and save this view as the sceenshot please
Kind regards
shayne

current save.js
/// config: norepeat

moi.geometryDatabase.save();
script:var img = moi.view.screenshot( 'viewpanel', false ); var filename = moi.geometryDatabase.currentFileName; if ( filename != '' ) { img.save( filename.substring(0,filename.length-3) + 'jpg' ); }
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11140.7 In reply to 11140.6 
Hi shayne,

re:
> is there a chance my save.js can be changed to switch view to 3d view and save this view as the sceenshot please

The code for switching to the maximized 3D view is like this:

code:
moi.ui.mainWindow.viewpanel.mode = '3D';


So try putting that in before the moi.view.screenshot() call.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  shayno
11140.8 In reply to 11140.7 
Perfect thanks Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  shayno
11140.9 In reply to 11140.8 
Last one I promise for ver 3

script to hide all curves

cheers
shayne
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
11140.10 In reply to 11140.9 
Hi shayne,

re:
> script to hide all curves

Try the one from here:
http://kyticka.webzdarma.cz/3d/moi/#HideCurves

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-5  6-10