visual3d:documentation:modeling:segments:segment_properties_example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:modeling:segments:segment_properties_example [2024/06/17 17:06] – removed sgranger | visual3d:documentation:modeling:segments:segment_properties_example [2024/07/17 15:45] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Segment Properties Example ====== | ||
+ | |||
+ | This example specifies segment properties from pipeline commands. For a variety of legacy reasons, Visual3D does not allow users to specify the segment depth as an expression. This limitation means that the command [[Visual3D: | ||
+ | |||
+ | Prompted by a customer that wanted to use a pipeline command to modify segment depth we documented this in several pipeline examples. | ||
+ | |||
+ | **NOTE:** As of Visual3Dv5.01.20, | ||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | ==== Specifying segment properties from a value ==== | ||
+ | |||
+ | This example is for the Pelvis and assumes that the Pelvis segment has been constructed. | ||
+ | |||
+ | < | ||
+ | ! First set a pipeline parameter for the segment depth | ||
+ | ! This value could be obtained by prompting the user or in this case is set to 0.12 | ||
+ | Set_Pipeline_Parameter | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Explicitly set the mass and inertial properties for an elliptical cylinder | ||
+ | ! This example is for the Pelvis segment | ||
+ | Set_Segment_Properties | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Specifying segment properties from a metric ==== | ||
+ | |||
+ | There are two examples: one for the pelvis segment and one for the Thorax. | ||
+ | |||
+ | === Pelvis === | ||
+ | |||
+ | Create a metric to compute the depth as the distance between two markers/ | ||
+ | |||
+ | < | ||
+ | ! Set Global active | ||
+ | Select_Active_File | ||
+ | / | ||
+ | ! /QUERY= | ||
+ | ; | ||
+ | |||
+ | Metric_Explicit | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! First set a pipeline parameter for the segment depth | ||
+ | Set_Pipeline_Parameter | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Explicitly set the mass and inertial properties for an elliptical cylinder | ||
+ | ! This example is for the Pelvis segment | ||
+ | Set_Segment_Properties | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | === Thorax === | ||
+ | |||
+ | This example is for the Thorax and assumes that the Thorax segment has ben constructed. Since Visual3D does not allow users to specify the segment depth as an expression, a user could construct the Thorax segment with a " | ||
+ | |||
+ | < | ||
+ | ! Set Thorax Depth | ||
+ | |||
+ | Select_Active_File | ||
+ | / | ||
+ | ! /QUERY= | ||
+ | ; | ||
+ | |||
+ | ! The cylindrical depth is equal to one-half the distance from anterior to posterior. | ||
+ | Metric_Explicit | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! First set a pipeline parameter for the segment depth | ||
+ | Set_Pipeline_Parameter | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Explicitly set the mass and inertial properties for an elliptical cylinder for the Thorax segment | ||
+ | Set_Segment_Properties | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | |||
visual3d/documentation/modeling/segments/segment_properties_example.1718643986.txt.gz · Last modified: 2024/06/17 17:06 by sgranger