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

    [REQ] Disable Inferencing.

    Scheduled Pinned Locked Moved Plugins
    11 Posts 5 Posters 1.2k 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.
    • thomthomT Offline
      thomthom
      last edited by

      No API to disable it.

      ...but I wonder if custom tools have to implement inference,.. (?) So maybe a new line tool which doesn't call up the inference..?

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

      1 Reply Last reply Reply Quote 0
      • free agentF Offline
        free agent
        last edited by

        good idea thom, anyone want to write a line tool with no inferencing?

        http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

        1 Reply Last reply Reply Quote 0
        • PixeroP Offline
          Pixero
          last edited by

          I would be interested in this also.
          And a move tool that doesnt "jump" to snapping points when there's lots of stuff close together in the scene.
          Hey, why not duplicate all the tools without inference. Or maybe some way of setting scale sensitivity for inference. Meaning that at certain distances it wont inference.

          1 Reply Last reply Reply Quote 0
          • free agentF Offline
            free agent
            last edited by

            amen +1

            http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              I think a line tool that did not turn on inferences could work. It would not speed up SU, but it would disable the annoying snaps. It shouldn't be too hard <famous last words> to write a script like this.

              Chris

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

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

                @chris fullmer said:

                I think a line tool that did not turn on inferences could work. It would not speed up SU, but it would disable the annoying snaps. It shouldn't be too hard <famous last words> to write a script like this.

                Chris

                The thing what I allways wanted with SU's inference. Is options, like in any other modelling tool, to pick the type of inference the tools uses. Like End Points, Mid Points, Centre etc. Do you know if that can be chosen when implementing inference to custom tools? Or is it all or nothing?

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

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  I think with inferencing it is all or none. There are two classes for interacting with the model. InputPoint and PickHelper. Inputpoint works with the inferencing system - like the line tool. Pickhelper works without it - like the select tool, or the selection half of push/pull. There is no inferencing there. I suppose you could implement your own basic inferencing of vertex, edge, and onface. And others too I'm sure. I don't know how in-depth you could go with it. Perhaps pretty detailed with midpoint and intersections. I think all of this would get implemented in the Draw method of the tool. So if you've implmeneted your own system, you should be able to disable it as desired. But again, I don't think any of this makes SU faster, as internal inferencing is still on, just not active. But it might be easier to draw lines close together on a flat plane.

                  Chris

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

                  1 Reply Last reply Reply Quote 0
                  • E Offline
                    Ecuadorian
                    last edited by

                    For those cases, I just use Fredo's Tools On Surface. It sticks to the surface (no blue axis problem), and its inferencing is less "snappy" than native SU line tool.

                    -Miguel Lescano
                    Subscribe to my house plans YouTube channel! (30K+ subs)

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      Here's a proof of concept script. Its not very useful in some ways, but it does the job and proves it works. Just put in plugins folder like regular. It will install itself to Plugins>Chris Fullmer Tools>Line without Inference TEST. Its just a test, you probably will not want to leave it installed (though it does work and its pretty stable I think). But it just draws lines. Click once to set the first point, and again to start making lines. It does not close faces or connect line endpoints (but I think its possible to ad those functions to a script like thise). So if you are drawing and want to close your shape, its best to leave the last segment undone and then add it with the regular line tool and it should then close it for you. It runs into problems closing the face though if there has been overlapping. Probably would need Todd's Make Faces script to help out there.

                      Anyhow, it does work and I thin its possible to add some basic inferencing for endpoints or edges or something. I don't know how to go about making it recognize that a face should be made.

                      Chris

                      NOTE: I just added a new version of this plugin that uses a red rubberband line while you are drawing. Its a little bit more helpful.


                      clf_line_no_inference_test.rb

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

                      1 Reply Last reply Reply Quote 0
                      • free agentF Offline
                        free agent
                        last edited by

                        thanx chriss that works fine 😄 does still need that close face option, and i noticed some slight snapping if u click near a vertice or line, but its awsome thanx. i like the red line also

                        http:i167.photobucket.comalbumsu143FreeAgent84bug.gif

                        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