Skip to main content
Solved

Fill a 3D Model with geometry

  • May 30, 2019
  • 3 replies
  • 15 views

Forum|alt.badge.img

Hello,

 

I have this object (brepsolid).

 

The goal is to create geometry based on its volume. I want this to look like a solid mass based on the boundaries of the cylinder.

 

I have tried SolidBuilder but it just converts the geometry to brepsolid. Is it because I should be using enclosed spaces?

 

I would really appreciate any ideas on handling this.

 

Kind regards,

 

George Floros

Best answer by jovitaatsafe

Hi @georgefloros,

I'm not 100% sure on this one for your data, but if you could force it to 2D using the 2DForcer, check the polygon is closed, and fill in the area using an AreaBuilder, you could then use an Extruder to extrude to the length of your cylinder, resulting in a closed solid.

I mocked up a workspace clipping a smaller cylinder from a bigger cylinder and this workflow seems to work for me. It may depend on whether you get the shape you want when 2d forcing (perhaps a 3DRotator could help?), and the tricky part may be getting the length of your cylinder. Perhaps using the extents of the original solid, or a 3DBoundingBoxReplacer could be of use. Hopefully this works for you as well! Here's what my workspace looks like:

Source data that I created:

Output:

solid-fill.fmw

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.

3 replies

jovitaatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • 635 replies
  • Best Answer
  • June 4, 2019

Hi @georgefloros,

I'm not 100% sure on this one for your data, but if you could force it to 2D using the 2DForcer, check the polygon is closed, and fill in the area using an AreaBuilder, you could then use an Extruder to extrude to the length of your cylinder, resulting in a closed solid.

I mocked up a workspace clipping a smaller cylinder from a bigger cylinder and this workflow seems to work for me. It may depend on whether you get the shape you want when 2d forcing (perhaps a 3DRotator could help?), and the tricky part may be getting the length of your cylinder. Perhaps using the extents of the original solid, or a 3DBoundingBoxReplacer could be of use. Hopefully this works for you as well! Here's what my workspace looks like:

Source data that I created:

Output:

solid-fill.fmw


Forum|alt.badge.img
  • Author
  • 25 replies
  • June 13, 2019

Hello @jovitaatsafe

 

thank you very much for your reply. Your solution has been really helpful and really close to my request. It needs some tweaking to fit the data but it shouldn't be a problem.

 

Thank you very much.

 

Kind regards,

 

George Floros


jovitaatsafe
Safer
Forum|alt.badge.img+11
  • Safer
  • 635 replies
  • June 13, 2019

Hello @jovitaatsafe

 

thank you very much for your reply. Your solution has been really helpful and really close to my request. It needs some tweaking to fit the data but it shouldn't be a problem.

 

Thank you very much.

 

Kind regards,

 

George Floros

That's great to hear! You're very welcome!