Skip to main content
Question

3D Bounding Box as a polymesh

  • November 15, 2017
  • 2 replies
  • 40 views

Forum|alt.badge.img

How can I simplify my 3D bounding boxes of pointclouds so that they aren't 3D polymeshes on output but simplified 3D solids? Also is there a way to merge them at the same time into one 3D solid?

This is my workspace as it is at the minute

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

takashi
Celebrity
  • 7843 replies
  • November 15, 2017

Hi @samstibbs73, in the FME Geometry Model, there are some types belonging to Simple Solid. See here to learn more: FME Geometry Model

Your workflow generates Extrusions, which is also a kind of Simple Solid. If Extrusion doesn't satisfy your requirement, which type of Simple Solid do you need to create?


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • November 15, 2017

Hi @samstibbs73,

To creste the simplest possible geometry within FME, you can create a Box from the Pointcloud bounds.

After the BoundsExtractor, add an AttributeCreator to create the attribute _geometry from the text below:

<?xml version="1.0" encoding="US_ASCII" standalone="no" ?>
 <geometry>
   <box>
     <minCoord x="@Value(_xmin)" y="@Value(_ymin)" z="@Value(_zmin)"/>
     <maxCoord x="@Value(_xmax)" y="@Value(_ymax)" z="@Value(_zmax)"/>
   </box>
 </geometry>

Next, add a GeometryReplacer with the Geometry Encoding set to FME XML and the Geometry source set to the attribute _geometry. This will replace your pointcloud with a 3D Box from the bounds.

If you want to merge them, you can try the FME Hub transformer SolidDissolver. However the output of this will be a Brep solid.