Announcement

Collapse
No announcement yet.

Scatter objects in grid/other arrangement.

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

  • Scatter objects in grid/other arrangement.

    Heya

    I want to scatter 100 objects(Groups) in a perfect grid box(or custom pattern). Is there an easy way to do it in max?

    I dont want any sctter programs like multiscatter etc etc. I need to export it afterwards.

    Regards

    Dariusz
    CGI - Freelancer - Available for work

    www.dariuszmakowski.com - come and look

  • #2
    The Array tool doesn't suit your needs?
    - Geoff

    Comment


    • #3
      I dont want to copy them. I want to grid/displace objects in a grid pattern. So they next to each other not on top of each other. So I have 10 rows with 10 objects each or something like that.
      CGI - Freelancer - Available for work

      www.dariuszmakowski.com - come and look

      Comment


      • #4
        Originally posted by Dariusz Makowski (Dadal) View Post
        So they next to each other not on top of each other. So I have 10 rows with 10 objects each or something like that.
        That sounds exactly like what the array tool does...
        maybe rail clone? that has some fun array options.

        Comment


        • #5
          So you're saying that the objects are not copies of the same thing, you just want to space them. Sounds like this script could help: http://www.scriptspot.com/3ds-max/sc...ine-may-9-2011
          - Geoff

          Comment


          • #6
            Originally posted by YoyoBoy View Post
            So you're saying that the objects are not copies of the same thing, you just want to space them. Sounds like this script could help: http://www.scriptspot.com/3ds-max/sc...ine-may-9-2011
            This was exactly what I wanted BUT It breaks my groups. I have my objects in groups I just want groups to get distributed - any hints?
            CGI - Freelancer - Available for work

            www.dariuszmakowski.com - come and look

            Comment


            • #7
              Instead of putting them in groups, link the objects to point helpers, then align those.
              - Geoff

              Comment


              • #8
                Originally posted by YoyoBoy View Post
                Instead of putting them in groups, link the objects to point helpers, then align those.
                Its a lot of linking.... If thats the only way I'll start doing it now but if there is any other let me know please.

                I've basically scripted a basic action that import 100 scenes in yo my max scene and then put it in to group. This way I saved lots of time. Maybe I can script somehow to put locator there but I think thats out of my current knowledge.

                Here is the script:

                Code:
                (
                 (
                    local dir = getSavePath "Pick a folder with .max files to convert to .fbx" initialDir:(getDir #scene)
                    undefined
                    if (dir != undefined) do (
                        local files = getFiles (dir + "\*.max")
                        if (files.count > 0) do (
                            if (queryBox ("About to convert " + files.count as string + " .max files to .fbx.rnrnContinue?") title:"Continue conversion?") do (
                                for f in files do (
                                    if (keyboard.escPressed) do (a
                                        if (queryBox "Abort processing?") do ( exit )
                                    )
                                    loadMaxFile f useFileUnits:true quiet:true
                                   max select all
                				   max group group #noprompt
                				   max hide selection
                					
                                )
                            )
                        )
                    )
                )
                
                )

                I need to move to 2015 and script it myself in python wrrr.

                Regards

                Dariusz
                Last edited by Dariusz Makowski (Dadal); 09-12-2014, 04:51 PM.
                CGI - Freelancer - Available for work

                www.dariuszmakowski.com - come and look

                Comment


                • #9
                  If you have the Soulburn scripts, he's got one called "groupWithPoint" that does what you need.
                  - Geoff

                  Comment


                  • #10
                    Uuu that might just do it. Let me see if I can implement it in the little hack I posted above.

                    Thanks!

                    Ok I failed :- )
                    Last edited by Dariusz Makowski (Dadal); 09-12-2014, 05:04 PM.
                    CGI - Freelancer - Available for work

                    www.dariuszmakowski.com - come and look

                    Comment


                    • #11
                      can you do with soulburn scripts?

                      create an array of points.

                      then use object replacer to put a group at each point.

                      Comment


                      • #12
                        Heya

                        I give up on it for now. I'll come back to the topic when I have some spare time. Ideally I wanted to run the script and automatically merge 100 objects in to 1 scene + point group them as soulburn but the script appears too difficult for me to merge with the one I have posted early. :- )
                        CGI - Freelancer - Available for work

                        www.dariuszmakowski.com - come and look

                        Comment

                        Working...
                        X