Skip to main content
Question

How can I convert a cylinder into a cuboid ?


katt
Supporter
Forum|alt.badge.img+12
  • Supporter

I have a cylinder that I created using a 3D Bufferer around a 3D Line. How can I convert this cylinder into a cuboid ? Thx. The image helps to understand what I mean.

6 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • March 30, 2022

Hi @katt​,

Please use the BoundingBoxReplacer transformer, with the Replace With parameter set to 3D Bounding Cube.


katt
Supporter
Forum|alt.badge.img+12
  • Author
  • Supporter
  • March 31, 2022
daveatsafe wrote:

Hi @katt​,

Please use the BoundingBoxReplacer transformer, with the Replace With parameter set to 3D Bounding Cube.

This is what I tried earlier already but it didn't return what I wanted. see image (on the left side my cylinder, on the right side the boundingbox replacer result with parameter set to 3D Bounding Cube).I'm using FMe 2021.2


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • March 31, 2022

Hi @katt​,

You could try using the PipeReplacer instead of the Bufferer, then use a PipeEvaluator with the number of edges set to 4 to produce a square section in the output.


katt
Supporter
Forum|alt.badge.img+12
  • Author
  • Supporter
  • April 1, 2022
daveatsafe wrote:

Hi @katt​,

You could try using the PipeReplacer instead of the Bufferer, then use a PipeEvaluator with the number of edges set to 4 to produce a square section in the output.

Thank you. But how can I turn the result of the PipeEvaluator to look like red square ?image


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • April 4, 2022
katt wrote:

Thank you. But how can I turn the result of the PipeEvaluator to look like red square ?image

Hi @katt​,

I'm sorry, but we cannot currently control the orientation of the pipe cross section. I have created an enhancement request for our development team (FMEENGINE-72899) to add rectangular cross sections to the FMEPipe geometry, and will notify you as soon as this is available.


katt
Supporter
Forum|alt.badge.img+12
  • Author
  • Supporter
  • April 4, 2022
katt wrote:

Thank you. But how can I turn the result of the PipeEvaluator to look like red square ?image

Thank you very much for your help. And yes, please keep me posted on that enhancement.


Reply


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