Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tutorials:advanced:cram-meshes [2022/04/01 10:20] – [Prepare the 3D mesh] vanessa | tutorials:advanced:cram-meshes [2022/05/09 09:59] (current) – [Add the mesh to CRAM] vanessa | ||
---|---|---|---|
Line 12: | Line 12: | ||
====== Add the mesh to CRAM====== | ====== Add the mesh to CRAM====== | ||
- | Export as stl and save it either in your demo resource folder or: ~/YOUWS/ | + | Export as stl and save it either in your demo resource folder or: ~/YOUR_CRAM_WS/ |
- | Add your object here for coloring: | + | To add some coloring on the object |
- | ./ | + | |
;; Colors for different object types the same for all scenarios. | ;; Colors for different object types the same for all scenarios. | ||
- | (<- (%scenario-object-color : | ||
- | (<- (%scenario-object-color :fork (0.2 0.1 0.3))) | ||
- | (<- (%scenario-object-color : | ||
(<- (%scenario-object-color : | (<- (%scenario-object-color : | ||
| | ||
- | Add your object here, so the system can use the correct stl file for the keyword: | + | Add your object here, so the system can use the correct stl file for the keyword |
./ | ./ | ||
Line 39: | Line 35: | ||
| | ||
Add your object here for the abstract item-shape: | Add your object here for the abstract item-shape: | ||
- | world/ | + | world/ |
(<- (%item-type-shape :big-knife : | (<- (%item-type-shape :big-knife : | ||
Line 45: | Line 41: | ||
Add your object here for the padding size: | Add your object here for the padding size: | ||
- | ./ | + | ./ |
(<- (object-type-padding-size :big-knife 0.005d0)) | (<- (object-type-padding-size :big-knife 0.005d0)) | ||
| | ||
- | ====== | + | ======How to use the mesh====== |
Now you are able to spawn your object by: | Now you are able to spawn your object by: | ||
(btr-utils: | (btr-utils: |