Documente Academic
Documente Profesional
Documente Cultură
Click the Save machine button. The file dialog from windows appears. Save the 'new_machine.xml' to 'new_machine' folder (machsim/new_machine/). Remember, the machine ID name and the folder name of the machine data must be the same. 6. To check if your new empty machine was created successfully, open the new_machine.xml file with any editor. It should look like this. <?xml version="1.0" encoding="iso-8859-1" ?> - <machine_definition> <machine_data_name="new_machine" version="1.3" units="metric" /> </machine_definition> Next, you have to create the linear axes and rotation axes. Therefore, you need the geometry data of your machine. For the new_machine, we use different parts and axes. You have moveable (rotating, sliding) parts and fixed parts. For the machine simulation, the parts have to exist in a STL file format. Most important here is that: the middle point on the top face of your table is the absolute center point of your geometry. From here all other parts will be measured. the spindle center of the lower face has to be exactly on the center point of the table. the Z axis shows out vertical of the center point of the table. 7. Move the machine and the spindle to the right position, then save the single parts to STL files. Then they already have the right position. The A axis (rotation axis), 'A_AXIS.STL'. The C axis (table rotation axis), 'C_AXIS.STL'. The X axis (linear axis), 'X_AXIS.STL'. The Y axis (linear axis), 'Y_AXIS.STL'. The Z axis (linear axis), 'Z_AXIS.STL'. The housing (not movable), 'HOUSING.STL'. The fixed A axis (not moveable), 'FIXED_A_AXIS.STL'. The tool, 'TOOL.STL'. The workpiece, 'WORKPIECE.STL'. When you want to add geometry or an axis, you do this in the kinematics tree. The structure and dependence of the machine parts is hierarchical. It is exactly as you insert them in the kinematics tree. So always start from the base, the fixed parts. From here all other parts will be added.
Right click on our new Y axis in the kinematics tree and choose 'Add geometry'. Give any ID name (eg. Y axis) and select 'Y_AXIS.STL' as geometry. The same for the holder name it eg. 'Holder for A axis' and select the part 'FIXED_A_AXIS.STL'. The plate and the holder appears now in the simulation window. Do the same procedure for the X axis. Right click on the 'new_machine' Add transl. axis' ID name is 'X' Transformation is X 1, Y and Z 0 Limits are -120 and 120 Right click on 'X axis'. Select 'Add geometry' 'X_AXIS:STL ID name is X axis The Z axis is depended on the X axis and has to be arranged under your X axis in the kinematics tree. Right click on the 'X Axis' 'Add transl. axis' ID name is 'Z' Transformation is X0, Y 0 and Z 1 Limits are -100 and 200 Right click on the 'Z axis' Select 'Add geometry' 'Z_AXIS.STL' ID name is Z axis The axes appear in the simulation window. Now set up the rotation axes.