I created a TrussMaker object of a scissor truss with a cantilevered end condition. Unfortunately the TrussPro object can't represent this.
Having done this I wanted to be able to turn off the contours in 2D to show just the axis line. I opened the Joist Beam 10 object and copied the 2D script into my part (deleting the contents for showing the std profile in 2D).It works fine except the 2D lines are shifted over in plan from the centerline yet the 3D is OK.
any ideas?
"e" is the axis or contour parameter within the 2D script:
PEN gs_cont_pen
Line_type axis
if e > 1 goto 20
goto 10+(e*10)
10:
fill gs_fill_type
poly2_b 4,7,gs_fill_pen,gs_back_pen,
0, -b/2, 1,
a, -b/2, 1,
a, b/2, 1,
0, b/2, 1
hotspot2 0,b/2
hotspot2 a,b/2
hotspot2 0,-b/2
hotspot2 a,-b/2
goto 50
20:
line2 0,0,a,0
50:
hotspot2 0,0
hotspot2 a,0
hotspot2 a/2,b/2
hotspot2 a/2,-b/2
end
Thanks, Chris v10 US 1188