Hello alls,
I'm use this code :
module humain(posDepX = 0, posDepY = 0, separation = 0, hauteur = 110)
{
tailleHumain = 180* 7.2; // 180 cm
epaisseurHumain = 50; // 50 cm
translate([
posDepX ,
posDepY ,
hauteur +epaisseurHumain+10
]) { human() {
linear_extrude(height = epaisseurHumain) {
text("", font = "Webdings",
spacing= 0, size = tailleHumain);
}
}}
}
This code are build a caractere webdings who represent a human.
This human are include in another graphic.
I wan't to define a good association between humain dimension and police
dimension.
180 cm for a human are define here to 180* 7.2.
But how could i transform this to a true value.
--
Sent from: http://forum.openscad.org/
Hi ashuan,
what does the module human() at line 9 do?
180 cm for a human are define here to 180* 7.2.
But how could i transform this to a true value.
OpenSCAD does not have a defined unit size.
People often assume inch or mm.
I do not know where 7.2 comes from, I thought it may be 'points' size, but
no.
So you need to find the units of the other graphic, then
if you want a relative size, of a 180cm human, then
tailleHumain = 1800*<scale of police>; // 1.80m * scale
Admin - PM me if you need anything, or if I've done something stupid...
Unless specifically shown otherwise above, my contribution is in the Public Domain; to the extent possible under law, I have waived all copyright and related or neighbouring rights to this work. Obviously inclusion of works of previous authors is not included in the above.
Sent from: http://forum.openscad.org/
This module are juste push a color.
The code are like that :
module human() color("SteelBlue", 0.9) children();
--
Sent from: http://forum.openscad.org/