Sun, 07/21/2024 - 04:54
Forums:
Hello,
I was wondering if there was any way in the draw test harness to build a wire with out the edges being in the correct order and ith out the need to reverse some edges.
point sketch1_p0 0 0
vertex sketch1_p0 sketch1_p0
point sketch1_p1 58.6605 15.1459
vertex sketch1_p1 sketch1_p1
point sketch1_p2 111.8381 75.6977
vertex sketch1_p2 sketch1_p2
point sketch1_p3 111.8381 40.6977
vertex sketch1_p3 sketch1_p3
point sketch1_p4 87.0894 100.4464
vertex sketch1_p4 sketch1_p4
point sketch1_p5 111.8381 75.6977
vertex sketch1_p5 sketch1_p5
point sketch1_p6 87.0894 100.4464
vertex sketch1_p6 sketch1_p6
point sketch1_p7 87.0894 100.4464
vertex sketch1_p7 sketch1_p7
point sketch1_p8 27.3406 40.6977
vertex sketch1_p8 sketch1_p8
point sketch1_p9 100.9988 59.2664
vertex sketch1_p9 sketch1_p9
vdisplay sketch1_p0 sketch1_p1 sketch1_p2 sketch1_p3 sketch1_p4 sketch1_p5 sketch1_p6 sketch1_p7 sketch1_p8 sketch1_p9
circle sketch1_e1 111.8381 75.6977 35
trim sketch1_e1 sketch1_e1 -1.5707963267948966 2.356194490192345
mkedge sketch1_e1 sketch1_e1
edge sketch1_e2 sketch1_p5 sketch1_p6
edge sketch1_e3 sketch1_p7 sketch1_p8
edge sketch1_e4 sketch1_p3 sketch1_p8
circle sketch1_e5 111.8381 75.6977 19.684461998744084
mkedge sketch1_e5 sketch1_e5
wire sketch1_w1 sketch1_e1 sketch1_e3 sketch1_e4
fixshape sketch1_w1 sketch1_w1
wire sketch1_w2 sketch1_e5
fixshape sketch1_w2 sketch1_w2
mkplane sketch1_F_w1 sketch1_w1
fixshape sketch1_F_w1 sketch1_F_w1
add sketch1_w1 sketch1_F_w1
add sketch1_w2 sketch1_F_w1
fixshape sketch1_F_w1 sketch1_F_w1
vdisplay sketch1_F_w1 -dispMode 1
Sun, 07/21/2024 - 11:42
Figured it out.
wire wirename [-unsorted] e1/w1 [e2/w2 ...]
The -unsorted option makes it work.
Also I posted the wrong version of the tcl code. It dose not correspond to the screen shots.