pylib.geometry_plot_pylab module

Geometry plotter using pylab (matplotlib).

Date

2019-12-23

cad_wireframe(world, centering=True)[source]

Graphical projections

  • Parallel projections

    • Orthographic

      • Multiview

        • * First-angle

        • Third-angle

        • Plan Elevation

      • Axonometric

        • * Isometric

        • Dimetric

        • Trimetri

    • Oblique

      • Carbinet

      • Cavalier

      • Military

      • Top-down

  • Perspective projections

    • 1-point

    • 2-point

    • 3-point

    • Curvilinear

plot_post(ax)[source]
set_aspect_equal(ax)[source]

Make axes of 3D plot have equal scale so that spheres appear as spheres, cubes as cubes, etc.. This is one possible solution to Matplotlib’s ax.set_aspect(‘equal’) and ax.axis(‘equal’) not working for 3D.

Parameters

ax (pylab.Axes) – a pylab axis

Source: https://stackoverflow.com/a/35126679

wireframe3d(world)[source]