• Login
sketchucation logo sketchucation
  • Login
๐Ÿ”Œ Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

Math or Paste in the VCB

Scheduled Pinned Locked Moved SketchUp Feature Requests
sketchup
13 Posts 8 Posters 2.1k Views 8 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.
  • S Offline
    SchreiberBike
    last edited by 20 Nov 2007, 14:57

    I often have to do either a little math or a lot of math to come up with the value that I need to put into the VCB. It would be really nice if I could put some simple math in the VCB.

    For example, I was modeling something with PVC pipe. I found that the OD was 6.625 inches and I need to put in a radius. If I could put "6.625/2" in the VCB, that would be easier than calculating it and then typing it in.

    Another approach would be to come up with the radius of 3.3125 in another program, then paste that into the VCB. It would seem like a numeric value from the clipboard would be equivalent to a keyboard entry.

    1 Reply Last reply Reply Quote 0
    • G Offline
      Gaieus
      last edited by 20 Nov 2007, 15:04

      It does actually work in SU. I am in metric though so cannot really give exact advice how to do this input but if I type 100%2 into the VCB while drawing a circle for instance, it will draw it to me with an 50 cm radius.

      Gai...

      1 Reply Last reply Reply Quote 0
      • S Offline
        SchreiberBike
        last edited by 20 Nov 2007, 20:21

        Ok, I've just been drawing a bunch of lines and circles and here's what I get.

        2/2 = 1 ๐Ÿ˜„
        3/2 = 1.5 ๐Ÿ˜„
        2/3 = .66666 ๐Ÿ˜„

        2.2/2.2 = 2.2 ๐Ÿ˜ž
        1.5/2 = 1.5
        1.52 = 1.5
        2
        2 = invalid length
        1 1/2/2 = invalid
        1 1/2 /2 = invalid
        1 1/2 / 2 = invalid
        2+2 = invalid
        5-2 = invalid

        It seems like SU can read an entry as a fraction so long as the numbers do not involve any decimal points. But it can't do any addition, subtraction or multiplication or any division except where it reads the division as a fraction. It's response is a little confusing because where there is a decimal before the operator, it just returns the decimal amount, but if there is an operator other than the "/" without a decimal, it returns "invalid length"

        As a wish list item, it would be nice if it could do some other kinds of math.

        1 Reply Last reply Reply Quote 0
        • B Offline
          boofredlay
          last edited by 20 Nov 2007, 20:23

          And I tried with 2'/2 and it does not work either.
          This would be a nice update feature if they can work it out.

          http://www.coroflot.com/boofredlay

          1 Reply Last reply Reply Quote 0
          • S Offline
            SchreiberBike
            last edited by 20 Nov 2007, 20:25

            @gaieus said:

            . . . if I type 100%2 into the VCB . . .

            Gaieus, is the "%" instead of a "/" one of those differences between Euro and N. American standards like using periods instead of commas between each three digits of a large number.

            A new one for me.

            1 Reply Last reply Reply Quote 0
            • G Offline
              Gaieus
              last edited by 20 Nov 2007, 22:25

              @schreiberbike said:

              @gaieus said:

              . . . if I type 100%2 into the VCB . . .

              Gaieus, is the "%" instead of a "/" one of those differences between Euro and N. American standards like using periods instead of commas between each three digits of a large number.

              A new one for me.

              No, sorry, that wasa a mistype. / was tro be meant...
              Most probably my keyboard is too dirty. ๐Ÿ˜ณ

              Gai...

              1 Reply Last reply Reply Quote 0
              • B Offline
                boofredlay
                last edited by 20 Nov 2007, 22:42

                @gaieus said:

                No, sorry, that wasa a mistype. / was tro be meant...
                Most probably my keyboard is too dirty. ๐Ÿ˜ณ

                Ewwww. I don't even want to know. ๐Ÿ˜ฎ

                http://www.coroflot.com/boofredlay

                1 Reply Last reply Reply Quote 0
                • G Offline
                  glenn
                  last edited by 22 Nov 2007, 04:19

                  I agree math functions in the vcb would be great. Another design program I use has it, comes in real handy.
                  Glenn

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    watkins
                    last edited by 22 Nov 2007, 14:13

                    Dear All,

                    As a stop-gap, you might try using calc.rb which you will find at:

                    http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_sections.html

                    and filed under File-Converters-Misc. When you select it from the Plugins drop down menu it brings up a simple but perfectly adequate calculator, allowing you to work within Sketchup.

                    Kind regards,
                    Bob

                    1 Reply Last reply Reply Quote 0
                    • bradB Offline
                      brad
                      last edited by 26 Nov 2007, 21:22

                      Another stop gap measure would be to bring up or keep open the Ruby Console and type mathematical formulas in there. I do it all the time.

                      Hope that helps.

                      Brad
                      SketchUp QA

                      Brad
                      SketchUp QA

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        SchreiberBike
                        last edited by 26 Nov 2007, 22:24

                        Is there any trick which allows for pasting into the VCB?

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Marty
                          last edited by 16 Jan 2009, 20:13

                          I would like to add my vote for equations in the VCB. This would be particularly helpful when scaling. Concerning the Ruby advice, when I tried it, division rounded to a whole number. Is this being controlled by the precision?

                          1 Reply Last reply Reply Quote 0
                          • plot-parisP Offline
                            plot-paris
                            last edited by 20 Jan 2009, 15:28

                            +1

                            that would be a fantastic feature! ๐Ÿ‘

                            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