Show messages: All
1-6
7-9
From: bemfarmer
The angle between two planes is determined by the angle between the normals of the two planes.
https://www.cuemath.com/algebra/angle-between-two-planes/
https://byjus.com/maths/angle-between-two-planes/
I do not know which MoI commands would yield the surface normal of a plane.
Some clues here:
https://moi3d.com/forum/messages.php?webtag=MOI&msg=9581.321&highlight=yes
- Brian
From: Michael Gibson
Here's a script that can be pasted into a shortcut key, preselect 2 planar faces before running it. It will report the angle between the plane normals.
code:
script: var faces = moi.geometryDatabase.getSelectedObjects().getFaces();
if ( faces.length == 2 && faces.item(0).isPlanar && faces.item(1).isPlanar )
{
var A = faces.item(0);
var B = faces.item(1);
nA = A.planarFrame.zaxis;
nB = B.planarFrame.zaxis;
var dot = (nA.x * nB.x) + (nA.y * nB.y) + (nA.z * nB.z);
var angle_radians = Math.acos( dot );
var angle_degrees = angle_radians * 180.0 / Math.PI;
moi.ui.alert( moi.ui.formatNumber(angle_degrees) );
}
else
{
moi.ui.alert( 'error - 2 planes not selected' );
}
- Michael
From: Frenchy Pilou (PILOU)
Cool....
"Confirmation of my method "Line Line" :)
Plan A Plan B
Select All
Line Line from Plan A at the origine (2 Line Line)
A Triangle (with 2 rectangles 3 pts) "Line Line" to an axe
Rotation to Plane
You have the Angle!
Show messages: All
1-6
7-9