Generate Fiber with DXF File
Version 1.0.3 (2,39 ko) par
Ayad Al-Rumaithi
Generates random fibers inside a box and creates DXF file
This tool generates randomly oriented fibers inside a box. Then, Autocad DXF file is created for the generated fibers. Example file is also provided.
Important Note: This tool requires DXFLib (tested with version 1.2.0.0). The user should download it and put its files in the same folder of this tool. The link for DXFLib is:
function:-
1-function Fiber=Generate_Fiber(x,y,z,L,N): Generate fibers inside a box
2-function Plot_Fiber(x,y,z,Fiber): Plot fibers
3-function Fiber2DXF(Fiber,Filename): Create DXF file for the fibers
where:
x=[x1 x2]: x boundaries of the box
y=[y1 y2]: y boundaries of the box
z=[z1 z2]: z boundaries of the box
L: Length of fibers
N: Number of fibers
Fiber: (N,6) matrix of fiber coordinates with (:,1), (:,2) and (:,3) are x,y, and z coordinates of one end and (:,4),(:,5) and (:,6) are x,y, and z coordinates of the other end.
Filename: name of the DXF file with the extension.
references
[1] Fang, Qin, and Jinhua Zhang. "Three-dimensional modelling of steel fiber reinforced concrete material under intense dynamic loading." Construction and Building Materials 44 (2013): 118-132.
[2] Islam, Mohammad, Gregory J. Tudryn, and Catalin R. Picu. "Microstructure modeling of random composites with cylindrical inclusions having high volume fraction and broad aspect ratio distribution." Computational Materials Science 125 (2016): 309-318.
Citation pour cette source
Ayad Al-Rumaithi (2024). Generate Fiber with DXF File (https://www.mathworks.com/matlabcentral/fileexchange/121423-generate-fiber-with-dxf-file), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.3 | Added website |
||
1.0.2 | description |
||
1.0.1 | Added the important note |
||
1.0.0 |