User Tools

Site Tools


ig:gfx:model-type-revolution

This is an old revision of the document!


Model Type: Revolution 1.0

The Revolution 1.0 model generates a 3D solid or surface by revolving a 2D profile around a specified axis. This model is ideal for turned or axisymmetric parts (vases, domes, bases, circular panels). The generating curve is defined in the paths array and is interpreted in the plane orthogonal to the chosen axis.

  • Purpose: Create revolved geometry like handles by revolving a profile (2D path) around an axis.
  • Supports: Full or partial revolutions (sweep angle); closed profiles produce solids, open profiles produce surfaces like vases, bottles or similar.
  • Recommended For: Rotationally symmetric geometry such as turned bases, bowls, domes, and circular trims, also circular tables.

[] *Figure: Revolution geometry. The 3D surface is generated by revolving the profile defined by points for example $a$–$b$–$c$–$d$ around the vertical axis. These points form the generating curve of the solid, precomputed to create smooth filled quad strips.* newpage

Required Parameters

  • paths (array): One or more 2D profiles. Each profile object must include a unique id and a path array that describes the generating curve using move/line/curve/arc commands (SVG-like). The profile parameter below references an id from this array.
  • revolution (object): Contains the operation parameters (see below).

revolution (object)

Type: object Required: Yes

  • profile
    • *Type: string Required: Yes The id of the path (from paths) to be revolved. *Example:* ` “revolution”: { “profile”: “revolveProfile” } ` * axis Type: string Enum: [“x”,“y”,“z”] Default: “z” Required: No The axis around which the profile is revolved. The profile is interpreted in the plane orthogonal to this axis. * angle Type: number Unit: degrees Default: 360 Required: No Sweep angle of the revolution. Values $<360$ produce partial revolutions (open solids may result). * centerOffset Type: number Unit: mm Default: 0 Required: No Distance to shift the rotation center relative to the profile (useful to create off-axis revolved parts). — === Optional Parameters === * quality (number): Controls tessellation density (default: 25). Higher values yield smoother latitudinal tessellation of the revolution surface. * uv (object): UV mapping parameters (see UV Coordinates). Values available as top-level or within this object. * shading (object): Shading/hint parameters (see shading section below). === Important Notes === * The profile referenced in revolution.profile must exist in the paths array. Use the profile's id to reference it. * Closed profiles produce watertight solids when revolved; open profiles produce surfaces. This profiles still should have inner volume. * Curved commands (e.g., C, Q, A) require a suitable quality** value to avoid visible faceting or self-intersections, especially when the profile lies near the rotation axis or includes tight curvature.
  • Partial sweeps (angle < 360) produce open geometry; take care when exporting formats that expect watertight solids (STEP).

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

ig/gfx/model-type-revolution.1761732353.txt.gz · Last modified: 2025/10/29 11:05 by ig_ii