3-Point-Align Script
All  1-3  4-11

Previous
Next
 From:  Michael Gibson
8945.4 In reply to 8945.1 
Hi Ray, you can do a 3 point align with the Transform > Orient command, the first point is done by the origin placement and the 2nd and 3rd points are done by clicking and dragging on the x or y axis lines and releasing them on your target points.

If you can post the 3DM model file that you show in your screenshot I can make a demo for you of how that works.

- 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:  RayCAD1962 (RAYCAD003)
8945.5 In reply to 8945.4 
Hi Michael,

Thanks for your help that you always gave us. I am sending you the file of 3D ball and I like to show me how please.

I am so pleased with the 3D Moi Beta v4 of May. I feel the changes and the environment of it and more easy to manipulate the commands but sometimes still need help to understand.

Thanks again for your help

Ray
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
8945.6 In reply to 8945.5 
Hi Ray, it looks like the black piece is of a slightly different size than the spot you're trying to put it so it's not going to be an exact fit there.

I used this script to get the length of a selected edge:
script:moi.ui.alert( moi.geometryDatabase.getSelectedObjects().getCurves()[0].getLength() );





I thinking building a more complete wire framework like Stefan was showing above is probably better.

But anyway the way you can do a 3 point align currently works like this - you select the object that you're moving then run Transform > Orient. Place the origin point of the orientation picker onto your first known point.

Now comes the part that's a bit tricky - the way the orientation picker works is that one of the 3 axes has a dot over it, that one is the "primary axis" and if you drag it, it can be freely moved to point in any direction. The other 2 axes are restricted when you drag them to only pivot around the primary axis. You can set the primary axis by clicking on one of the axis lines without dragging it.

So the next step is to place the x axis pointing at your second point. Click on it once to set it as the primary axis and then drag on it and release over your 2nd point.

Then drag the y axis and release it over your 3rd point.

I'll try to make a video of this for you in a bit.

Since it's a little complicated I've been meaning to make a "3 points" option in the orientation picker as well.

- 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
8945.7 In reply to 8945.5 
Hi Ray - so here's the way to do a 3 point align.

1 - Place origin point at your first reference point.

2 - Click (click and release the mouse, not drag) on the orientation picker's x axis line. It is now the primary axis which can be oriented in any direction.

3 - Drag on the x axis line and release it on your second reference point.

4 - Drag on the y axis line and release it on your third reference point.



- 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:  RayCAD1962 (RAYCAD003)
8945.8 In reply to 8945.7 
Hi Michael,

I follow your instructions video and I made the 3D Ball with your help. I am so happy that I made it. I just take 5 minutes to do it.

Yes, the first file that I sent you was mislead measures but I correct them. The one that I send you is correct and good measures.

Thank you for your help and support.

regards,

Ray
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
8945.9 In reply to 8945.8 
You're welcome Ray, I'm glad that worked for you!

- 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:  大道刀 (SUIYAN)
8945.10 
https://www.bilibili.com/video/BV1Yp421U762/?spm_id_from=333.999.0.0
https://www.bilibili.com/video/BV1Zq4y197ii?p=7&vd_source=913e265b028433d7f4030496da189d83
我做的,关于标准足球建模并上色的最快方法。moi3d的问题是被轮廓边缘穿过的面实际会被分割(rhino也有这个问题),导致这些面不能倒角(fillet)成功。因此应该采用圆形阵列来做。(第二个视频展示了如何通过旋转避开球的轮廓边缘)

EDITED: 17 May 2024 by SUIYAN

Image Attachments:
Size: 102 KB, Downloaded: 22 times, Dimensions: 846x576px
Size: 130.3 KB, Downloaded: 32 times, Dimensions: 522x524px
Size: 200.1 KB, Downloaded: 20 times, Dimensions: 601x609px
Size: 179.9 KB, Downloaded: 27 times, Dimensions: 1026x811px
  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:  pafurijaz
8945.11 In reply to 8945.10 
This must be a coincidence in time, I did the same thing but without using the script but construction lines this morning.
but the script is useful
soccer_ball</mg>
  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-3  4-11