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

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.
  • J Offline
    jason_maranto
    last edited by 30 Apr 2012, 17:31

    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
    • B Offline
      bmike
      last edited by 30 Apr 2012, 17:35

      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
      • J Offline
        jeff hammond
        last edited by 30 Apr 2012, 17:35

        @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
        • J Offline
          jeff hammond
          last edited by 30 Apr 2012, 17:36

          @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
          • T Offline
            thomthom
            last edited by 30 Apr 2012, 17:38

            @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
            • J Offline
              jeff hammond
              last edited by 30 Apr 2012, 17:47

              @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
              • D Offline
                Dave R
                last edited by 30 Apr 2012, 17:55

                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
                • T Offline
                  thomthom
                  last edited by 30 Apr 2012, 17:58

                  @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
                  • T Offline
                    thomthom
                    last edited by 30 Apr 2012, 17:59

                    @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
                    • J Offline
                      jason_maranto
                      last edited by 30 Apr 2012, 18:00

                      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
                      • J Offline
                        jeff hammond
                        last edited by 30 Apr 2012, 18:01

                        @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
                        • J Offline
                          jeff hammond
                          last edited by 30 Apr 2012, 18:03

                          @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
                          • T Offline
                            thomthom
                            last edited by 30 Apr 2012, 18:05

                            @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
                            • J Offline
                              jason_maranto
                              last edited by 30 Apr 2012, 18:09

                              This method still works as expected no matter the distance -- the problem is just that the rotate tool is not precise enough to put the guidepoint exactly where it should be.

                              challenge_alt3.jpg

                              @Jeff -- yeah, sorry my habit is to bring them into a model via the component browser, so it was my fault.

                              Best,
                              Jason.

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

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                gilles
                                last edited by 30 Apr 2012, 18:32

                                I 've found a tricky way.


                                Mini-challenge.skp

                                " c'est curieux chez les marins ce besoin de faire des phrases "

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  jeff hammond
                                  last edited by 30 Apr 2012, 18:33

                                  @dave r said:

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

                                  πŸ˜†

                                  (I don't think I even went to prom.. maybe)

                                  dotdotdot

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jeff hammond
                                    last edited by 30 Apr 2012, 18:34

                                    @gilles said:

                                    I 've found a tricky way.

                                    really? sweet!
                                    I'm on a phone now so I can't see it but the suspense is killing me πŸ˜„

                                    can anyone verify?

                                    dotdotdot

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jason_maranto
                                      last edited by 30 Apr 2012, 18:38

                                      Wow, that is tricky... I never would have approached it that way.

                                      What gave you the answer?

                                      Best,
                                      Jason.

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

                                      1 Reply Last reply Reply Quote 0
                                      • andybotA Offline
                                        andybot
                                        last edited by 30 Apr 2012, 18:42

                                        Nice one! works for me!

                                        http://charlottesvillearchitecturalrendering.com/

                                        1 Reply Last reply Reply Quote 0
                                        • G Offline
                                          gilles
                                          last edited by 30 Apr 2012, 18:47

                                          I dont even know, just an intuition.
                                          So do I won something? πŸ’š

                                          " c'est curieux chez les marins ce besoin de faire des phrases "

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

                                          Advertisement