ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
a simple model and the questions.
This is my model with Flexsim3. I want to simulate two types of buckets are measured and transited by processor and conveyors. Each bucket has different color and dimension and is transited through different conveyor in the form of lie down (such as on the processor in my model). But there many problems:
1. When the items leave the processor they are not lie down but stand. In Source1\SourceTriggers\OnCreation, I write codes: fsnode* item1 = parnode(1); double curxsize = 0.5; double curysize = 0.5; double curzsize = 2; setsize(item1, curxsize, curysize, curzsize); double curxrot = 0; double curyrot = 90; double curzrot = 0; setrot(item1, curxrot, curyrot, curzrot); //Set the location of double curxloc = 0; double curyloc = 0; double curzloc = 10; //setloc(involved1, curxloc, curyloc, curzloc); setloc(item1, curxloc, curyloc, curzloc); //Set the color of double redcolor = 255; double greencolor = 0; double bluecolor = 0; setcolor(item1, redcolor, greencolor,bluecolor ); char* labelname = "cube1" ; //double newvalue = duniform(1,3); setlabelnum(item1, labelname, 1); Then the bucket has its size, color and lie down. But why it’s not lie down when it leave the processor and display on the conveyor although I write cods at Processor_dimensioncheck\ProcessorTriggers\OnExsit : fsnode* item1 = parnode(1); double curxrot = 90; double curyrot = 0; double curzrot = 0; setrot(item1, curxrot, curyrot, curzrot); 2. How can I realize that different bucket is transited by different conveyor? 3. If one source can create two types of buckets and how to track the buckets all the process? |
#3
|
||||
|
||||
Change the Orient Z and Orient Y values in the conveyor's parameters to rotate the flowitems that are on it.
|
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
Robert Liu (10-27-2009) |
Thread | Thread Starter | Forum | Replies | Last Post |
Two questions that are raised | David Chan | Container Terminal (CT) Library | 6 | 01-22-2010 09:23 AM |
Simple emergency room model | Francisco J. Ramis | Q&A | 4 | 04-22-2009 03:36 PM |
Questions of TrafficControl ? | Li Chin | Q&A | 0 | 01-15-2009 07:32 AM |
questions about installation in vista | Ning Wang | Installation | 14 | 10-24-2008 01:08 AM |