• Login
sketchucation logo sketchucation
  • Login
ℹ️ GoFundMe | Our friend Gus Robatto needs some help in a challenging time Learn More

Script Search

Scheduled Pinned Locked Moved Developers' Forum
5 Posts 3 Posters 566 Views
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.
  • D Offline
    Dave R
    last edited by 7 Mar 2008, 18:06

    Alright. Lay face down on the floor with your arms outstretched... Oh wait. Wrong kind of search. 🤣

    Actually, I am wondering if there is a could be written a script which, when activated would drill through all groups and components and move all geometry (edges and faces) to Layer 0. It seems lately in my tutoring that I am getting a lot of models from newer users who have screwed up and associated some geometry with layers other than Layer 0. Frequently the geometry is on a layer other than the layer associated with the group/component that the geometry is in. Obviously this creates problems when one starts to hide these layers. It is very tedious to go through each group and component to straighten this out.

    So, is it already written? Or is it easy to write? I'm thinking that it could be a click and its done sort of thing. No need for choices or options.

    Etaoin Shrdlu

    %

    (THERE'S NO PLACE LIKE)

    G28 X0.0 Y0.0 Z0.0

    M30

    %

    1 Reply Last reply Reply Quote 0
    • T Offline
      todd burch
      last edited by 7 Mar 2008, 18:58

      It's easy to write if not already written.

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 7 Mar 2008, 22:25

        I've written it already.

        See here: http://www.sketchucation.com/forums/scf/viewtopic.php?p=46447#p46447.. .

        TIG

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dave R
          last edited by 7 Mar 2008, 22:46

          Cool! Thank you sir.

          Unfortunately I got the following error on SU startup.

          "Error Loading File default_all_layers.rb
          C:/PROGRA~1/Google/GOOGLE~3/Plugins/default_all_layers.rb:41: syntax error
          C:/PROGRA~1/Google/GOOGLE~3/Plugins/default_all_layers.rb:43: syntax error
          end#if
          ^"

          Etaoin Shrdlu

          %

          (THERE'S NO PLACE LIKE)

          G28 X0.0 Y0.0 Z0.0

          M30

          %

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dave R
            last edited by 8 Mar 2008, 00:56

            Actually, I think I solved the syntax errors but the script doesn't seem to do what I would like to have happen. Thanks anyway, TIG.

            Dave

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

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

            Advertisement