# how to import mx (asci file in Gocad format) or asci file in paraview

**URL:** https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133
**Category:** ParaView Support
**Tags:** vtk
**Created:** [December 7, 2019, 1:44pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133 "2019-12-07T13:44:54Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Roshi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Roshi](https://discourse.paraview.org/u/Roshi)
#### Post date: [December 7, 2019, 1:44pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/1 "2019-12-07T13:44:54Z")

</div>

Hi,  
I have 3D geology model exported from move software in asci format ( asci Gocad format is . mx file) and I want to know how to import this model in paraview, does anybody know ? I read I should use 2D delaunary filter but it is not active in mine, is there any other solution.  
Thank You!

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 9, 2019, 10:41am UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/2 "2019-12-09T10:41:07Z")

</div>

This format is not supported by paraview afaik. You will first need to convert your file to another format.

---

<div class="post-metadata">

### Author: ![Roshi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Roshi](https://discourse.paraview.org/u/Roshi)
#### Post date: [December 13, 2019, 4:01pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/3 "2019-12-13T16:01:16Z")

</div>

ok tack, what a about shapefile in Gis , is it possible to plot in paraview?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 13, 2019, 4:04pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/4 "2019-12-13T16:04:11Z")

</div>

The .shp/.shx format is supported through the GDAL option. You will have to build paraview yourself in order to be able to use it though, as this dependency is not in the binary release of ParaView yet.

---

<div class="post-metadata">

### Author: ![Roshi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Roshi](https://discourse.paraview.org/u/Roshi)
#### Post date: [December 15, 2019, 12:30pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/5 "2019-12-15T12:30:48Z")

</div>

could you please explain more, how to build it, I am using Qgis which GDAL libarary is installed.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 16, 2019, 10:41am UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/6 "2019-12-16T10:41:06Z")

</div>

[https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md](https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/build.md)

---

<div class="post-metadata">

### Author: ![Roshi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Roshi](https://discourse.paraview.org/u/Roshi)
#### Post date: [December 16, 2019, 2:43pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/7 "2019-12-16T14:43:23Z")

</div>

Could you please tell me which option I can use to plot these 3D layer made in cad, actually I export as text file, and dxf, plot text file as point in paraview and used Delaunary2d filtering but it does not show layer it shows surface, maybe there is another option. this is the text file and dfx I exported[KNDZ.vtk](https://discourse.paraview.org/uploads/short-url/ogGLcRlZPeZUVt1au2FjWpphcZ4.vtk) (6.5 KB)

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 16, 2019, 2:49pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/8 "2019-12-16T14:49:49Z")

</div>

Building ParaView is only necessary if you want to read a .shp.

Do you want to read a .shp file ?

---

<div class="post-metadata">

### Author: ![Roshi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Roshi](https://discourse.paraview.org/u/Roshi)
#### Post date: [December 16, 2019, 3:19pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/9 "2019-12-16T15:19:41Z")

</div>

I have sho file too, and 3D layet made in cad, both of them needed to be imported to paraview, for second option I should build paraview again?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 16, 2019, 3:20pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/10 "2019-12-16T15:20:53Z")

</div>

What is a sho file ?  
What is a 3D layet file ?

---

<div class="post-metadata">

### Author: ![Roshi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Roshi](https://discourse.paraview.org/u/Roshi)
#### Post date: [December 16, 2019, 3:37pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/11 "2019-12-16T15:37:33Z")

</div>

sorry, .shp (shapefile), and the 3D layer is made in cad this is 3D geology model, but the format is dxf, is it possible to import file from cad to paraview?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 16, 2019, 3:41pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/12 "2019-12-16T15:41:43Z")

</div>

As I said, reading .shp file requires you to build ParaView.

.dxf file cannot be read into ParaView yet.

---

<div class="post-metadata">

### Author: ![Roshi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Roshi](https://discourse.paraview.org/u/Roshi)
#### Post date: [December 16, 2019, 4:24pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/13 "2019-12-16T16:24:47Z")

</div>

> [@mwestphal](#):
>
> file cannot be read into ParaView yet.

ok, I uploaded the text file, with x,y,z, is there any filter just connect this points together, like a layer or not?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 16, 2019, 4:26pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/14 "2019-12-16T16:26:48Z")

</div>

You can use Delaunay2D filter to connect the points together.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 16, 2019, 4:36pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/16 "2019-12-16T16:36:59Z")

</div>

What are you trying to obtain ?

---

<div class="post-metadata">

### Author: ![Roshi](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/r/b487fb/32.png) [@Roshi](https://discourse.paraview.org/u/Roshi)
#### Post date: [December 16, 2019, 4:43pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/17 "2019-12-16T16:43:59Z")

</div>

these are 3D geology model provided in another software( and iIdigitized ) to plot in paraview just want to show here like a layer ( it is not straight like slice), it seems, no option here to plot

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [December 16, 2019, 4:44pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/18 "2019-12-16T16:44:37Z")

</div>

Can you show me a screenshot of what you are trying to achieve ?

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [December 23, 2019, 8:09am UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/20 "2019-12-23T08:09:58Z")

</div>

Building paraview takes a lot of time, it’s too troublesome to do so each time I need deal with a new file format? How(or where) could I customize my own reader(maybe with C++)?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [December 23, 2019, 4:24pm UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/21 "2019-12-23T16:24:44Z")

</div>

> [@Yoshino](#):
>
> How(or where) could I customize my own reader(maybe with C++)?

See section 12.4 of the [ParaView Guide](https://www.paraview.org/paraview-guide/) on how to write a Python reader plugin for ParaView.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 16, 2024, 7:53am UTC](https://discourse.paraview.org/t/how-to-import-mx-asci-file-in-gocad-format-or-asci-file-in-paraview/3133/22 "2024-01-16T07:53:58Z")

</div>

A post was split to a new topic: [Petrel/Geocad to ParaView](https://discourse.paraview.org/t/petrel-geocad-to-paraview/13711)
