Skip to main content
Question

OBJ Writer: writing trait "obj_group"


Hello,

I'm trying to write an OBJ file with groups. Is it possible to do that? I tried creating an attribute obj_group and then use GeometryPropertySetter with Traits from Attributes. I also tried to Aggregate objects into groups but nothing works so far...

I've enclosed and example.

Thanks, Stéphane

3 replies

sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • October 22, 2019

Hi @inspecteurgadge Like this?

You just need to set properties first, and THEN aggregate. The


  • Author
  • October 22, 2019

Hi @sigtill thanks for your help! The problem is not in the Workbench, the problem is with the OBJ File Writer. I can see the trait in the Inspector like you but if you open the resulting OBJ file with a text editor, you can see that the groups are not written there.


sigtill
Supporter
Forum|alt.badge.img+24
  • Supporter
  • October 22, 2019
igadget wrote:

Hi @sigtill thanks for your help! The problem is not in the Workbench, the problem is with the OBJ File Writer. I can see the trait in the Inspector like you but if you open the resulting OBJ file with a text editor, you can see that the groups are not written there.

Ah, I understand. By looking at the documentation (also for FME2020) it seems its not possible. Best is to add this as a new idea here: https://knowledge.safe.com/content/idea/post.html?space=155 - or use another format that supports attributes. Which software do you want to read the obj file with?


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