• 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
    jeff hammond
    last edited by 30 Apr 2012, 08:58

    @pbacot said:

    Well if you had a true arc or circle you could find your exact intersection points. But there are no true circles in SU.

    right, that's the brute force method i mentioned above.. make a little arc with a thousand segments and it will work..

    dotdotdot

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 30 Apr 2012, 09:00

      @unknownuser said:

      @pbacot said:

      Well if you had a true arc or circle you could find your exact intersection points. But there are no true circles in SU.

      right, that's the brute force method i mentioned above.. make a little arc with a thousand segments and it will work..

      That sounds dangerous - most likely you'll get some minor accuracy issue somewhere ~0.00001 of whatever - something that eventually cascades into a nightmare! (thinking of all them imported AutoCAD plans I've had... x_X )

      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, 09:11

        @thomthom said:

        @unknownuser said:

        @pbacot said:

        Well if you had a true arc or circle you could find your exact intersection points. But there are no true circles in SU.

        right, that's the brute force method i mentioned above.. make a little arc with a thousand segments and it will work..

        That sounds dangerous - most likely you'll get some minor accuracy issue somewhere ~0.00001 of whatever - something that eventually cascades into a nightmare! (thinking of all them imported AutoCAD plans I've had... x_X )

        yes.. that can happen and why i eventually went with a dynamic component instead (maths)

        for getting an accurate enough dimension for a framer to cut.. it's ok.. but to have something like that in a drawing where you may be inferencing etc for future parts of the drawing.. i agree, it's a no-no.. you can throw off everything else down the line..

        dotdotdot

        1 Reply Last reply Reply Quote 0
        • P Offline
          pbacot
          last edited by 30 Apr 2012, 09:22

          From tip to tip you have length A-C the hypotenuse on the board. You know the width of the board B-C so you can find A-B. So when you have a board A-B long exactly you can rotate it with snaps then trim it, but is the rotate operation inaccurate?

          MacOSX MojaveSketchUp Pro v19 Twilight v2 Thea v3 PowerCADD

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

            @pbacot said:

            From tip to tip you have length A-C the hypotenuse on the board. You know the width of the board B-C so you can find A-B. So when you have a board A-B long exactly you can rotate it with snaps then trim it, but is the rotate operation inaccurate?

            rotate is accurate.. you just need something to snap to which is hard to get in this case..

            but what you're saying.. can you do that geometrically (as in, can you do it using only sketchup tools) or would you need a calculator?
            (currently, the only way i've been able to do it is with a calculator (well, i use the DC dialog for the calculator that can then adjust the position of lines))

            dotdotdot

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 30 Apr 2012, 09:52

              Cursed this challenge! Now it really bothers me that I cannot find an easy way for this in SU.
              I'm not even quite sure how to calculate the angel... ?

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

              1 Reply Last reply Reply Quote 0
              • G Offline
                Gaieus
                last edited by 30 Apr 2012, 09:56

                Yes, it's a pity that true geometry is impossible in SU and one always needs to rely on workarounds. In this "rotation" workaround you still get a 0.01 cm (0.1 mm) inaccuracy which is obviously okay for constructing but annoying to know there is in your model since you never know when exactly you'd need that accuracy for inferencing.

                I have drawn two guides at 5 (well I used cms but who cares) apart and then tried to rotate them but as you can see, although I do get the endpoint inferencing, SU actually does not know what it is inferring there along the guide.


                01.png


                02.png


                03.png

                Gai...

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 30 Apr 2012, 10:01

                  Align.png

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

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pilou
                    last edited by 30 Apr 2012, 10:02

                    Like in reality what more simple without any Plugin ? ๐Ÿ’š
                    The big one is of course any what you want!
                    Groups are any size!
                    general.jpg

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 30 Apr 2012, 10:03

                      @gaieus said:

                      I have drawn two guides at 5 (well I used cms but who cares) apart and then tried to rotate them

                      What where you snapping to/with?

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

                      1 Reply Last reply Reply Quote 0
                      • G Offline
                        Gaieus
                        last edited by 30 Apr 2012, 10:06

                        It's in the screenshot. But note that no matter how "close" you seem to snap along a guide (or any edge), it will never be accurate (second screen shot). The cursor is "sliding along" the guide and does no give an accurate inference.

                        Gai...

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          thomthom
                          last edited by 30 Apr 2012, 10:06

                          @unknownuser said:

                          Like in reality what more simple without any Plugin ? ๐Ÿ’š
                          The big one is of course any what you want!
                          Groups are any size!
                          [attachment=0:1cpfqa3m]<!-- ia0 -->general.jpg<!-- ia0 -->[/attachment:1cpfqa3m]

                          Wooh! Now I understand. I just didn't notice how you originally aligned the board.

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

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            pilou
                            last edited by 30 Apr 2012, 10:37

                            @unknownuser said:

                            How ?

                            By the simple use of the Rotate tool !!! โ˜€
                            And that will be the same for the second rotation ๐Ÿ˜‰
                            Just put the Rotation tool on the other group's axe and rotate the view for snap on the good point! ๐Ÿ˜‰
                            So you can now draw the 2 little segments for the Push cut! ๐Ÿ˜Ž

                            Any calculate was tourmented during the movie! ๐Ÿ’š

                            How.jpg

                            rotate1.jpg

                            Frenchy Pilou
                            Is beautiful that please without concept!
                            My Little site :)

                            1 Reply Last reply Reply Quote 0
                            • TIGT Offline
                              TIG Moderator
                              last edited by 30 Apr 2012, 11:07

                              @pbacot said:

                              Well if you had a true arc or circle you could find your exact intersection points. But there are no true circles in SU.
                              My 'TrueTangent' tools have various options, in this case you could place a cpoint exactly at the 'true-intersection' of two SUpArcs...


                              AccurateRoatationWithTrueTangents.skp

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • P Offline
                                pilou
                                last edited by 30 Apr 2012, 11:19

                                @unknownuser said:

                                it will never be accurate (second screen shot). The cursor is "sliding along" the guide and does no give an accurate inference.

                                ๐Ÿ˜ฎ ๐Ÿ˜ฎ ๐Ÿ˜ฎ
                                That will say that any rotation can be made precisely? ๐Ÿ˜ฒ ๐Ÿ˜ฒ ๐Ÿ˜ฒ

                                You can make zoom during the process!
                                And re look my last image, there is green point that indicate that the snap is done! ๐Ÿ˜‰
                                And a red one will be drawn at the end of the last snaping on the group!

                                What do you want more accurate ? ๐Ÿ˜ฒ

                                big_snap.jpg

                                I have verified! Seems you right!
                                That is very ennoyous and want to say that any constructions made with align / Roation are false! ๐Ÿ˜ฒ

                                Another headache to resolve! ๐Ÿ˜ฒ

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • Dave RD Offline
                                  Dave R
                                  last edited by 30 Apr 2012, 11:40

                                  Jeff, I've had to draw diagonals like this a number of times and not found an elegant solution. It's always been via brute force. I forgot about TIG's True Tangents.

                                  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, 11:42

                                    @dave r said:

                                    Jeff, I've had to draw diagonals like this a number of times and not found an elegant solution. It's always been via brute force. I forgot about TIG's True Tangents.

                                    Pilou's method was quite easy and simple. And also accurate!

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

                                    1 Reply Last reply Reply Quote 0
                                    • Dave RD Offline
                                      Dave R
                                      last edited by 30 Apr 2012, 11:47

                                      @thomthom said:

                                      @dave r said:

                                      Jeff, I've had to draw diagonals like this a number of times and not found an elegant solution. It's always been via brute force. I forgot about TIG's True Tangents.

                                      Pilou's method was quite easy and simple. And also accurate!

                                      Yes, his way works, sort of. The second rotation is not perfectly accurate, though. I meant to simply draw it in place.

                                      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, 12:20

                                        @dave r said:

                                        The second rotation is not perfectly accurate, though.

                                        Seemed to snap perfectly in my test... what am I missing?

                                        @dave r said:

                                        though. I meant to simply draw it in place.

                                        Ah - no post-cropping?

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

                                        1 Reply Last reply Reply Quote 0
                                        • oganocaliO Offline
                                          oganocali
                                          last edited by 30 Apr 2012, 12:36

                                          Nice challenge by the way, at first I thought this should be easy but then...

                                          You can also perform the rotation as a tangent to the drawn arc, (referencing the vertices on the arc). Of course it is not exact but the angular error is vanishingly small (approximately a^2*t/l ; t,l thickness and length of the rail, a is angular resolution on the arc (total angle/number of segments) in radians)). The final rotation accuracy increases with the square of the number of segments on the arc. After a few hundred segments SU makes the structure ideal at explode.
                                          slicer.png
                                          Ogan

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

                                          Advertisement