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

[Plugin] 2D Tools

Scheduled Pinned Locked Moved Plugins
785 Posts 178 Posters 462.5k Views 177 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.
  • R Offline
    robertWan
    last edited by 1 Mar 2014, 09:57

    @tig said:

    @RobertWan

    I think this is down to tiny geometry again.
    SketchUp tolerance is ~1/1000"
    3mm is approaching that for the tiny facet sizes and their end points being considered equivalent...
    When the fillet tool rounds a corner like that there should be no residual lines anyway!
    The faceted arc has a first/last section at such a shallow angle to the side that the point is confused.
    If you delete the two edges and redraw them, being sure to snap to the ends of the fillet-arc, then they will be 3mm long and dimension correctly.
    See the zoomed view attached...

    It is a plugin that changes the quantity (in selected groups of components, curves) segments in arcs and circles?

    I could draw the segments set to 6 (R 1 mm arc are ok) and prior to export to DXF* change all the arcs ang circles for example S30.

    Robert

    • Free Plugin DXF export does not save arcs and circles as true arcs, only segments.

    Robert

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 1 Mar 2014, 11:19

      You can only change the segmentation of arcs/circle that are '2d'.
      That is an arc/circle that has no faces or is associated with only one face.
      If you have made extrusions you cannot change the segmentation - because that curve now forms part of a 3d object.
      You can select a '2d' arc/circle and use 'Entity Info' to change its number of segments.
      If you have lots to process there is my Plugin available...
      'ArcCurve_set_segments'...
      http://sketchucation.com/pluginstore?pln=ArcCurve_set_segments
      http://sketchucation.com/forums/viewtopic.php?p=158903#p158903
      It runs from a Plugins menu item or the Ruby Console...
      It will change the segment count of all preselected arcs/circles IF it can... i.e. they are '2d'...

      TIG

      1 Reply Last reply Reply Quote 0
      • R Offline
        robertWan
        last edited by 1 Mar 2014, 22:10

        @tig said:

        If you have lots to do there is my Plugin available...
        'ArcCurve_set_segments'...

        That's what I've been looking for.
        Thank you!

        Robert

        1 Reply Last reply Reply Quote 0
        • N Offline
          ntxdave
          last edited by 27 Mar 2014, 23:13

          I am having a problem with setting the Alignment for the 2D Text Tool. The only thing that seems to work is Center. It appears that maybe the ]" at the end of the work Right and the "[ at the beginning of the work Left are causing a problem.

          If I try to right align text, it goes through the dialog just fine but does not create anything.

          Also, on the Line Style, how do I create my own custom line style?

          I am running SU 2014 on Windows 8.1

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 28 Mar 2014, 09:51

            @ntxdave said:

            I am having a problem with setting the Alignment for the 2D Text Tool. The only thing that seems to work is Center. It appears that maybe the ]" at the end of the work Right and the "[ at the beginning of the work Left are causing a problem.
            If I try to right align text, it goes through the dialog just fine but does not create anything.
            Also, on the Line Style, how do I create my own custom line style?
            I am running SU 2014 on Windows 8.1
            Remember that the 'alignment' of 2d text [which is what 2d text is - just no extrusion and editable...] does NOT place the text-component's insertion point in different places, it's always bottom-left: the alignment affects how multi-line text is formatted - 'left' and the lines of text align to the left 'margin', right the lines of text align to the right 'margin', and 'center' will center the lines of text. You can of course alter the axes [aka insertion-point] of any component by selecting an instance and using the context-menu item to change it.

            BUT now I do have a suspicion about some Ruby v2014 compatibility error [your report of the ][ brackets] - watch for the update πŸ˜’

            The custom LineStyle is explained in the 2d Help docs...
            Activate the LineStyle tool, right-click in empty space to call up the settings dialog, choose '<Custom Style>' from the end - in the next dialog enter a string - It must consist of <space> . (dot) only. Repeat it with a trailing <space(s)> to suit your needs...
            It is named thus 'MyStyle~.... .... '
            The custom-pattern is saved with the model...

            However, the LineStyle dialog suffers from the same ][ brackets issue - I fix that too...

            Watch for the update shortly...

            TIG

            1 Reply Last reply Reply Quote 0
            • T Offline
              TIG Moderator
              last edited by 28 Mar 2014, 10:56

              A update [v6.2] is available in the PluginStore.
              http://sketchucation.com/pluginstore?pln=2Dtools
              it fixes some v2014 glitches with some drop-down lists in dialogs for 2dText & 2dLineStyle.

              TIG

              1 Reply Last reply Reply Quote 0
              • N Offline
                ntxdave
                last edited by 28 Mar 2014, 15:06

                @tig said:

                @ntxdave said:

                I am having a problem with setting the Alignment for the 2D Text Tool. The only thing that seems to work is Center. It appears that maybe the ]" at the end of the work Right and the "[ at the beginning of the work Left are causing a problem.
                If I try to right align text, it goes through the dialog just fine but does not create anything.
                Also, on the Line Style, how do I create my own custom line style?
                I am running SU 2014 on Windows 8.1
                Remember that the 'alignment' of 2d text [which is what 2d text is - just no extrusion and editable...] does NOT place the text-component's insertion point in different places, it's always bottom-left: the alignment affects how multi-line text is formatted - 'left' and the lines of text align to the left 'margin', right the lines of text align to the right 'margin', and 'center' will center the lines of text. You can of course alter the axes [aka insertion-point] of any component by selecting an instance and using the context-menu item to change it.

                Thanks for the reply. Clearly my fault. I some how missed the comment about applying to multi line text.

                1 Reply Last reply Reply Quote 0
                • N Offline
                  ntxdave
                  last edited by 28 Mar 2014, 15:13

                  @tig said:

                  A update [v6.2] is available in the PluginStore.
                  http://sketchucation.com/pluginstore?pln=2Dtools
                  it fixes some v2014 glitches with some drop-down lists in dialogs for 2dText & 2dLineStyle.

                  I updated to this version and yes the drop down lists work much smoother.

                  However, I am still seeing the brackets on the tools and when I select <custom style> for the line style tool, I do not get the window to draw my style.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 28 Mar 2014, 16:53

                    You don't 'draw it', you input it as spaces and dots in a second dialog...
                    It worked for me... πŸ˜•
                    Something is up with the PluginStore version - it's not updated... πŸ˜’

                    I'll updated again please retry it in a moment... πŸ˜•

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      ntxdave
                      last edited by 28 Mar 2014, 17:04

                      @tig said:

                      You don't 'draw it', you input it as spaces and dots in a second dialog...
                      It worked for me... πŸ˜•
                      Something is up with the PluginStore version - it's not updated... πŸ˜’

                      I'll updated again please retry it in a moment... πŸ˜•

                      Bad wording on my part.....I understand what you are saying about entering it. I just do not get the dialog box. Are dots/periods the only characters I can use in my style?

                      BTW: On the text tool with multi line text, it shows centered but the text was right aligned. I could not get left to work though.

                      Probably something about the Ruby 2.0 that may be causing some conflict. I really am using the tool a lot though and liking it. The only other thing I see is that if I apply a line style to a curve, it does not repeat the line pattern but I found a way to work with that πŸ˜„

                      As I said, I like the tool and it is very useful for me. Now I need to figure out how to draw a regular line thicker and add an arrow head. Right now I go to LayOut to accomplish that.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 28 Mar 2014, 17:09

                        http://sketchucation.com/pluginstore?pln=2Dtools
                        Is v6.3
                        Hopefully this will work...
                        Feedback welcome.............

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • N Offline
                          ntxdave
                          last edited by 28 Mar 2014, 20:22

                          @tig said:

                          http://sketchucation.com/pluginstore?pln=2Dtools
                          Is v6.3
                          Hopefully this will work...
                          Feedback welcome.............

                          Great job...all seems to be working well.

                          Now another question - is it possible to allow characters other than a . and a space?

                          The only place where I see any problem is when I apply a line style to a Fillet. I am attaching a file that will display show what I am talking about.


                          TIG-2D Test.skp

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 29 Mar 2014, 11:20

                            No.
                            The <space> is the 'gap'.
                            The 'dot' is the 'solid'.
                            .. .. makes the solid twice as long as the gap.
                            . . makes the gap twice as long as the solid.
                            How else could you use another character.
                            The LineStyles all consist of gaps and solids.
                            The length of the gaps/solids is proportional to the line 'width'...

                            A 'curve' is treated as a number of separate line segments.
                            If a line segment is very short compared the the styled 'width' then it will all be single solid - made from the first . and perhaps even shortened from a full 'dot' !

                            You could manually delete every other styled-element to make the dots around a curve πŸ˜•

                            The reason your 2d Text right aligned etc looks slightly odd is that you have a space with the newline \n, this shunts the words over by a space - don't end or start with a start next to the \n.
                            "THIS\nIS HOW\nTO DO IT"
                            But
                            "THIS \n IS NOT HOW\n TO DO IT"
                            depending on the alignment used...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • N Offline
                              ntxdave
                              last edited by 29 Mar 2014, 14:44

                              @tig said:

                              No.
                              The <space> is the 'gap'.
                              The 'dot' is the 'solid'.
                              .. .. makes the solid twice as long as the gap.
                              . . makes the gap twice as long as the solid.
                              How else could you use another character.
                              The LineStyles all consist of gaps and solids.
                              The length of the gaps/solids is proportional to the line 'width'...

                              You could manually delete every other styled-element to make the dots around a curve πŸ˜•

                              The reason your 2d Text right aligned etc looks slightly odd is that you have a space with the newline \n, this shunts the words over by a space - don't end or start with a start next to the \n.
                              "THIS\nIS HOW\nTO DO IT"
                              But
                              "THIS \n IS NOT HOW\n TO DO IT"
                              depending on the alignment used...

                              OK - I understand. I was thinking about using characters like " - _ = + *" to build different patterns for different situations.

                              Yes, on my drawings, I deleted some of the style-elements on the curves and it came out pretty good. Kind of depends on how "sharp" the curve is.

                              Yes, I did put that space in there. I thought I had done it without the space and it did not work. Do not know what happened then. I just tried it and it worked just fine.

                              I highly recommend this tool. πŸ‘ πŸ‘ πŸ‘

                              Seems like almost every day I find another use for it.

                              1 Reply Last reply Reply Quote 0
                              • Clayton49C Offline
                                Clayton49
                                last edited by 8 Sept 2014, 10:41

                                To all,

                                I recently downloaded this PLUG-IN & can confirm it works o.k. with SU-Pro-2014.

                                **** DASHED LINES---DASHED LINES---DASHED LINES ****

                                .....and only just discovered.....
                                you can draw dashed lines & custom these as well... 😍

                                Over & out,
                                Clayton.

                                Over & out,
                                Clayton.

                                %(#008000)[Trotman & Taylor
                                Architectural Consultants]

                                1 Reply Last reply Reply Quote 0
                                • kuponoK Offline
                                  kupono
                                  last edited by 14 Nov 2014, 02:41

                                  Can't get the 2D Line Style tool to display a settings dialog in SU Pro 2015. I removed all 2D folders and plugins then reinstalled - same thing.

                                  1 Reply Last reply Reply Quote 0
                                  • Dave RD Offline
                                    Dave R
                                    last edited by 14 Nov 2014, 03:09

                                    It works fine for me. The dialog box pops up when I right click in empty space just as the hint at the bottom directs.

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • kuponoK Offline
                                      kupono
                                      last edited by 14 Nov 2014, 09:05

                                      That's interesting, it's now working. Go figure.

                                      Thx

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        sketchydog
                                        last edited by 3 Dec 2014, 18:33

                                        @thomthom said:

                                        :?:

                                        TIG-
                                        Have enjoyed using 2D Tools, and especially the linestyle tool, for generating property lines, etc.
                                        Some comments:

                                        first of all, have been running it fine on SU 2015. Today, I attempted a few Custom Styles, and now I am stuck with the most recent Custom Style, and right clicking in empty space no longer gets me a menu. I went back to a saved version of the file a couple of hours earlier, before I attempted the Custom Style, and 2D tools works fine. It's apparently only in THIS file that it will not work. I have run Cleanup. I have done a SaveAs to another name. No good. Apparently this file is not going to run 2D Tools Line Style again. What happened?

                                        Also- a couple of other comments:

                                        1. It's strange how, for the color options, we get a huge pallete of colors...and I'm not sure where they come from...but they change...and frequently I'll go back for "Goldenrod" or some other color, and it's not on the list anymore! The list appears to be a selection in the middle of a greater range of colors. In other words, soehow I sense that there are colors above and below the menu but cannot get to them.

                                        2. Would be very good to get widths greater than 144.

                                        3. Would be good to have some sort of way to handle curves. It's strange when a property line "goes solid" for a short segment or a curved segment.

                                        Thanks!

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 4 Dec 2014, 11:34

                                          @Joseph

                                          To get the settings dialog to open you need to right-click in 'empty-space'.
                                          If there is any object, like a large face-plane, below the cursor you will get the context-menu instead.
                                          If necessary orbit so you are looking at the 'empty sky' or well to one side of any existing geometry.


                                          The color options should include a sorted list of all of all existing Materials and the built-in SketchUp colors [which include 'Goldenrod'].
                                          Type/copy+paste this into the Ruby Console to see all of the colors...
                                          Sketchup::Color.names.sort.each{|e|puts e};puts
                                          The list is often longer than the height of the screen, so to navigate further down type the first letter of the color - like 'W' for 'White' - this jumps down to the first 'W' is 'Wheat', use the up/down arrows to step through the list to 'White' [this is explained in the Help pages].


                                          You can customize the line of widths to exclude or include whatever you like: the default 'inch' set is available in the file ../Plugins/2DTools/2DlinestyleTool.rb.
                                          You can edit that file using Notepad.exe or an equivalent plain-text editor like Notepad++ or TextWrangler[MAC] [but NOT a wordprocessor].
                                          Line #103 says:
                                          widths="0.05|0.1|0.2|0.25|0.5|0.75|1.0|1.5|2.0|3.0|4.0|5.0|6.0|8.0|9.0|10|12|18|20|24|25|36|48|50|60|72|75|84|96|100|108|120|132|144"
                                          Simply delete unwanted entries or add new ones as desired, each width needs to be separated by a '|'; so e.g. if you don't want 132" delete it, and if you want 200" add it on the end as ...|108|120**|**144**|200**"
                                          Save your changes and restart Sketchup to load the new setup...
                                          There is also a separate 'metric' [mm] list, just below that on laine #105, so if you use mm and want to adjust that list's contents you can edit that too.


                                          Since SketchUp's Curves are made from segments of edges any styling applies to those edges, so the styling will appear in those pieces - it would be possible, BUT very convoluted, to get a different result...

                                          TIG

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 29
                                          • 30
                                          • 31
                                          • 32
                                          • 33
                                          • 39
                                          • 40
                                          • 31 / 40
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement