Render to Clipboard (Linework)
All  1  2-6

Previous
Next
 From:  Michael Gibson
5927.2 In reply to 5927.1 
Hi David,

> When producing assembly guides we use the (Shift+V) command to enable the
> outline mode and screen grab the elements we need.

By default there is nothing set to happen on Shift+V, have you added a custom shortcut key that does something with Shift+V ? If so can you please post the shortcut you're using so I know for sure what you are asking about?


> EDIT: To add to this, is there a way to prevent linework from showing through thin surfaces. See
> the attached file. The circular disc in the center should be clean white without underlying artwork.

Sorry no there's no way to adjust this - basically MoI is not currently designed to be producing full quality final renders, the display engine is only oriented towards a realtime display. If you're producing final quality print like output you really ought to be bringing your models into a different CAD or rendering program to produce those rather than just trying to use MoI's realtime display for that.

In the future I do want to work on a proper "final quality" hidden line removal curve generator tool. The current system is all focused on speed of display instead though.

- 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:  BurrMan
5927.3 In reply to 5927.1 
Here is a script that Ambimind made to help him get a line result. It works pretty good:

http://moi3d.com/forum/index.php?webtag=MOI&msg=1049.33

I think you can fool with the lineweight numbers to get different results.
  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:  D_Aitken92 (DAITKEN)
5927.4 
Sorry! Very stupid of me. I have been using MOI3d with a huge list of shortcuts given to me by work and forget that they don't come preset. Oops!

The script we use to create the outline view is,

moi.view.shadeMode = (moi.view.shadeMode == 'HiddenLineWireframe' ? 'Shaded' : 'HiddenLineWireframe');

However, using this script along side it would be very useful.

var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 0.5; moi.view.shadeMode = 'Shaded'; v.renderToClipboard(3000,2000 ); moi.view.lineWidth = 0.5; moi.view.shadeMode = 'Shaded'; }

At the moment if activated when the first script is running, it disables it and screenshots the shaded view again.

Many thanks for the quick response once again Michael.

Cheers,

David.
  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
5927.5 In reply to 5927.4 
Hi David, thanks for posting the scripts! So the problem is that particular screenshot script is specifically setting the shading mode to plain shaded. If that part is removed then it should function like you want. The parts that need to be removed are the pieces that say: moi.view.shadeMode = 'Shaded';

So you would want to have your screenshot script be like this instead:

script: /* Generate hi res screenshot to clipboard */ var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 0.5; v.renderToClipboard(3000,2000 ); moi.view.lineWidth = 0.5; }


If you use this version instead, I think it should behave how you want, please let me know if it still does not.

- 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
 From:  D_Aitken92 (DAITKEN)
5927.6 In reply to 5927.5 
Amazing!

Thank you very much!

David.
  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  2-6