question

Preet avatar image
0 Likes"
Preet asked Preet commented

Trouble having intersections for horizontal and vertical paths

I am having trouble creating intersection when some paths and horizontal and some are vertical. Just like a mesh or rows and columns. I am not having success to create intersection between horizontal and vertical paths. I do not want to use elevators since the concept I am working is where small AGVs can travel horizontal as well as vertical. Horizontal and vertical paths are exactly align at X axis so there is no offset.

1706822008524.png


FlexSim 24.0.1
agv path
1706822008524.png (109.0 KiB)
· 1
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦♦ commented ·

Hi @Preet, was one of Jason Lightfoot's or Joerg Vogel's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Preet commented

This doesn't look to be a supported configuration of automatic intersections. You should be able to connect them when using a path between each intersection rather than two crossed paths. This means more effort but you can code automatic path creation based on intersection points.

· 9
5 |100000

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

Preet avatar image Preet commented ·
Hi Jason! I tried to do that but I am able to join them on one side but not on the other side. You mentioned I can do it via code, can you share example script? That would be very helpful. Like a two horizontal lines and two vertical lines having 4 intersections.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Preet commented ·

Just set up your table defining the paths

1706892598932.png

and then run this query in a script console:

Table.query("INSERT INTO Objects()  (Class, Name, StartLocation, EndLocation, AccumulationType, AGVOrientation, IsTwoWay) SELECT  Class, Name, StartLocation, EndLocation, AccumulationType, AGVOrientation, IsTwoWay FROM PathDefs")

giving:

1706892665241.png

Here's the example:

AGVpathBuild.fsm


0 Likes 0 ·
1706892598932.png (13.8 KiB)
agvpathbuild.fsm (32.7 KiB)
Preet avatar image Preet Jason Lightfoot ♦♦ commented ·
Hi @Jason Lightfoot creating the path worked but when I create controlpoints on each intersections and try to move AGV on them, agv is not able to find the destination.
0 Likes 0 ·
Show more comments
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Preet commented

You can add a horizontal plane in your model. Draw normal path on it, which connects to other horizontal paths. Then you rotate the plane through a path as an axis.

· 3
5 |100000

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

Preet avatar image Preet commented ·
Thanks Joerg! That was my next step but wanted to see if there is any better way than that. Thank you!
0 Likes 0 ·
Preet avatar image Preet commented ·

Hi @Joerg Vogel I tried this method as well. As soon as I rotate the plane with respect to Y axis, I see that it lost the itersections and AGV cannot find the path. Attaching the model. Also attaching two images (before rotation and after rotation). You can see that the intersections are not carried over.sample model.fsm

1708545144098.png1708545193566.png

1708545342361.png



0 Likes 0 ·
1708545193566.png (66.8 KiB)
1708545342361.png (47.9 KiB)
Preet avatar image Preet Preet commented ·
@Jason Lightfoot @Jeanette F @Joerg Vogel I was able to accomplish the goal using networknodes instead of path and control points.
1 Like 1 ·