User Tools

Site Tools


ig:gfx:model-type-extrusion

Model Type: Extrusion 1.1

Figure 19: Extrusion 1.1 Model
Caption
3D illustration of the Extrusion 1.0 model. A 2D profile (\textit{a}, \textit{b}, \textit{c}, \textit{d}, \textit{e}, \textit{f}) defined in the paths array is extruded along the $E$ vector with default 'up' as $U$ (parallel to the $z$-axis) by a specified length. It is typically used to generate flat laying surfaces; with $U = Z$, the surface lies horizontally.

The Extrusion 1.1 model generates a 3D solid by extruding a 2D profile along a specified axis. This model is ideal for producing flat or vertically extended components, where the shape is constant along the extrusion direction.

  • Purpose: Used to generate extrusion shapes from 2D cross-sectional paths.
  • Supports: Linear extrusion only (no tapers or sweeps).
  • Recommended For: Profiles intended to become horizontal panels, beams, or similar parts.

[] *Figure: 3D illustration of the Extrusion 1.0 model. A 2D profile (a, b, c, d, e, f) defined in the paths array is extruded along the $E$ vector with default 'up' as $U$ (parallel to the $z$-axis) by a specified length. It is typically used to generate flat laying surfaces; with $U = Z$, the surface lies horizontally.*

Required Parameters

  • paths (array): Defines one or more 2D profiles using move, line, and curve segments. In this case only one can be used at the moment of generation.
  • extrusion (object): Contains the profile name and the extrusion length.

Optional Parameters

  • quality (number): Controls the smoothness of curved surfaces (default: 25).
  • upvector (string): Direction of exporting mesh; “x”, “y”, or “z” (default: “z”).
  • uv (object): Texture mapping controls for UV unwrapping. See UV Coordinates section.

Important Notes

  • All profiles must be closed path as usual to produce valid geometry.
  • Curved profiles with commands like C, Q, or A require appropriate quality to avoid visible faceting or self-intersections.

This section describes the geometry generation behavior of the Extrusion 1.1 model, applicable in IG.Model.Processor version ≥ 1.4.0.100.

This section describes the geometry generation behavior of the Extrusion 1.1 model, applicable in IG.Model.Processor version ≥ 1.4.0.100.

History

Version Date Changes / Notes Processor Version
1.1 2025-10-30 Support for soft and flat shading, auto UV, and new deduplication for mesh. ≥ 1.4.0.100
1.0 2025-08-12 Initial implementation of linear extrusion from closed 2D profiles. 1.3.0.100
ig/gfx/model-type-extrusion.txt · Last modified: 2025/10/30 08:42 by ig_ii