blob: a3f74633948f7bcb2893f6a64897e325936bf94e (
plain)
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
|
Building a Geometry
===================
.. module:: chroma.geometry
The Mesh Class
--------------
.. autoclass:: Mesh
:members:
The Solid Class
---------------
.. autoclass:: Solid
:members:
The Material Class
------------------
.. autoclass:: Material
:members:
The Geometry Class
------------------
.. autoclass:: Geometry
:members:
Importing from STL
------------------
.. autofunction:: chroma.mesh_from_stl
Mesh Modelling Tools
--------------------
.. module:: chroma.make
.. autofunction:: linear_extrude
.. image:: images/hexagonal_prism.png
:height: 100px
.. autofunction:: rotate_extrude
.. image:: images/bipyramid.png
:height: 100px
.. autofunction:: box
.. image:: images/box.png
:height: 100px
.. autofunction:: cube
.. image:: images/cube.png
:height: 100px
.. autofunction:: cylinder
.. image:: images/cylinder.png
:height: 100px
.. autofunction:: segmented_cylinder
.. autofunction:: sphere
.. image:: images/sphere.png
:height: 100px
.. autofunction:: torus
.. image:: images/torus.png
:height: 100px
|