Points Import: Difference between revisions

From FreeCAD Documentation
mNo edit summary
No edit summary
Line 34: Line 34:
# Select a point cloud file.
# Select a point cloud file.
# Press the {{Button|Open}} button.
# Press the {{Button|Open}} button.



==Properties==
==Properties==


See [[Points_Convert|Points Convert]].
Point cloud objects are [[App_GeoFeature|App GeoFeature]] objects with the following additional properties. Select the {{MenuCommand|Show all}} option from the [[Property_editor|Property editor]] context menu to display the hidden properties.

===Data===

====Hidden Data properties====

{{TitleProperty|Base}}

* {{PropertyData|Points|PointsKernel}}: a Points PointsKernel associated with this object.
* {{PropertyData|Normal|NormalList}}: a list of normals. This property is only available if the point cloud object was created by the [[Points_Convert|Points Convert]] command from a shape object with faces or a mesh object.

===View===

{{TitleProperty|Base}}

* {{PropertyView|Point Size|FloatConstraint}}: the size in pixels of the points in the [[3D_view|3D view]].


==Point cloud file format==
==Point cloud file format==

Revision as of 09:36, 22 August 2020

This documentation is a work in progress. Please don't mark it as translatable since it will change in the next hours and days.


Points Import

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

Description

The Points Import command imports a point cloud from a file.

Usage

  1. There are several ways to invoke the command:
    • Press the Points Import button.
    • Select the Points → Import Points... option from the menu.
  2. Select a point cloud file.
  3. Press the Open button.


Properties

See Points Convert.

Point cloud file format

  • A point cloud file must have the .asc, .pcd or .ply extension.
  • Each line in the file must list the X, Y and Z coordinates of a point.
  • The coordinates must be separated by spaces.
  • The coordinates must use a decimal point, not a decimal comma.

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 file, which is a low polygon version of the Stanford Bunny.