Lots of unkown
 1-10  …  31-50  51-70  71-90  91-110  111-130  …  371-372

Previous
Next
 From:  Cemortan_Tudor
8665.71 
using script to preview export wireframe
if u wanna u can modify path and it will export at that location, first time to work will need to override that file(fbx folder doest exist by default app)
change 'NoUI' to true will export without options

script: /* export fbx preview*/ var fbx_path = moi.filesystem.getAppDataDir() + '\\fbx\\preview.fbx';moi.geometryDatabase.fileExport(fbx_path, 'NoUI=False');

EDITED: 7 Jun 2020 by CEMORTAN_TUDOR

  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:  Cemortan_Tudor
8665.72 
Thanks Michael
here's the script
PlanarSrf
* added functionality to join 2 or more selected edges
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
Next
 From:  Michael Gibson
8665.73 In reply to 8665.72 
Hi Cemortan_Tudor, does the attached version do what you were wanting?

This one will only work with MoI v4, some scripting things are simplified in MoI v4 like it doesn't require object inputs to async factories to be added to the geometry database.

- Michael
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
Next
 From:  Cemortan_Tudor
8665.74 In reply to 8665.73 
yes, thats what i've wanted
u've reworked after all )))
I haven't read v4 script changelog
one future that i wanna add is to deselect edges and add factory to selection since most likely will be a join or union after that,
found only SelectLastCommandCreated from http://kyticka.webzdarma.cz/3d/moi/ and it works after end of the script
inside script with getCreatedObjects() will try to make planar from current selection -> error.
So it's good as it is !
thanks !
  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:  Cemortan_Tudor
8665.75 
mirror Y
selected objects will mirror only one direction on Y axis and will be renamed with mirrorY,
on next pushed button all mirror will be deleted and replaced with new one (getBoundingBox check)
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
Next
 From:  Cemortan_Tudor
8665.76 
addded 'R' hotkey for round corners
Rectangle
Rect3pts
RectCenter

I'd wish to combine all 3 together under one runtime fuction with option to change to another one, later mb will do
also wanna ask if is any rect3pts with a center point , mirror being the first point, on axis of second

  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
8665.77 In reply to 8665.76 
Hi Cemortan_Tudor,

re:
> <...> any rect3pts with a center point , mirror being the first point, on axis of second

Sorry I'm not understanding this part, can you make a sketch to illustrate it?

- 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:  Frenchy Pilou (PILOU)
8665.78 
@ Cemortan_Tudor
Have you somewhere a place where we can find all your new functions ?
  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:  Cemortan_Tudor
8665.79 
selection 1, 2 ,3
red square should be as mirror, final result should be 2, 3 and right bottom corner of red square
could be written, i'm asking if smt like this was done before

EDITED: 8 Jun 2020 by CEMORTAN_TUDOR

Image Attachments:
Size: 18.9 KB, Downloaded: 77 times, Dimensions: 482x719px
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 8665.80 deleted 8 Jun 2020 by CEMORTAN_TUDOR

Previous
Next
 From:  Michael Gibson
8665.81 In reply to 8665.79 
Hi Cemortan_Tudor, sorry the part I don't understand is if you want to make a mirror of an existing rectangle why not use the Transform > Mirror command (or Transform > Copy) to do it rather than rectangle 3 pts?

However if you do want to use a 3 point rectangle for that you can use Construction lines to do point mirroring. When you place a construction line the mirrored end is available as a snap point. Here's an example:



- 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:  Cemortan_Tudor
8665.82 
Thats the desired action, result
i'm doing now in 2 ways. except manual
1. make a rectangle, mirror, adjust, union
2. make a rectangle with center, move, adjust points
Image Attachments:
Size: 32.5 KB, Downloaded: 80 times, Dimensions: 1143x700px
  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
8665.83 In reply to 8665.82 
Hi Cemortan_Tudor, I'm not sure if I understand correctly but if you want to make a rectangle with 3 points but with the first point being at the midpoint of the rectangle's edge you can do that now by placing one construction line at the start to get the snap points you need. When you create a construction line the mirrored point is available as a snap point to enable things like this:



- 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:  Cemortan_Tudor
8665.84 In reply to 8665.83 
by u'r method, selection i've done to show proportions
they are not equal
Image Attachments:
Size: 64.8 KB, Downloaded: 65 times, Dimensions: 1068x819px
  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
8665.85 In reply to 8665.84 
Hi Cemortan_Tudor, I think you're maybe not targeting the point that you need?

If you start a construction line here:


And end it here:


Then you will have 4 "end" snap points available. Those 2 above where and an additional one here:


And another one here:


For what you want, you want to target these 2:


You do not want to target these 2:


There will also be a "Mid" snap available here, you don't want this one either for this particular use.


- 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
8665.86 In reply to 8665.84 
Another demo:



- 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:  Cemortan_Tudor
8665.87 
thanks, my fault, it makes a point snap upon releasing construction lines, it's not interactive
i'll build a tool for myself
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 8665.88 deleted 9 Jun 2020 by CEMORTAN_TUDOR

Previous
Next
 From:  Cemortan_Tudor
8665.89 
move with hotkeys restrictions, similar to blender
move +x/y/z
wanna add one more future for softimage users )) middle click -> move with restrictions to closest bbox axis location
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
Next
 From:  Frenchy Pilou (PILOU)
8665.90 
It's not dangerous to name your function with the same native one ?
---
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
 

Reply to All Reply to All

 

 
Show messages:  1-10  11-30  31-50  51-70  71-90  91-110  111-130  131-150  …  371-372