ATTENTION

This 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

Go Back   FlexSim Community Forum > FlexSim Software > User Development
Downloads

User Development User developed add-ons to Flexsim

  #1  
Old 07-19-2010
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default Automatic Flypath Times

In the Presentation Builder, adding a new point to the fly-path by default enters 1 second as the time to get to that point from the previous. This user command (auto installs from the library attached) replaces all the times in the fly-path with calculated times based on parameters that you specify for speed, and optionally, pan-rate and tilt-rate.

setConstantFlypathSpeed(str flypathname, num speed [,num panRate, num tiltRate])

This provides a good baseline from which further tweaks can me made. If you want to hold a position by inserting two points with the same coordinates and rotations, the function will enter zero as the time (since the time to travel will be zero) so you'll need to reenter those times.
Attached Files
File Type: zip setConstantFlypathSpeed.zip (1.0 KB, 180 views)

Last edited by Jason Lightfoot; 07-22-2010 at 05:04 AM. Reason: Sentence clarity
The Following 6 Users Say Thank You to Jason Lightfoot For This Useful Post:
Tom David (07-20-2010)
  #2  
Old 07-22-2010
Jason Lightfoot Jason Lightfoot is offline
Flexsim Consultant
 
Join Date: Aug 2007
Location: Somerset, UK
Posts: 719
Downloads: 20
Uploads: 0
Thanks: 123
Thanked 953 Times in 446 Posts
Rep Power: 773
Jason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond reputeJason Lightfoot has a reputation beyond repute
Default

Updated to also calculate the time for the return path from the last point back to the first.
Attached Files
File Type: zip setConstantFlypathSpeed 2.zip (1.1 KB, 184 views)
The Following 4 Users Say Thank You to Jason Lightfoot For This Useful Post:
Tom David (07-22-2010)


Thread Thread Starter Forum Replies Last Post
Presentation Builder/flypath() Lars-Olof Leven Q&A 5 01-26-2010 10:26 AM
different process times mohanboyapati Q&A 1 11-02-2009 11:59 AM
problem with automatic generation of objects by using a user library and c++ Martin Saler Q&A 17 06-05-2009 09:56 AM
Recorder automatic export Stephanie Giovannini Q&A 3 03-19-2008 04:52 PM
How to insert a flypoint into a flypath Nico Zahn Tips and Tricks 0 10-11-2007 01:40 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.