BendTable for hoses and tubes

版本 1.1.0.0 (394.5 KB) 作者: Peter Kövesdi
Calculate a bend table from IGES files containing hose or tube paths.
34.0 次下载
更新时间 2016/3/6

查看许可证

This function takes a bunch of IGES-Files, looks for rational B-Splines (IGES entity 126) and makes a bending table out of each of the splines. If end and start point have the same coordinates, these splines get connected. Parameters control the way the splines get discretized and simplified. For each spline the bend table gets written as [filename]_bend_table_spline_[#].csv and for each file a summary gets written as [filename]_summary.txt, both in the same location as the IGES file.
If there is a valid parameter file with the same name as a processed IGES file and extension .csv, the parameters from inside this file are used. If this file doesn't exist or You agree to overwrite it, it gets written with the parameters used in this run. Open the file to see the format. Parameters passed to the function overwrite the ones from the parameter file.
To make things easier, export only the center lines of the hoses or tubes into the IGES file. Only curves, no surfaces, no bodies etc. Use attached Demo files for Solid Edge.
To get the displacement angle of elbow fittings of crimped hose assemblies, model each fitting as a line perpendicular and connected to the end of the hose center line, showing in the direction of the fitting. Take care the the length of this line is longer than the minimal feed parameter (see below), otherwise this segment gets dropped.
In the result summary, the desired value is the 'rotation angle between first and last spline segment', measured counterclockwise from the near end to the far end.
see help for usage.

This program is in a very early stage and probably won't get developed further. Not much testing occurred. Only tested with IGES export out of Solid Edge ST8. Use with caution. Check all results twice, before using them!

引用格式

Peter Kövesdi (2024). BendTable for hoses and tubes (https://www.mathworks.com/matlabcentral/fileexchange/55800-bendtable-for-hoses-and-tubes), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Model Import 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

reduced description
some bug fixing

1.0.0.0

minor changes in description

minor changes in description