1
General / Re: Coordinates of a PointCloud Do Not Match the Local Coordinates of Markers
« on: July 03, 2018, 01:08:06 PM »
Anyone have any ideas?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
doc = PhotoScan.app.document
chunk = doc.chunk
point_cloud = chunk.point_cloud
points = point_cloud.points
x = 0
y = 0
offset = 1
selected_points = []
for point in points:
if point.coord[0] < (x + offset) \
and point.coord[0] > (x - offset) \
and point.coord[1] < (y + offset) \
and point.coord[1] > (y - offset):
selected_points.append(point)
point.selected = True