question

Mark S3 avatar image
0 Likes"
Mark S3 asked Felix Möhlmann answered

How can I connect two arbitrary points with a column?

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



FlexSim 22.1.2
draw
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

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


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.