I have now encountered a problem that most probably has a trivial solution but I can't seem to solve it.
Aim: Build a geometry model of a 3D weave were the yarns have plenty of crimp in all directions.
Main problem: The interpolation between the different yarn-sections are not smooth and contain "discontinuities". That is probably the wrong word but I hope you understand what I mean.
Possible cause: The error message i get says
This is how I define the cross-sections. Yarn is of Class CYarn, no is just the Yarn number. In the vector YarnInfoVec is data about position and cross-section. YarnSections is the vector is and object of CYarnSEctionInterpNode.Unable to build slave nodes, not enough master nodes specified
Unable to calculate slave node resolution
Code: Select all
def YarnFunc(Yarn,no,YarnInfoVec,yarnSections):
Yarn[no].AddNode(CNode(XYZ(YarnInfoVec[0],YarnInfoVec[1],YarnInfoVec[2])))
section = CSectionPowerEllipse(YarnInfoVec[3],YarnInfoVec[4], YarnInfoVec[6])
section = CSectionRotated(section, YarnInfoVec[5]*pi/180)
yarnSections.AddSection(section)
Cheers
/
Fredrik