Importing: Supported File Types
Point Curve Text
curves (insert only)
.txt
A spline curve is created by default or if the option
Polyline=False
is used. If the optionPolyline=True
is used, then the points are connected by straight line segments.By default, 2D curves are created. When specifying 2D curves, the first column of the data points must be an integer and gives the height of the plane of one of the curves. The beginning of a new curve is specified by changing this height from one line to the next. If option
3D=True
is used, the curves can be 3DUse the Fit keyword to specify whether Curve Fitting or Interpolation is used.
Fit=True
uses Curve Fitting. Curve Fitting creates a curve that "Fits" the data points using a specified tolerance. The curve may not pass exactly through all points and the distance from the curve to the point will be within the tolerance.Use the
Fittol
keyword whenFit=True
to specify the Curve Fitting tolerance in model units. For exampleFittol=1.0e-2
The curve below uses Curve Fitting (that is, Fit=true). A large tolerance (fittol=2.0) is used to exaggerate the fact that the curve does not pass through the points but only gets within the specified tolerance.
Fit=False
uses Interpolation. Interpolation requires that the curve pass exactly through all of the points. An interpolation method is used to build a continuous curve through all of the points.The curve below is interpolated (that is,
Fit=False
). There are seven points in the file and the curve passes exactly through each one.Multiple curves are separated by blank lines.
You can import point curve text files that contain single-point curves, which will be created as points.
Point-curve text files opened or inserted in display a closed curve when the file has a repeated value.
Curves can be imported to coordinate systems or other geometry like other imported objects.
Point-curve text files with columns separated by commas can be opened or inserted. This feature allows you to import any comma-separated value file into .
If there is an error reading the input text file, a message will appear with the line number of the error in parentheses followed by the text appearing on that line.
The following example shows the contents of a point curve text file on the left and the 3D curves it creates on the right:
Note that the point coordinates are (Z, X, Y).
For example (1, 2, 3) is (Z=1, X=2, Y=3).
3d=true polyline=false 1 0 0 1 0 1 1 1 0 1 1 1 2 0 1 2 1 0 3 0 0 3 0 1 3 1 0 |
Keywords:
-
polyline=false
- spline curves are created. -
polyline=true
- straight lines are created. -
3d=true
- 3D curves are created. -
3d=false
- curves are two-dimensional. This is also the case if the option is not set. -
fit=true
- use Curve Fitting.- Curve Fitting finds the "Best Fit" through the points.
- Does not require the curve to pass through all of the points
-
fit=false
- use Interpolation.- Interpolation forces the curve to pass through all the points in the file.
-
fittol=1.0e-2
- Curve Fitting tolerance in the units used in the file.
The blank line after the first set of coordinates indicates that the next set of coordinates is a new curve.
You can copy the file contents above and paste them into a text file, then use Insert File to try it yourself.
Rhino®
version 4.0, V5.0, V6.0, V7.0
parts, assemblies
.3dm
When importing a Rhino file, multi-segmented curves are consolidated.
You can export layer names, color information, sketch lines, and material information.
Neighboring topology is taken into consideration by default. This means that if problems are found with a face, then its neighboring faces can provide information used to fix the face.
The SpaceClaim plugin for Rhino is only supported for Rhino V5.0.
Supported Rhino Object | Rhino object | entity |
Solids | Closed polysurfaces | Solid body |
Closed surfaces: sphere, torus, ellipsoid dots; | ||
Polysurfaces (open) | Sheet body | |
Surfaces | Trimmed surfaces | Sheet body |
Untrimmed surfaces with boundary edges | ||
Curves (curve, polycurve) | Named sketch curve | |
Point objects (point, point cloud) | Not supported | |
Polygon mesh objects | Not supported | |
Object name | Entity name | |
Object color | Entity color | |
Layers | Layer name | Layer name |
Layer color | Layer color | |
On/off layer | Show/hide layer | |
Locked/unlocked layer | Locked/unlocked layer | |
Layer structure | Component structure | |
Materials | Material name | Material name |
Other material attributes | Not supported | |
Groups | Not supported |