1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
|
.. module:: ezdxf.render.forms
Forms
=====
This module provides functions to create 2D and 3D forms as vertices or
mesh objects.
2D Forms
- :func:`box`
- :func:`circle`
- :func:`ellipse`
- :func:`euler_spiral`
- :func:`gear`
- :func:`ngon`
- :func:`square`
- :func:`star`
- :func:`turtle`
3D Forms
- :func:`cone_2p`
- :func:`cone`
- :func:`cube`
- :func:`cylinder`
- :func:`cylinder_2p`
- :func:`helix`
- :func:`sphere`
- :func:`torus`
3D Form Builder
- :func:`extrude`
- :func:`extrude_twist_scale`
- :func:`from_profiles_linear`
- :func:`from_profiles_spline`
- :func:`rotation_form`
- :func:`sweep`
- :func:`sweep_profile`
2D Forms
--------
Basic 2D shapes as iterable of :class:`~ezdxf.math.Vec3`.
.. autofunction:: box
.. autofunction:: circle
.. autofunction:: ellipse
.. autofunction:: euler_spiral
.. autofunction:: gear
.. autofunction:: ngon
.. autofunction:: square
.. autofunction:: star
.. autofunction:: turtle
3D Forms
--------
Create 3D forms as :class:`~ezdxf.render.MeshTransformer` objects.
.. autofunction:: cube
.. autofunction:: cone
.. autofunction:: cone_2p
.. autofunction:: cylinder
.. autofunction:: cylinder_2p
.. autofunction:: helix
.. autofunction:: sphere
.. autofunction:: torus
3D Form Builder
---------------
.. autofunction:: extrude
.. autofunction:: extrude_twist_scale
.. autofunction:: from_profiles_linear
.. autofunction:: from_profiles_spline
.. autofunction:: rotation_form
.. autofunction:: sweep
.. autofunction:: sweep_profile
|