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

[Plugin] Point v1.2

Scheduled Pinned Locked Moved Plugins
42 Posts 25 Posters 78.2k Views
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.
  • M Offline
    Matt666
    last edited by 17 May 2009, 19:45

    Thank you!
    agrazdi, I will see what I can do!

    Frenglish at its best !
    My scripts

    1 Reply Last reply Reply Quote 0
    • S Offline
      simon le bon
      last edited by 14 Sept 2009, 21:45

      Hi NewOne,
      Your icons are NumberOne πŸ˜‰
      But when i try to use them (32x32), their quality isn't at the "rendez-vous" . Why? I can't say.

      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/Matt_Point.jpg

      simon

      1 Reply Last reply Reply Quote 0
      • N Offline
        NewOne
        last edited by 14 Sept 2009, 21:52

        @simon le bon said:

        Hi NewOne,
        Your icons are NumberOne πŸ˜‰
        But when i try to use them (32x32), their quality isn't at the "rendez-vous" . Why? I can't say.
        simon

        Well... This is what I do now: try to figure out why on image viewer and on forum page the icon looks nice, but in Sketchup is a little messed up.
        QUESTION: how many colors does sketchup accept for icons? true color, 256, or less? 😳

        1 Reply Last reply Reply Quote 0
        • J Offline
          Jim
          last edited by 14 Sept 2009, 22:25

          Sketchup Toolbar icons are 24x24, or 16x16 for the small icons. Tool cursors are 32x32.

          Hi

          1 Reply Last reply Reply Quote 0
          • N Offline
            NewOne
            last edited by 14 Sept 2009, 22:47

            @jim said:

            Sketchup Toolbar icons are 24x24, or 16x16 for the small icons. Tool cursors are 32x32.

            THANK YOU !!
            I tested with 24x24 and it looks wonderfull.

            1 Reply Last reply Reply Quote 0
            • N Offline
              NewOne
              last edited by 15 Sept 2009, 00:08

              --EDITED POST-- changed the files, and added code suggestion.

              Alternate icons for PointTool
              Matt666, if you like this icons, please edit your script to use 24x24px and 16x16px icons.

              The changes I made to your script to accept those icons and cursor icon are:

              
              cmd.large_icon = File.join(p, "PointTool", "PointTool24x24.png")
              cmd.small_icon = File.join(p, "PointTool", "PointTool16x16.png")
              
              

              and

              
              def initialize
              #...your previous code
              p=Sketchup.find_support_file("Plugins")
              pointTool_cursor_path = File.join(p,  "PointTool", "PointTool cursor.png")
              @@pointTool_cursor = UI;;create_cursor(pointTool_cursor_path, 3, 30)
              end
              
              def onSetCursor
              UI;;set_cursor(@@pointTool_cursor)
              end
              
              

              I am not sure if this is entirely correct, but it works for me.
              If you decide to change the icons, pay attention on hotspot coordinates of the cursor πŸ˜‰
              Suggestion: add getExtents method to avoid disappearance of the OpenGL line.

              
              def getExtents
              bbox = Geom;;BoundingBox.new
              	bbox.add @ip1.position
              	if (@state == 0)
              		bbox.add @ip.position if (@ip.valid? && @ip.display?)
              	elsif
              		bbox.add @ip2.position
              	end
              	bbox
              end
              
              

              P.S. I like your script very much, it ease my work a lot! It's a simple, but strong idea!


              contains 16x16, 24x24 and 32x32 PNG


              visual example

              1 Reply Last reply Reply Quote 0
              • N Offline
                NewOne
                last edited by 15 Sept 2009, 21:43

                The Blue Icon, because Simon Le Bon loved it...PointTool-blue.png
                for making the script to show cursor, see this post: http://forums.sketchucation.com/viewtopic.php?f=180&t=13077&st=0&sk=t&sd=a&start=15#p184325


                contains icons (24x24, 16x16) and cursor (32x32)

                1 Reply Last reply Reply Quote 0
                • S Offline
                  simon le bon
                  last edited by 15 Sept 2009, 22:21

                  Hi NewOne,
                  Thank for it (the blue pen) . Now adopted πŸ‘ πŸ˜‰
                  simon

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    watkins
                    last edited by 19 Sept 2009, 17:40

                    Dear Matt,

                    I have downloaded your version 1.2, but cannot work out how to draw a single point other than hitting the Esc key. What should I do?

                    Kind regards,
                    Bob

                    1 Reply Last reply Reply Quote 0
                    • utilerU Offline
                      utiler
                      last edited by 9 Nov 2009, 01:31

                      @simon le bon said:

                      Hi NewOne,
                      Your icons are NumberOne πŸ˜‰
                      But when i try to use them (32x32), their quality isn't at the "rendez-vous" . Why? I can't say.

                      http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/Matt_Point.jpg

                      simon

                      I think JClements made the Construction line tool Icon. Would be good to see a similar icon for the point tool also.

                      Both point and Construction line tool I use all the time, thanks heaps guys!!!!!

                      purpose/expression/purpose/....

                      1 Reply Last reply Reply Quote 0
                      • JClementsJ Offline
                        JClements
                        last edited by 11 Nov 2009, 01:22

                        Try one of these.
                        16x16

                        John | Illustrator | Beaverton, Oregon

                        1 Reply Last reply Reply Quote 0
                        • JClementsJ Offline
                          JClements
                          last edited by 11 Nov 2009, 01:23

                          Or this one.24x24

                          John | Illustrator | Beaverton, Oregon

                          1 Reply Last reply Reply Quote 0
                          • JClementsJ Offline
                            JClements
                            last edited by 11 Nov 2009, 01:25

                            Or this one πŸ˜„PointTool 32x32.png

                            John | Illustrator | Beaverton, Oregon

                            1 Reply Last reply Reply Quote 0
                            • JClementsJ Offline
                              JClements
                              last edited by 11 Nov 2009, 01:36

                              and the master file.
                              Xara format.

                              Great app. Cheap. Free trial down load at http://www.xara.com

                              Point Tool Icon for Utiller.zip

                              John | Illustrator | Beaverton, Oregon

                              1 Reply Last reply Reply Quote 0
                              • utilerU Offline
                                utiler
                                last edited by 11 Nov 2009, 01:42

                                You're the man, John!!!!

                                purpose/expression/purpose/....

                                1 Reply Last reply Reply Quote 0
                                • EdsonE Offline
                                  Edson
                                  last edited by 11 Apr 2010, 22:50

                                  i have a small problem with this tool: it works fine but does not load at startup even though it was open when i closed sketchup. i always have to go to View>Toolbars to open it before using it.

                                  edson mahfuz, architect| porto alegre β€’ brasil
                                  http://www.mahfuz.arq.br

                                  1 Reply Last reply Reply Quote 0
                                  • dereiD Offline
                                    derei
                                    last edited by 3 Dec 2016, 19:10

                                    This simple tool I find it extremely useful yet... too bad is not available trough Extension Warehause or Sketchucation Extension Store... it should be added, so it will be saved in the bundles...easy to reinstall and less likely to lose it.

                                    Cheers!

                                    DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      renatavia
                                      last edited by 22 Apr 2017, 07:16

                                      hi there, i downloaded the point tools plugin, BUT the problem is how to add the plugin to my sketchup 2015
                                      i dont know how to put the plugin point tools into the ruby console
                                      please help !

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        johnwmcc
                                        last edited by 30 Jan 2020, 18:10

                                        I love this tool for its simplicity and convenience in use.

                                        Unfortunately, it freezes the newly released SU 2020, and needs a Force Quit (on Mac Mojave) and I can't see why. It fails, and freezes SU 2020 when you try to add a point. No error message in Ruby console, either.

                                        Any chance, Matt, you could update it to work in the latest version of SU? It worked fine in 2019.

                                        1 Reply Last reply Reply Quote 0
                                        • TIGT Offline
                                          TIG Moderator
                                          last edited by 30 Jan 2020, 18:36

                                          I use this tool in v2020 without issue - PC/Win10
                                          So it looks like a MAC issue...
                                          Not even a newest MAC OS issue !
                                          Matt hasn't supported this tool for some years.
                                          If you run it with the Ruby Console open are there any error messages ?
                                          The tool itself is relatively simple so I am a loss as to why you see this issue ...
                                          Any other MAC users seeing this ??

                                          TIG

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

                                          Advertisement