Compare commits
No commits in common. "245740d2a2b657811dd1e591d3c132db6947817f" and "3728c5f73808c9b7274cd9c5b647785f84f27959" have entirely different histories.
245740d2a2
...
3728c5f738
12
gadgets.inc
12
gadgets.inc
@ -4,14 +4,14 @@
|
||||
*/
|
||||
|
||||
/* ======================================================= */
|
||||
#declare R_C = 0.65;
|
||||
#declare R_C = 0.72;
|
||||
|
||||
/* ce truc mérite un nom plus parlant ! */
|
||||
#macro Chose_le_pied ()
|
||||
merge {
|
||||
#local RCP = R_C * 0.666;
|
||||
cylinder { 0, y/2, 0.07 }
|
||||
sphere { 0, RCP scale <1, 0.17, 1> translate y*0.125 }
|
||||
cone { y*0.125, RCP, y*0.250, 0.07 }
|
||||
cylinder { 0, y*0.125, RCP }
|
||||
#local R = rand(Rng1);
|
||||
#if (R < 0.25) texture { tPlasticOrange }
|
||||
@ -20,7 +20,7 @@ merge {
|
||||
#else texture { tPlasticGreen }
|
||||
#end // if
|
||||
}
|
||||
// #debug "== Fin chose le pied\n"
|
||||
#debug "== Fin chose le pied\n"
|
||||
#end // macro
|
||||
// ------------------------------------------------------ ##
|
||||
/*
|
||||
@ -48,12 +48,12 @@ merge {
|
||||
#end // if
|
||||
translate y*1.05
|
||||
}
|
||||
// #debug "== Fin chose les tiges\n"
|
||||
#debug "== Fin chose les tiges\n"
|
||||
#end // macro
|
||||
// ------------------------------------------------------ ##
|
||||
#macro Chose_le_corps () // = object
|
||||
difference {
|
||||
cone { 0, R_C*0.46, y, R_C }
|
||||
cone { 0, R_C*0.55, y, R_C }
|
||||
sphere { y, R_C*0.75 }
|
||||
#local R = rand(Rng1);
|
||||
#if (R < 0.25) texture { tPlasticOrange }
|
||||
@ -63,7 +63,7 @@ difference {
|
||||
#end // if
|
||||
translate y*0.48
|
||||
}
|
||||
// #debug "== Fin chose le corps\n"
|
||||
#debug "== Fin chose le corps\n"
|
||||
#end // macro
|
||||
// ------------------------------------------------------ ##
|
||||
#macro Chose ()
|
||||
|
||||
@ -14,9 +14,10 @@
|
||||
#include "hexabenz.inc"
|
||||
#include "hexawood.inc"
|
||||
#include "trident.inc"
|
||||
#include "dynamic.inc"
|
||||
|
||||
object { Le_Decor }
|
||||
|
||||
#include "dynamic.inc"
|
||||
// =======================================================
|
||||
#declare Spline_1 =
|
||||
spline {
|
||||
@ -25,9 +26,9 @@ object { Le_Decor }
|
||||
|
||||
0.0, < 0, 1.3, -2>, // start point
|
||||
0.2, < 2, 1.0, -2>,
|
||||
0.4, < 1, 1.5, 0>,
|
||||
0.4, < 2, 1.5, 0>,
|
||||
0.6, < 0, 2.2, 0>,
|
||||
0.8, <-1, 0.8, 1>,
|
||||
0.8, <-1, 0.8, 2>,
|
||||
1.0, < 2, 1.0, 2>, // end point
|
||||
|
||||
1.2, < 4, 1.0, 2> // control point
|
||||
|
||||
Loading…
Reference in New Issue
Block a user