Announcement

Collapse
No announcement yet.

"Get-in-Line!" for vertexes?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "Get-in-Line!" for vertexes?

    I'm looking for something similar to Get in Line! but for splines.
    Here, view these image. They illustrate, more or less, what I need.
    Basically I want to average/align all vertexes between a the start/end points and only along the Z axis. The X/Y coordinates mustn't change!
    Anyone aware of such plugin/script/method?

    Click image for larger version

Name:	left.jpg
Views:	1
Size:	64.3 KB
ID:	886609
    Click image for larger version

Name:	top.jpg
Views:	1
Size:	31.0 KB
ID:	886610
    This is a signature.

  • #2
    Well, if you make a tape helper between the start and end point, it'll orient the starting object to the red path you've got, you can then use the "pick" coordinate system and have the alignment of that helper as the orientation of your axis to scale all those points along.

    Comment


    • #3
      Originally posted by joconnell View Post
      Well, if you make a tape helper between the start and end point, it'll orient the starting object to the red path you've got, you can then use the "pick" coordinate system and have the alignment of that helper as the orientation of your axis to scale all those points along.
      Yeah that is one way but it requires to do one-by-one, and sometime I have hundreds of those... Its a very tedious task.
      This is a signature.

      Comment


      • #4
        Post this on the 3dsmax MCG Facebook group, it's definitely possible!
        Maxscript made easy....
        davewortley.wordpress.com
        Follow me here:
        facebook.com/MaxMadeEasy

        If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

        Comment


        • #5
          Originally posted by joconnell View Post
          Well, if you make a tape helper between the start and end point, it'll orient the starting object to the red path you've got, you can then use the "pick" coordinate system and have the alignment of that helper as the orientation of your axis to scale all those points along.
          That's a neat little trick.
          A.

          ---------------------
          www.digitaltwins.be

          Comment


          • #6
            I use helpers to fake a convenient axis pretty often, it's really handy for realigning pivots too where somethings gone a bit off axis.

            Comment


            • #7
              a little bit of a workaround,
              Extrude
              Convert to editable poly
              Average the verticies (edit geometry rollout, or scale or an other tool of your choice)
              Extract the line (edge mode, create shape from selection)
              Does all the verticies at one

              I need to try this helper trick now.
              Alain Blanchette
              www.pixistudio.com

              Comment


              • #8
                Found another fast way to do it..
                1. Draw the average line, extrude it and subdivide it to a comfortable minimum.
                2. Use this script to align selected vertexes.
                This is a signature.

                Comment


                • #9
                  https://www.facebook.com/groups/1611269852441897/

                  I posted it on here and Vu came up with something.....
                  Maxscript made easy....
                  davewortley.wordpress.com
                  Follow me here:
                  facebook.com/MaxMadeEasy

                  If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

                  Comment


                  • #10
                    Vu released his tool....

                    http://www.scriptspot.com/3ds-max/mcg/mcg-flatliner

                    Maxscript made easy....
                    davewortley.wordpress.com
                    Follow me here:
                    facebook.com/MaxMadeEasy

                    If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

                    Comment


                    • #11
                      Impressive implementation from Vu!
                      Stan

                      Comment


                      • #12
                        Originally posted by Dave_Wortley View Post
                        First of all this is great! Thank you very much for the effort.

                        But the main idea is to flatten this way a selected bunch of vertexes inside a huge spline.
                        I mean if you have a set of 100 vertexes that needs to be flatten in one way, then another set of other 120 vertexes inside the same spline that also have their own need of flattening.
                        For example, you select this way (each number represents a vertex):
                        1,2,3,4,5,6,7,8,9,10,11,12
                        So vertexes 1,2,3,10,11,12 remain untouched, vertexes 4 and 9 determines the min/max Z but remains in place, and only vertexes 5,6,7,8,9 are flattened.
                        This is a signature.

                        Comment


                        • #13
                          Originally posted by 3dcrgr View Post
                          First of all this is great! Thank you very much for the effort.

                          But the main idea is to flatten this way a selected bunch of vertexes inside a huge spline.
                          I mean if you have a set of 100 vertexes that needs to be flatten in one way, then another set of other 120 vertexes inside the same spline that also have their own need of flattening.
                          For example, you select this way (each number represents a vertex):
                          1,2,3,4,5,6,7,8,9,10,11,12
                          So vertexes 1,2,3,10,11,12 remain untouched, vertexes 4 and 9 determines the min/max Z but remains in place, and only vertexes 5,6,7,8,9 are flattened.
                          Chime in on that thread.... maybe there's another solution...
                          Maxscript made easy....
                          davewortley.wordpress.com
                          Follow me here:
                          facebook.com/MaxMadeEasy

                          If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

                          Comment


                          • #14
                            Originally posted by Dave_Wortley View Post
                            Chime in on that thread.... maybe there's another solution...
                            I found a possible solution and posted it in message #8.
                            But it takes much more time than Vu script though
                            This is a signature.

                            Comment


                            • #15
                              I'm sure he could have made it work on selection too.
                              Maxscript made easy....
                              davewortley.wordpress.com
                              Follow me here:
                              facebook.com/MaxMadeEasy

                              If you don't MaxScript, then have a look at my blog and learn how easy and powerful it can be.

                              Comment

                              Working...
                              X