Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Unknown macro: {alias}

Name

tub — Tube generation

Syntax

tub [size] [las] [col] [dra] [sav]

Description

Polygon display in tube mode.

Arguments

Unknown macro: {indent}

No argument. Draw a tube for polydata using default settings.

size

Unknown macro: {indent}

Apply size of tube, relative to 1.

sav

Unknown macro: {indent}

Will save the graphics of the tube as a dataset.

las

Unknown macro: {indent}

Draw the last line back to first point in the cell.

cel

Unknown macro: {indent}

Tube the cells independently.

col [ran]

Unknown macro: {indent}

Tube the cells with color shift (at random).

Examples

Ex.1: Random lines displayed as tubes

        z                            ;# Erase screen
        win demo                     ;# Get demo window (450000 460000 6450000 6460000 1000 4000)
        spe bgc whi                  ;# Specify background color to white
        mak ran 6                    ;# Make random points
        cur sav nodraw               ;# Generate spline curve
        col red                      ;# Red color
        tub 10                       ;# Tube the line
        mak ran 7                    ;# Make random points
        cur sav nodraw               ;# Generate spline curve
        col gre                      ;# Green color
        tub 15                       ;# Tube the line
        mak ran 5                    ;# Make random points
        cur sav nodraw               ;# Generate spline curve
        col tur                      ;# Turqouise color
        tub 23                       ;# Tube the line

The above example produces this image.


Random lines displayed as tubes

See also

cur - Curve display, dis - Display active dataset, pot - Polygon with tube

Unknown macro: {pagebreak}
  • No labels