Layout module for creating documentation in MoI?
All  1-10  11-15

Previous
Next
 From:  bemfarmer
7712.11 In reply to 7712.10 
A little preliminary study resulted in an outline of a possible script.

- Brian

Outline for a script to be called LayoutView, November 8, 2015

Assuming the original is located flat in the front view.
Utilize code from ScriptArray, and possibly CenterAtOrigin, Randomize, PutOnGround, etc.
Making 10 copies of the object.

User dialog to select original.

User dialog to select the new location in front view of the layout,
by selecting where the new center point of the original is to be located.
Or its upper left corner? Or have a Checkbox to center at origin?

User has option to select x and y scaling numbers, for the spacing of the views.

var center = objects.getHighAccuracyBoundingBox().center;
center, along with x and y spacing values of the copies,
may be used to establish horizontal and vertical rotation axi.

...BoundingBox().xLength, ...BoundingBox().yLength, and ...BoundingBox().zLength
provide values which may be used to calculate the horizontal and vertical spacing of the various views.
If z value is much larger than x or y, spacing will need to be wide and tall.

Code for copying the original 9 times, and make the appropriate rotations.

...
  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:  Mik (MIKULAS)
7712.12 In reply to 7712.8 
Hi Chri,

I've needed same thing...

please see this thread http://moi3d.com/forum/index.php?webtag=MOI&msg=7607.1

maybe it helps you.

Mik
  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)
7712.13 

EDITED: 9 Nov 2015 by PILOU

  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:  christian (CHRI)
7712.14 In reply to 7712.12 
Hi Mik

Many thanks
Make2D is wonderfull ... and MOI incredible .

I often use MOi and always think that MOI is "THE soft to have" .

Many thanks to Mickael

Chri















  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:  christian (CHRI)
7712.15 
Hi

to create axonometrics views , you can do like this :

Chri






  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-10  11-15