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

    [Plugin] Parametric Modeling - v0.0.7 - 03 June 2021

    Scheduled Pinned Locked Moved Plugins
    86 Posts 31 Posters 113.4k Views 31 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.
    • R Offline
      Robin Morritt
      last edited by

      I am trying to create a universal nut and bolt modeller using the amazing Parametric Modeling.

      I've been trying to "Subtract" threads from a cylinder.

      If I route the group "Move" -> "Subtract solids", as screenshot, then the first prism is subtracted.
      If I route the group "Move" -> "Make group" -> "Subtract solids", the "XYZ" group is ungrouped.
      If I route the group "Move" -> "Select" -> "Subtract solids", then various interesting things happen.

      I really haven't got the foggiest idea how to use "Select".
      Is there somewhere I can get a bit of background on how to use it?

      Screenshot 2021-03-30 012046.png


      Parametric Model F.skp

      1 Reply Last reply Reply Quote 0
      • samuel_tS Offline
        samuel_t
        last edited by

        @robin morritt said:

        I am trying to create a universal nut and bolt modeller using the amazing Parametric Modeling.

        I've been trying to "Subtract" threads from a cylinder.

        If I route the group "Move" -> "Subtract solids", as screenshot, then the first prism is subtracted.
        If I route the group "Move" -> "Make group" -> "Subtract solids", the "XYZ" group is ungrouped.
        If I route the group "Move" -> "Select" -> "Subtract solids", then various interesting things happen.

        I really haven't got the foggiest idea how to use "Select".
        Is there somewhere I can get a bit of background on how to use it?

        [attachment=0:tvug2vb0]<!-- ia0 -->Screenshot 2021-03-30 012046.png<!-- ia0 -->[/attachment:tvug2vb0]

        Interesting project πŸ˜„ Only place I know where you can find some infos about "Select" is documentation.

        1 Reply Last reply Reply Quote 0
        • R Offline
          Robin Morritt
          last edited by

          Many thanks for the quick response.

          1 Reply Last reply Reply Quote 0
          • R Offline
            Robin Morritt
            last edited by

            Hi Samuel: πŸ˜„

            I'm pressing on with my universal metric thread modeller.

            Should I report issues using Github Issues?
            Or would you prefer us to use this forum?

            Thanks,
            Robin. πŸ‘


            12 segment M6 x 1. Work in progress.

            1 Reply Last reply Reply Quote 0
            • samuel_tS Offline
              samuel_t
              last edited by

              @robin morritt said:

              Hi Samuel: πŸ˜„

              I'm pressing on with my universal metric thread modeller.

              Should I report issues using Github Issues?
              Or would you prefer us to use this forum?

              Thanks,
              Robin. πŸ‘

              Hi Robin πŸ˜„

              GitHub has my preference.

              1 Reply Last reply Reply Quote 0
              • L Offline
                ltchest
                last edited by

                This is a great idea - the tool looks really intuitive ! Keep up the good work πŸ˜„

                Sketchup 21.2.332 (windows 10.0.19043 Build 19043)
                RTX2070 + GTX1080, Driver 472.12

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

                  Honestly my dear friend, i have no words to describe your amazing work, great tool , that I belive that can do magic with a few additions, a huge RESPECT. Please add some more functions like Flip, mirror, offset, follow me, again BRAVO fro your amazing talent and effort

                  1 Reply Last reply Reply Quote 0
                  • samuel_tS Offline
                    samuel_t
                    last edited by

                    0.0.4 version is available on the SketchUcation PluginStore! I'll publish changelog as soon as possible.

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      Robin Morritt
                      last edited by

                      V0.0.4 is a great advance.

                      Looks like I'm going to have to go back to the drawing board with my universal parametric thread modeller. 😒 🀣 The Extract Shape and Concatenate features are major enhancements, and just what I needed.

                      Brilliant. Thanks! πŸ‘

                      1 Reply Last reply Reply Quote 0
                      • samuel_tS Offline
                        samuel_t
                        last edited by

                        What's new in 0.0.4 version?

                        • One can create more complex parametric models with less efforts thanks to a new feature: Shape extraction. To do so: right-click on a group or a component in SketchUp window then select "Parametric Modeling > Extract Shape From Group/Component" entry in context menu. See new example schema: "Curved Shelf" created by Jack Tenrev.

                        https://i.ibb.co/4Z7x6Ts/Parametric-Modeling-Sketch-Up-Plugin-Curved-Shelf-Demo.png

                        • More nodes types are available: "Draw tube", "Tag", "Erase" and "Concatenate". If you combine "Erase", "Concatenate" and "Select" nodes: you can get variations of model. See updated example schema: "Decking On Pedestals".

                        https://i.ibb.co/xmpmSk5/Parametric-Modeling-Sketch-Up-Plugin-Decking-On-Pedestals-Demo.gif

                        • Plugin is more strict with numbers. If you input a decimal number where an integer is expected: an error is thrown and node becomes red. Another change: If you pass only integers to rand function: it will return an integer.

                        • One can use random, name, material, tag and layer variables in "Query" input field inside "Select" node.

                        • To save a few nodes, "Select" node outputs and "Draw ..." node inputs evolved.

                        • Shapes generated with this plugin and shapes generated with SU Shapes plugin are consistent. See issue #1.

                        • Ghost groups were eradicated?! "Add" and "Subtract" nodes were fixed again.

                        Download latest Parametric Modeling plugin from the SketchUcation PluginStore.

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

                          thanks Samuel

                          well done for this very interesting plugin and this update

                          some examples that I realized

                          table with chairs that are distributed according to the length of the table

                          http://biblio3d.fr/fichiers/forum/table01.gif

                          double-sided shelf this time

                          http://biblio3d.fr/fichiers/forum/courbe_df.gif

                          http://biblio3d.fr/fichiers/forum/buffet.gif

                          http://biblio3d.fr/fichiers/forum/buffet01.gif

                          a draft with curves in one direction then with a condition, the curve goes in another direction, interesting for making waves in the shape for shelves or benches for example

                          http://biblio3d.fr/fichiers/forum/courbe(2).gif

                          biblio3d forum sketchup - artlantis - piranesi
                          http://www.biblio3d.com

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            Robin Morritt
                            last edited by

                            Excellent. I look forward to seeing how I can make use of these new features in my universal thread modeller, which I can't quite get to do what I want yet. So much to do, so little time. πŸ˜„

                            Is there any support for a Sticky Note type Node, I wonder? I think I would find it handy to be able to add comments in the Nodes Editor - yeah, the older I get, the more stuff I forget. 🀣

                            Thanks, Samuel. πŸ‘

                            1 Reply Last reply Reply Quote 0
                            • samuel_tS Offline
                              samuel_t
                              last edited by

                              @robin morritt said:

                              Is there any support for a Sticky Note type Node, I wonder? I think I would find it handy to be able to add comments in the Nodes Editor [...]

                              I could add a "Comment" node type with a text area and a "Comment" input socket on every other node type... Then I could try to style "Comment" nodes so they look like classic sticky notes.

                              @robin morritt said:

                              I look forward to seeing how I can make use of these new features in my universal thread modeller, which I can't quite get to do what I want yet.

                              Good luck for this project! πŸ˜‰

                              1 Reply Last reply Reply Quote 0
                              • R Offline
                                Robin Morritt
                                last edited by

                                That would be ideal. Multi-colour of course. πŸ˜„

                                I can only speak for myself, but I imagine such notes in a network of nodes would be the logical equivalent of comments in code. Neat, nice and handy, just as you describe. πŸ‘

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

                                  I see huge potential in this plugin. What would make it infinitely more useful is the ability to expose variables to a user. Through a dialog box or something. Do you see that coming in the future? Thanks in advance.

                                  1 Reply Last reply Reply Quote 0
                                  • R Offline
                                    Robin Morritt
                                    last edited by

                                    @jkoll66 said:

                                    the ability to expose variables to a user.

                                    Have you tried the "Get Points" node in the nodes editor, or perhaps use the right click context menu in the SketchUp window in conjunction with a construction point?
                                    If variables were to make it possible to iterate through a loop - as in do ... until - that would open up some possibilities that I would have liked to try out.
                                    My model is too big - moving around in the nodes editor is really slow and redrawing the groups is ridiculous now. Iteration might help a bit, but a better solution would be if Intersect/Unite/Subtract worked with all the groups resulting from a Concatenate or Make Group node.

                                    1 Reply Last reply Reply Quote 0
                                    • samuel_tS Offline
                                      samuel_t
                                      last edited by

                                      @jkoll66 said:

                                      I see huge potential in this plugin. What would make it infinitely more useful is the ability to expose variables to a user. Through a dialog box or something. Do you see that coming in the future? Thanks in advance.

                                      I don't know if this answers your request, but you can add a Number node and connect it to at least one Calculate node. From there: number is accessible through a variable named a if you plugged it to "Variable A" input... See documentation to learn more.

                                      Or maybe you're requesting a simplified view dedicated to user, containing only variables?

                                      1 Reply Last reply Reply Quote 0
                                      • samuel_tS Offline
                                        samuel_t
                                        last edited by

                                        What's new in 0.0.6 version?

                                        • You can extract shape of a curve and apply parametric processings to it. Then, once frozen, you can use it to create a new shape with Curviloft plugin, for example.

                                        • Schemas are commentable. Right click in void inside Nodes Editor window then select "Add a comment node" entry.

                                        • More points are available in "Get points" nodes.

                                        • Points can be inherited.

                                        • Plugin was translated to traditional chinese and simplified chinese by Shuang Yu.

                                        Download latest Parametric Modeling plugin from the SketchUcation PluginStore.

                                        1 Reply Last reply Reply Quote 0
                                        • P Offline
                                          Paxhuang
                                          last edited by

                                          really awesome plugin~ many thanks~
                                          wish there could be more point base function,
                                          for example , link function, one can link two point into line.
                                          thanks~

                                          1 Reply Last reply Reply Quote 0
                                          • samuel_tS Offline
                                            samuel_t
                                            last edited by

                                            What's new in 0.0.7 version?

                                            • "Move" node has evolved without compatibility break. One can use formulas to define XYZ positions... See the "Parallel Copy" example schema.

                                            https://i.ibb.co/qj25nYc/Parametric-Modeling-Sketch-Up-Plugin-Parallel-Copy-Demo.gif

                                            • Plugin handles more errors. E.g. a zero radius.
                                            • Nodes Editor contains a link to a wiki hosted by GitHub.
                                            • For developers: Node module was refactored.

                                            Download latest Parametric Modeling plugin from the SketchUcation PluginStore.

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

                                            Advertisement