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

[Plugin] Contour Maker v1.6

Scheduled Pinned Locked Moved Plugins
64 Posts 24 Posters 70.8k Views 24 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 Online
    TIG Moderator
    last edited by 23 Sept 2010, 19:15

    Here's Contour Maker updated.
    After ~5 years someone pointed out that it doesn't make contours <z=0...
    It now does... AND it's had a general tidy up - it was 5yrs old!

    [flash=600,338:vctzpnpv]http://www.youtube.com/v/I1VOMjDNeZs[/flash:vctzpnpv]

    **Usage:

    First select a Group or Component Instance that has faces that could have
    Contours added, then use the Plugins Menu Item 'Contours'.

    A dialog asks for the vertical spacing (Z-blue) in current units.
    The Contours always start their vertical spacing from Z=0 UP & DOWN.

    It then makes a new layer for the contour-group. The layer is
    named CONT-nnnnnnnn (where nnnnnnnn is based on the date/time).

    It then calculates a series of horizontal slices through the
    selection's faces to make the Contours as specified.**PayPalButton
    Get the latest version from the PluginStore http://sketchucation.com/pluginstore?pln=ContourMaker

    TIG

    1 Reply Last reply Reply Quote 0
    • M Offline
      mitcorb
      last edited by 23 Sept 2010, 19:23

      TIG:
      Where do we find the original instructions for use, if any?

      I take the slow, deliberate approach in my aimless wandering.

      1 Reply Last reply Reply Quote 0
      • T Online
        TIG Moderator
        last edited by 23 Sept 2010, 19:28

        @mitcorb said:

        TIG:
        Where do we find the original instructions for use, if any?

        Added them to the first post πŸ˜’

        TIG

        1 Reply Last reply Reply Quote 0
        • M Offline
          mitcorb
          last edited by 23 Sept 2010, 19:31

          Thanks, TIG:
          Watch out, someday they will have you bronzed. πŸ’š

          I take the slow, deliberate approach in my aimless wandering.

          1 Reply Last reply Reply Quote 0
          • K Offline
            Krisidious
            last edited by 23 Sept 2010, 19:37

            thanks Tig...

            By: Kristoff Rand
            Home DesignerUnique House Plans

            1 Reply Last reply Reply Quote 0
            • S Offline
              Susy
              last edited by 23 Sept 2010, 20:03

              Add Contour Maker on Axis (x) and (y)...

              Already in the race the mouse... (Local Expression)

              1 Reply Last reply Reply Quote 0
              • M Offline
                massimo Moderator
                last edited by 23 Sept 2010, 20:52

                Thanks TIG, seems to work fine. πŸ˜„
                It's possible to get rid of that mesh grid on the Z=0 level? Perhaps an option?


                Cattura.JPG

                1 Reply Last reply Reply Quote 0
                • T Online
                  TIG Moderator
                  last edited by 23 Sept 2010, 22:14

                  @massimo said:

                  Thanks TIG, seems to work fine. πŸ˜„
                  It's possible to get rid of that mesh grid on the Z=0 level? Perhaps an option?

                  I see the problem.
                  Can you post the example SKP before Contouring...
                  So I can play with it...
                  I suspect some sort of 'Erase Coplanar Edges' is needed within the tool - but it will occur at any z-level if you have a mesh that you haven't used 'Erase Coplanar Edges' on and there are multiple faces - It simply uses what it's given... πŸ˜‰
                  For now use an 'Erase Coplanar Edges' tool [there are several available] [i]before you make the Contours and the problem will vanish with the coplanar edges...[/i]

                  TIG

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    massimo Moderator
                    last edited by 24 Sept 2010, 06:28

                    @unknownuser said:

                    Can you post the example SKP before Contouring...

                    It was only a quick test and i don't have the file anymore. Anyway you can replicate that easily. It was a terrain mesh generated with the sandbox tools: from scratch+smoove and then smoothened.

                    @unknownuser said:

                    For now use an 'Erase Coplanar Edges' tool [there are several available] before you make the Contours and the problem will vanish with the coplanar edges...

                    Sure. Thanks πŸ˜„

                    1 Reply Last reply Reply Quote 0
                    • G Offline
                      Gaieus
                      last edited by 24 Sept 2010, 11:03

                      ThomThom's CleanUp plugin will get rid of those edges, too (and many more...)

                      Gai...

                      1 Reply Last reply Reply Quote 0
                      • M Offline
                        massimo Moderator
                        last edited by 24 Sept 2010, 11:41

                        Already used that. πŸ˜‰ Thanks Gaieus.

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          simon le bon
                          last edited by 24 Sept 2010, 14:44

                          @tig said:

                          @massimo said:

                          Thanks TIG, seems to work fine. πŸ˜„
                          It's possible to get rid of that mesh grid on the Z=0 level? Perhaps an option?

                          I see the problem.
                          Can you post the example SKP before Contouring...
                          So I can play with it...
                          I suspect some sort of 'Erase Coplanar Edges' is needed within the tool - but it will occur at any z-level if you have a mesh that you haven't used 'Erase Coplanar Edges' on and there are multiple faces - It simply uses what it's given... πŸ˜‰

                          For now use an 'Erase Coplanar Edges' tool [there are several available] before you make the Contours and the problem will vanish with the coplanar edges...[/i]

                          Hi Tig and Massimo and Gaieus πŸ˜„ ,

                          Here are 'Erase Coplanar Edges' tools:

                          thomthom_[Plugin] Cleanup (2.0.0)
                          For SU7.1 Doesn't work on my SU6 free.

                          a4chitect_ cleanup.rb

                          J.H. Aughey_CleanUP Model

                          Well! I have tried Tig's solution:

                          @unknownuser said:

                          For now use an 'Erase Coplanar Edges' tool before you make the Contours and the problem will vanish with the coplanar edges...

                          but that doesn't work very well.
                          The simple working solution I have found is to avoid z=0. Moving the group up (or down), activate Contour Maker, Move the group back to the initial position.

                          Cheers, simon.

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            MALAISE
                            last edited by 24 Sept 2010, 18:29

                            Very useful for geological drawings

                            Thanks TIG πŸ‘ πŸ‘

                            La Connaissance n'a de valeur que partagΓ©e

                            1 Reply Last reply Reply Quote 0
                            • T Online
                              TIG Moderator
                              last edited by 24 Sept 2010, 19:11

                              Simon...

                              When you use the erase coplanar edges tool do you have hidden-geometry 'on'.
                              Then when you have the simplest mesh possible make the contours... ❓

                              TIG

                              1 Reply Last reply Reply Quote 0
                              • S Offline
                                simon le bon
                                last edited by 24 Sept 2010, 21:12

                                Hi Tig, πŸ˜‰

                                I had tried only with all edges unsmoothed.
                                So I just have tried with hidden geometry "on" as you say. The result is not bad but seems not the best.

                                http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/thContourMaker001.jpg

                                ++simon

                                1 Reply Last reply Reply Quote 0
                                • T Online
                                  TIG Moderator
                                  last edited by 24 Sept 2010, 21:16

                                  It does exactly what you tell it to do...
                                  If you move the mesh up in the Z by 1mm the result will change... πŸ˜’
                                  The contours are 'true' - the mesh might not be exactly as you hope BUT the 'contours' represent what is there...

                                  TIG

                                  1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    simon le bon
                                    last edited by 24 Sept 2010, 22:08

                                    Ah OK!
                                    I think I began to understand how Contour maker works.

                                    @unknownuser said:

                                    The Contours always start their vertical spacing from Z=0 UP & DOWN.


                                    http://i274.photobucket.com/albums/jj245/Spendauballet/SketchUp/thContourMaker002.jpg

                                    πŸ˜• simon

                                    1 Reply Last reply Reply Quote 0
                                    • T Online
                                      TIG Moderator
                                      last edited by 27 Sept 2010, 10:47

                                      Here's v1.6 - http://forums.sketchucation.com/viewtopic.php?p=273795#p273795
                                      Minor corrections to syntax [arguments all inside () ] that has no affect on results but covers possible future deprecation...

                                      TIG

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        mitcorb
                                        last edited by 27 Sept 2010, 10:59

                                        Hi,TIG:
                                        Could you explain what you mean by possible future deprecation?
                                        It suggests to me that other tools may not tolerate the use of this one?

                                        I take the slow, deliberate approach in my aimless wandering.

                                        1 Reply Last reply Reply Quote 0
                                        • T Online
                                          TIG Moderator
                                          last edited by 27 Sept 2010, 13:21

                                          A method's 'deprecation' is when a method or a part of a method is no longer 'used' or 'works'.
                                          For example in many API examples in the guides it will say for things like:
                                          entities.add_cline point1, point2
                                          this works fine in past and current versions...
                                          BUT the 'standard' way recommended in Ruby and guaranteed to stop faults is to use 'parenthesizes' to enclose all arguments, like this
                                          entities.add_cline(point1, point2)
                                          [Note NO space between the method and opening ( and the arguments are separated by ',']
                                          This also gets over the occasional glitch that occurred in existing code with the new PC version of Ruby shipped with v8, for example in v7 this [probably] worked
                                          my_command (x+y/2), z
                                          in v8 it will fail because the first set of stuff inside the '()' is taken as all the arguments there are and the following ', z' throws an error, but changed to
                                          my_command((x+y/2), z)
                                          it then works for both versions and is also 'future-proof' as all of the arguments are now encapsulated inside the ()...

                                          TIG

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

                                          Advertisement