Parametric Keychain
Hello,
For fun, you can easely customize this keychain:
Parameters are (refer to picture also):
// Description parameter
K_Length = 40; // Length of the straight part of the key ring
K_Width = 20; // Width of the keyring
K_Thickness = 4; // Thickness of the keyring
K_Radius = 6; // Front radius (set-up to 0 for a rectuganlar part
K_Hole = 3; // Diameter of the hole for the attachment
K_D_Hole = 2; // Distance of the hole to the edge
K_Rounded = 1.9; // radius for sharp edge
Sketch_Thickness = 2; // thickness of the sketch + for positive and - for engrave
MyFile ="example013.dxf"; // Name of the file, must be in you openscad file folder !!!!! You can easely build you DXF file from inkscape, but it is very important to use only straight curve to get the good import. If you need help, just ask.
Sketch_Scale = 0.25; // Scale of the file
MySketchOffsetX = -10; // Offset in X direction for the shape
MySketchOffsetY = 0; // Offset in Y direction for the shape
MySketchAngle = 45; // Rotation angle of hte" shape
Text_Thickness = -1; // thickness of the text + for positive and - for engrave
MyText="Fred"; // Text to be put
MyFont ="Bauhaus 93:style=Regular"; // Font for the textrefer to openscad for the available font
MyTextSize = 12; // Size for the font
MyTextAngle = 20; // Angle of the text in the keyring
Rendering = "Medium"; // Define render type Rough =Grossier; Medium = Moyen ; fine = Fin et/and Face =Facetisé, will help you to go quicker to see the result
Enjoy, and send me a picture of what you have designed.
Feel free to ask question or uograde.
I just add an example in stl format (build with open scad).
If you personnal custom, just ask.