sketchucation logo sketchucation
    • Login
    ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

    Drawing Polygons by Apothem?

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    13 Posts 8 Posters 1.6k Views
    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.
    • C Offline
      Catmando
      last edited by

      Hiya. I've been looking around on this forum for a certain plugin: a way to draw polygons by their apothem (the length of a line perpendicular to one of a polygon's sides, or in Sketchup terms, a line from the center point to the midpoint of an outer segment) instead of the radius. I searched this forum quite a bit and can't seem to find any mention of such a tool.

      I know there is a fancy formula provided on Wikipedia for converting the radius length of a polygon to apothem, but it seems this forum loooves shortcuts (not that it's a bad thing 😉 ) and this would certainly help me and probably many others make stuff. Thanks in advance!

      Also: if this is the wrong forum, I apologize. I am a newbie and this subforum's description says you can ask a question here.

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

        I don't know of such a tool.
        Do I understand that you wish to generate a 2D polygon using a script that utilizes the apothem as a parameter?
        May I ask why you do not wish to use the native Sketchup tool for polygons, aside from the possibility that it does not employ the apothem?
        You can draw any polygon, make it a group, draw its apothem inside the group, measure the length, edit the value control box display and Sketchup should rescale the group proportionally to the desired apothem value.
        Is this too much work? Even with tools, ya still gotta do some knitting. 😉

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

        1 Reply Last reply Reply Quote 0
        • C Offline
          Catmando
          last edited by

          @mitcorb said:

          I don't know of such a tool.
          Do I understand that you wish to generate a 2D polygon using a script that utilizes the apothem as a parameter?
          May I ask why you do not wish to use the native Sketchup tool for polygons, aside from the possibility that it does not employ the apothem?
          You can draw any polygon, make it a group, draw its apothem inside the group, measure the length, edit the value control box display and Sketchup should rescale the group proportionally to the desired apothem value.
          Is this too much work? Even with tools, ya still gotta do some knitting. 😉

          I could do all that. I think I'd be better off with a tool to do it, though. 😛 I'm sorry to hear that there is no such tool. I guess I can manage, right? 😄 Thanks!

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

            Just to be clear:
            I indicated that I do not know of such a tool.
            That is not to say that it does not exist.
            Someone may see this thread who does know.

            EDIT: Oh, and thank you for teaching me a new word. I read more about it on several sites. 😄

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

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

              I don't know of a plugin for this, either but I can see that it could have its uses. When I need a polygon and I know the distance between flats but not the radius, I end up setting out two guidelines to help me draw it. It would be nice to be able to skip the guidelines, though.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

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

                The apothem obviously would represent the radius of a circle inscribed within and tangent to the edges of the polygon. A line from polygon center to one of the vertices would be the radius of a circumscribed circle.
                Autocad, I believe allows the construction either way, and probably some other cad programs.
                Now, this makes me wonder if TIG's 2D tools or TIG's True Tangents could be helpful to you Catmando?

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

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

                  You can already draw it using three similar Polygons and the built-in inferencing - see this example...PolyApothemExample.PNG

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    Catmando
                    last edited by

                    @tig said:

                    You can already draw it using three similar Polygons and the built-in inferencing - see this example...[attachment=0:2d3mez6r]<!-- ia0 -->PolyApothemExample.PNG<!-- ia0 -->[/attachment:2d3mez6r]

                    Wow! Clever trick there. I'll try that later. Thank you. 😄

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jim
                      last edited by

                      I think several of the built-in tools could use some enhancements. It would be nice if the circle tool could be dragged to set the normal, for example. The line tool could use a double-line, and line-from-center modes. Rectangle too could be made to create rotated rectangles, etc. There's plenty of room for improvement. I had the thought to re-implement all the basic tools in Ruby adding some of these enhancements, but it's a big job.

                      Hi

                      1 Reply Last reply Reply Quote 0
                      • Jean LemireJ Offline
                        Jean Lemire
                        last edited by

                        Hi folks.

                        See attached SU file for ideas.


                        Polygon drawn by Apothem.skp

                        Jean (Johnny) Lemire from Repentigny, Quebec, Canada.

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          brhildebrandt
                          last edited by

                          @tig said:

                          You can already draw it using three similar Polygons and the built-in inferencing - see this example...[attachment=0:2r6hvnb8]<!-- ia0 -->PolyApothemExample.PNG<!-- ia0 -->[/attachment:2r6hvnb8]

                          I just tried this trick and it is very quick and easy to do.

                          Thanks!

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            hburns
                            last edited by

                            Simple when drawing the geometry hit the ctrl key and it will switch to the circumscribed or Apothem method.

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

                              @hburns said:

                              Simple when drawing the geometry hit the ctrl key and it will switch to the circumscribed or Apothem method.

                              Yes. It is simple since SketchUp 2015 was released. Prior to that and when this thread was active, SketchUp didn't have this option as a native feature.

                              Etaoin Shrdlu

                              %

                              (THERE'S NO PLACE LIKE)

                              G28 X0.0 Y0.0 Z0.0

                              M30

                              %

                              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