Rubber arrow helper and more arrows


RE: Rubber arrow helper and more arrows
#4
(2021-07-13, 11:40)Milan Vančura Wrote: so you can see I'm _not_ experienced with these LDCAD meta commands. Please, check if this is correct way how to create such arrow. What I see in LDCAD is that sometimes a gap between the end segment and a rest of arrow appears, for shorter arrows one need to shorten the "tension" of path points.
The two control points seem to be swapped and too close together.
The arrow head should be the path end, and the other on the start (at 0,0,0).
Then you probably also want ot change the skin's segment size to 100% instead of its current 400%. This will allow for smoother curves.

Like so:
Code:
0 Arrow helper
0 Author: Milan Vančura
0 !CATEGORY helper
0 !KEYWORDS arrow, flexible
0 !LDCAD CONTENT [type=path] [addFallBack=default] [looped=false] [displayKind=ldu] [curveStep=0] [displayLenCor=0]

0 !LDCAD PATH_POINT [type=bezier] [posOri=0 0 0 1 0 0 0 1 0 0 0 1] [prevCPDist=25] [nextCPDist=1] [cirR=20] [cirDir=xyCW] [prevYRoll=0] [nextYRoll=0]
0 !LDCAD PATH_POINT [type=bezier] [posOri=0 -10 0 1 0 0 0 1 0 0 0 1] [prevCPDist=2] [nextCPDist=25] [cirR=20] [cirDir=xyCW] [prevYRoll=0] [nextYRoll=0]

0 !LDCAD PATH_SKIN [donCol=16] [donOri=1 0 0 0 1 0 0 0 1] [donPart=arrow_body.dat] [donYSize=100%] [donCen=absCen] [donCenYOfs=0] [donFinScale=fitDon2Seg] [donPlace=deform] [donYAlign=0] [donInline=false]

[segSize=100%] [segSizeTol=5%] [segsCnt=0] [segsGrp=0] [segsMaxMerge=5] [segsMrgAng=0] [segsMrgRollAng=0] [segsEdgeDelKind=keepFirstLeft]

0 !LDCAD PATH_CAP [group=end] [color=16] [posOri=0 -30 0 1 0 0 0 1 0 0 0 1] [part=arrow_tip.dat] [extraLen=20] [inlineRef=false]
0 !LDCAD PATH_CAP [group=start] [color=16] [posOri=0 0 0 1 0 0 0 1 0 0 0 1] [part=arrow_body.dat] [extraLen=0] [inlineRef=false]

You might also want to move the origin of the arrow head to its base.

That said, I happily add this to the default template set if you want.

Would be nice to have a whole set so an 'helper parts' bin group wouldn't have a single item it it.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Rubber arrow helper and more arrows - by Roland Melkert - 2021-07-13, 20:43

Forum Jump:


Users browsing this thread: 1 Guest(s)