• Login
sketchucation logo sketchucation
  • Login
๐Ÿค‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

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.
  • J Offline
    Jim
    last edited by 14 Dec 2014, 19:41

    @unknownuser said:

    the other thing I was wondering if arrow keys can be used to move the dc's 'attractor'

    You need a Tool to get the key-presses, then read-update-write the position values depending on which key was pressed, then redraw the DC.


    This file was made specifically for Jeff's DC Magnet Beer model.

    Hi

    1 Reply Last reply Reply Quote 0
    • D Offline
      driven
      last edited by 15 Dec 2014, 11:55

      cheers Jim,
      that works and is much cleaner than i was attempting...

      what other thing can we do with ruby to manipulate DC's?

      I'll see if I can turn this into a pick point version...

      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
      • S Offline
        sdmitch
        last edited by 15 Dec 2014, 15:09

        Hey, I want in on the fun too.

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

        http://sdmitch.blogspot.com/

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by 15 Dec 2014, 15:12

          @sam yours looks cooler than my effort...

          click anywhere to move 'magnet'...
          driven-dc-tool_v2_2.gif
          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
          • S Offline
            sdmitch
            last edited by 15 Dec 2014, 15:52

            @driven said:

            @sam yours looks cooler than my effort...

            [attachment=1:3ueqjjsy]<!-- ia1 -->driven-dc-tool_v2.rb<!-- ia1 -->[/attachment:3ueqjjsy]
            [attachment=0:3ueqjjsy]<!-- ia0 -->driven-dc-tool_v2_2.gif<!-- ia0 -->[/attachment:3ueqjjsy]
            john

            ๐Ÿ˜ฎ ๐Ÿ˜ณ ๐Ÿ˜†

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

            http://sdmitch.blogspot.com/

            1 Reply Last reply Reply Quote 0
            • D Offline
              driven
              last edited by 15 Dec 2014, 19:14

              with cursor...modified <a class=@Jeff's DC, @Jim's code..." title="modified @Jeff's DC, @Jim's code..." class=" img-fluid img-markdown" />

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

              1 Reply Last reply Reply Quote 0
              • G Offline
                gilles
                last edited by 15 Dec 2014, 19:25

                Next step is multi- attractors ๐Ÿ’š

                " c'est curieux chez les marins ce besoin de faire des phrases "

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jeff hammond
                  last edited by 15 Dec 2014, 20:02

                  @gilles said:

                  Next step is multi- attractors ๐Ÿ’š

                  heh.. yeah.. i thought about it but it would be really weird to do in DC..
                  that kind of math is probably possible in DC but once things start getting complex, it's either hard to keep track of or you end up with really long/weird formulas that are equally hard to keep track of ๐Ÿ˜‰

                  i guess first you'd have to apply a 'strength' to a single magnet (so far, these aren't really magnets.. the objects just all point at the 'magnet' but the attractor isn't actually pulling on them)

                  then make two of those magnets and let the strengths fight each other

                  dotdotdot

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Flippie123
                    last edited by 16 Dec 2014, 06:00

                    @jeff hammond said:

                    @gilles said:

                    Next step is multi- attractors ๐Ÿ’š
                    make two of those magnets and let the strengths fight each other

                    Yep like this image


                    Magnetic architecture.jpg

                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      Flippie123
                      last edited by 19 Dec 2014, 07:45

                      @jolran said:

                      Interesting!

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

                      I was able to make this urban plan combining Jeff's Beer tool ๐Ÿ‘ and this new Modelur Pre Beta, urban design plugin which in combination with a 'height-' 'and a build-up-area'-map really awesomefies Jeff's beer tool. ๐ŸŽ‰ ๐Ÿค“

                      Click on the image for a larger one!


                      Urban plan.JPG

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        jeff hammond
                        last edited by 20 Dec 2014, 02:32

                        nice Philip ๐Ÿ‘

                        dotdotdot

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

                        Advertisement