sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [REQ] Component array formerly Triangular array

    Scheduled Pinned Locked Moved Plugins
    27 Posts 7 Posters 3.1k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      Justo
      last edited by

      Having a play with the first script (The Triangular array)
      Changing

      pt0.offset!(Y_AXIS,interval*0.866);#puts"next pt0=#{pt0}"
      

      to

      pt0.offset!(ya,interval*1);#puts"next pt0=#{pt0}"
      

      I end up with the below image
      Paving running bond/stretcher

      The axis is on the left bottom of the paver
      and the spacing is almost 0.492 (from memory) from the side on x and y axis, using a 1m square component.

      With the below if I centralise the axis it overlaps as shown below.
      How is the start point defined? (to have them start on the edge?)

      Also, if i was to have a 2m x 1m component, where do I change that?

      Paver with centralised axis

      Once again... Thanks

      Cheers
      Justin

      1 Reply Last reply Reply Quote 0
      • J Offline
        Justo
        last edited by

        Oops sorry guys

        Cheers
        Justin

        1 Reply Last reply Reply Quote 0
        • TIGT Offline
          TIG Moderator
          last edited by

          Thanks sdmitch
          can I suggest you also tweak
          @ent = mod.entities
          to
          @ent = mod.active_entities
          so the user can place things inside groups while editing them - at the moment everything goes into the model even if you run the tool inside an edit context!
          I also reiterate Chris's request to start a new thread so the plugin is 'managed' better...

          TIG

          1 Reply Last reply Reply Quote 0
          • jolranJ Offline
            jolran
            last edited by

            Way to go Sdmitch. Nice update πŸ‘

            There is only one issue as I see it(look pic). But then again fixing this could be going into the domain of one of Chris Fullmer tools. And if we are gonna follow point 1) http://forums.sketchucation.com/viewtopic.php?f=180&t=12423 then you might already have what is needed in your plugin..

            Congrats!


            smidth plugin.jpg

            1 Reply Last reply Reply Quote 0
            • sdmitchS Offline
              sdmitch
              last edited by

              Justin, If you have a 1m X 2m component then,pt0.offset!(xa,interval) and pt0.offset!(ya,interval*2) or add a seperate input for the Y interval.

              Jolran, I assume you want the option to place the components perpendicular to the face?

              TIG, done.

              Chris, will do.

              Nothing is worthless, it can always be used as a bad example.

              http://sdmitch.blogspot.com/

              1 Reply Last reply Reply Quote 0
              • sdmitchS Offline
                sdmitch
                last edited by

                justo, try this plugin, I think it will do what you want.

                Plugin can be found at
                http://forums.sketchucation.com/viewtopic.php?f=323&t=40244


                results tor Triangular Array.rb

                Nothing is worthless, it can always be used as a bad example.

                http://sdmitch.blogspot.com/

                1 Reply Last reply Reply Quote 0
                • sdmitchS Offline
                  sdmitch
                  last edited by

                  @justo said:

                  :sketchstatic:

                  Would I be painful if I was to ask if the angle could be selectable so it could be set for 45deg and 0 deg, just so all the arrays are in one spot? (Im looking at the script and dont understand any of it to try to do it myself)

                  Thanks everyone for your input!

                  Added angle input and 3d capability so face can be tilted.

                  @unknownuser said:

                  so all the arrays are in one spot?
                  Not sure what you mean.

                  Plugin can be found at
                  http://forums.sketchucation.com/viewtopic.php?f=323&t=40244

                  Nothing is worthless, it can always be used as a bad example.

                  http://sdmitch.blogspot.com/

                  1 Reply Last reply Reply Quote 0
                  • sdmitchS Offline
                    sdmitch
                    last edited by

                    @unknownuser said:

                    One plugin to rule them all.
                    'Array plugin' which has the Triangular, Rectangular, and Rectangular on 45deg (or defineable angle) arrays.
                    Possible?

                    Sure.

                    http://forums.sketchucation.com/viewtopic.php?f=323&t=40244

                    Nothing is worthless, it can always be used as a bad example.

                    http://sdmitch.blogspot.com/

                    1 Reply Last reply Reply Quote 0
                    • jolranJ Offline
                      jolran
                      last edited by

                      Well yeah.! But Chris F's Components onto Faces already does that function, so...

                      Obviously you are a very talented programmer, so in my opinion it's a little waste for you to do something does already exist. Or might exist in next versions of thoose plugins.

                      1 Reply Last reply Reply Quote 0
                      • sdmitchS Offline
                        sdmitch
                        last edited by

                        Well I don't know all that exists. I simply see a request and try to offer a solution. If Chris has a plugin that does this then it is no doubt better than mine I would suggest you use it.

                        Nothing is worthless, it can always be used as a bad example.

                        http://sdmitch.blogspot.com/

                        1 Reply Last reply Reply Quote 0
                        • jolranJ Offline
                          jolran
                          last edited by

                          @unknownuser said:

                          Well I don't know all that exists

                          No, you are right. That did not exist exactley.

                          What I ment was you did not go to that trouble for my sake. Now that you have. I'm greatful πŸ˜„ .

                          Thanks.

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            Justo
                            last edited by

                            Adam ended up doing a 0.5 instead of 2... i think thats what you meant? or did i get my x/y's the wrong way... πŸ˜‰

                            pt0.offset!(ya,interval*0.5)
                            

                            either got it
                            I'll post further questions to the plugin page πŸ˜’

                            Cheers
                            Justin

                            1 Reply Last reply Reply Quote 0
                            • 1
                            • 2
                            • 2 / 2
                            • First post
                              Last post
                            Buy SketchPlus
                            Buy SUbD
                            Buy WrapR
                            Buy eBook
                            Buy Modelur
                            Buy Vertex Tools
                            Buy SketchCuisine
                            Buy FormFonts

                            Advertisement