55
66.. currentmodule:: compas_blender.artists
77
8- Artists for visualising (painting) COMPAS data structures in Blender.
8+ Artists for visualizing (painting) COMPAS data structures in Blender.
99
1010
1111Primitive Artists
1414.. autosummary::
1515 :toctree: generated/
1616
17+ CircleArtist
1718 FrameArtist
19+ LineArtist
20+ PointArtist
21+ PolygonArtist
22+ PolylineArtist
23+ VectorArtist
1824
1925
2026Shape Artists
2834 CapsuleArtist
2935 ConeArtist
3036 CylinderArtist
31- SphereArtist
3237 PolyhedronArtist
38+ SphereArtist
3339
3440
3541Datastructure Artists
3945 :toctree: generated/
4046 :nosignatures:
4147
42- NetworkArtist
4348 MeshArtist
49+ NetworkArtist
4450
4551
4652Robot Artist
7177
7278from compas .geometry import Box
7379from compas .geometry import Capsule
80+ from compas .geometry import Circle
7481from compas .geometry import Cone
7582from compas .geometry import Cylinder
7683from compas .geometry import Frame
84+ from compas .geometry import Line
85+ from compas .geometry import Point
86+ from compas .geometry import Polygon
7787from compas .geometry import Polyhedron
88+ from compas .geometry import Polyline
7889from compas .geometry import Sphere
7990from compas .geometry import Torus
91+ from compas .geometry import Vector
8092from compas .datastructures import Mesh
8193from compas .datastructures import Network
8294from compas .robots import RobotModel
8395
8496from .artist import BlenderArtist
8597from .boxartist import BoxArtist
8698from .capsuleartist import CapsuleArtist
99+ from .circleartist import CircleArtist
87100from .coneartist import ConeArtist
88101from .cylinderartist import CylinderArtist
89102from .frameartist import FrameArtist
103+ from .lineartist import LineArtist
90104from .meshartist import MeshArtist
91105from .networkartist import NetworkArtist
106+ from .pointartist import PointArtist
107+ from .polygonartist import PolygonArtist
92108from .polyhedronartist import PolyhedronArtist
109+ from .polylineartist import PolylineArtist
93110from .robotmodelartist import RobotModelArtist
94111from .sphereartist import SphereArtist
95112from .torusartist import TorusArtist
113+ from .vectorartist import VectorArtist
96114
97115
98116@plugin (category = 'drawing-utils' , pluggable_name = 'clear' , requires = ['bpy' ])
@@ -116,15 +134,21 @@ def new_artist_blender(cls, *args, **kwargs):
116134 if not artists_registered :
117135 BlenderArtist .register (Box , BoxArtist )
118136 BlenderArtist .register (Capsule , CapsuleArtist )
137+ BlenderArtist .register (Circle , CircleArtist )
119138 BlenderArtist .register (Cone , ConeArtist )
120139 BlenderArtist .register (Cylinder , CylinderArtist )
121140 BlenderArtist .register (Frame , FrameArtist )
141+ BlenderArtist .register (Line , LineArtist )
122142 BlenderArtist .register (Mesh , MeshArtist )
123143 BlenderArtist .register (Network , NetworkArtist )
144+ BlenderArtist .register (Point , PointArtist )
145+ BlenderArtist .register (Polygon , PolygonArtist )
124146 BlenderArtist .register (Polyhedron , PolyhedronArtist )
147+ BlenderArtist .register (Polyline , PolylineArtist )
125148 BlenderArtist .register (RobotModel , RobotModelArtist )
126149 BlenderArtist .register (Sphere , SphereArtist )
127150 BlenderArtist .register (Torus , TorusArtist )
151+ BlenderArtist .register (Vector , VectorArtist )
128152 artists_registered = True
129153
130154 data = args [0 ]
@@ -140,13 +164,19 @@ def new_artist_blender(cls, *args, **kwargs):
140164 'BlenderArtist' ,
141165 'BoxArtist' ,
142166 'CapsuleArtist' ,
167+ 'CircleArtist' ,
143168 'ConeArtist' ,
144169 'CylinderArtist' ,
145170 'FrameArtist' ,
171+ 'LineArtist' ,
146172 'MeshArtist' ,
147173 'NetworkArtist' ,
174+ 'PointArtist' ,
175+ 'PolygonArtist' ,
148176 'PolyhedronArtist' ,
177+ 'PolylineArtist' ,
149178 'RobotModelArtist' ,
150179 'SphereArtist' ,
151180 'TorusArtist' ,
181+ 'VectorArtist' ,
152182]
0 commit comments