site poly Answered
this is a touch frustrating
trying create an array polygons in a 2d model using site poly nested in a loop with coords of the polygon changing in the loop
my site poly command is
poly <MATR> stnd * * * * * * $xt1 $yt1 $xt2 $yt2 $xt3 $yt3 $xt1 $yt1
when the coords as follows are it works fine, i.e. equilateral triangle starting at the origin
symb xt1 = 0.000000
symb yt1 = 0.000000
symb xt2 = 0.001000 /* $xt1 + ( $baselen / 2 )
symb yt2 = 0.001732 / $yt1 + ( ( $baselen / 2 ) * tan ( $pival / 3 ) )
symb xt3 = 0.002000 /* $xt1 + $baselen
symb yt3 = 0.000000 /* $yt1
I can index xt1 and create polygon anywhere along y=0 and index yt1 to create polygon anywhere on x=0
indexing both fails no matter the value of xt1 and yt1, e.g. coords are
symb xt1 = 0.004000
symb yt1 = 0.004000
symb xt2 = 0.005000
symb yt2 = 0.005732
symb xt3 = 0.006000
symb yt3 = 0.004000
gives this error
****warning from sitinp :
Beginning and ending z-coordinates are the same
I know my loop logic is fine, manually specifying the x- & y-coords give the same error
any insight you can offer will be appreciated
cheers
R
1 comment
Hi Richard,
Please send your files across to support or share them here via your preferred cloud sharing service and we can take a look for you.
Thanks,
Chloe
Please sign in to leave a comment.
Didn't find what you were looking for?
New post