Previous topic

off_parser.parser.OffParser.load_list

Next topic

Data (off_parser.data)

This Page

off_parser.parser.OffParser.plot

OffParser.plot(ax=None, symbols={})[source]

Plots the model in 3D.

Parameters:
ax : matplotlib.axes.Axes

The axes to which the plot will be added. If None, a new figure and axes will be created.

symbols : dict

A dictionary of symbols to use for the plot. The following keys may be used:

  • ‘points’: The point symbols, default is None.
  • ‘faces’: The face color, default is ‘g’.
  • ‘edges’: The edge color, default is ‘#006400’.

Examples

(Source code, png, hires.png, pdf)

../_images/toilet_ex1.png