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

    Dimensions Added as Objects Are Drawn - Feedback Please

    Scheduled Pinned Locked Moved Developers' Forum
    43 Posts 25 Posters 4.4k Views 25 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.
    • N Offline
      not registered yet
      last edited by

      A brilliant extension! 💚
      Is there a functionality to move the dimensions? when I need the measure to be outside the element or in a different place than it was originally created to?
      And does it support metric system? (probably a silly question 😄 )

      I'd very much like to use it in work - if needed, I can also beta-test... 😎

      Regards,
      Laur

      [zan]

      1 Reply Last reply Reply Quote 0
      • BurkhardB Offline
        Burkhard
        last edited by

        Any news?

        [http://www.ia-plus.de(http://www.ia-plus.de)]

        1 Reply Last reply Reply Quote 0
        • B Offline
          Baker518
          last edited by

          I think everyone that has ever dabbled in SU, let alone the ones that use it for productive purposes, such as work, is interested in this new avenue. I have been since getting into SU a few months ago, and have spent a bit of time studying Rubies. Here are my thoughts, not that they are worth much, or anything as far as that goes.

          I too love all the different ideas that this topic has generated, but, rather than have all the aforementioned bells and whistles in the beginning, wouldnt it be feasible to start with some simple things that can be amended, altered, and added on to?

          So far, we have all learned to live with what we have, some of us lately, some since the beginning, and some along the way. I would think that a simple start would be at least equal to where we are, then grow it into something that is of GREAT benefit and fits most everyones needs/wants.

          I know what I think doesnt account for much, but its just some thoughts that have no bearing on anything.

          Mike

          Don't worry about things you have no control over. Worry is a lack of Faith!

          1 Reply Last reply Reply Quote 0
          • K Offline
            kwistenbiebel
            last edited by

            That script looks like a cool idea.
            Being an architect I could really use that.

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gjenio
              last edited by

              Yes, would be very useful tool. Please develope it!
              But how it would work with arcs, circles and curves?

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

                This looks like a very nice addition for SketchUp. I do electro-mechanical drawings to 0.001" precision, not architecture in feet and inches, so I hope it would function as well for that purpose.

                1 Reply Last reply Reply Quote 0
                • K Offline
                  Kaora1
                  last edited by

                  Did anything every happen with this....or is it still pending

                  1 Reply Last reply Reply Quote 0
                  • JClementsJ Offline
                    JClements
                    last edited by

                    ....

                    John | Illustrator | Beaverton, Oregon

                    1 Reply Last reply Reply Quote 0
                    • X Offline
                      xrok1
                      last edited by

                      i would like to know how this is progressing as well.

                      my feature request would be for equations ie: Dim1 = Dim2*5 etc...

                      “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                      http://www.Twilightrender.com try it!

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        Jim
                        last edited by

                        @xrok1 said:

                        i would like to know how this is progressing as well.

                        my feature request would be for equations ie: Dim1 = Dim2*5 etc...

                        I've contacted Rick Haws about the status of his plugin. Hopefully he will stop by and give us an update.

                        Hi

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          Rick Haws
                          last edited by

                          Hi All,

                          Firstly I would like to thank everyone for your continued interest in the dimensioning add-on.

                          To bring you up to date.....as it currently stands the SketchUp API does not provide enough access to dimension objects to facilitate the development of our application. Until recently I have been in discussions with the SketchUp folks about the possibility of gaining the required access. They have not been able to provide me with a time frame for doing so. When the opportunity becomes available we will develop it. I would ask that if it is of interest to you, drop SketchUp an email.

                          In the mean time please keep your suggestions coming and feel free to ask me any questions that might come to mind.

                          Thanks again,

                          Rick

                          1 Reply Last reply Reply Quote 0
                          • X Offline
                            xrok1
                            last edited by

                            what about the functionality that already appears to be working in the video? is this real or staged?

                            if its real, maybe you could do something like soapskinbubble or sketchyphysics has done and release the script you have so far with an expiration date while you get the rest of your functionality worked out. to me from what i saw in the video this is already an invaluable script very much worthy of being used and evaluated by SK users. it looks like you may have solved one of the final needs i have to keep returning to Solidworks all the time for.

                            “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                            http://www.Twilightrender.com try it!

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              Baker518
                              last edited by

                              I've been doing some searching for rubies that do anything of this nature and I came up with 2 so far.

                              1. GetDimensions.rb by CptainPanic (dimensions returned in a UI.messagebox)
                              2. dim_angle.rb by Didier Bur (dimension added to drawing)

                              Maybe I am thinking too simple but give this a thought and take a more simple direction.

                              Right click on a line, for instance, and return its value in a UI.messagebox.
                              Click the message box for option, "Add Dimension" and it would add a dimension parallel to the selected line. From there, the options may could be tailored to include some of the other options people are thinking about. It would be a very simple beginning, but at least a start.

                              I think this would be easier and maybe quicker than using the dimension tool already in SU but not as sweet as the auto-dimension tool of the future.

                              Don't worry about things you have no control over. Worry is a lack of Faith!

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                RickW
                                last edited by

                                The video was an illustration of how the tool would work, if it could be created. Currently, there is no ruby access to the internal dimension objects. In fact, if you create a dimension object, select it, then run the following code in the ruby console, you'll see that the object isn't even reported as a Dimension, but simply as a "DrawingElement". The second line of code will return the methods for the object - again, nothing even close to what would be required for the creation of this tool. The third line of code shows the methods for the Entities. There is no "add_dimension" method available, and there is no Dimension object like there is Edge, ArcCurve, Group, etc.

                                #the following line will get the class of the selected object
                                Sketchup.active_model.selection.first.class
                                
                                #the following line will show the methods of the selected object
                                Sketchup.active_model.selection.first.methods.sort
                                
                                #the following line will show the absence of an add_dimension method for Entities
                                Sketchup.active_model.active_entities.methods.sort
                                

                                RickW
                                [www.smustard.com](http://www.smustard.com)

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  Baker518
                                  last edited by

                                  Rick W and TIG

                                  Thanks for your response. I know what I suggested is simple on the outside. I only wished I had your experience so I could better understand what I am asking. I have read a lot on building rubies but it still alludes me. Thank you again for your thoughts.

                                  Mike

                                  Don't worry about things you have no control over. Worry is a lack of Faith!

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

                                    However there is a complicated work round...

                                    Make an external component of just a dimension at a given length - say 1 inch. Add it to the model and scale it in its length to suit two points you pick or are dictated by a script - that dim-compo then displays the distance between the points properly... You could also 'attach' the dimension component instance to the points (e.g. edge vertices) using attributes and observers that watch if the vertices change and alter the dim-compo's scaling and location to suit...

                                    .

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      Rick Haws
                                      last edited by

                                      Thanks again guys,

                                      Keep the suggestions coming.

                                      Rick

                                      1 Reply Last reply Reply Quote 0
                                      • X Offline
                                        xrok1
                                        last edited by

                                        maybe Whaat could take a crack at this! he seems to be able to bend Sketchup to his will.

                                        What do you say Whaat?

                                        “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                                        http://www.Twilightrender.com try it!

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          RickW
                                          last edited by

                                          @xrok1 said:

                                          maybe Whaat could take a crack at this! he seems to be able to bend Sketchup to his will.

                                          Conceptually, it's not a hard script to write - a couple of observers, a bit of code, and it's done. The issue is that Ruby does not have access to SU's dimension objects, either to create or modify them. That capability is essential to this project. That is, unless one invests an inordinate amount of time into workarounds.

                                          RickW
                                          [www.smustard.com](http://www.smustard.com)

                                          1 Reply Last reply Reply Quote 0
                                          • X Offline
                                            xrok1
                                            last edited by

                                            could one not communicate directly with the VCB, updating the dimension from there and visee versee?

                                            “There are three classes of people: those who see. Those who see when they are shown. Those who do not see.”

                                            http://www.Twilightrender.com try it!

                                            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