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

[Locked] 2D Toolset - Use Newer Version Link

Scheduled Pinned Locked Moved Plugins
55 Posts 19 Posters 88.6k Views 19 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.
  • T Online
    TIG Moderator
    last edited by 27 Aug 2009, 21:47

    The PolylineCurve works much as the PolylIne Tool - you click on a line end twice or the start point of the first line to say you are done. The difference is that it then converts the points to a Curve at the end and any loose edges should be erased - obviously it sounds like it's not doing that ! I'll investigate... When I am more awake tomorrow β˜€

    TIG

    1 Reply Last reply Reply Quote 0
    • B Offline
      bagatelo
      last edited by 28 Aug 2009, 01:55

      Would it be possible a tool that draw rectangles with round corner?

      I thank your efforts in any way.

      While the cat's away, the mice will play

      1 Reply Last reply Reply Quote 0
      • D Offline
        DIEGO-RODRIGUEZ
        last edited by 28 Aug 2009, 05:50

        Tig, I have been some errors running the plugins
        http://www.youtube.com/watch?v=_UZUfNm8STk

        suggestion:
        You can add
        - Double Line Tool?
        - Ellipse Tool (defined by its 2diameters)?

        http://www.youtube.com/watch?v=G_t_gMqP8lM
        - Polygon Tool of xsides (defining the length of one side)?
        http://www.youtube.com/watch?v=lYniLhupg1Q

        1 Reply Last reply Reply Quote 0
        • T Online
          TIG Moderator
          last edited by 28 Aug 2009, 09:41

          Today's update available here http://forums.sketchucation.com/viewtopic.php?p=180259#p180259

          Main changes are:

          Return/Enter now ends the Polyline and PolylineCurve Tools and draws geometry.
          Esc during the Tool now undoes the last Polyline and PolylineCurve pieces draw up to then.
          PolyLineCurve Tool now draws both looped and open-ended curves, BUT if they branch - e.g. you draw a loop back onto one of the set's earlier edges mid-point - then it'll make the best curve it can out of what it has, and the rest will stay as loose lines.
          Default number of segments for Arc and Circle now = 18, this can be set different for an Arc and a Circle, AND any changed values a remembered during that session in that model.
          Arc now draws a ghost-arc as you stretch it out.
          Circle now draws a ghost-circle as you stretch it out.

          Hopefully this will address some of the errors reported... πŸ˜’

          On the other requests:

          A Rectangle with Rounded Corners

          • I'd use the Rectangle Tool and then use a 'fillet' or 'rounded-corners' tool to round its corners (there are several available - I use Ktools's 'Make-L'tool); or you could use the main Arc tool and draw tangential arcs at the corners - you can use Entity-Info to change its radius etc - then erase the unwanted bits ?
            I don't know of an tool to do it right off. I've no plans to make one - sorry...

          A Double-Line Tool

          • Didier Bur has already made one - it works fine in 2D too - dline.zip on http://www.crai.archi.fr/RubyLibraryDepot/Ruby/em_geo_page.htm

          An Ellipse Tool

          • Didier Bur has already made one - it works fine in 2D too - Ellipse.zip on http://www.crai.archi.fr/RubyLibraryDepot/Ruby/en_geo_page.htm

          A Polygon Tool with set side dimension.

          • You could make a Polygon using the main Polygon tool of the 2D Circle tool with required number of edges/segments set, but that has a given radius rather than a side length. You also need to rotate it to the orientation angle you want. To make it a given side length draw a Polygon and then immediately group it. Edit that group and use the Tapemeasure tool and pick two vertices of an edge; now type in the size you want as units (e.g. 500mm) and it'll ask you if you want to scale everything, say 'Yes' - remember that this scaling is limited to the current active_entities, so don't panic - the polygon inside the group will now have its edges at the desired length: exit the group and explode it... I have a Polygon.side=1234 method that I might publish one day...

          Any other ideas ? ❓

          TIG

          1 Reply Last reply Reply Quote 0
          • B Offline
            Ben Ritter
            last edited by 28 Aug 2009, 13:36

            TIG, thank you.

            1 Reply Last reply Reply Quote 0
            • E Offline
              EarthMover
              last edited by 28 Aug 2009, 13:46

              I'd be interested in seeing some 2D boolean functions added. Standard add, subtract and perhaps one that will allow you to draw a bunch of overlapping shapes and it will remove all the interior lines and just leave the perimeter shape. Essentially automating the intersect and removal of unwanted lines to create secondary shapes.

              Is it possible to toggle the tools to draw CLines by hitting CTRL? Similar to how Fredo did with TOS. Not so important for the line tools but it would be a helpful feature for the Arc and Circle tools.

              Another thing I was wondering is if you could have a tool that would define the height of Z. If you click on a point that is, let's say, 96" up on the Z, then all the tools would draw flat on that Z height. This would be nice for drawing out 2nd story floorplans and such.

              Also, with the polyline curve tool....is there a way you could then translate the series of polylines into a flowing set of Arcs? Every other vertex would define the span of the arc and the middle verticies would define the bulge. Similar to the technique for your 2D arc tool, but just allowing you to draw out a series of polylines and having it translate into to tangent arcs. Similar to how you can convert polylines to curve splines in Fredo's Bezier tools. Just a thought.

              Thanks again TIG!

              3D Artist at Clearstory 3D Imaging
              Guide Tool at Winning With Sketchup
              Content Creator at Skapeup

              1 Reply Last reply Reply Quote 0
              • B Offline
                Ben Ritter
                last edited by 28 Aug 2009, 13:50

                TIG,

                The hatch dialog doesn't appear for me.

                Ben

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by 28 Aug 2009, 13:52

                  Hi TIG,

                  Don't assume the variable $exStrings is defined. It is for most people, but not for all. It is originally defined in one of the rubies that came with SketchUp - but not everyone loads those.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • T Online
                    TIG Moderator
                    last edited by 28 Aug 2009, 14:02

                    @jim said:

                    Hi TIG,
                    Don't assume the variable $exStrings is defined. It is for most people, but not for all. It is originally defined in one of the rubies that came with SketchUp - but not everyone loads those.

                    Point taken.
                    I just quickly clobbered these tools together from stuff mainly based on the linetool ruby that had it in... I'll trap it in the next release...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • T Online
                      TIG Moderator
                      last edited by 28 Aug 2009, 14:15

                      Here's another update - with potential $exStrings problem circumvented...
                      http://forums.sketchucation.com/viewtopic.php?p=180259#p180259

                      TIG

                      1 Reply Last reply Reply Quote 0
                      • T Online
                        TIG Moderator
                        last edited by 28 Aug 2009, 14:16

                        @ben ritter said:

                        TIG,
                        The hatch dialog doesn't appear for me.
                        Ben

                        Have you put the '2DtoolsIcons' folder into the Plugins folder. In that there should be a folder called 'Hatching' containing the jpgs ? What does the Ruby Console say when it fails ?

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • T Online
                          TIG Moderator
                          last edited by 28 Aug 2009, 22:43

                          Here's this morning's update with improve undo for 2D polyline/curves etc...
                          http://forums.sketchucation.com/viewtopic.php?p=180259#p180259

                          TIG

                          1 Reply Last reply Reply Quote 0
                          • H Offline
                            honoluludesktop
                            last edited by 29 Aug 2009, 04:26

                            TIG, So far so good, NO Great! If you get around to expanding the software set, how about triming; both, to the intersection of, and in reference from πŸ™‚

                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              anglaret
                              last edited by 29 Aug 2009, 06:26

                              Thanks TIG,
                              it is very interesting that somebody care about 2D.I work a lot in 2d
                              The hatch tool is very nice

                              I have a tedious problem with drawing doors, and I remember asking Google
                              to put in SU the "pie" tool that exists in Layout:
                              click on a point, go to the distance you like, click again than you can draw
                              a pie : radius is fixed, and 2 sides of the pie are drawn

                              In 3 clicks you draw a door
                              Marc

                              1 Reply Last reply Reply Quote 0
                              • E Offline
                                Edson
                                last edited by 29 Aug 2009, 12:14

                                hi tig,

                                it is not working for me. i followed your instructions but something is not right. can you help me? what do you mean by "The 2D#.rb needs to load before the others to make the sub-menu and toolbar..."? what can i do for it to happen? thanks.

                                2 images attached: one with the error message i get, the other showing the files i heve on my plugins folder.


                                2Dset_1.png


                                2Dset_plugins.png

                                edson mahfuz, architect| porto alegre β€’ brasil
                                http://www.mahfuz.arq.br

                                1 Reply Last reply Reply Quote 0
                                • T Online
                                  TIG Moderator
                                  last edited by 31 Aug 2009, 19:02

                                  Edson

                                  You are Mac ? I'll investigate... I doesn't like the status_text ??? Seems that if first part is in () the second after the ',' confuses it ! BUT not on a PC - I'll ensure the update avoids that possibility...

                                  I am working on v2.0 which is quite different, so that might avoid the problem - perhaps needs a day or two...

                                  Please hang in there... πŸ˜„

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • A Offline
                                    anglaret
                                    last edited by 31 Aug 2009, 20:07

                                    Tig
                                    I would be more precise
                                    In Layout tools/arc/pie; is a brillant and simple tool that draw doors from above
                                    I would be very very grateful for that tool in SU

                                    Marc

                                    1 Reply Last reply Reply Quote 0
                                    • E Offline
                                      Edson
                                      last edited by 31 Aug 2009, 20:17

                                      @tig said:

                                      Edson

                                      You are Mac ? I'll investigate... I doesn't like the status_text ??? Seems that if first part is in () the second after the ',' confuses it ! BUT not on a PC - I'll ensure the update avoids that possibility...

                                      I am working on v2.0 which is quite different, so that might avoid the problem - perhaps needs a day or two...

                                      Please hang in there... πŸ˜„

                                      yes, tig, i am on mac. thanks for looking into this. this promises to be one more of your greatly useful plugins.

                                      edson mahfuz, architect| porto alegre β€’ brasil
                                      http://www.mahfuz.arq.br

                                      1 Reply Last reply Reply Quote 0
                                      • T Online
                                        TIG Moderator
                                        last edited by 31 Aug 2009, 22:45

                                        @anglaret said:

                                        Tig
                                        I would be more precise
                                        In Layout tools/arc/pie; is a brillant and simple tool that draw doors from above
                                        I would be very very grateful for that tool in SU

                                        Marc

                                        I intend that they'll be something like that in v2... ➑

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • H Offline
                                          honoluludesktop
                                          last edited by 31 Aug 2009, 23:02

                                          TIG, Out of curosity, how much time did it take you do do the plugin? Did you have templates to work from? As a retired amature programmer (pre OOPS), I find this kind of coding compact. Maybe I could learn something about ruby if you documented a little:-), or maybe I am just a old dog that can't:-( Good work.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            36/55
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement