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

    [REQ] Centerpoint to Table

    Scheduled Pinned Locked Moved Plugins
    4 Posts 2 Posters 1.0k Views 2 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.
    • Dave RD Offline
      Dave R
      last edited by

      Once in awhile I get a project to draw that has a lot of holes in it. Locating those holes is tedious work and I wonder if it would be possible, once they are located, to have a plugin record the locations of their centers and their diameters. The thought is that this could be printed in a tabular form with the drawing. This would help to reduce clutter in the drawing by eliminating the need to dimension those hole locations.

      I've been working on a SketchUp model of a soon-to-be-released woodworking machine. There are a number of parts that have a large number of holes. I was sent PDF files of the CAD drawings. The holes were called out in a tables on the drawings. I used Didier's Points Cloud plugin to locate the centers and then went in a drew circles at the centerpoints. It was actually quite fast.

      My thought about the operation of this plugin is that, when started, it would ask the user to click on the point you want to be (0,0,0). Then the user would be prompted to drag from that point to define the X and Y axes for the table. The plugin would look for all circles and arcs that lie on the X,Y plane, locate the centerpoints, record those in a CSV file which gets saved to the directory of the SKP file. The topper would be to have leader text callouts automatically inserted into the model that identify the origin and the holes.

      The table might look something like this:
      ___X___Y
      A 1.625 2.5
      B 1.625 3.5
      C 1.625 4.5

      I'm thinking this might be a commercial script if it is possible to create.

      Etaoin Shrdlu

      %

      (THERE'S NO PLACE LIKE)

      G28 X0.0 Y0.0 Z0.0

      M30

      %

      1 Reply Last reply Reply Quote 0
      • Dave RD Offline
        Dave R
        last edited by

        No, huh?

        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

          Picture sequence please.

          1 Reply Last reply Reply Quote 0
          • Dave RD Offline
            Dave R
            last edited by

            Todd, I hope this makes sense.

            http://img.photobucket.com/albums/v506/weekender410/image1.jpg

            Activate the script and pick the point you wish to be the origin. In this case the lower left corner of the top face. I didn't quite know how to illustrate it but the next step would be to drag along the two edges for X and Y directions. It would be a bit like dragging for the ellipse plugin or the Tools on Surface rectangle or ellipse. A total of three mouse clicks would be required: origin, anlong X direction and along Y direction.

            http://img.photobucket.com/albums/v506/weekender410/image2.jpg

            Script generates guidepoints at the centers of all circles and arcs on the face that lies on plane defined by the X and Y from the previous step. (In the interest of time I didn't put all the points in these screen grabs.

            http://img.photobucket.com/albums/v506/weekender410/image3.jpg

            Leader text callouts applied to centerpoints and a CSV (or Space separated?) is generated with callouts and point coordinates.

            A 1.1835 3.20931
            B 1.3825 3.261931
            C 1.5815 3.316931
            and so on.

            The holes on this part were originally genetated from a table similar to this. I created a TXT file and imported it with Didier's Points Cloud plugin. I just want to come up with the reverse. In my example there's no need for a Z value.

            CLear as mud?

            Etaoin Shrdlu

            %

            (THERE'S NO PLACE LIKE)

            G28 X0.0 Y0.0 Z0.0

            M30

            %

            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