Drawing Segment Primitives: Difference between revisions
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
== Pipeline == | == Pipeline == | ||
Segment Primitives can be draw using the pipeline command Set_Segment_Draw_Options described below | |||
[[Set_Segment_Draw_Options]] | |||
/CALIBRATION_FILE=\\Mac\Home\Desktop\ExampleData\Puma\2024_0220\V3D_Support\Theia\DE3\1\DE3_1_pose_0_Static.c3d | |||
/SEGMENT_NAME=RPV | |||
! /REMOVE_CURRENT_SHAPES=TRUE | |||
! /DRAW_PRIMITIVE_SHAPE=TRUE | |||
/PRIMITIVE_SHAPES=CYLINDER | |||
/PRIMITIVE_COLORS=Blue | |||
! /USE_TRANSPARENCY=TRUE | |||
/PRIMITIVE_LOCATIONS=VECTOR(-0.5,0,0) | |||
/PRIMITIVE_SCALES=VECTOR(0.01,0.01,1) | |||
/PRIMITIVE_ROTATIONS=VECTOR(0,90, 0) | |||
! /PRIMITIVE_EVENTS= | |||
; | |||
''';''' | |||
== Draw Segment Primitives Dialog == | == Draw Segment Primitives Dialog == |
Revision as of 21:09, 27 February 2024
Language: | English • français • italiano • português • español |
---|
![](/images/thumb/f/fa/primitive_model.png/200px-primitive_model.png)
Segment Primitives can be a useful tool in visualizing the position and orientation of segments in relation to each other. Segment Primitives can either be drawn using the pipeline, or by using the Draw Segment Primitives Dialog, both methods are described below
Pipeline
Segment Primitives can be draw using the pipeline command Set_Segment_Draw_Options described below
Set_Segment_Draw_Options /CALIBRATION_FILE=\\Mac\Home\Desktop\ExampleData\Puma\2024_0220\V3D_Support\Theia\DE3\1\DE3_1_pose_0_Static.c3d /SEGMENT_NAME=RPV ! /REMOVE_CURRENT_SHAPES=TRUE ! /DRAW_PRIMITIVE_SHAPE=TRUE /PRIMITIVE_SHAPES=CYLINDER /PRIMITIVE_COLORS=Blue ! /USE_TRANSPARENCY=TRUE /PRIMITIVE_LOCATIONS=VECTOR(-0.5,0,0) /PRIMITIVE_SCALES=VECTOR(0.01,0.01,1) /PRIMITIVE_ROTATIONS=VECTOR(0,90, 0) ! /PRIMITIVE_EVENTS= ; ;
Draw Segment Primitives Dialog
The Draw Segment Primitives Dialog can be accessed by right clicking the desired segments folder in the KINETIC_KINEMATIC folder of the Signals and Events tab.
The dialog can be used to add multiple primitives to a single segment
![](/images/thumb/8/87/primitive_context.png/200px-primitive_context.png)
![](/images/c/cb/primitive_dialog.png)