User Tools

Site Tools


ig:gfx:model-type-extrusion

This is an old revision of the document!


Model Type: Extrusion 1.1

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.* newpage

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. newpage

ig/gfx/model-type-extrusion.1761732040.txt.gz · Last modified: 2025/10/29 11:00 by ig_ii