render.draw_plane
render.draw_plane(
ax,
plane,
camera,
resolution,
extent=1.5,
color='#95958f',
linewidth=0.9,
)
Draw a SketchPlane as a dashed square outline of size 2·extent.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| ax | Matplotlib axes already showing the rendered image. | required | |
| plane | :class:~cadjoint.construction.sketch.SketchPlane. |
required | |
| camera | Camera | Camera the image was rendered with. | required |
| resolution | tuple[int, int] | (height, width) of the rendered image. | required |
| extent | float | Half-size of the drawn plane patch in plane units. | 1.5 |
| color | str | Outline color. | '#95958f' |
| linewidth | float | Outline line width. | 0.9 |