File tree Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Expand file tree Collapse file tree 1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -201,18 +201,16 @@ it can be used as a scaffolding for code to be run in a Python script editor wit
201201 import compas_blender
202202 from compas_blender.artists import RobotModelArtist, BaseArtist
203203
204- compas_blender.clear() # Delete all objects in the scene
204+ compas_blender.clear() # Delete all objects in the Blender scene
205205
206- compas.PRECISION = ' 12f'
207- # Load the urdf-file from Github
208- github = GithubPackageMeshLoader(' ros-industrial/abb' , ' abb_irb6600_support' , ' kinetic-devel' )
209- model = RobotModel.from_urdf_file(github.load_urdf(' irb6640.urdf' ))
210- model.load_geometry(github)
206+ model = RobotModel(' Robby' )
207+
208+ # Add some geometry to Robby here
211209
212- # Load the robot meshes into the blender scene
213- artist = RobotModelArtist(model, collection = ' COMPAS FAB ::Example' )
210+ # Load the robot geometry into the blender scene
211+ artist = RobotModelArtist(model, collection = ' COMPAS::Example Robot ' )
214212
215- Note that the blender ``RobotModelArtist `` is not as developed as the one for Rhino.
213+ Note that the blender ``RobotModelArtist `` is not as developed as the one for Rhino.
216214
217215.. raw :: html
218216
@@ -226,7 +224,7 @@ Note that the blender ``RobotModelArtist`` is not as developed as the one for Rh
226224
227225
228226
229- See below for a complete example in Rhino .
227+ See below for a complete example of how to programmatically create a Robotmodel .
230228
231229
232230Building robots models
You can’t perform that action at this time.
0 commit comments