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

    Lengthening a series of lines in equal increments

    Scheduled Pinned Locked Moved Newbie Forum
    sketchup
    31 Posts 8 Posters 1.9k Views 8 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.
    • jeff hammondJ Offline
      jeff hammond
      last edited by

      @unknownuser said:

      @Jeff
      Shadowline on the ground of the Curvyshear is very elegant! โ˜€ (middle drawing image)

      Not possible to make a curve with it ?

      hmm.. not that i know of.. would be neat if you could though..

      (actually, you could probably project the geometry somehow?? i think there might even be a plugin that could do it?)

      dotdotdot

      1 Reply Last reply Reply Quote 0
      • jeff hammondJ Offline
        jeff hammond
        last edited by

        [off:aznqnqp7]
        @unknownuser said:

        @unknownuser said:

        @Jeff
        Shadowline on the ground of the Curvyshear is very elegant! โ˜€ (middle drawing image)

        Not possible to make a curve with it ?

        hmm.. not that i know of.. would be neat if you could though..

        (actually, you could probably project the geometry somehow?? i think there might even be a plugin that could do it?)

        ๐Ÿ˜† ๐Ÿ˜†

        1. set sun directly overhead to be used as a preview..
        2. orient the helix to your liking using the shadow as a guide..
        3. sandbox-> drapeโ€ฆ

        project.jpg

        project2.jpg

        project3.jpg[/off:aznqnqp7]

        dotdotdot

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

          So that was simple! ๐Ÿ˜ฒ
          I will try that because seems too simple for to be true! ๐Ÿ’š

          About the first problem
          I am waiting the Sdmitch autorization
          for calculate a serie of lines not in equal increment ๐Ÿ˜„

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

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

            @Jeff
            I'm very bored for testing your genious trick! ๐Ÿ˜ฒ

            Very Curious I can't have the open of the all menu of a Shadow settings box dialog!
            I don't have the same Shadow settings ๐Ÿ˜ž
            From your Shadows settings image

            http://forums.sketchucation.com/download/file.php?id=41868&mode=view

            Notmore.jpg
            And this don't open something more! ๐Ÿ˜ฎ (V6 or V7)
            Shadow tool is enable on the Toolsbar list menu!

            Seems i had this box dialog in the past ๐Ÿ˜’

            No more in Style / Edges

            The button Activate Shadow dialog seems makes nothing! ๐Ÿ˜ฎ
            No more in selecting curve right click
            No more Entity Info, Model info... Cast Shadows, Receive Shadows are enable

            Maybe I miss something ๐Ÿ˜• or a plug squize this function ?

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

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

              So for the lines in not equal alignement ๐Ÿ˜„

              make each lines as component (see follow how do make that)
              (there are the Target)

              redraw the same number of lines in equal alignement
              use any method above for modify them
              make each these new lines as a components (there are the Source)
              (see follow how do make that)

              use this tricky new plugin of Sdmitch who permit now replace components Source--> Target
              Randomly or Not ! So choose No โ˜€

              See this post for precision of the normal use of the Replace Components

              And maybe a plug(s) for make each (original lines / new lines) a component ๐Ÿ˜‰
              Select a familly of lines
              Loose geometry to groups by Chris Fullmer
              Then Groups to components TT by Thomthom

              That all! ๐Ÿ˜„


              ComponentReplacement.rb

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

              1 Reply Last reply Reply Quote 0
              • jeff hammondJ Offline
                jeff hammond
                last edited by

                hmm.. i don't know what to tell you.. it's not a plugin.. just standard sketchup settings.

                does someone with windows know about this?

                once you get that part figure out, you'll also want to go Model Info -> Geo Location -> Set Manual Location
                then set the latitude to 0ยบ
                this will make it possible to have the sun directly over head.. then adjust the time of day settings to fine tune it..
                (use Top View when lining it up)

                dotdotdot

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

                  @unknownuser said:

                  it's not a plugin.

                  Of course that is not a plugin, it's just a dialog box ๐Ÿ˜„

                  But I have tested that is not a plugin who blocks this Menu function!
                  Maybe a file has desapeared ๐Ÿ˜

                  Or maybe that is a "Pro version" function ?

                  Docs
                  From the Doc

                  http://sketchup.google.com/crimages/sketchup-114934-ShadowSettings-win-en.png

                  @unknownuser said:

                  Activate the Shadow Settings dialog box from the Window menu.

                  Made but no Box dialog appears!
                  I will try on V8 tomorrow

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

                  1 Reply Last reply Reply Quote 0
                  • jeff hammondJ Offline
                    jeff hammond
                    last edited by

                    `

                    another approach:

                    click pic -> bigger

                    (Jim) DrawHelix:
                    http://forums.sketchucation.com/viewtopic.php?t=33139

                    (TIG) Extrude Edges by Object to Vector to Object:
                    http://forums.sketchucation.com/viewtopic.php?t=37515

                    download the ExtrudeEdges suite here:
                    http://forums.sketchucation.com/viewtopic.php?p=217663#p217663

                    dotdotdot

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

                      @Jeff
                      on an other computer with V 6,7,8 free your tricky tip works like a charm! ๐Ÿ˜Ž

                      So I believe problem should maybe about open "Shadows dialog box" for mysterious reasons! ๐Ÿ˜„

                      helloo.jpg

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

                      1 Reply Last reply Reply Quote 0
                      • sdmitchS Offline
                        sdmitch
                        last edited by

                        @davecon said:

                        Thanks for the help so far everyone ๐Ÿ˜„

                        I have got the hang of doing this on a straight line, now the complex bit is trying to do it on a spiral. Currently I am trying to turn the model on the left (spiral with even length lines) in the model on the right (spiral with lines increasing by XX per length)
                        [attachment=1:2ramdbm4]<!-- ia1 -->spiral lines.jpg<!-- ia1 -->[/attachment:2ramdbm4]

                        Ideally what I would like to be able to do is select the first line (red) and then the last line (green) and be able to input something like "starting the with the first line make all the others increase in XXmm increments"

                        Here is the file itself so far.
                        [attachment=0:2ramdbm4]<!-- ia0 -->spiral lines.skp<!-- ia0 -->[/attachment:2ramdbm4]

                        Instead of going to the trouble of creating the equal length lines then extending them incrementally, I would make the "baseline", be it a flat spiral or a straight line divided into the desired number of segments, into a curve using weld and then you can create the lines originating from the curve's vertices.

                        The code to do this is as simple as this

                        mod = Sketchup.active_model
                        ent = mod.entities
                        sel = mod.selection
                        if !sel.empty? && sel.first.curve
                         vers=sel.first.curve.vertices
                        # d is initial length, i is the increment, and a is the direction vector
                         d=875.0.mm;i=87.5.mm;a=[0,0,-1]
                         for v in vers
                          p=v.position;pp=p.offset(a,d)
                          ent.add_line(p,pp)
                          d += i
                         end
                        else
                         UI.messagebox "select a curve"
                        end
                        
                        

                        It would be a monumental task to try to figure out the order of the equal length lines. When you select a group of anything, there is no guaranty that Sketchup will add them to the selection in the proper order. At least that has been my experience.

                        Nothing is worthless, it can always be used as a bad example.

                        http://sdmitch.blogspot.com/

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

                        Advertisement