R11910/Part_geometry344c79327fb6master
R11910/Part_geometry
344c79327fb6master
Part_geometry
Part_geometry
README
README
#This directory runs two python scripts; 1-to create the cantilever geometry with given geometry via FreeCAD and saves it as a .step file in a new directory
2-to read the geometry, slice it with layers and mesh it
File descriptions: 1- create_part_geometry.py :script that runs FreeCAD. 1- read_data.py :script to use to read points data of the geometry 1- buchbinder_points.txt :points data for buchbinder geometry 2- meshing.py :script to read geometry data, mesh and save 2- layering.py :script to layer a geometry and call the meshing script to mesh it
README :README
to run script 1, open the terminal in this directory and run;
python create_part_geometry.py /usr/lib/freecad/lib buchbinder_points.txt 10 buchbinder_geometry.step
to run script 2, open the terminal in this directory and run;
python layer_part.py /usr/lib/freecad/lib buchbinder_geometry.step/buchbinder_geometry.step 1 layer mesh
to learn how to run a script, run;
python [script.py] --help
c4science · Help