We will talk about the key new direct modeling features that we have added to the C3D Modeler over the past year.
Editable radius for cylindrical and spherical faces, with or without adaptation of the existing fillets, is now available. We focused on topology changes.
If the edit involves adjacent faces, the entire model’s topology has to be updated. This includes a broad range of possible transformations.
So, what’s new in the kernel’s latest release? We’ve concentrated our efforts on reshaping adjacent faces and changing the number of vertices/edges. We’ve also enhanced Delete Face and Adapt Fillet commands for better stability.
The first operation to consider is specifying the cylinder radius (Fig. 1). Please note that similar functionality is now also available for spherical faces. Most examples below cover cylindrical faces.
The user can select multiple cylinders, even with different initial radii, and specify a new radius for them. This functionality could be implemented by sequentially applying the existing Offset Face operation that moves faces along the normal. We did consider this approach. However, it has certain limitations in terms of both performance and supported geometry types. Some face configurations cannot be constructed using this method. In the new operation, the user selects multiple faces, and all of them are modified simultaneously. The modified faces are highlighted in green in Fig. 2.
The first category of topology edits is reshaping adjacent faces. In most cases, such faces are chamfers, but this also applies to any other faces adjacent to the face we edit (Fig. 2).
The operation changes the adjacent faces. This may involve adding or removing edges and vertices or splitting existing geometric elements. The original face topology is also modified (highlighted in green).
So far, this approach has some intrinsic limitations on the number of faces to be consumed. When the limit is reached, the operation stops. To handle more faces, just reapply the operation.
Another topology edit option is merging of the overlaying faces. The modified faces may overlap other faces of the same radius, even if they are not adjacent. Fig. 3 (top) shows how several chamfers are merged, then the end faces are modified, and the side faces are gradually reshaped. As a result, the modified faces extend until they reach faces with the same radius and merge with them, causing a portion of the model to disappear. This is already available in some special cases. A similar procedure applies to faces with identical directions of the normals. For example, if the normals to the green face and internal groove face coincide, the two faces are merged.
Face colors change during the operation because the modified faces inherit attributes (including color) from adjacent faces. As with other kernel operations, for merging, attributes are inherited from the face with the lower name. This provides consistent behavior across operations.
Another topology edit option is to reshape a group of faces. This direct modeling feature was available for certain specific cases. Now we’ve expanded its functionality.
Fig. 4 shows how two faces of the boss disappear, followed by the faces in the middle of the model. If the cylinder with a new radius completely embraces a group of faces, those faces are removed.
Intermediate cases where a face group is partially dissected are not supported yet. In such situations, the operation fails.
Now about holes. If a hole is closed on one side, it is preserved on the opposite side. If the hole is closed on both sides, it degenerates and is completely removed from the shell.
Since many cylindrical models represent stepped shafts, we need to modify the annular faces as well. For this, we’ve applied inversion (Fig. 5). We considered a number of implementations, including completely abandoning further movement of such faces. Still, the inversion won. We change the direction of normals to annular faces of stepped shafts, and the steps “turn inside out”.
The animation demonstrates it step-by-step. In some cases, a series of topology edits can yield a more stable result than a single operation, especially if the number of transformations is large. Please keep this in mind when editing such models.
Another major enhancement is the Remove Face operation. For example, we’ve improved the handling of periodic surfaces adjacent to the faces to be removed. This is particularly important for cutouts, keyways, and the like.
Fig. 6 shows a model containing a small yellow keyway. Although the geometry looks simple, the difficulty of the operation is determined not by how many faces are removed, but by the number and intricacy of the adjacent surfaces.
For instance, the centrifugal pump impeller has a cutout (green) with complex, filleted blades inside. The total number of faces to be removed can reach 200+. In terms of performance penalty, removing the entire internal structure is comparable to removing the small slot. Therefore, the improvements we’ve achieved are quite significant.
We’ve also improved the overall stability of the Remove Face removal operation: there are fewer defects and inaccuracies.
We’ve also made the fillet adaptation functionality more stable. We had some issues with imported models where fillets were represented by spline surfaces with tolerance edges. In some cases, handling a chain of such fillets within the same model could lead to different results.
Another significant improvement is the preservation of the curve shapes as shown in Fig. 7. The colored faces are tapered relative to the same reference face and about the same axis. The edges between them are effectively free lines. Previously, such curves were converted into straight line segments (Fig. 7, top). Now their shape is preserved.
For legacy models, we’ve improved the face removal stability as the design tree is regenerated (some configurations used to produce unstable results).
We’ve invested a lot of effort into better handling of seams and poles across all direct modeling operations with various periodic surfaces like spheres, cones, and certain surfaces of revolution.
Also, all procedures now better handle smooth transitions adjacent to modified faces.
We are going to expand the support for topology changes to other operations. In particular, these are Rotate and Move Along Vector commands. The Offset operation will likely be implemented first, as it is one of the most requested features. Then, we will assess possible issues and decide what to do next.
We are going to gradually expand the supported topology edit scenarios. These include face overlaps in various configurations, cases where faces do not intersect (e.g., when they detach from a tangent), and several types of face degeneracy, in which the modified face disappears completely (a special case of deletion).
Handling self-intersections and intersections with non-adjacent faces (holes, bosses, and other features) is also coming.
We are optimizing the face removal procedures and all the direct modeling operations for performance and stability.

Evgeny Kondratyuk
Head of the Direct Modeling Team,
C3D Labs











