• Login
sketchucation logo sketchucation
  • Login
🔌 Quick Selection | Try Didier Bur's reworked classic extension that supercharges selections in SketchUp Download

[REQ] wire lines to tubes

Scheduled Pinned Locked Moved Plugins
8 Posts 5 Posters 1.5k Views 5 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.
  • G Offline
    gaucho
    last edited by 28 Aug 2008, 09:26

    Hi guys,

    would be possible to do in ruby script, something to generate from a wire mesh... like single lines, a tube mesh? or even square extrude elements... (maybe options to choose from)

    I know there's something like it in the 3DS...

    Any volunteer?

    Thanks in advance!


    Trying to make this...


    ...turn in to this!

    "eat well, stay fit, die anyway..."

    1 Reply Last reply Reply Quote 0
    • G Offline
      gaucho
      last edited by 28 Aug 2008, 13:35

      I've uploaded two images to ilustrate the issue!

      Thanks!

      "eat well, stay fit, die anyway..."

      1 Reply Last reply Reply Quote 0
      • R Offline
        remus
        last edited by 28 Aug 2008, 14:09

        You could try using the technique described in the attached tutorial, ive found it to work quite well for things like that.


        mesh structure tut.skp

        http://remusrendering.wordpress.com/

        1 Reply Last reply Reply Quote 0
        • G Offline
          gaucho
          last edited by 28 Aug 2008, 14:25

          Thanks for your reply remus.

          I think it is a little bit more complex as in this case the mesh is not in a single plane, it's a curve canopy and my experiences with FFD never came up with a good precision in the end...

          "eat well, stay fit, die anyway..."

          1 Reply Last reply Reply Quote 0
          • D Offline
            Didier Bur
            last edited by 29 Aug 2008, 18:46

            Hi,
            Maybe you could use line2cyl.rb ?
            Selectionable tube diameter and tube precision, but no intersections between cylinders 😕
            Here roughly applied on a basic terrain mesh.
            wire.jpg


            line2cyl.rb

            DB

            1 Reply Last reply Reply Quote 0
            • 2 Offline
              2myChaGrin
              last edited by 30 Aug 2008, 05:11

              Didier,

              Would it be a difficult thing to modify this script so that it will paint the cylinders to a color, namely black. I use this script quite a bit as a means to show lines to a render engine. I usually convert sketchup lines to 1/8" cylinders (usually for brick borders around curves or anywhere I want to stylize the final output) and I usually have to go back and paint each cylinder black. This can become a chore with a few hundred separated lines (cylinders) that are 1/8" thick. Something along these lines would be good as a "render line" ruby (if cylinders didn't create so many extra polygons!

              1 Reply Last reply Reply Quote 0
              • B Offline
                bigstick
                last edited by 30 Aug 2008, 13:18

                I use 'pipe along path' which gives you an option to set the number of segments for your cylinders. I often use just 4 or 5 if they are for something which isn't close to the camera.

                1 Reply Last reply Reply Quote 0
                • D Offline
                  Didier Bur
                  last edited by 31 Aug 2008, 21:22

                  Hi all,
                  Here is an update of line2cyl.rb:
                  http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=12354
                  Selectable material, grouping, follow-me when possible, and some other enhancements.
                  Regards,

                  DB

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

                  Advertisement