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

    Dividing combined shape: line + arc

    Scheduled Pinned Locked Moved SketchUp Discussions
    sketchup
    30 Posts 9 Posters 729 Views 9 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.
    • TIGT Offline
      TIG Moderator
      last edited by

      Here's a way to 'draw it' TIG-equalsegs.PNG LINK= http://forums.sketchucation.com/viewtopic.php?p=359659#p359659
      To use type into the Ruby Console
      TIG.equalsegs

      • <enter> and in the dialog input the settings for the segment length, radius, number of straight segments and number of segments radially.
        A grouped set of lines/clines/cpoints is made at the origin - straight parts to the left and radial parts to the right; you can easily rotate or flip it as needed...

      TIG

      1 Reply Last reply Reply Quote 0
      • Wo3DanW Offline
        Wo3Dan
        last edited by

        @dave r said:

        ...So, is there a plugin that could take a selected arc and report the central angle?

        I don't know of such a plugin although it could be done.
        I guess even the entire division could be calculated and put into a plugin.

        My approach for such a (rare) division is based entirely on SketchUp without plugins. Rare, so probably not worth a plugin.

        1. select edge and arc (inside a group) -> read total length L -> divide value L by number of segments needed -> gives new segment length.
        2. draw a line exactly the total length L and divide into decired number of segments.
        3. use one segment and start building the shape along the (edge+arc)-group

        Rotation of subsequent segments towards the existing arc is a bit tricky but the result is quite good.
        I think it could even be better starting with an arc that has more or less the same low number of segments as the result. In other words, don't start with 12 segments if the endshape requires only 2 or three to cover the same angle.

        Does this makes sense?

        p.s. (Arc+edge) length is in fact (segments+edge) length.
        That's why the arc's number of segments shouldn't be to high but resemble the resulting situation.

        1 Reply Last reply Reply Quote 0
        • mitcorbM Offline
          mitcorb
          last edited by

          The closest plugin I could find in the candy st--uh Plugins Index was "Angle Between Planes". I thought there was one called simply "Angle Between". Neither of these would seem to do what you describe. And, of course, there are a few arc centerpoint finders.
          Yeah, Dave, I was pretty much bumfuzzled at first. But I had to leave the dialog. My day job was calling. When I got back, I found the real hitters had stepped in. 💚

          I take the slow, deliberate approach in my aimless wandering.

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

            In addition to my earlier tool here's another - with this one you enter the segment length, the total angle the arc will sweep [in degrees], and the number of segments.
            It then calculates the required radius and draws the equal fixed length segments inside a group for you, starting from the origin c/clockwise and marking points etc...Capture.PNG
            LINK= http://forums.sketchucation.com/viewtopic.php?p=359659#p359659

            TIG

            1 Reply Last reply Reply Quote 0
            • GaieusG Offline
              Gaieus
              last edited by

              @tig said:

              But the curve to bend it around would need to be equally divided up so then you have the form anyway ?
              😕

              True! ☀

              Gai...

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

                TIG, thank you for those plugins. Your first one gives the same result as the method I described using Radial Bend but I think it is a little more straightforward if you know the radius.

                Etaoin Shrdlu

                %

                (THERE'S NO PLACE LIKE)

                G28 X0.0 Y0.0 Z0.0

                M30

                %

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

                  I'll split them off into a new thread...

                  TIG

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

                    @tig said:

                    I'll split them off into a new thread...

                    Link?

                    “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
                    • TIGT Offline
                      TIG Moderator
                      last edited by

                      @xrok1 said:

                      @tig said:

                      I'll split them off into a new thread...

                      Link?

                      The original posts are individually linked to the new 'Plugin' post - or find it here http://forums.sketchucation.com/viewtopic.php?p=359659#p359659
                      🤓

                      TIG

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

                        Thanks! 😄

                        “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
                        • 2 / 2
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement