- Korze a écrit:
-
J'ai exactement ce bipied et il faut changer les patins si on veut le poser sur une surface autre que de la terre parce que c'est du plastique dur: ca glisse à fond. J'avais imprimé des pieds en TPU:
Le source scad, qui rend la chose paramétrable:
---------------------------------DEBUT--------------------------------------------
/*********************************************************************************************
*
* Bipod rubber foot.
*
* - requires dotScad
* - unit is millimeter
*
* Version 5. 24/05/21
*/
///////////////////////////////////////////////////////
//
// Render quality. Uncomment for finer rendering
//
$fa=1;
$fs=0.4;
use <rounded_cylinder.scad>;
/************************************ START OF PARAMETERS **************************************/
/*
* Select foot type: 0=internal, 1=external
*/
foot_type=1;
/*
* Bipod leg measurement: we need the radius and some margin around it so the foot will hold
* when inserted in the leg.
*/
bipod_leg_external_diameter_measured=19;
bipod_leg_external_radius_measured=bipod_leg_external_diameter_measured/2;
bipod_leg_external_radius_to_substract=.05;
bipod_leg_external_radius=bipod_leg_external_radius_measured-bipod_leg_external_radius_to_substract;// This is the radius of the cylinder for our rubber foot.
//
bipod_leg_internal_diameter_measured=16.25;
bipod_leg_internal_radius_measured=bipod_leg_internal_diameter_measured/2;
bipod_leg_internal_radius_to_add=.05;
bipod_leg_internal_radius=bipod_leg_internal_radius_measured+bipod_leg_internal_radius_to_add;// This is the radius of the cylinder for our rubber foot.
/*
* Parameters not related to the type of foot
*/
foot_rubber_height=2; // Height to start making 'levels'
foot_rubber_radius_add=6/2; // Added to external radius (external foot only)
foot_rubber_levels=7; // Number of 'levels', minus 1
foot_rubber_ztrans=2.2; // Z translation fromlevel to an other
foot_rubber_level_radius_decrease=1.65; // Radius is decreased each time a layer is considered
foot_rubber_round_r=1; // extruder rounding value
/*
* External foot, parameters
*/
rubber_around_foot_height=30;
rubber_around_foot_thickness=2;
external_foot_rubber_round_r=4; // extruder rounding value
external_foot_starting_radius_increase=5; // To have the first level larger than the leg
external_foot_starting_radius=bipod_leg_external_radius+external_foot_starting_radius_increase;
/*
* Internal foot parameters
*/
rubber_inside_foot_height=20;
rubber_inside_foot_thickness=3;
internal_foot_rubber_round_r=2; // extruder rounding value
internal_foot_starting_radius_increase=5; // To have the first level larger than the leg
internal_foot_starting_radius=bipod_leg_internal_radius+internal_foot_starting_radius_increase;
/************************************ END OF PARAMETERS **************************************/
/*
* The rubber foot itself, made of 'level' number of rounder cylinders
*/
module foot(start_radius){
for(l=[0:foot_rubber_levels]){
translate([0,0,-l*foot_rubber_ztrans])
rounded_cylinder(radius=[
(start_radius)-
(l*foot_rubber_level_radius_decrease),
(start_radius)+
(l*foot_rubber_level_radius_decrease) ],
h=foot_rubber_ztrans,
round_r=foot_rubber_round_r
);
}
}
/*
* External foot: a foot that goes around a bipod leg
*/
module external_foot(){
difference(){
rounded_cylinder(radius=[bipod_leg_external_radius+rubber_around_foot_thickness,
bipod_leg_external_radius+rubber_around_foot_thickness],
h=rubber_around_foot_height,
round_r=external_foot_rubber_round_r);
cylinder(h=rubber_around_foot_height,
r=bipod_leg_external_radius);
}
translate([0,0,foot_rubber_height]){
foot(external_foot_starting_radius);
}
}
/*
* Internal foot: a foot that goes into a bipod leg
*/
module internal_foot(){
rounded_cylinder(radius=[bipod_leg_internal_radius,
bipod_leg_internal_radius],
h=rubber_inside_foot_height,
round_r=internal_foot_rubber_round_r);
translate([0,0,foot_rubber_height]){
foot(internal_foot_starting_radius);
}
}
// Render selected foot type
if(0==foot_type)
internal_foot();
if(1==foot_type)
external_foot();
--------------------------------- FIN-------------------------------
(on aura perdu l'indentation dans la bataille...)
NOTES:
Ce source permet de générer deux types de patins: soit des patins qui s'insèrent dans le pied ('internal foot') soit des patins qui recouvrent le pied (external foot: comme sur la photo).
Il est recommandé de faire des mesures des pieds et de vérifier/mettre à jour les valeurs en tête de fichier. (...leg...)
Il y a une notion de "levels": j'ai appelé ainsi les cercles concentriques qui vont diminuant. Le mieux est de jouer avec ça sous scad, de générer des rendus, ça sera plus explicite que ma description maladroite.