• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Wierd offset behavior when importing DXF file

Scheduled Pinned Locked Moved SketchUp Discussions
sketchup
1 Posts 1 Posters 197 Views 1 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.
  • N Offline
    Neanderthal
    last edited by 25 Feb 2016, 21:33

    I’m a relative novice with Sketchup. I’m working on the base for a jig with a 100+ guide holes whose locations might change. I found a 2008 thread titled “Excel data to model,” so I’m trying to use a dxf file to import data generated by my spreadsheet. As a test to see if I could make the import work, I created an ASCII text file with 7 arbitrary points in the X-Y plane. I started each test in a new, empty Sketchup model, so there should not be any conflicts with existing entities.

    The model did accept the data points but offset them. And, although the offsets were uniform for each upload, the offset changed when the data file’s 3rd Y entry changed.

    Test 1: My original test set had two points 1 unit from another: P2 = (3, 2) & P3 = (2, 1); the offset was (-1, -1), so the one error point from (3, 2) overlaid (2, 1). To more clearly see what was happening, I changed point 3 to (2.5, 1.5) and re-imported it. Same problem, but now the offset was (-1, -1.5).

    Test 2: I edited the 2nd point from (3, 2) to 3.25, 2.25) to see if an earlier fraction changed the result. It didn’t: the offset stayed at (-1, -1.5).

    Test 3: I kept the (3.25, 2.25) data for the third point but added a fraction to the second point to see if the first fraction was creating the problem. The result was the same as in test 2.

    Test 4: To verify that it was changing in response to the 3rd Y value I edited the 3rd point to (2, 1.25), and the offset changed to (-1, -1.25).

    So, when the 3rd point was (
    2, 1), the offset was (-1, -1); for
    2.5, 1.5), it was (-1, -1.5);
    (2, 1.25), (-1, -1.25).

    Have I failed to declare types or some other basic shortfall?

    I would sincerely appreciate any suggestions about what I might be doing wrong.

    Very respectfully,
    Larry


    Text file with my 7 random points.


    Sketchup model with the imported data.


    Screen shot of the 2nd test upload.


    Screen shot of the 4th test upload.

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

    Advertisement