Mirror Object on line

Next
 From:  edwinfuman
10956.1 
hey guys.

first of all hello to everybody! i started learning moi very recently and already love it-

doing a tutorial at the moment where an object is supposed to get mirrored but the guy in the end just selects the object he wants to copy and the edge on
the other side and with some magic hotkey combination its mirrored without the clicking part.

can some one tell me how this is done?

thanks and greetings!
  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:  Frenchy Pilou (PILOU)
10956.2 In reply to 10956.1 
Maybe you must send the address of video! ;)

In normal Mirror you have normally 2 points to Clicks for give the Axis of it! :)

Maybe a Script Mirror or a special command are existing
  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
10956.3 In reply to 10956.1 
Hi edwin, yes could you please post a link to the video? It's hard to know what is being used there just from a written description.

- 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:  edwinfuman
10956.4 In reply to 10956.3 
hey again.

sorry the order is wrong but below the picture is a short recording of the process. i don´t know if its easy to see though.

my question to the picture would be how i can toggle on/off this transperency(the dotted lines inside the mesh)
in moi i use

script: /* Toggle edge display */ var breps = moi.geometryDatabase.getObjects().getBReps(); var hide = true; for ( var i = 0; i < breps.length; ++i ) { var edges = breps.item(i).getEdges(); if ( i == 0 ) hide = !edges.item(0).hidden; edges.setProperty( 'hidden', hide ); }

to toggle lines but is there also a command for the transparency stuff?
greetings!










  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:  Frenchy Pilou (PILOU)
10956.5 In reply to 10956.4 
There is no real transparence inside Moi but try that ;) (by Max Smirnov)

Just select an object(s) and press the shortcut key!
You can do this on different objects!

Pressing the shortcut key again will make all objects reappear!

So always select an object before calling the shortcut, otherwise all objects will reappear!

script:/* Transparence */ var gd = moi.geometryDatabase; var so=gd.getSelectedObjects(); if (so.length>0) { so.setProperty( 'displayMode',1); so.setProperty( 'selected', 0); } else { gd.getObjects().setProperty( 'displayMode',0);

  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:  edwinfuman
10956.6 In reply to 10956.5 
ah okay thank you. so the view of my screenshot is the default stuff you cant change?
  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:  Frenchy Pilou (PILOU)
10956.7 In reply to 10956.6 
About transparency yes!

And what about the video mirrored object ?
  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:  edwinfuman
10956.8 In reply to 10956.7 
to me it looks like he selects the geo he wants to mirror on one side and clicks the edge on the other side and mirrors
it that way. but maybe i am seeing it wrong.
  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:  Frenchy Pilou (PILOU)
10956.9 In reply to 10956.8 
So one click?
But give us the video! :)
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  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
10956.10 In reply to 10956.4 
So in the snippet you show, it starts with en edge highlighted. “Meaningless”

Then the mirror command is launched and you see “2 pick points” which select the axis of mirror

Then he spins back and selects something on the original side (looks like the original highlighted edge) and then moves to the mirrored side and performs his intended actions.
  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
10956.11 In reply to 10956.4 
Hi edwin,

re:
> my question to the picture would be how i can toggle on/off this transperency(the dotted lines inside the mesh)

That can be turned on or off using View > "Display hidden lines" checkbox on the side pane:




To do it from a keyboard shortcut, put in this for the shortcut key command:

script: /* Toggle show hidden lines */ moi.view.showHiddenLines = !moi.view.showHiddenLines;

- 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:  edwinfuman
10956.12 In reply to 10956.11 
thanks guys for the answers!
  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