Skip to main content
Question

3D shape to obj format

  • November 22, 2018
  • 5 replies
  • 182 views

Forum|alt.badge.img

Hi,

I have a 3D polygons file that I would like to convert to obj format. I tried several times but I always have one polygon in the output that is strange.any advice or idea?

thanks!

5 replies

chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • November 22, 2018

Hi @irene2018,

 

It looks like you might want to use a Fanout in this case. For example, in the linked workspace there are six 3D polygons in the shapefile so I am fanning out based on the Neighbor00 attribute. This will write out 6 OBJ files, one for each neighborhood polygon.

 

Fanout:

https://www.screencast.com/t/dGpN26CcUwhttps://www.screencast.com/t/CejPg24Vu

Single OBJ:

https://www.screencast.com/t/sQ8DsI30sJ

https://www.screencast.com/t/Z4aLTY1WAZ

esrishape2obj.fmwt


Forum|alt.badge.img
  • Author
  • November 23, 2018

Following your advice:here is what I have,is that correct?


chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • November 26, 2018
irene2018 wrote:

Following your advice:here is what I have,is that correct?

Hi @irene2018,

Is the output geometry your desired output? It looks like there are multiple polygons instead of a single polygon.

If it is not, are you able to attach your workspace and go into more detail about your desired output?


Forum|alt.badge.img
  • Author
  • November 27, 2018
irene2018 wrote:

Following your advice:here is what I have,is that correct?

Hi @ChrisAtSafe ,it seems that it is the definition of yaxis up or z axis up that needs to be set ,but I cannot find the option


chrisatsafe
Contributor
Forum|alt.badge.img+2
  • Contributor
  • November 27, 2018
irene2018 wrote:

Hi @ChrisAtSafe ,it seems that it is the definition of yaxis up or z axis up that needs to be set ,but I cannot find the option

@irene2018 - It doesn't look like there is anything in the OBJ Writer Documentation for defining y/z axis but perhaps the CoordinateSwapper could help? This transformer allows you to swap y & z coordinates if they are not in the xyz format (as specified on the Supported OBJ File Syntax doc).


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings