1313 :toctree: generated/
1414 :nosignatures:
1515
16+ BoxArtist
17+ CapsuleArtist
1618 CircleArtist
19+ ConeArtist
20+ CylinderArtist
1721 FrameArtist
1822 LineArtist
1923 PointArtist
24+ PolygonArtist
25+ PolyhedronArtist
2026 PolylineArtist
27+ SphereArtist
28+ TorusArtist
29+ VectorArtist
2130
2231
2332Datastructure Artists
6170from compas .artists import ShapeArtist
6271from compas .artists import DataArtistNotRegistered
6372
73+ from compas .geometry import Box
74+ from compas .geometry import Capsule
6475from compas .geometry import Circle
76+ from compas .geometry import Cone
77+ from compas .geometry import Cylinder
6578from compas .geometry import Frame
6679from compas .geometry import Line
6780from compas .geometry import Point
81+ from compas .geometry import Polygon
82+ from compas .geometry import Polyhedron
6883from compas .geometry import Polyline
84+ from compas .geometry import Sphere
85+ from compas .geometry import Torus
86+ from compas .geometry import Vector
6987
7088from compas .datastructures import Mesh
7189from compas .datastructures import Network
7492from compas .robots import RobotModel
7593
7694from .artist import GHArtist
95+ from .boxartist import BoxArtist
96+ from .capsuleartist import CapsuleArtist
7797from .circleartist import CircleArtist
98+ from .coneartist import ConeArtist
99+ from .cylinderartist import CylinderArtist
78100from .frameartist import FrameArtist
79101from .lineartist import LineArtist
80- from .pointartist import PointArtist
81- from .polylineartist import PolylineArtist
82102from .meshartist import MeshArtist
83103from .networkartist import NetworkArtist
84- from .volmeshartist import VolMeshArtist
104+ from .pointartist import PointArtist
105+ from .polygonartist import PolygonArtist
106+ from .polyhedronartist import PolyhedronArtist
107+ from .polylineartist import PolylineArtist
85108from .robotmodelartist import RobotModelArtist
109+ from .sphereartist import SphereArtist
110+ from .torusartist import TorusArtist
111+ from .vectorartist import VectorArtist
112+ from .volmeshartist import VolMeshArtist
86113
87114ShapeArtist .default_color = (255 , 255 , 255 )
88115
@@ -120,15 +147,24 @@ def new_artist_gh(cls, *args, **kwargs):
120147 global artists_registered
121148
122149 if not artists_registered :
150+ GHArtist .register (Box , BoxArtist )
151+ GHArtist .register (Capsule , CapsuleArtist )
123152 GHArtist .register (Circle , CircleArtist )
153+ GHArtist .register (Cone , ConeArtist )
154+ GHArtist .register (Cylinder , CylinderArtist )
124155 GHArtist .register (Frame , FrameArtist )
125156 GHArtist .register (Line , LineArtist )
126- GHArtist .register (Point , PointArtist )
127- GHArtist .register (Polyline , PolylineArtist )
128157 GHArtist .register (Mesh , MeshArtist )
129158 GHArtist .register (Network , NetworkArtist )
130- GHArtist .register (VolMesh , VolMeshArtist )
159+ GHArtist .register (Point , PointArtist )
160+ GHArtist .register (Polygon , PolygonArtist )
161+ GHArtist .register (Polyhedron , PolyhedronArtist )
162+ GHArtist .register (Polyline , PolylineArtist )
131163 GHArtist .register (RobotModel , RobotModelArtist )
164+ GHArtist .register (Sphere , SphereArtist )
165+ GHArtist .register (Torus , TorusArtist )
166+ GHArtist .register (Vector , VectorArtist )
167+ GHArtist .register (VolMesh , VolMeshArtist )
132168 artists_registered = True
133169
134170 data = args [0 ]
@@ -153,15 +189,23 @@ def new_artist_gh(cls, *args, **kwargs):
153189
154190__all__ = [
155191 'GHArtist' ,
156- 'PrimitiveArtist' ,
157192 'ShapeArtist' ,
193+ 'BoxArtist' ,
194+ 'CapsuleArtist' ,
158195 'CircleArtist' ,
196+ 'ConeArtist' ,
197+ 'CylinderArtist' ,
159198 'FrameArtist' ,
160199 'LineArtist' ,
161- 'PointArtist' ,
162- 'PolylineArtist' ,
163200 'MeshArtist' ,
164201 'NetworkArtist' ,
165- 'VolMeshArtist' ,
202+ 'PointArtist' ,
203+ 'PolygonArtist' ,
204+ 'PolyhedronArtist' ,
205+ 'PolylineArtist' ,
166206 'RobotModelArtist'
207+ 'SphereArtist' ,
208+ 'TorusArtist' ,
209+ 'VectorArtist' ,
210+ 'VolMeshArtist' ,
167211]
0 commit comments