Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7060079
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:18:34+00:00 2026-05-28T04:18:34+00:00

How do you write a Maxscript that gets the three points needed to create

  • 0

How do you write a Maxscript that gets the three points needed to create a face?

So you have your object, say it has 100 faces. Then the script should tell me which points form each face.

Also I’d like to know the angle two adjacent faces have to each other.

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:18:35+00:00Added an answer on May 28, 2026 at 4:18 am

    These are really two separate questions, but here goes:

    This function will return an array consisting of a face index, and a point3 value depicting the indices of the vertices which create that face.

    fn GetAllFaceVertices meshObj = 
    (   
        for v = 1 to m.numVerts collect #(v, getFace v) 
    )
    

    This function will return an angle between two faces. It does so by getting the normal of each face and then return the arc cosine of the dot product of the two normals.

    fn GetFaceAngles meshObj faceA faceB =
    (
        local nA = getFaceNormal meshObj faceA
        local nB = getFaceNormal meshObj faceB
        acos (dot nA nB)
    )
    

    Note that both of these functions expect an editable mesh object. If you need to operate on an editable poly object, there are similar methods which use the polyop struct.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have converted the following applet tags to object tags so that it can
I have a powershell script that gives some status output via write-output . I
Write a class ListNode which has the following properties: int value; ListNode *next; Provide
Please write a list of tasks that a copy constructor and assignment operator need
I write a large static method that takes a generic as a parameter argument.
I have a simple Ruby script that looks like this require 'csv' while line
I have a service running that can invoke an external process to modify a
I have a script that links to the server I am hosting (IP can
I have a file called pids.txt that contains lines, such as the following: 123
I have a batch file that starts a PowerShell script. Batch file: START Powershell

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.