1 |
gest = fichier nouveau |
2 |
#g1 = importstepocc gest bielle.STEP 1e-8 |
3 |
arbre = creearbre gest Part_test |
4 |
b1 = p_boite arbre 0 0 0 10 10 10 |
5 |
b2 = p_boite arbre 5 5 5 15 15 15 |
6 |
p1 = union arbre b1 b2 extrusion |
7 |
s1 = p_sphere arbre 7.5 7.5 7.5 4.5 |
8 |
p2 = union arbre p1 s1 |
9 |
c1 = p_cylindre arbre 5. 5. 0. 0. 1.570796327 25 2.5 |
10 |
p3 = union arbre p2 c1 |
11 |
t1 = p_tore arbre 5. 5. 25. 0. 1.570796327 2.5 1 |
12 |
p4 = union arbre p3 t1 |
13 |
co1 = p_cone arbre 5. 5. 0. 0. -1.570796327 10 3 |
14 |
p5 = union arbre co1 p4 |
15 |
a1 = creeassemblage arbre Ass_test |
16 |
v1 = ajoutass a1 p5 |
17 |
b3 = p_boite arbre -15 -15 -15 -5 -5 -5 |
18 |
v2 = ajoutass a1 b3 |
19 |
g1 = evalassemblage arbre a1 asstest false true true 1e-6 0.1 |
20 |
f = enregistrer gest test |
21 |
f2 = export_mg_gmsh gest test_script 1 |