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

[Plugin] SPGears

Scheduled Pinned Locked Moved Plugins
91 Posts 40 Posters 179.0k Views 40 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 Offline
    Trogluddite
    last edited by 4 Jul 2012, 08:16

    Hello Again,
    Apologies for my earlier bug report being rather scanty - had to dash out of the office mid-way through posting. So here is some hopefully more useful detail...

    The dialogue box appears OK, and I am able to enter new values. The 'splat' happens as soon as I press the 'OK' button - too quickly to see if there are any messages in the Ruby console.
    I checked whether it was a clash with some other 'rogue' plugin by temporarily clearing my plugins folder so that 'SPGears' was the only one available. I've also tried using alternative units and having some/none other geometry in the SU session. Sadly, a bug splay every time.

    I'm using SU Pro v8 (latest maintenance release to 8.0.14346) on WinXP, and my PC is nice and stable with my usual plugin collection.
    Got my fingers crossed this can be fixed without too much trouble - I've been after a simple, versatile way to draw gears for a while, and your screenshots have really whetted by appetite!

    1 Reply Last reply Reply Quote 0
    • J Offline
      jgrundman
      last edited by 4 Jul 2012, 16:44

      Trog,
      Sorry you're having difficulty. I did find an error when adding the tool to the plugins menu, but the issue you're seeing sounds different. I've reposted the zip file with the correction that I found, so try it and let me know what happens. If you still get the bug splat before the console can report any errors, check the splat details to see if it provides any clues. Thanks!

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdmitch
        last edited by 4 Jul 2012, 18:36

        Having written a rather primitive gear plugin of my own, I was very interested in seeing how you did yours. Very nice I must say. I had no problem loading and running the plugin. My only question/request is, given the examples in the screenshot, what parameter values did you enter to achieve the various gears?

        Nothing is worthless, it can always be used as a bad example.

        http://sdmitch.blogspot.com/

        1 Reply Last reply Reply Quote 0
        • M Offline
          Michaelv
          last edited by 4 Jul 2012, 19:43

          NICE, real nice!

          Works on Mac BTW ( I commented the logtofile method because it was clearly window and specific, so I don't know if that would crash if I didn't, didn't try, but with it commented, no problem)

          Thanks for this nice plugin!

          1 Reply Last reply Reply Quote 0
          • A Offline
            Anton_S
            last edited by 5 Jul 2012, 01:04

            +100000000000000000000000000000000000000000000000000000
            πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ‘ πŸ˜„ πŸ˜„
            I couldn't, just couldn't Draw twisted gears myself. No doubt, this is an awesome plug. THanks!!!!
            Untitled.png

            1 Reply Last reply Reply Quote 0
            • T Offline
              Trogluddite
              last edited by 5 Jul 2012, 10:14

              Hi Again,
              re: Bug Report
              I've now checked out the plugin on a couple of other machines in the office - all working perfectly; an excellent piece of Rubying!
              The alternative machines all have a clone of the plugin folder on the troublesome one - so it looks to be a problem with the OS or SU installation on my main machine. The only bugsplat dump that I managed to find was just a mess of raw binary - but if you have the ability to decode it, I can post it up if you think it may be useful.
              Thanks for your efforts so far - but as I seem to be the only user having trouble, please don't expend too much effort on this lone bug report. As it happens, our IT team are just setting me up with a new PC - so with any luck, I'll get to use your plugin to make some funky gear trains in a day or two anyway!

              1 Reply Last reply Reply Quote 0
              • J Offline
                jgrundman
                last edited by 6 Jul 2012, 04:45

                @trogluddite said:

                ...so it looks to be a problem with the OS or SU installation on my main machine.

                Trog,
                Thanks for the update. I'm having similar issues on my end. My 2 yr old notebook (I used to write the code) was giving my fits with the animation. When I tried it on my 12 yr old desktop, animation was smooth and ran for 800+ frames before crappping out. That's why I took down the warning about animation issues. I think my problem is too many background apps taxing the processors, but I haven't tested it yet. Anyway, glad to hear its working on other machines.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jgrundman
                  last edited by 6 Jul 2012, 05:04

                  @sdmitch said:

                  ...what parameter values did you enter to achieve the various gears?

                  For the larger diameter samples, I used the default 10" radius and the smaller ones are between 5" and 7" radius (don't recall, exactly). The beveled and flat gears are different bevel angles of 45 and 90 degrees, respectively. The helicals are all 30 degrees, except the mate to the long pair which is -30 degrees. The bevel can be set to negative values, putting the teeth on the interior, but the results are less than satisfactory. I will be adding true "internal" gears in version 2. I also need to redo the beveled helical since the current params result in a semi-hypoid shape.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bheffernan
                    last edited by 29 Jul 2012, 06:36

                    Thanks for this plugin. I'm a longtime user of gear.3.rb and this looks like an upgrade.

                    Addition of worm gear function would be great. I'm struggling with getting a parametric worm gear in sketchup which I use to export to .stl and print on a 3D printer for various projects. The hard part (as discussed in this thingiverse model: http://www.thingiverse.com/thing:9827) is the worm gear part.

                    Anyway, thanks again,
                    Brendan

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      Trogluddite
                      last edited by 10 Aug 2012, 17:12

                      Hi Again,
                      Just a little follow up on that old bug report.
                      The IT guys finally got my new machine set up - and, oh no, the plugin was still having problems...
                      ...until I went into the BIOS and increased MoBo GPU RAM to 500MB instead of the paltry 32MB allocated by default (had to use the MoBo, as the supposedly nice graphics card they put in couldn't even handle the SU view port!).
                      It now strikes me that this might have been the problem with the old PC - that also was using the MoBo graphics, and can't have have 500MB GPU space because the whole machine only had 1GB installed!
                      Here's a piccy of the first completed project...
                      SPGears.jpg
                      ...suffice to say, the boss was well pleased, especially as upcoming projects will require much more complex gear trains than this.

                      Many thanks for your excellent tool,
                      Trog

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sofie9536
                        last edited by 11 Aug 2012, 08:55

                        Thank you, the gears are perfect for use in sketchyphysics

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          mikaelgu
                          last edited by 18 Dec 2012, 11:06

                          First of all a huge thank you!
                          I've been looking for a way to have custom gears made for a while until I found this plugin. Decided to try it out by drawing a pair of helical beveled gears and had them 3d-printed. As far as I can tell, the gears mesh beautifully and work axactly as they should!
                          I just have one small wish: It would be great if the center guide that is created for the (bevel) gears would extend all the way to tip of the pitch cone. It would speed up aligning the gears in sketchup significantly.

                          1 Reply Last reply Reply Quote 0
                          • T Offline
                            tulacong
                            last edited by 20 Dec 2012, 15:07

                            oh my god thank you

                            1 Reply Last reply Reply Quote 0
                            • M Offline
                              mikaelgu
                              last edited by 20 Dec 2012, 16:00

                              Found a small bug:
                              Regardless of the unit of measure of pitch radius, the face width is always measured in inches, makes it a little harder to make gears of certain widths when using the metric system.

                              1 Reply Last reply Reply Quote 0
                              • 2 Offline
                                2Tricky
                                last edited by 17 May 2013, 10:19

                                I am brand new to this Plugin and Sketchup. I had no problems in principle with this plugin - I'm using Win 7. My aim is to create gcode and so far I have played with the plugin gear.3.rb to make the gears and the Phlatboyz plugin for gcode. However, I was dissapointed to find that gear.3.rb uses all straightline segments which to cut a long story short, makes the code too long for our mill. I was hoping for arcs in this plugin but it too uses straight lines. I'd love arcs to be a feature of this plugin.

                                Cheers

                                1 Reply Last reply Reply Quote 0
                                • KrisidiousK Offline
                                  Krisidious
                                  last edited by 17 May 2013, 13:10

                                  Sweeet Plugin.

                                  By: Kristoff Rand
                                  Home DesignerUnique House Plans

                                  1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    jgrundman
                                    last edited by 17 May 2013, 21:25

                                    2Tricky,
                                    I sent you a private message for additional information, but have since discovered the source of the issue you are having. The problem is not the plug-in, but a limitation within Sketchup. A Sketchup 'curve' is a collection of points and edges, not a true, continuous curve (as a mathematical function). The only way you could get a smoother curve would be to increase the number of segments (edges), but I doubt that would solve the problem you are having.
                                    -J-

                                    @2tricky said:

                                    I am brand new to this Plugin and Sketchup. I had no problems in principle with this plugin - I'm using Win 7. My aim is to create gcode and so far I have played with the plugin gear.3.rb to make the gears and the Phlatboyz plugin for gcode. However, I was dissapointed to find that gear.3.rb uses all straightline segments which to cut a long story short, makes the code too long for our mill. I was hoping for arcs in this plugin but it too uses straight lines. I'd love arcs to be a feature of this plugin.

                                    Cheers

                                    1 Reply Last reply Reply Quote 0
                                    • J Offline
                                      jgrundman
                                      last edited by 18 May 2013, 00:22

                                      I'll try to fix that. Thanks for the heads-up.

                                      @mikaelgu said:

                                      Found a small bug:
                                      Regardless of the unit of measure of pitch radius, the face width is always measured in inches, makes it a little harder to make gears of certain widths when using the metric system.

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        fcborik
                                        last edited by 25 Jun 2013, 01:10

                                        Hello,

                                        This plug-in looked very nice, and I downloaded it from the plug-in store. It worked great about 3-4 times, and then I started getting bug-splats. I tried removing and reinstalling the plug-in, with the same results. Fortunately I have the original gear that the plug in made (it really is nice!) and I think I'll be able to take various components from it and make the other gear that I need. However, making brand new gears will be a challenge to me. Any help would be appreciated.

                                        Thanks!

                                        Frank

                                        1 Reply Last reply Reply Quote 0
                                        • W Offline
                                          weldingrod1
                                          last edited by 10 Dec 2013, 15:59

                                          I'm impressed! Making each tooth a group is an interesting idea!

                                          Is there any chance you would be willing to add something to deal with gears where the depth doesn't match the diametral pitch? I would be happy to make a PayPal donation to help this along! My specific application is Hardinge change gears. For some reason, they decided to use 20 degree pressure angle, 22 pitch gears, but with a gear tooth depth corresponding to 29 pitch. The technical description is as follows:
                                          Fellows 22/29 Stub Pitch, 20 Deg PA, .003" to .004" Backlash
                                          Diameter over wires includes allowance. For backlash and odd number of teeth. Use two .0785" wires for checking over teeth.

                                          Face Width - .370" / .375" Bore - .625" / .6265" Keyway - .125" Bore to top of key - .693" No Heat Treating

                                          Note: The 22/29 stub pitch has the pitch diameter of a 22 DP gear (N/DP). The tooth depth is that of a 29 DP gear. Whole depth is 2.25/29=.0776". The addendum is the tooth amount above the pitch line (1/29)=.0345". The Std. OD is, PD plus two addendums (n/22) + 2(1/29). Hardinge gears are .005" less than std OD.

                                          Here's a description of the Fellows Stub tooth form:
                                          http://books.google.com/books?id=x2GThADLN-sC%26amp;pg=PA31%26amp;lpg=PA31%26amp;dq=stub+pitch+gear%26amp;source=bl%26amp;ots=6aF1puqw8N%26amp;sig=QOR5ORl4NdVsN3vc7_6eZ6G-Qwc%26amp;hl=en%26amp;sa=X%26amp;ei=SjinUsSaN8P7kQeI1YGABw%26amp;ved=0CBgQ6AEwAA#v=onepage%26amp;q=stub%20pitch%20gear%26amp;f=false

                                          http://books.google.com/books?id=kotyj80OMCoC%26amp;pg=SA2-PA12%26amp;lpg=SA2-PA12%26amp;dq=stub+tooth+gear%26amp;source=bl%26amp;ots=upTfFTO6dI%26amp;sig=p1a0YVGS8o0UPwPBNgGLZeGgoMo%26amp;hl=en%26amp;sa=X%26amp;ei=LjmnUt2DEI-3kAfus4CIBA%26amp;ved=0CEYQ6AEwCg#v=onepage%26amp;q=stub%20tooth%20gear%26amp;f=false

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

                                          Advertisement