turn on/of image reference
All  1  2-9

Previous
Next
 From:  Andrei Samardac
6031.2 In reply to 6031.1 
Just found this,
HideBckgImg – hide all visible / show all invisible background images.
script:var images = moi.view.getBackgroundImages(); for ( var i = 0; i < images.length; ++i ) images.item(i).hidden = !images.item(i).hidden;

but if for example i have one image hiden, for example back of the car, I dont want to show it when I hide all images. Just will be good to have script that make transparency 0 or (100 or 80)
  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
6031.3 In reply to 6031.1 
Hi Andrei,

> Michael is it any script to turn on/of image reference?

There's one here: http://kyticka.webzdarma.cz/3d/moi/#HideBI

Also if you want a keyboard shortcut for toggling just one specific image on or off instead of toggling all, there's a script for that here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=2036.22

- 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:  Michael Gibson
6031.4 In reply to 6031.2 
Hi Andrei, if you want one that always turns all images off instead of toggling them, then you can change that script so it just sets hidden = true, like this:

script: /* Hide all background images */ var images = moi.view.getBackgroundImages(); for ( var i = 0; i < images.length; ++i ) images.item(i).hidden = true;

Let me know if that doesn't do what you want.

- 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:  Andrei Samardac
6031.5 In reply to 6031.4 
I mean this:
I have these images of the car: front, back, left, right, top. "Back" image is always hidden I only make it visible when I work with back of the car and hide "front". I can not make front and back both visible at the same time, because they messed up.
So having this situation I want to switch on /off images, but keep "back" image always hidden, That is why I assumed that changing transparency can work here.
  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:  Andrei Samardac
6031.6 In reply to 6031.5 
I solve this problem by select, show images for ortho only. It works good for me..
  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
6031.7 In reply to 6031.5 
Hi Andrei,

> I can not make front and back both visible at the same time, because they messed up.

Drag one of the images in the Top view so that there is a little bit of space between them rather than both of them occupying the exact same plane, that should then help them display better when they are both turned on, there won't be any "z fighting" if they are slightly separated from one another.

If you want to switch the background image transparency between 0 and 100% with a shortcut key this script will do that:

script: /* Toggle background image transparency between 0 and 100 */ moi.view.backgroundImageTransparency = (moi.view.backgroundImageTransparency == 0 ? 100 : 0);

- 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:  Andrei Samardac
6031.8 In reply to 6031.7 
Thank you for script)

I mean this:





As you can see it's hard to work when both visible)
Attachments:

  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
6031.9 In reply to 6031.8 
Hi Andrei, ok I understand now. Yes if you are using transparency you will see both of them so you'll want to turn one off in that case.

- 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  2-9