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

    Scripting/processing question..

    Scheduled Pinned Locked Moved Developers' Forum
    7 Posts 3 Posters 373 Views 3 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.
    • A Offline
      agamemnus
      last edited by

      Is there a way I can invoke Sketchup via the command line somehow? I want to output a string, then have Sketchup open a file, create some text objects, and process the text via Chris Fullmer's Shape bender along a specific sub-object -- and then export.

      1 Reply Last reply Reply Quote 0
      • renderizaR Offline
        renderiza
        last edited by

        Hi,

        I suggest posting this question on Developers forum here... http://sketchucation.com/forums/viewforum.php?f=180

        Also images sometimes explain better than text so that might be useful. I myself am not sure what is it that you are trying to do for example. 😳

        anyways hope you can get help...cheers!

        [url=https://www.sketchupcode.com/:z3kqsidd]My Extensions ...[/url:z3kqsidd]

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

          Thanks to whoever moved the thread. We will probably be doing this in 2D via some CSS, but it would be nice to know if this sort of thing is possible.

          Renderiza:
          Here is an example. You might be a company selling a common household item or trinket with an engraving, and you want to show your customers how that item will potentially look like.

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

            Anyone?

            1 Reply Last reply Reply Quote 0
            • Chris FullmerC Offline
              Chris Fullmer
              last edited by

              Yes, what you're trying to do should be possible. All ruby scripts get loaded when SU starts.

              The problem with the shapebender example though is that shapebender requires human interaction. It could be tweaked to work without human interaction though, if you could programmatically define what it needs to be run (a straight line, an object to bend, and a curved line to use as the bending template), write that into the script, and then make sure your base model had all those elements in it.

              Lately you've been tan, suspicious for the winter.
              All my Plugins I've written

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

                Interesting thought. We ended up doing it differently, but I now need that for something else. Thanks, Chris. I will try this method. Now I just need to figure out how to stick Sketchup into CentOS!!!

                1 Reply Last reply Reply Quote 0
                • Chris FullmerC Offline
                  Chris Fullmer
                  last edited by

                  I think people have pretty good success with getting SU to run under WINE. I've never seen anyone try CentOS. Good luck!

                  Lately you've been tan, suspicious for the winter.
                  All my Plugins I've written

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

                  Advertisement