LDraw.org Discussion Forums
Ldcad Rubber bands cross over - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: LDraw Editors and Viewers (https://forums.ldraw.org/forum-11.html)
+--- Thread: Ldcad Rubber bands cross over (/thread-22945.html)



Ldcad Rubber bands cross over - Victor Di Rienzo - 2018-09-28

guys i was wondering if someone could let me knwo if there is any way not to overlap the rubberbands in ldca when they are in a crossing section

[Image: Fmjde8E.png]


RE: Ldcad Rubber bands cross over - Philippe Hurbain - 2018-09-28

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]



RE: Ldcad Rubber bands cross over - Victor Di Rienzo - 2018-09-28

(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


RE: Ldcad Rubber bands cross over - Victor Di Rienzo - 2018-09-28

(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]


RE: Ldcad Rubber bands cross over - Philippe Hurbain - 2018-09-28

You have to keep an eye on order of control points. Use the source window for this !


RE: Ldcad Rubber bands cross over - Victor Di Rienzo - 2018-09-28

(2018-09-28, 15:31)Philippe Hurbain Wrote: You have to keep an eye on order of control points. Use the source window for this !

i was start thinking this possibility. i was able to make it work as expected. thank  you very mucch. with out your help i wont be able to make it happen.

thank you very much


RE: Ldcad Rubber bands cross over - Victor Di Rienzo - 2018-09-28

i did play little longer , what i have to say about ldcad, its by far the more flexible and complete Lego CAD software.

its not the most easy to learn but has the most advance features out there.

the only missing things that i had in mind the developer already has in his pipe line.

congratulations


RE: Ldcad Rubber bands cross over - Philippe Hurbain - 2018-09-28

(2018-09-28, 17:37)tatubias Wrote: i did play little longer , what i have to say about ldcad, its by far the more flexible and complete Lego CAD software.
its not the most easy to learn but has the most advance features out there.
Yeah! one more converted guy Wink


RE: Ldcad Rubber bands cross over - Roland Melkert - 2018-09-28

tatubias Wrote: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
New path points are always added after the current selected one if possible.


(2018-09-28, 17:37)tatubias Wrote: i did play little longer , what i have to say about ldcad, its by far the more flexible and complete Lego CAD software.

its not the most easy to learn but has the most advance features out there.

the only missing things that i had in mind the developer already has in his pipe line.

congratulations
Thanks, I've always targeted LDCad at the more advanced / larger model creating crowd.



(2018-09-28, 18:34)Philippe Hurbain Wrote: Yeah! one more converted guy Wink
Smile