templates in .pgb files


RE: templates in .pgb files
#4
Rough (LQ, also I don't know if the colors are correct) version of the medium one to get you started Smile

Code:
0 Power functions 2 M Motor (LQ)
0 Author: LDCad
0 !CATEGORY electric
0 !KEYWORDS flexible,power functions
0 !LDCAD CONTENT [type=path] [addFallBack=default] [looped=false] [displayKind=mm] [curveStep=0] [displayLenCor=0]

0 !LDCAD PATH_POINT [type=bezier] [posOri=0 -1.126 97.499 1.000001 0 0 0 0.707107 0.707107 0 -0.707107 0.707107] [prevCPDist=25] [nextCPDist=50] [cirR=20] [cirDir=xyCW] [prevYRoll=0] [nextYRoll=0]
0 !LDCAD PATH_POINT [type=bezier] [posOri=0 0 235 1 0 0 0 0 1 0 -1 0] [prevCPDist=60] [nextCPDist=25] [cirR=20] [cirDir=xyCW] [prevYRoll=0] [nextYRoll=0]

0 !LDCAD PATH_SKIN [donCol=256] [donOri=0 0 1 0 1 0 -1 0 0] [donPart=u9218.dat] [donYSize=200%] [donCen=absCen] [donCenYOfs=0] [donFinScale=segMerge] [donPlace=refsDyn] [donYAlign=0] [donInline=false] [segSize=80%] [segSizeTol=5%] [segsCnt=0] [segsGrp=0] [segsMaxMerge=10] [segsMrgAng=0] [segsMrgRollAng=0] [segsEdgeDelKind=keepFirstLeft]

0 !LDCAD PATH_CAP [group=start] [color=15] [posOri=0 0 0 1 0 0 0 1 0 0 0 1] [part=21980.dat] [extraLen=0mm] [inlineRef=false]
0 !LDCAD PATH_CAP [group=end] [color=15] [posOri=0 0 250 -1 0 0 0 -1 0 0 0 1] [part=u9219.dat] [extraLen=0mm] [inlineRef=false]

Place it (e.g. powerFunc2MotorM.ldr) n the C:\Users\Roland\AppData\Roaming\LDCad\templates\path folder  and restart LDCad it should appear in the power funcitons template group.

You can edit templates much the same as normal models inside LDCad (ignore the warning) just be sure to ungroup the endings first (ctrl+shift+g while selected).
Once they become official parts I will add default templates for all of them.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: templates in .pgb files - by Roland Melkert - 2016-07-30, 21:31

Forum Jump:


Users browsing this thread: 4 Guest(s)