Skip to content

Extract Boundary Curves

KaiUR edited this page May 21, 2026 · 2 revisions

Extract Boundary Curves

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


Description

Extracts the boundary of a selected surface as an explicit datum curve using tangent propagation. The user selects the surface and then an edge on it to define the starting point for the boundary extraction.


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 surface
  2. Run the script
  3. Selection 1: Select the surface to extract the boundary from
  4. Selection 2: Select an edge on the surface to define the boundary start point
  5. The boundary curve is created as a datum in the current in-work geometric set

Output

  • Result is named Boundary_Extract.N where N is an incrementing number
  • Result is a datum (isolated) — no parametric link to the source surface
  • If the in-work object is not a geometric set, a new one named Boundary_Extract is created

Notes

  • Uses tangent propagation (type 2) — the boundary will follow the surface boundary by tangency from the selected edge
  • The selected edge must lie on the selected surface

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