• 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.
  • M Offline
    Michaelv
    last edited by 16 Mar 2011, 17:28

    @amsketcher said:

    I installed 2D tools (thanks TIG) on my OS X SketchUp Pro trial version but I can't get dashed lines to stay dashed.

    I select dashed line style, draw the 2D line (and it looks dashed) but as soon as I double-click to end the line, the line is laid down as solid.

    What am I missing?

    If what you're trying to do is draw thing as construction lines, it doesn't work on the Mac.
    Here are some tools that will let you use clines on the Mac.
    You need to replace the original tools inside the 2DTools folder by these (make backups of the originals!). They are however based on version 4.6 of TIG's tools, but they work fine as far as I know. I don't know of any core modifications done between version 4.6 and 5.0 of these tools and I haven't checked the script to make sure, but it shouldn't be an issue. For Mac users they give you access to all options. For PC users you don't need them (I don't know how the modifier behave, and haven't checked).


    V4.6m


    V4.6m


    V4.6m


    V4.6m


    V4.6m

    1 Reply Last reply Reply Quote 0
    • S Offline
      SketchUpNoobie
      last edited by 28 Apr 2011, 21:32

      Hmmm. I've used this great plugin many times before but I'm experiencing issues now.

      I have a rectangle that I want to fillet. I select the fillet tool, enter the fillet radius, and select my first line. Everything is normal. Then when I select my second, perpendicular line, poof everything disappears. ๐Ÿ˜• It deletes everything in the model.

      TIG, am I doing something wrong? Has anyone else experienced this issue? Are there any known workarounds? I am running Windows XP SP2 and SketchUp 7 if that makes a difference. The weird thing is, chamfer works fine.

      It's no big deal if I just fillet it manually. I'm just wondering what I'm doing wrong and what I can do to fix it.

      --

      SketchUpNoobie: the complete noob in all things SketchUp.

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 29 Apr 2011, 16:09

        @unknownuser said:

        Hmmm. I've used this great plugin many times before but I'm experiencing issues now.

        I have a rectangle that I want to fillet. I select the fillet tool, enter the fillet radius, and select my first line. Everything is normal. Then when I select my second, perpendicular line, poof everything disappears. ๐Ÿ˜• It deletes everything in the model.

        TIG, am I doing something wrong? Has anyone else experienced this issue? Are there any known workarounds? I am running Windows XP SP2 and SketchUp 7 if that makes a difference. The weird thing is, chamfer works fine.

        It's no big deal if I just fillet it manually. I'm just wondering what I'm doing wrong and what I can do to fix it.

        Nothing's changed recently with the code.
        It should work fine with your OS & SUp version too...
        A mystery ๐Ÿ˜•
        I don't think it's deleting everything in the model - rather some 'corrupted' geometry is made miles away and the model's extents are knackered...
        There's no known workaround because it's not a problem I knew of till now ๐Ÿ˜’
        What size is the rectangle?
        What size is the fillet radius?
        What units are you using etc ?
        Can you post an example SKP where the problem occurs etc...
        Without more to go on I can't yet help ๐Ÿ˜ž

        TIG

        1 Reply Last reply Reply Quote 0
        • S Offline
          SketchUpNoobie
          last edited by 29 Apr 2011, 16:29

          @tig said:

          What size is the rectangle?

          3'6" by 4"

          @tig said:

          What size is the fillet radius?

          1"

          @tig said:

          What units are you using etc ?

          Imperial. (feet and inches)

          @tig said:

          Can you post an example SKP where the problem occurs etc...

          fillet_test.skp

          @tig said:

          I don't think it's deleting everything in the model - rather some 'corrupted' geometry is made miles away and the model's extents are knackered...

          No, sorry. You're right. It only deletes the rectangle I am working on. About corrupted geometry, I don't know. If I make the rectangle a component first, and edit that, the component boundaries shrink to the size of one that has no entities. I hope I made sense there. ๐Ÿ˜• What I mean is, if I go into the model info box after the geometry is deleted, no entities show up. It is truly deleted.

          --

          SketchUpNoobie: the complete noob in all things SketchUp.

          1 Reply Last reply Reply Quote 0
          • T Offline
            TIG Moderator
            last edited by 29 Apr 2011, 16:39

            As you can see I have no issues with 2d filleting - Vista + v7 or v8 fillet_test_Capture.JPG
            Have you tried reinstalling the 2Dtools in case one is somehow corrupted [I can't think how it might be though!].
            Have you tried repairing your Sketchup installation in case it's corrupted in some minor way ?

            TIG

            1 Reply Last reply Reply Quote 0
            • S Offline
              SketchUpNoobie
              last edited by 29 Apr 2011, 16:43

              @tig said:

              Have you tried reinstalling the 2Dtools in case one is somehow corrupted [I can't think how it might be though!].
              Have you tried repairing your Sketchup installation in case it's corrupted in some minor way ?

              Reinstalling 2Dtools now. How would I go about repairing my SketchUp installation? ๐Ÿ˜•

              --

              SketchUpNoobie: the complete noob in all things SketchUp.

              1 Reply Last reply Reply Quote 0
              • T Offline
                TIG Moderator
                last edited by 29 Apr 2011, 16:47

                @unknownuser said:

                @tig said:

                Have you tried reinstalling the 2Dtools in case one is somehow corrupted [I can't think how it might be though!].
                Have you tried repairing your Sketchup installation in case it's corrupted in some minor way ?

                Reinstalling 2Dtools now. How would I go about repairing my SketchUp installation? ๐Ÿ˜•

                No exactly sure on XP - perhaps someone else can chip in too - on Vista... Exit all apps... Then Control Panel > Programs & Features...
                Find Google Sketchup v7 in the list, highlight and click UnInstall/Repair button. When prompted choose Repair and it should run and repair the installation.
                If that doesn't work you might need to do a full install - it shouldn't affect any Plugins etc you have installed already...

                TIG

                1 Reply Last reply Reply Quote 0
                • S Offline
                  SketchUpNoobie
                  last edited by 29 Apr 2011, 16:53

                  @tig said:

                  @unknownuser said:

                  @tig said:

                  Have you tried reinstalling the 2Dtools in case one is somehow corrupted [I can't think how it might be though!].
                  Have you tried repairing your Sketchup installation in case it's corrupted in some minor way ?

                  Reinstalling 2Dtools now. How would I go about repairing my SketchUp installation? ๐Ÿ˜•

                  No exactly sure on XP - perhaps someone else can chip in too - on Vista... Exit all apps... Then Control Panel > Programs & Features...
                  Find Google Sketchup v7 in the list, highlight and click UnInstall/Repair button. When prompted choose Repair and it should run and repair the installation.
                  If that doesn't work you might need to do a full install - it shouldn't affect any Plugins etc you have installed already...

                  I found how to do it but it can't find the installer for SketchUp. I must have deleted it. How could I completely reinstall SketchUp 7.1? Is there some place you know that I could download it from?

                  --

                  SketchUpNoobie: the complete noob in all things SketchUp.

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    TIG Moderator
                    last edited by 29 Apr 2011, 16:55

                    Luckily it's linked here http://forums.sketchucation.com/viewtopic.php?p=315903#p315903 ๐Ÿ˜ฎ

                    TIG

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      SketchUpNoobie
                      last edited by 29 Apr 2011, 16:57

                      @tig said:

                      Luckily it's linked here http://forums.sketchucation.com/viewtopic.php?p=315903#p315903 ๐Ÿ˜ฎ

                      Thanks. ๐Ÿ˜„ And do I have to do anything to keep all my plugins, styles, templates, etc.?

                      --

                      SketchUpNoobie: the complete noob in all things SketchUp.

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TIG Moderator
                        last edited by 29 Apr 2011, 17:18

                        @unknownuser said:

                        @tig said:

                        Luckily it's linked here http://forums.sketchucation.com/viewtopic.php?p=315903#p315903 ๐Ÿ˜ฎ

                        Thanks. ๐Ÿ˜„ And do I have to do anything to keep all my plugins, styles, templates, etc.?

                        If you do a 'reinstall' it should keep all of the already added stuff and simply renew the required program files.
                        To be on the safe side you could always make copies of your Templates, Components, Materials, Styles and Plugins folders etc and then reinstall, after that check if the custom Templates, Scripts etc are still there, if not you have copies to move over.
                        It's a good idea to have a back-up copy of your custom files/folders in case of a disaster anyway - I suggest you burn a CD/DVD of them and keep it safe for unforeseen problems...

                        TIG

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          SketchUpNoobie
                          last edited by 29 Apr 2011, 17:24

                          @tig said:

                          If you do a 'reinstall' it should keep all of the already added stuff and simply renew the required program files.

                          But I'm not really reinstalling am I? I'm going from v.7.1 to v.7.1pro trial. I have all the files backed up on DropBox so I should be good.

                          --

                          SketchUpNoobie: the complete noob in all things SketchUp.

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            TIG Moderator
                            last edited by 29 Apr 2011, 17:27

                            The difference between Free and Pro is minimal on the install - they are very similar and the core program parts are the same - it's just that after the time limit is up some v7.1 features no longer work, unless it's fully licensed...

                            TIG

                            1 Reply Last reply Reply Quote 0
                            • S Offline
                              SketchUpNoobie
                              last edited by 29 Apr 2011, 18:08

                              I reinstalled both 2Dtools and SketchUp but I'm still getting the same thing. Is the plugin conflicting with another plugin or program? Weird thing is, every other part of the plugin works. It's just the fillet tool that I'm having problems with. ๐Ÿ˜•

                              --

                              SketchUpNoobie: the complete noob in all things SketchUp.

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                TIG Moderator
                                last edited by 30 Apr 2011, 09:18

                                ๐Ÿ˜•
                                As all of the 2Dfillet's methods are wrapped in a class, and it only uses built-in API calls... I'd expect no clashes.
                                Have you tried resetting hardware acceleration etc in preferences to see if that is affecting anything [clutching at straws here!]
                                To check if script that loads after 2Dtools IS messing something up you could try and copy/paste this into the Ruby Console + <enter>
                                load '2Dtools/2DfilletTool.rb'
                                Then try to use the 2Dfillet tool - if it works we know something is clashing if not we are no worse off...
                                If it's still bust try temporarily renaming 'Plugins' as say 'Plugins_Disabled' and then make a new 'Plugins' folder; now copy into that the following files/folder that are needed for the 2Dtools to work:

                                2Dtools folder with all of its contents intact
                                2D#.rb
                                deBabelizer.rb
                                Restart Sketchup.
                                If 2Dfillet now works we know there's a clash with something that's now not loading.
                                If you've recently added some scripts try copying those over a few at a time and restart/test to see if you can still use 2Dfillet.
                                If you get a culprit let me know
                                Remember to copy the scripts so the origin set of plugins is not changed.
                                Swap the Plugins folders' names around so the origin is now called 'Plugins' again...

                                TIG

                                1 Reply Last reply Reply Quote 0
                                • S Offline
                                  SketchUpNoobie
                                  last edited by 30 Apr 2011, 12:10

                                  @tig said:

                                  :? Have you tried resetting hardware acceleration etc in preferences to see if that is affecting anything [clutching at straws here!]

                                  No luck.

                                  @tig said:

                                  To check if script that loads after 2Dtools IS messing something up you could try and copy/paste this into the Ruby Console + <enter>
                                  load '2Dtools/2DfilletTool.rb'
                                  Then try to use the 2Dfillet tool - if it works we know something is clashing if not we are no worse off...

                                  When I use the tool, the same thing happens. I get this error in the console. Error: #<NoMethodError: undefined methodexplode' for nil:NilClass>
                                  C:/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/2DfilletTool.rb:404:in create_geometry' C:/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/2DfilletTool.rb:197:in onLButtonDown'
                                  C:/Program Files/Google/Google SketchUp 7/Plugins/2Dtools/2DfilletTool.rb:404`

                                  @tig said:

                                  If it's still bust try temporarily renaming 'Plugins' as say 'Plugins_Disabled' and then make a new 'Plugins' folder; now copy into that the following files/folder that are needed for the 2Dtools to work

                                  Wahoo!!! It works! ๐Ÿ˜ I'll add stuff back in and let you know when I find out what plugin it is that was causing the problem.

                                  I should have tried this first. ๐Ÿ˜ณ I will in the future.

                                  --

                                  SketchUpNoobie: the complete noob in all things SketchUp.

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    TIG Moderator
                                    last edited by 30 Apr 2011, 12:24

                                    The error you [eventually] reported occurs after some grouping and copying etc - it's obviously failing.
                                    We seem to be looking for something that overwrites base classes like group methods. I know SketchyPhysics has caused some problems in the past - try re-enabling that if you have it, and see what happens...

                                    TIG

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      SketchUpNoobie
                                      last edited by 30 Apr 2011, 13:56

                                      @tig said:

                                      The error you [eventually] reported occurs after some grouping and copying etc - it's obviously failing.

                                      Sorry for not checking that sooner. ๐Ÿ˜ณ Not sure what you're saying about grouping . . . ๐Ÿ˜•

                                      @tig said:

                                      I know SketchyPhysics has caused some problems in the past - try re-enabling that if you have it, and see what happens...

                                      Re-enable? Like reinstall? If I copy over all the plugins except for SketchyPhysics and it's components, the fillet tool works so SketchyPhysics seems to be the guilty plugin. Should I just reinstall it? I don't really use it so I could just delete it.

                                      --

                                      SketchUpNoobie: the complete noob in all things SketchUp.

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        TIG Moderator
                                        last edited by 30 Apr 2011, 14:06

                                        Many complex tools do some temporary 'grouping' in the back ground, although by the time you see the result they've been erased or exploded etc.
                                        2Dfillet is one of them.
                                        Some tools rewrite some base classes' methods which can mess up other tools using them.
                                        If the error only occurs with SketchyPhysics 'loaded' then move it back into the disabled 'set' and then try all the rest.
                                        If you still have a working 2Dfillet tool and you don't need SketchyPhysics so much leave it disabled...
                                        You can always swap back briefly when you need it.
                                        When I said 'reinstall' I just mean move from the disabled set into then Plugins folder...
                                        You could also check you have the latest version of SketchyPhysics as it might have fixed this issue... ๐Ÿ˜•

                                        TIG

                                        1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          SketchUpNoobie
                                          last edited by 30 Apr 2011, 14:37

                                          Alright, I just disabled SketchyPhysics for now. If I need it I'll go download the newest version.

                                          Thanks a ton for taking the time to help me out TIG. And thanks again for this awesome plugin.

                                          --

                                          SketchUpNoobie: the complete noob in all things SketchUp.

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 15
                                          • 16
                                          • 17
                                          • 18
                                          • 19
                                          • 39
                                          • 40
                                          • 17 / 40
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement