RE: LDCad 1.6 Alpha 4 (win+linux): Dynamic vs. static placement in flex parts?
2016-10-17, 19:38
2016-10-17, 19:38
[quote pid='23540' dateline='1476729339']
Dynamic placements does matrix interpolation which is preferable for curved sections, but it seems it has a problem with long straight sections, I'll see if I can improve the interpolation somehow.
[/quote]
Did some code digging...
There seems to be something wrong with how I implemented dynamic placement, It should result in the same placement as static when used with a alignment of 0.
The whole point of dyn placement is/was to let if follow the segents virtual arc but this is nullified when placement is in the center (align=0)
dyn.png (Size: 6.49 KB / Downloads: 357)
I'm not sure what is going wrong but thanks for bringing this to my attention Philo. This might also be a good moment to improve dyn placement by also correcting the position according to the curve.
I might postpone these changes to beta 2 though.
Dynamic placements does matrix interpolation which is preferable for curved sections, but it seems it has a problem with long straight sections, I'll see if I can improve the interpolation somehow.
[/quote]
Did some code digging...
There seems to be something wrong with how I implemented dynamic placement, It should result in the same placement as static when used with a alignment of 0.
The whole point of dyn placement is/was to let if follow the segents virtual arc but this is nullified when placement is in the center (align=0)
dyn.png (Size: 6.49 KB / Downloads: 357)
I'm not sure what is going wrong but thanks for bringing this to my attention Philo. This might also be a good moment to improve dyn placement by also correcting the position according to the curve.
I might postpone these changes to beta 2 though.