Skip to content

Spline Through Points In Geometric Set

KaiUR edited this page May 21, 2026 · 4 revisions

Spline Through Points In Geometric Set

File: Part_Document_Scripts/Spline_Through_Points_In_Geometric_Set.py
Version: 1.1
Document Type: Part (also works with Part inside Product or Process)


Description

Collects all point-type hybrid shapes from a selected geometric set (in tree order) and creates a single spline passing through them. The spline is added to the current in-work object. Non-point shapes in the set are ignored. At least two points are required.

This script is designed to work directly after Insert Points Catia or Insert Points Catia With Names to complete the points-to-curve workflow in one step.


Requirements

Requirement Value
Python >= 3.10
pycatia >= 0.8.3
wxPython Not required
Open document Part, or Part inside Product/Process

Usage

  1. Open a CATPart document containing a geometric set of points
  2. Run the script
  3. Selection: Select the geometric set containing the points
  4. The spline is created automatically and added to the in-work object

Notes

  • Points are connected in the order they appear in the spec tree — reorder them in the tree before running if a different sequence is needed
  • Non-point shapes in the set are silently skipped
  • The resulting spline is a live parametric feature referencing the original points
  • The source points are not modified

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