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

    Mini-challenge

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    328 Posts 26 Posters 29.1k Views 26 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.
    • GaieusG Offline
      Gaieus
      last edited by

      I also noticed that if I crank up the decimals, I get an inaccurate measurement for that thickness (although a different one) πŸ˜•

      Now the very interesting thing is that I did not do any shearing but only worked with the rotate tool. So there could be inaccuracy but then it's Sketchup's tolerance when it merged two endpoints so close that I could see the electrons spinning. But then yes, I was indeed relying on this "tolerance" (just did not know how it will work).


      PinkBoard-BlueBoard.png

      Gai...

      1 Reply Last reply Reply Quote 0
      • jeff hammondJ Offline
        jeff hammond
        last edited by

        @thomthom said:

        So how do you calculate it?

        the way i calculate it in the DC :

        mini4.jpg

        you can find all the info of the hypotenuse (green) in a variety of ways .. (for instance, a^2 + b^2 = c^2 to get its length.. you'll know a & b in this case… then trig for the angles)

        that hypotenuse is also the the hypotenuse of the un-trimmed board (red).. so you know the board width and the length of its hypotenuse which means you can get all other angles and lengths..

        the rotation of the original hypotenuse minus the long angle of the board's hypotenuse give the correct rotation angle..

        here's the DC i use (after i use 'component options' to enter the dimension of height, board width, and the space in between the two poles, i'll then trace the results and copy/paste it into my actual drawing.. not entirely ideal but it works..)

        DC_Xbrace.skp

        for whatever reason, i still think there might be a way to do it in sketchup itself.. maybe jean L can come up with something πŸ˜‰
        so far, it's looking like true-tangents may be the key.. i haven't tried it yet in this circumstance but i imagine it will work.

        dotdotdot

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

          Excellent, Jeff.

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 Reply Last reply Reply Quote 0
          • pbacotP Offline
            pbacot
            last edited by

            @unknownuser said:

            @ecuadorian said:

            @andybot said:

            ... thus - for best accuracy, draw it in ACAD and import into sketchup πŸ˜’

            Amen. Trimble, if you're reading this, we need actual arcs and curves in SketchUp.

            i'm not quite sure they could give us true arcs in sketchup without entirely changing the way sketchup works.. (how would a cylinder be drawn if there were no segments in the arcs? a nurbs surface? )

            what they can give us, i feel, is 'guide arcs' …which would also allow us to rotate this thing and snap it into place very easily.

            .

            Someone at Trimble is saying "What? There aren't real circles? Oh crap! What have we done?"

            MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

            1 Reply Last reply Reply Quote 0
            • pbacotP Offline
              pbacot
              last edited by

              OK, what's wrong with Mac 1's version. Can the reference point from the tip to tip dimension be accurately placed on the horizontal guideline to give a marker for snap rotation of the board? I think it is the same problem, requiring math calculating length parallel to board tip to tip.

              MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

              1 Reply Last reply Reply Quote 0
              • jeff hammondJ Offline
                jeff hammond
                last edited by

                @ecuadorian said:

                @andybot said:

                ... thus - for best accuracy, draw it in ACAD and import into sketchup πŸ˜’

                Amen. Trimble, if you're reading this, we need actual arcs and curves in SketchUp.

                i'm not quite sure they could give us true arcs in sketchup without entirely changing the way sketchup works.. (how would a cylinder be drawn if there were no segments in the arcs? a nurbs surface? )

                what they can give us, i feel, is 'guide arcs' …which would also allow us to rotate this thing and snap it into place very easily.. basically, a smarter rotate tool.

                .

                dotdotdot

                1 Reply Last reply Reply Quote 0
                • jeff hammondJ Offline
                  jeff hammond
                  last edited by

                  @pbacot said:

                  OK, what's wrong with Mac 1's version. Can the reference point from the tip to tip dimension be accurately placed on the horizontal guideline to give a marker for snap rotation of the board? I think it is the same problem, requiring math calculating length parallel to board tip to tip.

                  i'm still working through the thread.. checking mac's version next.. i'll report back πŸ˜„

                  dotdotdot

                  1 Reply Last reply Reply Quote 0
                  • jason_marantoJ Offline
                    jason_maranto
                    last edited by

                    The DC is not working for me for some reason -- I see it and formulas, but no interactivity.

                    This is a variation on few similar solutions here -- but they all have a minor (or not so minor) variance -- it just does not make sense to me why πŸ˜•

                    challenge_alt.jpg

                    I mean the rotate tool should be accurate since it is not tied to polygons (like arc or circle), right?

                    Best,
                    Jason.

                    I create video tutorial series about several 2D & 3D graphics programs.

                    1 Reply Last reply Reply Quote 0
                    • bmikeB Offline
                      bmike
                      last edited by

                      maths, gotta love it. nice problem to post jeff!
                      tricky little problem, hitting opposite corners on that board. especially when graphically, you can't quite get there with sketch up.

                      i've been working on a DC to sort of automate hip and valley creation in timber.
                      in order to get this far i've built a dc (both hip and valley) with sub components that are planes that rotate about with in the 'container' component. there are guidelines at the peak where this would potentially miter. the foot condition changes too much - so i usually do some solids work or intersecting with the model down there.

                      here's a snap of the attributes (runs off the bottom of the window):
                      Screen Shot 2012-04-30 at 1.29.59 PM.png

                      and the component:
                      Screen Shot 2012-04-30 at 1.28.44 PM.png

                      mike beganyi design + consulting llc

                      1 Reply Last reply Reply Quote 0
                      • jeff hammondJ Offline
                        jeff hammond
                        last edited by

                        @unknownuser said:

                        @pbacot said:

                        OK, what's wrong with Mac 1's version. Can the reference point from the tip to tip dimension be accurately placed on the horizontal guideline to give a marker for snap rotation of the board? I think it is the same problem, requiring math calculating length parallel to board tip to tip.

                        i'm still working through the thread.. checking mac's version next.. i'll report back πŸ˜„

                        yeah, that version doesn't work either.. when rotating the guide point downwards, there's no actual snap to the top of the board..

                        many of these methods would work if we could just rotate and snap to a random point along a line.. but we can only snap to a line's endpoints etc.. (in other words, a lot of people see what needs to be done.. it's just that we can't do it πŸ˜‰ )

                        dotdotdot

                        1 Reply Last reply Reply Quote 0
                        • jeff hammondJ Offline
                          jeff hammond
                          last edited by

                          @jason_maranto said:

                          The DC is not working for me for some reason -- I see it and formulas, but no interactivity.

                          use 'component options'.. not 'component attributes'..

                          dotdotdot

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

                            @unknownuser said:

                            you can find all the info of the hypotenuse (green) in a variety of ways .. (for instance, a^2 + b^2 = c^2 to get its length.. you'll know a & b in this case… then trig for the angles)

                            that hypotenuse is also the the hypotenuse of the un-trimmed board (red).. so you know the board width and the length of its hypotenuse which means you can get all other angles and lengths..

                            I was suspecting something like that - but my trigonometry knowledge was all too poor that I dared place bets on it.

                            @unknownuser said:

                            for whatever reason, i still think there might be a way to do it in sketchup itself.. maybe jean L can come up with something

                            I also wonder this - but I also fear it might - due to lack of true arcs.
                            Where is Simon Le Bon btw..?

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

                            1 Reply Last reply Reply Quote 0
                            • jeff hammondJ Offline
                              jeff hammond
                              last edited by

                              @thomthom said:

                              @unknownuser said:

                              you can find all the info of the hypotenuse (green) in a variety of ways .. (for instance, a^2 + b^2 = c^2 to get its length.. you'll know a & b in this case… then trig for the angles)

                              that hypotenuse is also the the hypotenuse of the un-trimmed board (red).. so you know the board width and the length of its hypotenuse which means you can get all other angles and lengths..

                              I was suspecting something like that - but my trigonometry knowledge was all too poor that I dared place bets on it.

                              SOH CAH TOA πŸ˜„

                              that's one of the things that seemed to stick with me after leaving school..

                              Sine = Opposite/Hypotenuse
                              Cosine = Adjacent/Hypotenuse
                              Tangent = Opposite/Adjacent

                              dotdotdot

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

                                That stuck with me, too. I can't remember who I took to prom, though.

                                Etaoin Shrdlu

                                %

                                (THERE'S NO PLACE LIKE)

                                G28 X0.0 Y0.0 Z0.0

                                M30

                                %

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

                                  @unknownuser said:

                                  Sine = Opposite/Hypotenuse
                                  Cosine = Adjacent/Hypotenuse
                                  Tangent = Opposite/Adjacent

                                  Trouble is that I don't even remember what to use of this. I'm really annoying - I always have to look up this stuff, reading for a while, whenever I need to do such work with my plugins. ...which, when you place plugins for 3D software... ...I really should be knowing this... 😳

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

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

                                    @jason_maranto said:

                                    Well, I figured out some of the accuracy issue on my last approach -- a bit of user error on my part since I was rotating the guidepoint to the wrong place and also the accuracy setting of the rotate tool was not set high enough... actually this still isn't exactly accurate (rotated to 45.6085) but it's pretty close now.

                                    Try with the posts further apart - then you'll catch accuracy issue much easier. When it's close to 45 degrees it's harder to spot.

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

                                    1 Reply Last reply Reply Quote 0
                                    • jason_marantoJ Offline
                                      jason_maranto
                                      last edited by

                                      Well, I figured out some of the accuracy issue on my last approach -- a bit of user error on my part since I was rotating the guidepoint to the wrong place and also the accuracy setting of the rotate tool was not set high enough... actually this still isn't exactly accurate (rotated to 45.6085) but it's pretty close now.

                                      challenge_alt2.jpg

                                      @Jeff - I checked every aspect of interacting with a DC, it shows nothing for me.

                                      Edit -- Gotcha, you have to actually open the model instead of bringing it in as a component.

                                      Best,
                                      Jason.

                                      I create video tutorial series about several 2D & 3D graphics programs.

                                      1 Reply Last reply Reply Quote 0
                                      • jeff hammondJ Offline
                                        jeff hammond
                                        last edited by

                                        @jason_maranto said:

                                        @Jeff - I checked every aspect of interacting with a DC, it shows nothing for me.

                                        oh man.. that reminds me of some problem with sharing dynamic components.. are you directly opening the file i posted or are you bringing it in to an existing model?

                                        you have to just open the file i posted then the options should be available..
                                        (or something like that.. ❓ i remember having problems with bringing in DCs from the warehouse into existing models and none of the options were available.)

                                        dotdotdot

                                        1 Reply Last reply Reply Quote 0
                                        • jeff hammondJ Offline
                                          jeff hammond
                                          last edited by

                                          @thomthom said:

                                          @unknownuser said:

                                          Sine = Opposite/Hypotenuse
                                          Cosine = Adjacent/Hypotenuse
                                          Tangent = Opposite/Adjacent

                                          Trouble is that I don't even remember what to use of this. I'm really annoying - I always have to look up this stuff, reading for a while, whenever I need to do such work with my plugins. ...which, when you place plugins for 3D software... ...I really should be knowing this... 😳

                                          ha.. i always figured you ruby gurus were math wizards.. πŸ˜„
                                          nice to know you're sitting around looking things up on a per case basis like the rest of us πŸ˜‰

                                          dotdotdot

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

                                            @unknownuser said:

                                            ha.. i always figured you ruby gurus were math wizards.. πŸ˜„

                                            You really don't need to muddle around with math too much when making plugins for SketchUp. Their API is doing lots of the heavy work. I don't even fully understand the transformation matrix - though reading up on that now.

                                            @unknownuser said:

                                            nice to know you're sitting around looking things up on a per case basis like the rest of us πŸ˜‰

                                            I do that for everything I do - always. Simply because I like to know I'm doing stuff correct and efficient.

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

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

                                            Advertisement