Points Import: Difference between revisions

From FreeCAD Documentation
m (linted templates + Reformatted 'Usage' section + added templates and links)
No edit summary
Line 32: Line 32:


<!--T:5-->
<!--T:5-->
* The coordinates of the points should be read from a text file with the extension {{incode|.asc}}.
* The point cloud file should one of the following extensions {{incode|.asc}}, {{incode|.pcd}} or {{incode|.ply}}.
* Each line should have a collection of X, Y, Z coordinates separated by a space. The coordinates must use a decimal point, not a decimal comma.
* Each line should have a collection of X, Y, Z coordinates separated by a space. The coordinates must use a decimal point, not a decimal comma.
* After importing, your points will be selectable in the [[3D view]], and they can be snapped to using the [[Image:Snap_Endpoint.svg|24px]] [[Draft Endpoint|Snap Endpoint]] method from the [[Image:Workbench_Draft.svg|24px]] [[Draft Workbench]].
* After importing, your points will be selectable in the [[3D view]], and they can be snapped to using the [[Image:Snap_Endpoint.svg|24px]] [[Draft Endpoint|Snap Endpoint]] method from the [[Image:Workbench_Draft.svg|24px]] [[Draft Workbench]].

Revision as of 21:12, 29 February 2020

Points Import

Menu location
Points → Import points
Workbenches
Points
Default shortcut
None
Introduced in version
-
See also
Points Export

Description

This tool imports 3D points from a point cloud file.

Usage

  1. Invoke the Import Points command several ways:
    • Press on the Points Import button in the Points toolbar
    • Use the Points → Import points from the Points menu.
  2. Select the point cloud file
  3. Press Open.

Notes

  • The point cloud file should one of the following extensions .asc, .pcd or .ply.
  • Each line should have a collection of X, Y, Z coordinates separated by a space. The coordinates must use a decimal point, not a decimal comma.
  • After importing, your points will be selectable in the 3D view, and they can be snapped to using the File:Snap Endpoint.svg Snap Endpoint method from the Draft Workbench.
  • The cloud point will be imported as a single cloud object. This is unlike the Draft Point tool which creates individual points.

Sample point cloud file

0 0 0
1.4562 -7.2354 12.2367
5.9423 3.1728 -17.6439

For testing you can use this ASC file, which is a low polygon version of the Stanford Bunny.