Support Topics
 Support topicsShade3D

Importing DXF files correctly

Maintenance and support service related information

Shade3D can read DXF files that are saved in a text format (specifying the R12 version is required). DXF is a file format supported by many software programs and is often used for inputting and outputting shapes. However, due to differences in specifications and features between different software packages, there may be subtle variations.

Therefore, when importing DXF files, we recommend testing the compatibility between the software you created it with and Shade3D beforehand. In this instance, we will explain how data is interpreted and provide some important points to consider when importing DXF files created in other software into Shade3D.

Import to Shade3D

Bézier curves of degree 3 defined in DXF format are read as freeform surfaces, Spline curves are loaded as NURBS, and other surfaces are loaded as polygon meshes.

Furthermore, Bézier curves loaded into Shade3D become freeform surfaces without tangent handles; however, you can smooth them by using the "Smooth" function under the Edit menu in the toolbox, and polygon meshes can be smoothed by utilizing the "Subdivision Surface" option under the Mesh menu in the toolbox.


Figure 1: Smooth Figure 2: Subdivision Surface Menu

Data interpretation

Data imported from DXF files into Shade3D will be interpreted as follows.


LAYER/BLOCK

Part-time

VIEW

In VIEW's WCS (World Coordinate System), the target point is set to be the gaze point of the Shade3D camera

VPORT

Set the target point of VPORT to be the gaze point of the camera in Shade3D

LINE (a line segment)

A linear shape consisting of 2 points

POINT (Point)

Ignore

CIRCLE/ARC (Circle/Arc)

Yen (Note: Oval shapes are not yet supported)

TEXT (characters)

Ignore

POLYLINE/
LWPOLYLINE/
VERTEX

Polygon mesh, or line shape
(Note: This does not yet support the bulging shape of VERTEX)

3DFACE/SOLID/
TRACE

Closed line shape

INSERT

Object or part object

"DXF Import Settings" displayed during the import process

Please select only one of the following options: "Classify by color number" or "Read blocks as parts (including invalid blocks)". If both checkboxes are selected simultaneously, the system will prioritize "Read blocks as parts".


Figure 3: DXF Import Settings

● Checkbox for "Classification by color code"

When the check box is enabled, the software used to create the DXF file will import layers and shapes that are classified with the same color (color number) into the same part.

● Checkbox labeled "Load blocks as separate parts"

When the check box is enabled, if multiple shapes are treated as a single object (a block), they will be classified into parts individually and imported. When the check box is disabled, the layers will be classified into parts without considering the blocks, and then imported.

● "Input format" pop-up menu

If you have selected "3D drawing," the shape will be imported into a standard 3D orthographic view.

If you select "2D drawing," it will be imported to the "2D drawing part" and the shape will be displayed in the 2D drawing view.


Points to note

By default, Shade3D imports DXF files using millimeters as the unit of measurement.

When importing into a new scene file, the size of the DXF and the screen zoom ratio may differ, which can cause the imported shapes to appear extremely small. If you click "◎" (Fit) in the "View Control Bar" of the drawing, the selected shapes will be displayed at a zoom level that fits them within the drawing; please use this feature when importing.



Finally

We publish various techniques and information related to Shade3D on the "Shade3D Knowledge Base". Please feel free to use it if you are unsure about operations or expressions.


(Featured in the Spring issue of Up&Coming '22)
Go back
Up&Coming

FORUM8

LOADING