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.
    • samuel_tS Offline
      samuel_t
      last edited by

      What's new in 0.0.2 version?

      • More node types are available in math domain: "Multiply", "Divide" and "Calculate". With this latter, one can write complex mathematic formulas. See documentation to learn more...

      • Boolean operations were introduced in Nodes Editor. Unite, intersect and subtract parametric solids thanks to brillant work of Julia Christina Eneroth. Note these operations work on all SketchUp versions, including free ones. Warning: these operations can slowdown SketchUp.

      • One can structurate parametric model with "Make group" nodes.

      • One can write queries to target specific parametric entities with "Select" nodes. See documentation to learn more...

      • Two entries were added to global context menu in Nodes Editor: "Remove all nodes" and "Show or hide minimap". The minimap should help you to navigate more comfortably in large schemas.

      • A label can be applied to each node of type "Number".

      • One can use "Paint" node type to apply a material to groups, after a selection for example.

      • Node state is reflected by a color: red means it's invalid while green means it's selected.

      • To remove a node, you need to right click on it then select "Remove this node". No more double click...

      • One can access plugin documentation from Nodes Editor toolbar.

      • A shelf, a decking on pedestals and a wall fence with pillars are available in examples schemas. Thanks to Jack Tenrev and Simon Joubert for these schemas.

      • Materials referenced in parametric schema but not existing in model are substituted by random colors.

      • Layers/tags referenced in parametric schema but not existing in model are created.

      • Result of "Add" and "Subtract" nodes was corrected. It was incorrect in some cases.

      • Nodes Editor tooltips display also in old SketchUp versions such as 2017.

      Download latest Parametric Modeling plugin from the SketchUcation PluginStore.

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

        What's new in 0.0.5 version?

        • "Align" and "Get points" nodes types were added. They can help you, for example, to place an entity on top of another one. See new schema: Pencil.

        • "Copy" and "Move" nodes have evolved a bit. They're retrocompatible.

        • When you input a decimal number in a node, scale of number defines step for next increment (or decrement). This means if you input 1.25, next increment will be 1.26. Step is adaptive... See documentation to learn more.

        • Arrows icons in numeric fields were removed because they were too buggy. You can still use keyboard arrows to increment (or decrement).

        • You can use deg function in "Calculate" nodes to convert degrees to radians... See documentation to learn more.

        • Selected wire is highlighted.

        • Plugin was translated to french.

        Download latest Parametric Modeling plugin from the SketchUcation PluginStore.

        1 Reply Last reply Reply Quote 0
        • A Offline
          alotharian
          last edited by

          Hi Samuel,
          Excellent plugin. Having played with it a little (creating a dynamically resizable cabinet) I got some feature suggestions:

          1. Navigating in the Node Editor: Currently the Left Mouse button is used to move a node, or move the whole scene (when clicking outside of a node). In a busy screen it would be helpful to have a separate button for the scene moving, e.g. the Middle Mouse Button

          2. Variable names: In a complex editor screen with plenty of nodes and connecting lines it is difficult to find the source of a connected variable. So, when a variable got connected it would be excellent to see the name of the source beside Variable X (even if the long ones wrapped).

          3. Cancelling a node placement: Clicking on a node icon AFAIK, now we must place the node and then delete if it was accidental or wrong. It would be nice to have the cancelling feature by hitting the ESCape.

          Thanks for your awesome work.
          regards,
          Rian

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

            Simon Joubert created a great schema that makes use of latest evolutions of "Move" node.

            https://i.ibb.co/cLND9Fn/Parametric-Modeling-Sketch-Up-Plugin-Tiling-Demo.gif

            You can download it here. Right-click. Save link as...

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

              Excellent plugin. A suggestion, you need a list box to enter text and be able to select the options. Thanks

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

                Nice useful plugin. There are several questions. Is it possible to add components that exist in the model to an assembly? And is it possible to insert lines and planes, profiles? Can I create components instead of groups? And it would also be nice to have the function of renaming existing groups.

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

                  @patriarch said:

                  Nice useful plugin.

                  I'm glad to hear that 😄

                  @patriarch said:

                  Can I create components instead of groups? Is it possible to add components that exist in the model to an assembly?

                  You can only do parametric operations on a parametric group but you can copy a regular component that exists in model and paste it as a parametric group. To do so: right click on a component in main SketchUp window and select "Parametric Modeling > Extract Shape From Group Or Component".

                  You can also convert a parametric group to a regular group. To do so: right click in void inside Nodes Editor and select "Freeze parametric entities". Then, convert it to a regular component in main SketchUp window.

                  @patriarch said:

                  And is it possible to insert lines and planes, profiles?

                  Yes. Right click on lines in main SketchUp window and select "Parametric Modeling > Extract Shape From Curve Or Edges".

                  @patriarch said:

                  And it would also be nice to have the function of renaming existing groups.

                  You can rename parametric groups inside Nodes Editor. For regular groups, you can use "Outliner".

                  1 Reply Last reply Reply Quote 0
                  • W Offline
                    WhiteShadow
                    last edited by

                    Link Preview Image
                    Need help here, how to do it in SketchUp?

                    Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users like electroscientistX.

                    favicon

                    Imgur (imgur.com)

                    I have to make those snake skin like things, any idea how to do it?

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

                      Absolutely amazing plugin ! Thanks for make it free

                      Looking for some example/tutorial cause i am completly lost. I want to create basic paramtric building (volume + balcony),but can't find the way to do it

                      Thanks !

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

                        @whiteshadow said:

                        Link Preview Image
                        Need help here, how to do it in SketchUp?

                        Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users like electroscientistX.

                        favicon

                        Imgur (imgur.com)

                        I have to make those snake skin like things, any idea how to do it?

                        Sorry for the late reply. It's maybe possible to model this "Snake Skin". Here's an hypothetical plan:

                        1. Download Tiling.schema. Make sure downloaded file ends with ".schema", not ".txt".
                        2. Open Nodes Editor.
                        3. Right click in void to display context menu… Click on "Import schema from a file". Select "Tiling.schema".
                        4. Design elementary shape with SketchUp native tools or other plugins. Let's call this shape a "Tile".
                        5. Make a "Tile" component. Right click on this component in main SketchUp window. Select "Parametric Modeling > Extract Shape From Group Or Component". "Tile" appears as "Draw shape" in Nodes Editor.
                        6. Replace "Draw box" node with "Draw shape" node. Connect "Draw shape" with other nodes.
                        7. Use "Copy" node(s) with "X/Y/Z Position" formula(s) to spread "Tile/Draw shape" in 3D space.
                        1 Reply Last reply Reply Quote 0
                        • samuel_tS Offline
                          samuel_t
                          last edited by

                          @mariotalluto said:

                          Absolutely amazing plugin ! Thanks for make it free

                          Thanks for your feedback!

                          @mariotalluto said:

                          Looking for some example/tutorial cause i am completly lost. I want to create basic paramtric building (volume + balcony),but can't find the way to do it

                          There are videos available on YouTube but it's more a plugin overview... I recommend you to import examples: Open the Nodes Editor. Right click in void to display context menu… Click on "Import schema from a file". Select a ".schema" file. Study how nodes are filled and connected. There is also a Wiki.

                          1 Reply Last reply Reply Quote 0
                          • TraupmannT Offline
                            Traupmann
                            last edited by

                            Some of the supplied schemas require particular models for them to be expanded correctly. Can you please provide those models?

                            I have been using Parametric Modeling for a while. I find it very useful in solving some problems. I hope you are continuing the effort.

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

                              @traupmann said:

                              Some of the supplied schemas require particular models for them to be expanded correctly. Can you please provide those models?

                              When you export a parametric schema, everything visible in the Nodes Editor is stored in the .schema file, even custom shapes (extracted from SketchUp viewport).

                              A parametric schema can be exported from a model then imported in another model, without geometry loss. The only things not embedded in .schema files are materials textures.

                              1 Reply Last reply Reply Quote 0
                              • TraupmannT Offline
                                Traupmann
                                last edited by

                                Perhaps I am doing something wrong. I started with a blank (new) Sketchup model, then use Parametric Modeling to Import a Schema. I get the Schema, but not any structures of any sort in the model space.

                                Here are screenshots of the Decking On Pedestals.schema.

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

                                  @traupmann said:

                                  Here are screenshots of the Decking On Pedestals.schema.

                                  I don't see your screenshots. Did you forget to attach them?

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

                                    @traupmann said:

                                    I started with a blank (new) Sketchup model, then use Parametric Modeling to Import a Schema. I get the Schema, but not any structures of any sort in the model space.

                                    Maybe an error is occurring in background. Can you try to:

                                    1. Open the Nodes Editor.
                                    2. Open the SketchUp console.
                                    3. Import a .schema file in the Nodes Editor.
                                    4. Execute this code in the SketchUp console:
                                    ParametricModeling;;ParametricEntities.redraw
                                    
                                    1. Report the error here?
                                    1 Reply Last reply Reply Quote 0
                                    • TraupmannT Offline
                                      Traupmann
                                      last edited by

                                      @unknownuser said:

                                      1. Execute this code in the SketchUp console:
                                        CODE: SELECT ALL
                                        ParametricModeling::ParametricEntities.redraw

                                      Excuse my ignorance, but by Sketchup Console do you mean Ruby Console?
                                      if so, an error report is in the text file below.

                                      I have included the SketchUp file as I attempted to execute it.


                                      Ruby Console Error Message.txt


                                      SketchUp File.skp

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

                                        @traupmann said:

                                        [...] by Sketchup Console do you mean Ruby Console?
                                        if so, an error report is in the text file below.

                                        Yes, I meant the Ruby Console 😉 Thanks for the error log. I suspect a conflict between Layers Organizer and Parametric Modeling plugins. Can you try to:

                                        1. Disable temporarily Layers Organizer plugin.
                                        2. Restart SketchUp.
                                        3. Import again a schema in the Nodes Editor?
                                        1 Reply Last reply Reply Quote 0
                                        • TraupmannT Offline
                                          Traupmann
                                          last edited by

                                          The disabling of the Layer Organizer worked for all of the provided schemas but two. The files are below.

                                          Decking on Pedastals Results.skp
                                          Curved Shelf Result.skp

                                          Here is a schema I developed
                                          Arch.skp

                                          Can you advise how to pass schema files?

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

                                            Hello. This is an amazing tool for me. It has immense potential. I am a lecturer and I teach this plugin to my students, especially. Know it is currently under development, so I think you will consider my suggestions.

                                            All my problems are with nodes 😄 First, it would be great if they could be locked, grouped, and ungrouped with a right-click option.

                                            The undo and redo shortcuts do not work as I expected. For example, when I accidentally add a box to a crowded node screen, the "ctrl+c" combination does something else instead of removing it.

                                            Especially in complex jobs, nodes get mixed up. To prevent this situation, you can add icons that can be personalized (such as color, geometric shape) on the upper right corners of the nodes.

                                            Finally, if windows run in tabs, you will have done an excellent job of efficiency. My English isn't very good, but I wanted to congratulate you and give you an idea of what I think can be improved. Wish I knew a little bit of coding and could help you. Respects 😄

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

                                            Advertisement