sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Always face center-line/ Magnetic tool

    Scheduled Pinned Locked Moved Plugins
    56 Posts 9 Posters 2.2k Views 9 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.
    • Flippie123F Offline
      Flippie123
      last edited by

      I agree, with the magnet there are 2 center-points that attract all the iron dust. All the edges are not all pointing towards the same spot, but every objects center-point is pointing towards the object next to it. Please look at attached image01 and image02 to explain in words...

      Image01: shows a Magnetic needle board with a standard magnet.

      Image02: shows a Magnetic needle board with a U-shaped magnet.

      **Image03:**shows the plotting lines of force using a magnetic compass.

      Image04: shows how it works in 3D.

      Image06: shows a single point

      Image07: shows a magnet surrounded by many compasses

      Image08: shows 2 magnets interacting

      I find it really hard to draw these kinds of pattern in Sketchup without a tool.


      Magnetic needle 01.jpg


      Magnetic needle 02.jpg


      Magnetic needle 03.jpg


      Magnetic needle 04.jpg


      Magnetic needle 06.jpg


      Magnetic needle 07.jpg


      Magnetic needle 08.jpg

      1 Reply Last reply Reply Quote 0
      • Flippie123F Offline
        Flippie123
        last edited by

        I also added some cool architecture pics ๐ŸŽ‰


        zaha01.jpg


        zaha02.jpg


        zaha03.jpg

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

          Interesting!

          I'm working on a parametric modeler that could hopefully(one day ๐Ÿ˜’ ) do this sort of things.

          I can say from my own test-experiences you would REALLY want some kind of real-time preview setting these things up. Having a 1-shot plugin doing this is akward.


          It does look more like distance based rotation/alignment on the first picture. Rather than some sort of magnetic 2 flow-direction.
          edit: Looking again it does look like all the cubes are pointing at the point regardless of distance

          The magnetic version is interesting though!

          But that would be a totally different and more complex algorithm based on curve fitting. More in the way Jeff demonstrates.

          Feel free to PM me ideas and suggestions. Looks like you have a few. ๐Ÿ˜„

          1 Reply Last reply Reply Quote 0
          • Flippie123F Offline
            Flippie123
            last edited by

            I did some experimenting with the pathcopy tool and some curved lines. I used 2 magnetic points here. But it will become really interesting if I can add 3,4 or 5 magnetic points.

            I'm just a user...not a developer, but I can assure everyone that we are using sketchup to make the most awesome architecture here in our office.


            capture01.JPG


            Capture02.JPG


            Capture03.JPG

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by

              Thinking out loud...
              It may be possible for a plugin to take advantage of work done for scientific illustration...
              Using a webdialog inside SU you would adjust the patterns...
              the generated data could be use a insertion points for proxy component...
              [web 100%,600:1ex6wll4]http://www.vizitsolutions.com/portfolio/efield/[/web:1ex6wll4]

              learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                You mean generating the data from Javascript ? I'd imagine that would be rather slow..

                My theory is to let HTML/Js do the Gui part and do the heavy calculations on Ruby and or C++ side..
                That's just my opinion, but I'll stick to it.

                I use d3.js as JS library and it's used quite often for scientific illustration.
                It has Voronoi, projections etc. But to slow to use with Sketchup.

                These kind of parametric geometries tend to get dense pretty quickly, so fast code is quite essential. But that library has some interesting code that's for sure.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  driven
                  last edited by

                  @jolran said:

                  You mean generating the data from Javascript ?...

                  use js as a visual menu, with some sliders...
                  then send the 'formula' to ruby or C to generate geometry positions...
                  i.e. the live interaction is in js, the 'result' is forwarded...
                  john

                  learn from the mistakes of others, you may not live long enough to make them all yourself...

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

                    @unknownuser said:

                    use js as a visual menu, with some sliders...

                    You mean like a node-editor ? ๐Ÿ˜„


                    slimenu.jpg

                    1 Reply Last reply Reply Quote 0
                    • BoxB Offline
                      Box
                      last edited by

                      On a side note, there is always Sketchy Physics for using Magnetism. But I can't imagine how that could be translated into fixed positions not to mention the time it takes to set things up. Perhaps the inner workings of SUPhy can lend something to another plugin.
                      But it's a magnetic thread so I had to do something.


                      Magnet.gif

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

                        Rotate by distance looks a bit funky. Maybe if used normalized values...

                        The vectors are all setup, so I guess one could easily go for an angular approach instead...


                        dist_rotate.gif

                        1 Reply Last reply Reply Quote 0
                        • jeff hammondJ Offline
                          jeff hammond
                          last edited by

                          @flippie123 said:

                          I did some experimenting with the pathcopy tool and some curved lines. I used 2 magnetic points here. But it will become really interesting if I can add 3,4 or 5 magnetic points.

                          I'm just a user...not a developer, but I can assure everyone that we are using sketchup to make the most awesome architecture here in our office.

                          don't you guys have a copy of rhino in your office?
                          i'm pretty sure zaha used paneling tools to create this.. possibly in conjunction with a custom script..
                          it's super powerful for various types of attractors etc..

                          example of distribution methods available for one of the PT commands.


                          @box said:

                          On a side note, there is always Sketchy Physics for using Magnetism.[...]
                          But it's a magnetic thread so I had to do something.

                          heh.. neat โ˜€

                          dotdotdot

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

                            Jeff hammond. Why do you often direct to Rhino as a solution to problems when modeling in Sketchup?

                            Don't you want Sketchup to evolve ?

                            1 Reply Last reply Reply Quote 0
                            • jeff hammondJ Offline
                              jeff hammond
                              last edited by

                              @jolran said:

                              Jeff hammond. Why do you often direct to Rhino as a solution to problems when modeling in Sketchup?

                              Don't you want Sketchup to evolve ?

                              well, when someone is trying to copy something, it seems the best way to do it would be to use the same tools that were used in the first place.

                              do i want sketchup to evolve? yes, of course.. i wanted it to evolve 10years ago.. then 4-5 years ago, i realized it wasn't going to evolve so there you have it..
                              sketchup is what it is 10 years ago and it will always be that way.. [edit]-- i mean, we stilldon't have arcs or circles in sketchup.. much less curves..

                              dotdotdot

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

                                Heh, well put. ๐Ÿ˜„

                                I'll accept your answer.

                                Although to give cred to the Guys at Trimble I do think they have made great changes recently that will permit further enhancements of Sketchup.

                                Regarding arcs and circles. They will come ๐Ÿ˜‰
                                Knotvector-based, nonuniformed rational ones...

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  driven
                                  last edited by

                                  @jolran said:

                                  Regarding arcs and circles. They will come ๐Ÿ˜‰ ...

                                  they are already there, SU just fails to use them with it's own tools...
                                  but exports them to AutoCad, go figure...

                                  john

                                  learn from the mistakes of others, you may not live long enough to make them all yourself...

                                  1 Reply Last reply Reply Quote 0
                                  • jeff hammondJ Offline
                                    jeff hammond
                                    last edited by

                                    @jolran said:

                                    Although to give cred to the Guys at Trimble I do think they have made great changes recently that will permit further enhancements of Sketchup.

                                    oh.. i'm not trying to rag on those guys or anything like that.. and really, it looks to me like the trimble acquisition is going to be good for sketchup.. 2013 was sort of a dud but once the team got situated in the company, things are looking to be picking up well.. 2014 and now 2015 are both good releases imo..

                                    my _____ are nothing to do with the developer's abilities etc.. it's more to do with their vision and how it relates to my desires.. they want something and i want something else.. nobody is to fault in a situation like that.. if sketchup was what i want it to be, lots of people would probably hate it and start seeking out solutions which are more sketchup like ๐Ÿ˜„

                                    but, when people start posting these designs they find on the web and saying 'how do you do this in sketchup?', often times, the answer is 'you don't'..

                                    ..in the same way if someone posted this model on a rhino forum asking "how do you do this in rhino?" ..the answer is "you don't.. try zbrush or smthng"

                                    Alice-Lowres.jpg


                                    anyway-- back to magnetics.. it seems a rigid point attractor would create a space more akin to washington d.c.

                                    L'Enfant_plan.jpg

                                    dotdotdot

                                    1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      driven
                                      last edited by

                                      @jolran said:

                                      ...The vectors are all setup, so I guess one could easily go for an angular approach instead...

                                      can't the vector be form child.bounding_box.centre to target.bounding_box.centre ?

                                      learn from the mistakes of others, you may not live long enough to make them all yourself...

                                      1 Reply Last reply Reply Quote 0
                                      • jeff hammondJ Offline
                                        jeff hammond
                                        last edited by

                                        @jolran said:

                                        EDIT: That Z_BRUSH model ๐Ÿ˜ฒ One of those belts of the model would kill Sketchup.

                                        ha, well, at least you could make a valiant effort of modeling that figure in sketchup.. you'll bump into polycount limitations but the geometry is still possible.. rhino could handle the geometry but it would be nearly impossible to do such fine detailing of organic surfaces like that with nurbs.

                                        zaha hadid's stuff could be considered 'organic' by many people but if you look at it differently, you'll usually see the pattern/logic/math emerge.. there are some hybrid sub-d/nurbs things happening nowadays but not much in core rhino in these regards.. maybe one day.

                                        it would be neat to see sketchup adopt some sort of psuedo-nurbs eventually ala bonzai3D (or now formโ€ขZ jr)

                                        dotdotdot

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

                                          Jeff I hear what you're saying and understand what you are getting at. The complexity you wish would probably scare away many newbies, yes.
                                          It's difficult to find a balance of power and simplicity.
                                          I think XSI foundation did it nicely, but alas...

                                          But we can drop the subject if you prefer..

                                          EDIT: That Z_BRUSH model ๐Ÿ˜ฒ One of those belts of the model would kill Sketchup.

                                          @unknownuser said:

                                          they are already there, SU just fails to use them with it's own tools...
                                          but exports them to AutoCad, go figure...

                                          What do you mean. Does Sketchup have some underlying code I never heard about ? ๐Ÿ˜ฎ

                                          @unknownuser said:

                                          can't the vector be form child.bounding_box.centre to target.bounding_box.centre ?

                                          I place the boxes on points from a grid. Those points can be reused for building the vectors to target. So it would probably be the same thing as you mean ?
                                          I suppose a "Align with vector" Node would be in order to transform locally in the vector direction.

                                          Anyway I try to keep a maximum of 50 nodes when developping, so I have to deal with this later. I just wanted to show that it could probably be done with point to target algorithm.

                                          However rereading the post more closely I don't think it's what the author wants. So back to Jeff and the magnetics ๐Ÿ˜„

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

                                            Right! (about the model)

                                            @unknownuser said:

                                            it would be neat to see sketchup adopt some sort of psuedo-nurbs eventually ala bonzai3D (or now formโ€ขZ jr)

                                            Pseudo-Nurbs ?! I forgot about Forms. Should have a peek and see what the pseudo is about.

                                            It's problematic with the tesselation as Quad type in Sketchup since we can only use planar faces. Also adding geometry is fastest with Polygonmesh class which also requires triangles.
                                            So I don't know..

                                            In my case I'm only subdividing the tesselation/triangulation.

                                            But I agree, NURBS built into the Sketchup core would be nice.

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

                                            Advertisement