MIT

Multipipe – example

Ari Kardasis

Description: A multipipe tool that takes multiple curves and pipe diameter as input and creates an extruded pipe for each curve.

Code: multipipe

Images:

This code is well commented, robust and adheres to standard practices. You should make things that look like this.

———PseudoCode———–

Prompt user for a set of Curves
Prompt user for radius
For each curve
—pipeCurve (see function below)
—change the layer of the piped object

function pipeCurve
—draw a circle perpendicular to the curve at the start point
—sweep the circle along the curve
—delete the circle

———–end———–

Advertisements
%d bloggers like this: