CreateSweptBlendGeometry failed

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I want to create a solid using GeometryCreationUtilities.CreateSweptBlendGeometry to model a bridge component. Figure 1 in the attached file shows the profile loops. The profiles at various locations have the same shape, but gradually change in size. The sweep path is a curve. For this case, the solid can be created successfully as shown in Figure 2 ( the solid is displayed using direct shape). However, when I change the sweep path to a horizontal straight line (the profiles are shown in Figure 3), it throws an exception “InternalException createMultiSectionSweptBlend failed”. I have searched the internet for quite a while, but could not find a solution.
Now I have to call CreateSweptBlendGeometry repeatedly, and each time create a small solid (part of the whole solid). I found that if each small solid consists of 3 profiles, the solid can be created, as shown in Figure 4. If I increase the number of profiles to 4 or 5 for each solid, it fails again.
Next I need to combine the small solids using ExecuteBooleanOperation union, but get the Boolean operation exception. Only the solids shown if Figure 5 can be combined.
Could anyone please give me some suggestions? How to make CreateSweptBlendGeometry works on all the profiles along a line (Figure 3)? Thanks,