How can I connect two arbitrary points with a column?

How can I connect two arbitrary points with a column?

mark_s3
Not applicable
54 Views
1 Reply
Message 1 of 2

How can I connect two arbitrary points with a column?

mark_s3
Not applicable

[ FlexSim 22.1.2 ]

I have the coordinates of four points, and those four points could be anywhere.

I can use the "drawline" function to draw lines between points.

However, I don't know how to use the "drawcolumn" function to properly join points with a column?

I look forward to your help. Thank you in advance。1.png

drawcolumn_problem_V2022_Updae_1.fsm



0 Likes
Accepted solutions (1)
55 Views
1 Reply
Reply (1)
Message 2 of 2

moehlmann_fe
Enthusiast
Enthusiast
Accepted solution

Starting with the code that Jason provided in his comment here. All that needs to be added is to translate the coordinate system so that the starting point of the column coincides with the coordinate origin. Otherwise, rotating the coordinate system to have the column point in the correct direction would move the starting point.

Then, since you are drawing multiple shapes, the transformations have to be reversed before the next shape is drawn

1664174371927.png

1664174389478.png

drawcolumn-problem-v2022-updae-1_1.fsm

0 Likes