MoI discussion forum
MoI discussion forum

Full Version: Save image from MOI

Show messages:  1-12  13-32  33-38

From: Ambimind
2 Jul 2011   [#33] In reply to [#32]
Fantastic, thank you!

For anyone else interested, here is the script that produces the type of rendering visible in the following image:

script:var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 3; moi.grid.display = false; moi.view.meshAngle = 5.0; moi.grid.showXYAxes = false; moi.view.showHiddenLines = false; moi.view.lightingStyle = 'CustomLevels'; moi.view.customKeyLightLevel = 100.0; moi.view.customFillLightLevel = 100.0; v.renderToClipboard(2048, 2048 ); moi.view.lineWidth = 1; moi.grid.display = true; moi.view.meshAngle = 10.0; moi.view.lightingStyle = 'Default'; moi.grid.showXYAxes = true; moi.view.showHiddenLines = true; }


BTW, I found that the default grey background works perfectly when using "Magic Wand" with a 1px tolerance - so as to mask the background(image below is .png so as to show this):


Image Attachments:
Boat.png 


From: BurrMan
3 Jul 2011   [#34] In reply to [#33]
Very nice Ambimind, Me likey!! Thanks for sharing it.
From: rosto
26 Jun 2022   [#35] In reply to [#20]
This is a wonderful thing - changing the line thickness!
Is there a solution to change the line tips to rounded like in Illustrator?
What would not appear gaps at the corners.

Image Attachments:
linetips.png 


From: Michael Gibson
26 Jun 2022   [#36] In reply to [#35]
Hi rosto,

re:
> Is there a solution to change the line tips to rounded like in Illustrator?

Not with this particular method since it's using the realtime viewport display engine which is heavily oriented for speed.

But you should get rounded line tips if you generate a drawing by exporting to PDF, AI, or SVG formats instead of using this screen display capture method.

- Michael
From: Rudl
26 Jun 2022   [#37]
This is a screenshot of a pyramid with a lot of stones. Can I avoid the interferences with a pdf and how are the settings.

Image Attachments:
1102.jpg 


From: Michael Gibson
26 Jun 2022   [#38] In reply to [#37]
Hi Rudl, I'm not sure if PDF export will have less of a Moiré pattern but it would be worth a try. Give it a try with default settings.

You may need to adjust the image in an image processing program to reduce that kind of pattern, search for something like "Moire pattern removal" to get some information on that.

- Michael

Show messages:  1-12  13-32  33-38