Skip to content

Shape Generation Scripts

KaiUR edited this page Jun 2, 2026 · 8 revisions

Shape Generation Scripts

Scripts in this category generate geometry programmatically from user-defined parameters. They require an open CATPart document unless stated otherwise.

Script Description
Custom Coordinate Airfoil Generator Generates a GSD point set and spline from user-supplied X Y (or X Y Z) coordinates loaded from a file or pasted into the dialog
Ellipse Generator Generates an ellipse as a point set and closed GSD spline from semi-major and semi-minor axes
Hole Size Test Plate Generator Generates a rectangular test plate with a grid of through-holes of incrementally increasing diameter
Involute Gear Generator Generates a fully parametric involute spur gear
NACA 4 Digit Airfoil Generator Generates a NACA 4-digit series airfoil as a GSD point set and closed spline at a user-defined chord length and resolution
NACA 5 Digit Airfoil Generator Generates a NACA 5-digit series airfoil as a GSD point set and closed spline at a user-defined chord length and resolution
Plot 2D Function Plots y = f(x) as a GSD point set and spline from a user-entered math expression over a specified X range
Plot 3D Parametric Curve Plots a 3D parametric curve x(t), y(t), z(t) as a GSD point set and spline from user-entered expressions
Regular Polygon Generator Generates a regular polygon as vertices, edges, and a joined wire; supports custom plane and centre point selection
Sine Wave Curve Generator Generates a sine wave curve as a point set and GSD spline from amplitude, period, phase, and X range
Spring Generator Generates a parametric helical spring solid from wire diameter, coil diameter, free length, and coil count

Requirements for all scripts in this category:

  • CATIA V5 running with an open CATPart document
  • Python >= 3.10
  • pycatia >= 0.8.3

See individual script pages for any additional package requirements.

Home


Getting Started


Contributing


Any Document Scripts


Drawing Document Scripts


Part Document Scripts


Shape Generation Scripts


Process Document Scripts


Product Document Scripts


Utility Scripts


Legal

Clone this wiki locally