User Tools

Site Tools


visual3d:documentation:modeling:3dsspp:exporting_a_3dsspp_batch_file

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:modeling:3dsspp:exporting_a_3dsspp_batch_file [2024/06/19 12:48] sgrangervisual3d:documentation:modeling:3dsspp:exporting_a_3dsspp_batch_file [2024/08/12 20:32] (current) – Deleted page - 3DSSPP was sold to VelocityEHS and is no longer supported by HAS-Motion. wikisysop
Line 1: Line 1:
-creating a batch file for 3dsspp does not require the user to build a visual3d model because 3dsspp is not looking for a model, but for a set of projected angles between sets of 3 markers. because no model is used, visual3d is unable to render a body in the 3d animation window. 
- 
-in order to visualize a simple skeleton in visual3d, you might consider recording a standing trial. [[visual3d:documentation:modeling:3dsspp:3dsspp_marker_set|to create the visual3d model see]]: 
- 
-\\ 
- 
- 
-!%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%*\\ 
-! text_description= process the lift test\\ 
-!\\ 
-! create a set of 3dsspp batch files\\ 
-! the batch files are annotated with the niosh lift test results\\ 
-!%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%%%**%%*\\ 
-!\\ 
- 
- 
-**file_new**\\ 
-**;**\\ 
- 
- 
-! -----------------------------------------------------------------------------------------------------\\ 
-! the user must input the mass and height of the subject and the load lifted. this pipeline\\ 
-! assumes the user is working in imperial units\\ 
-! -----------------------------------------------------------------------------------------------------\\ 
- 
- 
-**prompt_for_multiple_pipeline_parameter_values**\\ 
-/global_parameter_name=mass_in_pounds+height_in_inches+load_in_pounds+gender\\ 
-/datatype=float+float+float+string\\ 
-/default_value=135+70+30+female\\ 
-! /mass_in_pounds=135\\ 
-! /height_in_inches=70\\ 
-! /load_in_pounds=30\\ 
-**;** 
- 
-! ----------------------------------------------------------------\\ 
-! the user must select the folder containing the data files\\ 
-! ---------------------------------------------------------------- 
- 
-**set_pipeline_parameter_to_folder_path**\\ 
-/parameter_name=folder\\ 
-/parameter_value=\\ 
-! /parameter_value_search_for=\\ 
-! /parameter_value_replace_with=\\ 
-! /parameter_value_append=\\ 
-**;** 
- 
-! -------------------------------------------------------------\\ 
-! the pipeline assumes that there are 3 sets of trials\\ 
-! it loads and tags the files according to the filenames\\ 
-! ------------------------------------------------------------- 
- 
-**for_each**\\ 
-/iteration_parameter_name=file\\ 
-/items=floor-to-waist+knee-to-waist+waist-to-overhead\\ 
-**;** 
- 
-**open_file**\\ 
- 
-/file_name=::folder&*&::file&*.c3d\\ 
- 
-**;** 
-**assign_tags_to_files**\\ 
- 
-/motion_file_names=*&::file&*.c3d\\ 
- 
-! /query=\\ 
- 
-/tags=::file\\ 
- 
-**;** 
-**end_for_each**\\ 
-/iteration_parameter_name=file\\ 
-**;** 
- 
-**select_active_file**\\ 
-/file_name=all_files\\ 
-! /query= **;** 
- 
-**evaluate_expression**\\ 
-/expression=::mass_in_pounds&/2.2\\ 
-/result_name=mass\\ 
-/result_type=metric\\ 
-! /result_folder=processed\\ 
-**;** 
- 
-**evaluate_expression**\\ 
-/expression=::height_in_inches&/39.4\\ 
-/result_name=height\\ 
-/result_type=metric\\ 
-! /result_folder=processed\\ 
-**;** 
- 
-**lowpass_filter**\\ 
-/signal_types=target\\ 
-! /signal_names=\\ 
-! /signal_folder=original\\ 
-! /result_suffix=\\ 
-! /result_folder=processed\\ 
-! /filter_class=butterworth\\ 
-/frequency_cutoff=6\\ 
-/num_reflected=20\\ 
-/total_buffer_size=30\\ 
-! /num_bidirectional_passes=1\\ 
-**;** 
- 
-**evaluate_expression**\\ 
-/expression=target::processed::rhan-target::processed::rsho\\ 
-/result_name=rhan_out\\ 
-! /result_type=derived\\ 
-! /result_folder=processed\\ 
-**;** 
- 
-! ---------------------------------------------\\ 
-! create offsets in lieu of real landmarks when\\ 
-! no link model is available\\ 
-! --------------------------------------------- 
- 
-**[[|create_3dsspp_target_offsets]]**\\ 
-/result_folder=processed\\ 
-**;** 
- 
-! -----------------------------\\ 
-! create projected angles using\\ 
-! compute_planar_angle\\ 
-! ----------------------------- 
- 
-**[[|create_3dsspp_projected_angles]]**\\ 
-/result_folder=processed\\ 
-**;** 
- 
-! --------------------------------------------\\ 
-! create events for the origin and destination\\ 
-! -------------------------------------------- 
- 
-**[[|create_3dsspp_origin_destination_events]]**\\ 
-/result_folder=processed\\ 
-**;** 
- 
-! ----------------------------------------------------------------------\\ 
-! for convenience in checking the events created, visual3d\\ 
-! can be switched to event processing mode, graph the vertical\\ 
-! hand position and highlight the events\\ 
-! ---------------------------------------------------------------------- 
- 
-**switch_to_event_processing_mode**\\ 
-**;** 
- 
-**highlight_event_label**\\ 
-/event_label=origin+dest+max\\ 
-**;** 
- 
-**interactive_graph_signals**\\ 
-/signal_types=target\\ 
-/signal_names=rhan\\ 
-/signal_folder=processed\\ 
-/signal_components=z\\ 
-/graph_index=1\\ 
-/graph_subindex=1\\ 
-/replace_current=true\\ 
-**;** 
- 
-**interactive_graph_signals**\\ 
-/signal_types=target\\ 
-/signal_names=lhan\\ 
-/signal_folder=processed\\ 
-/signal_components=z\\ 
-/graph_index=2\\ 
-/graph_subindex=1\\ 
-/replace_current=true\\ 
-**;** 
- 
-**select_active_file**\\ 
-/file_name=all_files\\ 
-! /query=\\ 
-**;** 
- 
-! ------------------------------------------------------------------\\ 
-! the final step is to export the collection of [[visual3d:documentation:modeling:3dsspp:launching_the_batch_file_in_3dsspp|3dsspp batch files]]\\ 
-! ------------------------------------------------------------------ 
- 
-**export_3dsspp_batch_file**\\ 
-/file_name=*.c3d\\ 
-! /analyst_name=analyst\\ 
-! /analyst_comments=comments\\ 
-/load=::load_in_pounds\\ 
-/units=imperial\\ 
-/sex=::gender\\ 
-/events=origin+dest\\ 
-**;** 
- 
- 
  
visual3d/documentation/modeling/3dsspp/exporting_a_3dsspp_batch_file.1718801302.txt.gz · Last modified: 2024/06/19 12:48 by sgranger