sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Re: [Plugin] Quick Lathe v1.2.0 31mar2013

    Scheduled Pinned Locked Moved Plugins
    58 Posts 23 Posters 59.3k Views 23 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.
    • gillesG Offline
      gilles
      last edited by

      You made a very good one here, be proud of you.

      Many thanks.

      " c'est curieux chez les marins ce besoin de faire des phrases "

      1 Reply Last reply Reply Quote 0
      • T Offline
        Trogluddite
        last edited by

        @gilles said:

        You made a very good one here, be proud of you.

        Thankyou Gilles, it's been very satisfying to make something useful - and of course, we must not forget all the other kind and generous people here who made it possible for me to learn all these things.

        @box said:

        Perhaps a choice of one way or the other is possible

        Yes, it looks like it will have to be done that way - I made a little test rig to try putting the welded curves the other way, and bar a few minor bugs, that works OK. But whatever I do, SU won't let there be welded curves in both directions at once - I tried it using some of the other welding and recurving plugins, and it seems that the geometry just isn't allowed to work that way.
        So it will have to be an either/or thing.

        @dave r said:

        first and last segments in the extrusion to be perpendicular to the ends of the extrusion

        Hmm, i hadn't considered that, but i know what you mean, it does kind of spoil the appearance when you get those unsmoothed joins.
        I'll have tinker and see how likely it is once I've tidied up a few other things - the code is getting a little unmanageable with all this "feature creep" going on, so I need to get everything nice and structured so I can see the wood for the trees.

        PS) Just about there with the co-planar faces thing, so maybe a minor update coming soon just to get the low hanging fruit picked off.

        1 Reply Last reply Reply Quote 0
        • T Offline
          Trogluddite
          last edited by

          Version 1.1.0 now available in the Top Post.

          New features...

          • Co-planar faces can now be merged.
          • When doing arcs, you can choose capped or uncapped ends (or hidden ends for 'seamless' component arrays)
          • Can now make components as well as groups.
          • New features added for making arrayed component 'segments' which will join seamlessly, including perpendicular end-caps (as per Dave R's examples in above posts).
          • First draft of .pdf user guide (very rough - needs many pictures adding!!)
          • Re-factored code should be a little faster and more robust (and maintainable!!)

          Still to do...

          • Face orientation correction only works 100% for closed solids ("capped" arcs and 360deg lathes). Sure this is fixable.
          • Extrudable end caps - losing co-planar edges makes push/pull possible now, but still working on making them 'smooth aware' for when circles and arcs are extruded.
          1 Reply Last reply Reply Quote 0
          • T Offline
            Trogluddite
            last edited by

            Ooops' apologies to whoever just uploaded - that wasn't the right Ruby file. Re-upped!

            1 Reply Last reply Reply Quote 0
            • gillesG Offline
              gilles
              last edited by

              Just select the face WITHOUT its edges and a line for axis.

              Works fine.

              " c'est curieux chez les marins ce besoin de faire des phrases "

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

                Working now, very clever indeed...

                john

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

                1 Reply Last reply Reply Quote 0
                • C Offline
                  chin925
                  last edited by

                  quick lathe sir i installed the plugin but did not appear in tools menu thks

                  1 Reply Last reply Reply Quote 0
                  • pilouP Offline
                    pilou
                    last edited by

                    Cool one ๐Ÿ˜„

                    In the case of less 360ยฐ
                    Does it possible to have the End caps as a new selection ? ๐Ÿ˜Ž

                    And a negative angle (or similar) for have a continuous second form etc...! โ˜€

                    In this case the "new selection" will make a "return" with the new axe! ๐Ÿ˜ฎ
                    ( 3 curvated blue arrows wanted ! )

                    notpossible.jpg


                    notpossible.skp

                    Frenchy Pilou
                    Is beautiful that please without concept!
                    My Little site :)

                    1 Reply Last reply Reply Quote 0
                    • jolranJ Offline
                      jolran
                      last edited by

                      Cool!! I don't lathe that often except for coffee, but this one was clever.

                      A quick question LOCAL_X. Cant You just use X_AXIS ? Since its already available can save you some typing ๐Ÿ˜„

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        Trogluddite
                        last edited by

                        Thanks for the reports and kind words - good to know that it is (mostly!) working! ๐Ÿ˜„

                        @chin925 said:

                        quick lathe sir i installed the plugin but did not appear in tools menu thks

                        Hi there - there was a damaged file for the download - I replaced this very quickly, but saw that one person downloaded the bad file. Maybe this person was you?
                        Please try with the newest file (v1.1.1) in the top post - if this one is also broken for you, then let me know, and I will see if I can find the problem.

                        @unknownuser said:

                        Does it possible to have the End caps as a new selection ? ๐Ÿ˜Ž
                        And a negative angle (or similar) for have a continuous second form etc...! โ˜€

                        Hi Pilou - yes, negative angles can be made possible. I avoided negative angles before because it made shapes with a mixture of front/back faces - but with the new code, I will be a able to make this work with a simple transformation.
                        Selecting "follow-on faces" is difficult at the moment because the end faces can be in different groups - but maybe by moving the original selection it could be done.

                        I think first, I will work on the user interface - already the options are becoming untidy, so I think it needs a proper tool (e.g. rotation arrows for the selection, like in your picture) to make the tool operation more clear.

                        @jolran said:

                        A quick question LOCAL_X. Cant You just use X_AXIS ?

                        He he, a "Doh!" moment! I didn't see the 'X_AXIS' etc. constants before - thanks for the tip, that will be very useful.

                        1 Reply Last reply Reply Quote 0
                        • jolranJ Offline
                          jolran
                          last edited by

                          Yeah, it doesent say so in the API. I think it was TIG who told me last year or so.

                          1 Reply Last reply Reply Quote 0
                          • pilouP Offline
                            pilou
                            last edited by

                            @unknownuser said:

                            Selecting "follow-on faces" is difficult at the moment because the end faces can be in different groups - but maybe by moving the original selection it could be done.

                            In the case of Geometry is enable and not Group or Component ! ๐Ÿ˜‰

                            Frenchy Pilou
                            Is beautiful that please without concept!
                            My Little site :)

                            1 Reply Last reply Reply Quote 0
                            • gillesG Offline
                              gilles
                              last edited by

                              @unknownuser said:

                              Cool one ๐Ÿ˜„

                              In the case of less 360ยฐ
                              Does it possible to have the End caps as a new selection ? ๐Ÿ˜Ž

                              And a negative angle (or similar) for have a continuous second form etc...! โ˜€

                              In this case the "new selection" will make a "return" with the new axe! ๐Ÿ˜ฎ
                              ( 3 curvated blue arrows wanted ! )

                              [attachment=1:1045vhv7]<!-- ia1 -->notpossible.jpg<!-- ia1 -->[/attachment:1045vhv7]

                              This can be done reversing the selected face(s)

                              ๐Ÿ˜‰

                              " c'est curieux chez les marins ce besoin de faire des phrases "

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                @unknownuser said:

                                This can be done reversing the selected face(s)

                                Tricky... but that oblige to reverse again the result for have a consistant volume ๐Ÿ˜„

                                And as you have several volumes the orient face just work for ONE volume! ๐Ÿ˜ฎ

                                So very, very tiedous when have thousand of volumes!!! ๐Ÿ’š

                                Else very funny when the successive selection will be made! Some sinuous volumes will be made! โ˜€
                                (in mode Geometry enable) And think to erase the internal faces! ๐Ÿค“
                                Bravo for Trogluddite! ๐Ÿ˜Ž

                                And it's a little pity that the axe must be coplanar and not with any orientation! ๐Ÿค“
                                I don't see not very big differences on the calculation! ๐Ÿ˜’

                                Happy easter Eggs! โ˜€
                                tiedous.jpg
                                tiedous1.jpg

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • kenK Offline
                                  ken
                                  last edited by

                                  Just a quick note. If the version number in the plugin forum is V1.1.1 than the version number in the rb file should be the same. The version number in the download is V1.1.0. This just makes it easier for multiple upgrades, one can be sure he is operating with the newest version.

                                  And this from a very grateful user of your plugin who is incapable of writing one line of code.

                                  Again thank you for this plugin. Since I model from ACAD/DXF files, I find this a very useful plugin.

                                  Ken

                                  Fight like your the third monkey on Noah's Ark gangway.

                                  1 Reply Last reply Reply Quote 0
                                  • T Offline
                                    Trogluddite
                                    last edited by

                                    v1.2.0 now available in the top post.
                                    New Stuff...

                                    • Negative angles now supported, so you don't need to keep reversing faces.
                                    • Faces don't need to be co-planar - though take care, it means the faces must be triangulated, so much more geometry!
                                    • Face orientation improved - 'inside out' forms should happen much less often.

                                    @unknownuser said:

                                    version number in the rb file should be the same.

                                    Oops, yes, that was a bit naughty. v1.1.1 was a bit of a rush job after I realised that I broke the previous upload by leaving in some de-bugging code.

                                    @Pilou
                                    Your funny shapes are very inspiring! May have to re-name the tool though - it's some funny kind of lathe that could do those shapes! ๐Ÿ˜‰

                                    This will probably be the last v1.x update - I'm now working on a whole new user interface to make the settings more visual and easier to work with, and enable a few of the other cool features that people have requested.
                                    Here's a little sneak preview of where I'm at so far...

                                    COMING SOON(ISH)!
                                    Features which will almost certainly be included...

                                    • Ability to select faces from other contexts (e.g. inside multiple groups/components)
                                    • Axis and angle setting by drawing them with inferences from other geometry.
                                    • On screen direction arrows and colour coding, so you can visualise the settings more easily.
                                    • Quick VCB input of values, and help/hints in the status bar.

                                    Dammit, this Ruby thing is addictive... ๐Ÿค“

                                    1 Reply Last reply Reply Quote 0
                                    • pilouP Offline
                                      pilou
                                      last edited by

                                      Very cool effort! ๐Ÿ‘
                                      Test as soon as possible! โ˜€

                                      Works fine except unexpected oriente face

                                      Missing automatic Updated Selection between new axis ๐Ÿ˜‰
                                      Must be not a "face" but a profil until the last end face!
                                      So result will be a real "solid"!

                                      Suggestion : run the script with only a list of axis in one pass

                                      tiedous2.jpg

                                      tiedous3.jpg

                                      Frenchy Pilou
                                      Is beautiful that please without concept!
                                      My Little site :)

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

                                        Great plugin. Thanks a lot.

                                        I find it similar to TIG's "extrude edges by lathe" - I like both of them.

                                        My question is - is it possible to add an extra option to "follow me" around a square?

                                        1 Reply Last reply Reply Quote 0
                                        • charly2008C Offline
                                          charly2008
                                          last edited by

                                          Hi,

                                          again a great tool. Right now I have not any specific application but it is fun to experiment with it.


                                          1.png


                                          2.png


                                          3.png


                                          4.png


                                          5.png


                                          6.png


                                          7.png

                                          He who makes no mistakes, makes nothing

                                          1 Reply Last reply Reply Quote 0
                                          • T Offline
                                            Trogluddite
                                            last edited by

                                            @unknownuser said:

                                            Works fine except unexpected oriente face

                                            Hmm, I'll have to have another look at that - seems that the shapes in Charly's pictures also show some 'inside out'.
                                            First, I will check my 'testing' schematic - somehow the shapes I'm using are not showing this problem when I test, so I need to identify some definite problem ones.

                                            'Face moving' should come soon - this will be part of a new feature I am making to allow holes in the faces - for making pipes etc.

                                            @smicha said:

                                            I find it similar to TIG's "extrude edges by lathe"

                                            Aha, I wondered when someone would discover my 'inspiration' for my plugin! Indeed, TIG's tools are an indispensable part of my toolbox - in fact, used so often that I made this plugin just to save a few seconds every day doing curve selections...
                                            ...and for some practice using Ruby - it will be a long time before I could ever get as good as TIG, ThomThom, Fredo, Dan etc., but I hope to extend this tool for many other types of automatic 'shape creation' eventually.

                                            @charly2008 said:

                                            but it is fun to experiment with it

                                            Thanks - and apologies for those inside out sections; they really shouldn't be like that, as Pilou already spotted.

                                            The reactions so far to my first proper 'geometry' Ruby has been amazing - that people can see so much to do with what began life as a tool for knobs and table legs really inspires me to see how far I can push the code...

                                            ...but first, I really must get that 'inside out' problem dealt with once and for all!! ๐Ÿค“

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

                                            Advertisement