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

[Plugin] 2D Tools

Scheduled Pinned Locked Moved Plugins
785 Posts 178 Posters 462.5k 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.
  • T Offline
    TIG Moderator
    last edited by 15 Nov 2013, 11:18

    You change the setting when activating the tool - by typing 6s [+<enter>] - as well as then say 100 [+<enter>] for the radius... then both of those settings are remembered with the model on a save, and reused across sessions.

    IF you want to change the script's coding...
    Use a plain-text editor - say Notepad/Notepad++ or TextWrangler[for MAC] - never a wordprocessor!
    Edit the file: ../Plugins/2DTools/2DfilletTool.rb
    Then find the following two lines: #70
    @segs=**18** if not @segs
    which becomes: @segs=**6** if not @segs
    and then #89
    @segs=Sketchup.active_model.get_attribute("2Dtools","fillet_segments",**18**)
    which becomes: @segs=Sketchup.active_model.get_attribute("2Dtools","fillet_segments",**6**)
    [TIP: If your text-editor has no line-numbering then you can search/find for the two occurrences of " @segs="...]
    Now when opening a brand new model the default 2DfilletTool's segmentation is always 6s - although of course you can reset it to say 18s or whatever you desire on a per model basis. by typing the new value into the VCB, such settings are remembered with each model on save - here as the attribute 2Dtools : fillet_segments...
    πŸ€“

    TIG

    1 Reply Last reply Reply Quote 0
    • R Offline
      robertWan
      last edited by 26 Nov 2013, 21:06

      How to avoid this error? After the fillet lines are not parallel.
      2D Fillet

      Robert


      2DFillet.skp

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 27 Nov 2013, 10:26

        @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...


        Capture.PNG

        TIG

        1 Reply Last reply Reply Quote 0
        • J Offline
          jzar_kobi
          last edited by 29 Nov 2013, 18:26

          Having trouble with the textures....just don't fill. I've picked the texture from the scene and used the bucket tool....worked that way but not from the 2d hatching tool. The 2d line tool....love it. It did jump it's xyz position when it when over a 3D object. Moved in the positive z direction to float above the cube. I'll post some of my experiments if you'd like them.

          1 Reply Last reply Reply Quote 0
          • T Offline
            trackbuilder
            last edited by 4 Dec 2013, 14:12

            I am new to installing Plugins for SU, so I downloaded the Plugin from SketchUcation and it installed correctly. I downloaded the 2D Tools plugin from TIG and it appeared to load properly. However, once it was installed, this message came up...

            Permission denied - C:/Program Files/SketchUp/SketchUp 2013/Plugins/2Dtools/2Dtidied.txt
            Error Loading File 2D#.rb
            Permission denied - C:/Program Files/SketchUp/SketchUp 2013/Plugins/2Dtools/2Dtidied.txt

            Is this a setting conflict with my PC or what? Please help...

            I've installed SU Pro v 2013, on OS Windows 7

            1 Reply Last reply Reply Quote 0
            • D Offline
              Dave R
              last edited by 4 Dec 2013, 14:29

              @trackbuilder said:

              I am new to installing Plugins for SU, so I downloaded the Plugin from SketchUcation and it installed correctly.

              Actually, you didn't quite get it installed correctly. Before installing it you need to go in to the Security setting for the Plugins folder and set permissions for your log in to All so there's full access. Do that and reinstall it. Best would be to install the SCF Plugin Store and automatically install other plugins from there.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • J Offline
                jim smith
                last edited by 5 Dec 2013, 00:56

                @dave r said:

                @trackbuilder said:

                I am new to installing Plugins for SU, so I downloaded the Plugin from SketchUcation and it installed correctly.

                Actually, you didn't quite get it installed correctly. Before installing it you need to go in to the Security setting for the Plugins folder and set permissions for your log in to All so there's full access. Do that and reinstall it. Best would be to install the SCF Plugin Store and automatically install other plugins from there.

                I was receiving the same message as trackbuilder on just some of the plugins and only on su 2013. My SU8 never had the problem. I redid the security setting as suggested and can now load more plugins. 2D is a favorite, now I can start to migrate with confidence, but hanging on to 8 for a while..... Thanks for the clue Dave!

                "Out of clutter find simplicity,
                from discord find harmony,
                In the middle of difficulty lies opportunity"
                Albert Einstein

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Dave R
                  last edited by 5 Dec 2013, 01:05

                  Hi Jim,

                  I'm glad that helped. Some plugins need to be able to write to a file for changes you might make in the VCB or a window that opens. The files generally end up in the Plugins folder so having privileges will be important.

                  Etaoin Shrdlu

                  %

                  (THERE'S NO PLACE LIKE)

                  G28 X0.0 Y0.0 Z0.0

                  M30

                  %

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 5 Dec 2013, 10:20

                    That temp file is a throwback.
                    I'll remove it and update.
                    It's there to record if ye olde format of the 2dTools installation has already been tidied up...

                    However, you do need to ensure FULL permissions to your Plugins folder as several tools do still write temporary files there...

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      trackbuilder
                      last edited by 5 Dec 2013, 14:18

                      TIG, Dave and Jim,

                      Thank you for all of your help!!!!! I adjusted the security settings, and found the 2D Tools plug-in in the Draw menu.

                      1 Reply Last reply Reply Quote 0
                      • Clayton49C Offline
                        Clayton49
                        last edited by 9 Dec 2013, 18:25

                        Help to anyone,

                        This tool will be a life saver, however for some reason it won't let me install it. I get an the error message below:-


                        Permission denied - C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/2Dtools/2Dtidied.txt
                        Error Loading File 2D#.rb
                        Permission denied - C:/Program Files (x86)/SketchUp/SketchUp 2013/Plugins/2Dtools/2Dtidied.txt

                        Not had anything like this before on any extensions, what gives with this extension...

                        I wish this extension was available through SketchUP's own Extension Warehouse, I might get it loaded that way.

                        Not too sure if this is related to the SKETCHUCATION PLUGIN STORE V2.0 as having some problems with that as well...

                        When I click on the blue icon (SKETCHUCATION PLUGINS MANAGER) I get error message saying "no security permission to manage any plugins folder in the $LOAD_PATH. FULL Read/write Permissions are needed to manage Plugins within this Plugins Folders.."

                        Just not my day I guess.. 😞

                        Any help will be most appreciated.

                        Over & out,
                        Clayton.


                        SU error message 01.jpg

                        Over & out,
                        Clayton.

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

                        1 Reply Last reply Reply Quote 0
                        • D Offline
                          Dave R
                          last edited by 9 Dec 2013, 20:53

                          This has been covered a number of times here. In fact, just five posts above. You need to set the permissions for the Plugins folder so you have full administrative rights under your log in. Go to the Plugins folder, right click on it and choose Properties. Then click on the Security tab and the Edit button. Select your log in and tick all of the boxes for "Allow." Then OK and close out of that. Reinstall the plugin and it should work fine.

                          Etaoin Shrdlu

                          %

                          (THERE'S NO PLACE LIKE)

                          G28 X0.0 Y0.0 Z0.0

                          M30

                          %

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 9 Dec 2013, 23:19

                            Somehow the issue that was meant to be resolved with v5.6 messed up in the recent upload.
                            The latest v5.7 [hopefully] avoids this 'temp-file-in-plugins-folder' issue all together...
                            http://sketchucation.com/resources/pluginstore?pln=2Dtools

                            BUTthis does not sidestep the issue that you MUST have FULL security permissions to your Plugins folder both to AutoInstall Plugins from the PluginStore... AND subsequently 'manage' them... πŸ˜’

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TIG Moderator
                              last edited by 12 Dec 2013, 21:46

                              Here's a future-proofed update.
                              http://sketchucation.com/forums/viewtopic.php?p=185760#p185760

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • OxerO Offline
                                Oxer
                                last edited by 19 Dec 2013, 16:22

                                Thanks TIG for the update, the v5.9 works fine on Mac OSX 10.9 & SU2013 but a minor problem, the icons of the tools cursor don't show.

                                "The result is the end what is important is the process" by Oxer
                                [http://www.oxervision.blogspot.com/(http://www.oxervision.blogspot.com/)]

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TIG Moderator
                                  last edited by 20 Dec 2013, 11:24

                                  I confirm that I too get no custom-cursors with the MAC version [PC is still fine!] - there are no error messages...

                                  I'm investigating... πŸ˜•

                                  Any advice from others who've seen this kind of thing would be appreciated... πŸ˜’

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • D Offline
                                    Dave R
                                    last edited by 20 Dec 2013, 12:01

                                    I just installed 2D Tools on my Mac again from the Plugin Store. the tools show just fine on the toolbar for me.

                                    2013-12-20_05-58-24.png

                                    Etaoin Shrdlu

                                    %

                                    (THERE'S NO PLACE LIKE)

                                    G28 X0.0 Y0.0 Z0.0

                                    M30

                                    %

                                    1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      TIG Moderator
                                      last edited by 20 Dec 2013, 12:09

                                      It's NOT the toolbar icons, it's the custom-cursor icons that each tool has.
                                      On a PC you get a special cursor for each tool - even different cursors as a tool's function changes.
                                      On a MAC these are missing - you just get the default tool-arrow cursor for all of the tools.

                                      The code to make the cursors is standard Tool/UI stuff, and it works on PC, so what's up with MAC version [no error messages] is a mystery ... so far πŸ˜’

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        Dave R
                                        last edited by 20 Dec 2013, 12:12

                                        Oops! My apologies. Yes, I see now that the custom icons aren't working.

                                        Etaoin Shrdlu

                                        %

                                        (THERE'S NO PLACE LIKE)

                                        G28 X0.0 Y0.0 Z0.0

                                        M30

                                        %

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TIG Moderator
                                          last edited by 22 Dec 2013, 15:48

                                          At first I thought it might be a png size issue... so I remade all of the cursors 32x32px and retested... BUT on MAC v2013 it still fails to display the custom-cursors, and in fact if you orbit the cursor sticks on the 'orbit' cursor and doesn't reset to the normal Tool cursor !
                                          I also tried remaking some of the cursor creation code, although it already was PC acceptable...
                                          Still no joy πŸ˜•

                                          I then looked at ALL plugins from any source which are using custom-cursors and they ALL fail on MAC πŸ˜’

                                          I am now updating my two plugins [Grow & 2dTools] NOT to use custom-cursors on MACs only, so tat least the orbit-cursor glitch is side stepped.
                                          I'll raise something with SketchUp too...

                                          TIG

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

                                          Advertisement