Page MenuHome

script to create a threaded pipe
Closed, ArchivedPublicPATCH

Description

Project: Blender Extensions
Tracker: Py Scripts Upload
Category: Mesh
Python: 2.4
Script name: add_mesh_threaded_pipe2.py
Dependencies: math
Author(s): Jeff Haran and Luis Sergio
Status: Closed

This script produces a threaded pipe.

Parameters

Radius: radius in BU of outer edge of thread and threaded shoulder.

Smooth Radius: radius in BU of the inner surface of the pipe.

Divisions: Number of divisions / 2 around the central axis where vertices are generated.

Step: Distance in BU between successive threads.

Ident: Depth in BU of thread. (Can be negative, see below).

Shoulder: Length in BU of unthreaded section of pipe.

Right Handed: right handed (1) or left handed (0) thread.

Edge Creases: Specifies whether to crease Inside threads, Outside threads and/or edges along end Caps.

With all parameters positive and Radius > Smooth Radius, you get a pipe with external threads cut into the outside surface of the pipe.

With Ident negative and Radius < Smooth Radius, you get a pipe with internal threads cut into the inside surface of the pipe.

When Ident is negative, the sense of Inside and Outside Threads is sort of reversed. The Inside thread is always what you get when you "cut" the thread, even if the depth of the cut is negative and results in the radius of the cut being larger than Radius. Also, when Ident is negative, the normals all point inside so you might want to Flip Normals in this case.

Event Timeline

Brendon Murphy (meta-androcto) changed the task status from Unknown Status to Unknown Status.Feb 26 2010, 1:31 PM