Ldcad Rubber bands cross over


RE: Ldcad Rubber bands cross over
#4
(2018-09-28, 14:21)tatubias Wrote:
(2018-09-28, 12:39)Philippe Hurbain Wrote: First, instead of turning the second control point 180° it is better to change properties of this control point from clockwise to counter clockwise. This avoids the squishing effect you have. Then to avoid the overlap at crossing, you need to add two bezier control points and place/orient them as needed. Here is an example:
Code:
0 FILE main.ldr
0 Author: Philippe Hurbain [Philo]
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt
1 71 0 0 -50 0 0 -1 0 1 0 1 0 0 4185b.dat
1 71 0 0 90 0 0 -1 0 1 0 1 0 0 4185b.dat
1 4 0 0 -50 0 0 -1 0 1 0 1 0 0 rubberBandRound-1.ldr
0 FILE rubberBandRound-1.ldr
0 Author: LDCad
0 !CATEGORY technic
0 !KEYWORDS flexible, band
0 !LDCAD CONTENT [type=path] [addFallBack=default] [looped=true] [displayKind=mm] [curveStep=0] [displayLenCor=0]

0 !LDCAD PATH_POINT [type=circle] [posOri=0 0 0 1 0 0 0 1 0 0 0 1] [prevCPDist=25] [nextCPDist=25] [cirR=30] [cirDir=xyCW] [prevYRoll=0] [nextYRoll=0]
0 !LDCAD PATH_POINT [type=bezier] [posOri=70 0 2 -0.469472 -0.882948 0 0.882948 -0.469472 0 0 0 1] [prevCPDist=16.5] [nextCPDist=14.5] [cirR=30] [cirDir=xyCW] [prevYRoll=0] [nextYRoll=0]
0 !LDCAD PATH_POINT [type=circle] [posOri=140 0 0 1 0 0 0 1 0 0 0 1] [prevCPDist=25] [nextCPDist=25] [cirR=30] [cirDir=xyCCW] [prevYRoll=0] [nextYRoll=0]
0 !LDCAD PATH_POINT [type=bezier] [posOri=70 0 -2 -0.469472 0.882948 0 -0.882948 -0.469472 0 0 0 1] [prevCPDist=16] [nextCPDist=16.5] [cirR=30] [cirDir=xyCW] [prevYRoll=0] [nextYRoll=0]

0 !LDCAD PATH_SKIN [donCol=16] [donOri=1 0 0 0 1 0 0 0 1] [donPart=ldcRubberBandRndSeg.dat] [donYSize=400%] [donCen=absCen] [donCenYOfs=0] [donFinScale=fitDon2Seg] [donPlace=deform] [donYAlign=0] [donInline=false] [segSize=100%] [segSizeTol=5%] [segsCnt=0] [segsGrp=0] [segsMaxMerge=10] [segsMrgAng=0] [segsMrgRollAng=0] [segsEdgeDelKind=keepFirstLeft]


Thank you very very much!!!!!!


ldcad rocks


im trying to add the second bezier but it allways put it on the same side of the rubber, i did try to add it in the other side and allways it adds it on the same place. probably im missing something



[Image: sm8NR1j.png]
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Ldcad Rubber bands cross over - by Victor Di Rienzo - 2018-09-28, 15:17

Forum Jump:


Users browsing this thread: 3 Guest(s)