Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Import coordinates, create floorplan / building perimeter, edit and export coordinates?

swe_drawerswe_drawer Member Posts: 2
Hey all - 

I've searched the forums a bit and pretty sure the answer to my question is "yes".
But want to double check. Can I use onshape to do the following: 

1. Import an array of coordinates. e.g. 

[
    [-42.5497, 50.1568],
    [-30.3802, 62.173],
    [-21.918376131139716, 49.20360783346553],
    [-25.240068622497233, 45.90563320787479],
    [-22.8815, 43.1813],
   /// ..... plus 60 more lines
]

2. Generate a top-level floorplan / perimeter from the data. Where each coordinate is a corner. 
3. Edit the plan as needed
4. Export the new coordinates back out. And most importantly, maintain the exact original coordinates (of any unchanged points). Or at least, the same level of point precision.

This is for an indoor floorplan/map. The original coordinates were exported from autocad. 

From what I've read on FeatureScript questions this looks do-able in OnShape.

Thanks in advance.
Sign In or Register to comment.