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

    (Required) Point inference On Edge when Using rotate tool

    Scheduled Pinned Locked Moved Developers' Forum
    9 Posts 5 Posters 1.3k Views 5 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.
    • D Offline
      Daniel S
      last edited by

      The On Edge or On line inference indicates a point that lies along an edge. The On Edge or On Line (on construction lines) inference (represented by a red square) is not working when you are using the rotate tool.
      I don“t know if this is a bug or if it“s done by design.

      But the On Edge inference point would be very useful when using the rotate tool.
      NoInferenceOnEdge1.gif
      Desired result:
      Inference should appear.jpg
      Another quick example:
      NoInferenceOnEdge2.gif
      Is possible to find this point with ruby?

      Daniel S

      1 Reply Last reply Reply Quote 0
      • GaieusG Offline
        Gaieus
        last edited by

        I second this, Daniel, but it's a feature (or the lack of), not a bug. Maybe it should rather go to the wish list subforum unless there is a genius around these scripters here who can provide a plugin workaround.

        Gai...

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          Unfortunately, you can not modify the behaviour of existing SU tools with Ruby. It'd require a complete re-inventing of the tool. And since it's also a request for modified inference - it'd also mean a complete re-invention of the inference system. By no mean a simple task.

          I do share the request for inferring to lines with the rotate tool though. But I think this is a job for the SU devs to improve the native tools.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

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

            I just repeated your illustrated 'problems' and found that the inference snap to either a line or cline works fine for me with Rotate ?
            Am I missing something ā“

            TIG

            1 Reply Last reply Reply Quote 0
            • EarthMoverE Offline
              EarthMover
              last edited by

              I tried the circle to the line and didn't get an inference either. Does seem odd this is not a standard feature.

              3D Artist at Clearstory 3D Imaging
              Guide Tool at Winning With Sketchup
              Content Creator at Skapeup

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

                BUT I get it to work every which way...
                What's going on ? ā“

                TIG

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

                  @tig said:

                  I just repeated your illustrated 'problems' and found that the inference snap to either a line or cline works fine for me with Rotate ?
                  Am I missing something ā“

                  Can you try the example I attach TIG?
                  In the file you will see two angulated elements coupled by their center pivot point. Try to put the outer pivots of the red angulated element in the red line like the .gif in the first post.
                  I can“t make it work.
                  inferenceonrotate.skp

                  Even if I make a circle with 1000 sides I can“t guarantee that The angulated element will be in the correct position.
                  singarantia.JPG

                  Another possible solution.. but don“t know if it possible with ruby is to add Constraints to the model.
                  Click in the image to see the animated .gif:
                  Constraint 3D.gif
                  This was done with sketchyphysics. The problem is precision because I need the center pivot point at specific distances.

                  Daniel S

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

                    Thank you TIG!!! Awesome solution!! šŸ˜ šŸ˜ šŸ˜
                    I thought that would be impossible to make with sketchup because we donĀ“t have true circles... but we have TrueTangents.rb!! šŸŽ‰

                    Thank you again TIG!!
                    Daniel S


                    solution video.zip

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

                      Daniel

                      I agree that a configuration as you provided won't inference snap though similar ones will !

                      There is a way to find the true intersection of the edge and the arc that would sweep through the rotated end hole's center itself centered on the middle hole...

                      Use my Tangent Tools script.
                      Draw a cline through the desired edge and two concentric arcs [same radius] centered on the middle hole passing through the end hole to be rotated.
                      Select the cline and both arcs.
                      Those arcs will be too segmented to give an accurate intersection with the cline BUT the Tangent Tool > True Intersections will place cpoints at the two possible intersections on the cline and two additional cline guides from the arcs' center to these cpoints. It will also beep and report an error in the Ruby Console since the arcs are concentric and can't intersect with themselves...
                      It's probably best to place the cline and two arcs into group of their own for easy erasure later...
                      Simply use one of the cpoints to rotate the shapes about its central hole's center and snap to...
                      This is convoluted BUT does give an accurate snap cpoint on the edge.inferenceonrotate.pnginferenceonrotate.skp

                      TIG

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

                      Advertisement