sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin] EP_Fasteners. Creates 3d printable threaded UPDATED

    Scheduled Pinned Locked Moved Plugins
    39 Posts 19 Posters 17.7k 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.
    • pagejaws2P Offline
      pagejaws2
      last edited by

      @driven said:

      This will reset the dialog on a mac

            @@dialog.show()
      >       @@dialog.execute_script('location.reload(true);')
      

      The issue I have is with threaded thru holes, both breeds...
      the first threaded thru hole takes minutes [many], a second of the same is instant...
      a change in the params will revert to slow-mo...

      BTW: what are the observers for, if possible it is best not to have them on mac SU...
      john

      Hi, the Observers are what let it create the 2nd component and glue it to the 2nd face. Otherwise
      I couldn't let you use component place to set the first hole location.

      Part of the speed issue is creating all of the geometry in one Geom::PolygonMesh. When I tried just calculating one threads worth and duplicating it offset by a thread, the results were not as good... but it was much faster! I expect that this can be faster, and if there is enough interest, i will try to make some time to work on it again.

      1 Reply Last reply Reply Quote 0
      • pagejaws2P Offline
        pagejaws2
        last edited by

        @oxer said:

        The HTMLs work now on Mac but when you try to create some element it appears a error message in Ruby Console, here the error messages:
        [code]setStatus('Creating a METRIC DRILLEDHOLE');
        continue DRILLEDHOLE in METRIC
        4.0
        create_drilled_hole d=0,40cm l=0,00cm
        Error: #<ArgumentError: Cannot convert "0.0" to Length>

        Ah, Thanks! Now I feel provincial.
        I am stuck in the U.S. mindset for decimal places. πŸ‘Š

        I will go back through the code and try and find all of the decimal place biases I've put in.
        Please accept my apologies! I will post another patch in a day or two, if you would be kind enough to test it again after that I would appreciate more feedback.

        Thanks again for spotting these errors for me!
        Jay

        1 Reply Last reply Reply Quote 0
        • pagejaws2P Offline
          pagejaws2
          last edited by

          @micione said:

          Ruby Console:
          SU 2015
          Windows 7
          setMeasurementType('SAE');
          setStatus('Creating a METRIC TAPPEDHOLE');
          continue TAPPEDHOLE in METRIC
          Error: #<ArgumentError: Cannot convert "0.0" to Length>
          C:/Users/Utente/AppData/Roaming/SketchUp/SketchUp 2015/SketchUp/Plugins/EP_Fasteners/EPTappedHole.rb:28:in `to_l'

          Weird! cannot convert "0.0" to length?
          "0.0".to_l should always work shouldn't it? (Um.... apparently not!)

          What were your model Measurement units?

          Oops... U.S. decimal places. Sorry. I will fix it and repost!
          Jay

          1 Reply Last reply Reply Quote 0
          • pagejaws2P Offline
            pagejaws2
            last edited by

            @dave r said:

            Thanks for fixing the 1/2" bolt. It looks like the nuts could use some attention, too. Top faces are reversed at least on the 1/2 and 1/4 in. nuts.

            [attachment=0:8cyjdv1l]<!-- ia0 -->nuts.png<!-- ia0 -->[/attachment:8cyjdv1l]

            What about making the threads smoother? Any chance for an option to adjust that?

            Hi! Thanks! I will check all of the faces again... I need to fix a preconception I built in about decimal places (oops) and at the very least I will put a variable in the constants file that will let you add more segments to the arcs. Long term I need to add a settings page for that and smoothing...

            Should be an updated post in a couple of days. if you could try it again after that, I would greatly appreciate your feedback.

            Thanks, Jay

            1 Reply Last reply Reply Quote 0
            • Dave RD Offline
              Dave R
              last edited by

              Jay, I will be happy to try again when you post the next update. It seems like it could be a useful plugin even if you don't want to 3D print the results.

              Etaoin Shrdlu

              %

              (THERE'S NO PLACE LIKE)

              G28 X0.0 Y0.0 Z0.0

              M30

              %

              1 Reply Last reply Reply Quote 0
              • D Offline
                d12dozr
                last edited by

                Looks really nice! I could have used this on a project about 2 years ago πŸ˜„

                How do the threads turn out on your Formlabs? Are supports required, and if so are the threads usable without post-processing?

                3D Printing with SketchUp Book
                http://goo.gl/f7ooYh

                1 Reply Last reply Reply Quote 0
                • pagejaws2P Offline
                  pagejaws2
                  last edited by

                  @d12dozr said:

                  Looks really nice! I could have used this on a project about 2 years ago πŸ˜„

                  How do the threads turn out on your Formlabs? Are supports required, and if so are the threads usable without post-processing?

                  Hi! They print quite nicely in the black resin. didn't need any interior or exterior supports on my vertical tests. The black resin is being a bit touchy in general sometimes it just doesn't setup regardless of supports. Don't know if it was just the one batch or a laser power issue. The blue castable resin works great everytime! Though its a little rubbery to use the threads directly. Haven't tried casting the threads yet, but the finish looks really good.

                  1 Reply Last reply Reply Quote 0
                  • Dave RD Offline
                    Dave R
                    last edited by

                    Any chance you'll make it use more segments to create smoother curves? They still seem pretty rough to me.

                    Etaoin Shrdlu

                    %

                    (THERE'S NO PLACE LIKE)

                    G28 X0.0 Y0.0 Z0.0

                    M30

                    %

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      HENRYREYES
                      last edited by

                      Hi!
                      FOr some reason, at the main Screen all icons appear double one of them is the normal icon and the other is the selected icon(blueish color). Uninstalled from the root of the SU2015 folder and reinstalled again but nothing happens.
                      Pretty good pluggin and so far the unique one that does this but still have some glitches.
                      Too bad I cant reply with a solution.

                      1 Reply Last reply Reply Quote 0
                      • D Offline
                        driven
                        last edited by

                        Henry,
                        can you add a screenshot?

                        learn from the mistakes of others, you may not live long enough to make them all yourself...

                        1 Reply Last reply Reply Quote 0
                        • pagejaws2P Offline
                          pagejaws2
                          last edited by

                          @dave r said:

                          Any chance you'll make it use more segments to create smoother curves? They still seem pretty rough to me.

                          Hi, I added a Quality dropdown on the main menu where you can select higher segment counts...

                          Jay

                          1 Reply Last reply Reply Quote 0
                          • pagejaws2P Offline
                            pagejaws2
                            last edited by

                            @henryreyes said:

                            Hi!
                            FOr some reason, at the main Screen all icons appear double one of them is the normal icon and the other is the selected icon(blueish color). Uninstalled from the root of the SU2015 folder and reinstalled again but nothing happens.

                            Hi! That would happen if the Javascript or JQuery doesn't run... Can you please tell us what your OS and Sketchup versions are?

                            Thanks! Jay

                            1 Reply Last reply Reply Quote 0
                            • tibetT Offline
                              tibet
                              last edited by

                              hi,
                              thanks for your excellent plugin!
                              iΒ΄m glad, because it starts working... πŸ‘
                              iΒ΄ve found that it cuts hole through unclosed model, is there any
                              way how to make it cuts through component or a group please?
                              wondering, if is there any chance in the future version to make our unique eg.nuts or bolts please? ( something like profile builder ruby )
                              keep working!

                              http://s23.postimg.org/jd9fnpavf/sketch_logo.png

                              SU 2015 Pro on Win10 x64

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                mroek
                                last edited by

                                Just wanted to say thanks for creating this extension, and to ask why the version in the Extension Warehouse (which is 1.0.0) is older than the one posted here?

                                I first installed via the warehouse, but it didn't work properly, so it was a relief to find that the one posted here worked as expected.

                                Thanks again.

                                1 Reply Last reply Reply Quote 0
                                • J Offline
                                  junaramaro
                                  last edited by

                                  Hello sir i found your plugin amazing even though i cant use it..coz the icon in the html are not aligned properly..maybe coz im using ie8 in xp..i cant buy anew laptop...coz in the phil. only the rich can afford it..^^, hope i can use it when i have a new one... best plug in ... i,ve seen the preview^^,

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    MrAP
                                    last edited by

                                    Great work!!!

                                    Is it possible to add left turn treads

                                    //Affe

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      SchonVergeben
                                      last edited by

                                      With this update it works sweet!

                                      I salute you Sir! πŸ€“

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        francoisinnuedo
                                        last edited by

                                        Hi everybody,

                                        @oxer said:

                                        ]

                                        And the EyePhisics Fastener Menu window isn't refreshed automatically when you reopen it, see the image below.

                                        [attachment=0:gf7e5eye]<!-- ia0 -->Fastener Menu window.jpg<!-- ia0 -->[/attachment:gf7e5eye]

                                        @driven said:

                                        This will reset the dialog on a mac

                                              @@dialog.show()
                                        >       @@dialog.execute_script('location.reload(true);')
                                        

                                        The issue I have is with threaded thru holes, both breeds...
                                        the first threaded thru hole takes minutes [many], a second of the same is instant...
                                        a change in the params will revert to slow-mo...

                                        BTW: what are the observers for, if possible it is best not to have them on mac SU...
                                        john

                                        I have the same problem than Oxer, (me menu box doesn't refresh...)
                                        I don't understand how to reset with this code in the ruby console...
                                        Can someone clearly explain to me ( /us ) how to reset the dialog box????

                                        thanks!
                                        Francois

                                        1 Reply Last reply Reply Quote 0
                                        • OxerO Offline
                                          Oxer
                                          last edited by

                                          I do it manually, right-click over the window and refresh.

                                          "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
                                          • F Offline
                                            francoisinnuedo
                                            last edited by

                                            It had to be said ...

                                            Thank you very much, I could look for so long it was obvious 😳

                                            And many thanks for this great plugin!

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

                                            Advertisement