Skip to main content

Creating a Simple Loft

OCCT category icon with a stylized logo representation

A loft operation is a fundamental technique in 3D modeling that allows you to create complex surfaces by defining a series of 2D profiles (cross-sections) in space. The software then generates a smooth transitional surface that connects these profiles. This is incredibly useful for modeling organic shapes, aerodynamic bodies, or any object with a varying cross-section.

In this tutorial, we'll walk through the process of creating a simple lofted shape. We will define three distinct elliptical wires at different positions and then use the loft operation to generate a surface that smoothly interpolates between them. We'll demonstrate how to achieve this using Rete, Blockly, and TypeScript, providing a clear understanding of the underlying logic and its implementation in different environments.

The power of lofting comes from its versatility. You can:

  • Use different shapes: Combine circles, rectangles, polygons, or even more complex custom curves.
  • Vary the number of profiles: More profiles can lead to more detailed and controlled surfaces.
  • Adjust profile orientation and scale: Tilting or resizing profiles can dramatically alter the resulting shape.
  • Create solids: By setting the makeSolid option to true (where applicable), you can create volumetric bodies instead of just surfaces.
  • Nr of wire edges: For loft to work correctly in most situations you must ensure that you loft wires that contain the same amount of edges to form topologically coherent faces.
  • Order of wires matter: If you reverse the order of wires in the list your loft faces will point to different direction.
  • Wire direction matters: If you reverse directions of wires and their edges, your loft faces will point to different direction.
Simple loft
Bitbybit Platform

Simple loft in Rete

Rete

With these examples, you've learned the basics of creating a lofted surface from a series of wire profiles.

Experiment with these parameters to explore the wide range of forms you can achieve with the loft operation. Happy modeling!