Thoughts about flexible parts


Re: Thoughts about flexible parts
#29
Hi Roland,
due to my little experience in programming bezier curves (as you can see in SR3DBuilder), here is my approach:
- define start point, ending point, tensors and parameters
- compute the curve as a series of points at a convenient distance depending on the curve type segment
- compute the matrices for orienting each curve segment in the convenient direction
- perform some kind of function(s) that close gaps among curve segments along the curve

You should not need any start point/end point marker since a flex is most usually connected to an existing model part connection you can use as starting point. If you implements connections, also the curve tensors will be automatically defined by the connection itself.
If you decide that you flex part is not displayed during placement/definition in your model, then you can easily define some addictional points to define a path the curve MUST follow.
I cannot help in the metacommand directions since I've used my own sintax to store FlexParts definition in my model files.

Maybe this can help you someways...
Good work !!

Sergio
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Thoughts about flexible parts - by Sergio Reano - 2012-08-07, 7:13

Forum Jump:


Users browsing this thread: 4 Guest(s)