| | | | | I was trying to get a BOM for a model I did and LPub give me a file not
found in the Parts.lst eror and quits. The particutlar error was the
s/faxle parts used for the flexible axles. Here's my request:
If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
part in the BOM and not quit? At the very least I'd like it to not quit on
error.
-Orion
| | | | | | | | | | | | |
| |
| In lugnet.cad, Orion Pobursky writes:
> I was trying to get a BOM for a model I did and LPub give me a file not
> found in the Parts.lst eror and quits. The particutlar error was the
> s/faxle parts used for the flexible axles. Here's my request:
>
> If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> part in the BOM and not quit? At the very least I'd like it to not quit on
> error.
Hi Orion,
I recommend that you put a PLIST BEGIN IGN before the s/faxle1 and PLIST END
after each s/faxle1. LPub will ignore these parts and not give you an error.
Even better, create a stright version of the xale in a seperate dat and use
this:
PLIST BEGIN SUB <mystraightaxle.dat>
0 // your multiple parts that make up the axle are in here
PLIST END
LPub will ignore all the synthesized stuff, and instead render
mystraightaxle.dat and use it in the part list iamge and BOMs.
I know you do not use lsynth because you have your own mechanism for
flexible axles, but......
LPub recognizes lsynth specifications and does some special handling. In
the case of flexible axles, it calculates the length of the axle based on
the synthesized parts, then creates a straight version of the part and
renders it for the part list image.
Kevin
>
> -Orion
| | | | | | | | | | | | | | | | | |
| |
| In lugnet.cad.dev, Kevin L. Clague writes:
> In lugnet.cad, Orion Pobursky writes:
> > I was trying to get a BOM for a model I did and LPub give me a file not
> > found in the Parts.lst eror and quits. The particutlar error was the
> > s/faxle parts used for the flexible axles. Here's my request:
> >
> > If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> > part in the BOM and not quit? At the very least I'd like it to not quit on
> > error.
>
> Hi Orion,
>
> I recommend that you put a PLIST BEGIN IGN before the s/faxle1 and PLIST END
> after each s/faxle1. LPub will ignore these parts and not give you an error.
>
> Even better, create a stright version of the xale in a seperate dat and use
> this:
>
> PLIST BEGIN SUB <mystraightaxle.dat>
> 0 // your multiple parts that make up the axle are in here
> PLIST END
>
> LPub will ignore all the synthesized stuff, and instead render
> mystraightaxle.dat and use it in the part list iamge and BOMs.
>
> I know you do not use lsynth because you have your own mechanism for
> flexible axles, but......
>
> LPub recognizes lsynth specifications and does some special handling. In
> the case of flexible axles, it calculates the length of the axle based on
> the synthesized parts, then creates a straight version of the part and
> renders it for the part list image.
>
> Kevin
>
> >
> > -Orion
OK, I used the PLIST BEGIN command and I'm still getting the s/faxle1.dat
not found in the PARTS.LST file error. I think (but haven't tried) that
this problem will exist for any model that uses file from the /S directory.
-Orion
| | | | | | | | | | | | | | | | | | | |
| |
| Hi Orion,
Go to Building Instructions->Controls and uncheck "Check DAT(s) against
Part List".
Kevin
In lugnet.cad.dev, Orion Pobursky writes:
> In lugnet.cad.dev, Kevin L. Clague writes:
> > In lugnet.cad, Orion Pobursky writes:
> > > I was trying to get a BOM for a model I did and LPub give me a file not
> > > found in the Parts.lst eror and quits. The particutlar error was the
> > > s/faxle parts used for the flexible axles. Here's my request:
> > >
> > > If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> > > part in the BOM and not quit? At the very least I'd like it to not quit on
> > > error.
> >
> > Hi Orion,
> >
> > I recommend that you put a PLIST BEGIN IGN before the s/faxle1 and PLIST END
> > after each s/faxle1. LPub will ignore these parts and not give you an error.
> >
> > Even better, create a stright version of the xale in a seperate dat and use
> > this:
> >
> > PLIST BEGIN SUB <mystraightaxle.dat>
> > 0 // your multiple parts that make up the axle are in here
> > PLIST END
> >
> > LPub will ignore all the synthesized stuff, and instead render
> > mystraightaxle.dat and use it in the part list iamge and BOMs.
> >
> > I know you do not use lsynth because you have your own mechanism for
> > flexible axles, but......
> >
> > LPub recognizes lsynth specifications and does some special handling. In
> > the case of flexible axles, it calculates the length of the axle based on
> > the synthesized parts, then creates a straight version of the part and
> > renders it for the part list image.
> >
> > Kevin
> >
> > >
> > > -Orion
>
> OK, I used the PLIST BEGIN command and I'm still getting the s/faxle1.dat
> not found in the PARTS.LST file error. I think (but haven't tried) that
> this problem will exist for any model that uses file from the /S directory.
>
> -Orion
| | | | | | | | | | | | | | | | In lugnet.cad, Orion Pobursky writes:
> I was trying to get a BOM for a model I did and LPub give me a file not
> found in the Parts.lst eror and quits. The particutlar error was the
> s/faxle parts used for the flexible axles. Here's my request:
>
> If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> part in the BOM and not quit? At the very least I'd like it to not quit on
> error.
Orion,
Please provide me with an example? LPub is coded to support parts\s
directory.
Kevin
>
> -Orion
| | | | | | | | | | | | | | | | | |
| |
| In lugnet.cad.dev, Kevin L. Clague writes:
> In lugnet.cad, Orion Pobursky writes:
> > I was trying to get a BOM for a model I did and LPub give me a file not
> > found in the Parts.lst eror and quits. The particutlar error was the
> > s/faxle parts used for the flexible axles. Here's my request:
> >
> > If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> > part in the BOM and not quit? At the very least I'd like it to not quit on
> > error.
>
> Orion,
> Please provide me with an example? LPub is coded to support parts\s
> directory.
>
> Kevin
> >
> > -Orion
Even with the PLIST command, I still get a part not in PARTS.LST error
unless I turn off the file checking. Here the example:
0 Test Axle
0 Name: Taxle.dat
0 Author: Orion Pobursky
0 Unofficial Model
0 PLIST BEGIN SUB 32199.dat
1 7 -30 -110 -690 -1 0 0 0 0 -1 0 -5 0 stud3a.dat
1 7 -30 -109.96 -694 0 1 0 -0.01 0 1 1 0 0.01 s\faxle1.dat
1 7 -30 -109.88 -698 0 1 0 -0.02 0 1 1 0 0.02 s\faxle2.dat
1 7 -30 -109.71 -702 0 1 0 -0.04 0 1 1 0 0.04 s\faxle3.dat
1 7 -30 -109.52 -705.99 0 1 0 -0.05 0 1 1 0 0.05 s\faxle4.dat
1 7 -30 -109.27 -709.99 0 1 0 -0.06 0 1 1 0 0.06 s\faxle5.dat
1 7 -30 -108.97 -714.11 -1 0 0 0 -0.3 1 0 4.26 0.07 axlehol8.dat
1 7 -30 -108.63 -718.1 -1 0 0 0 -0.34 1 0 4.26 0.08 axlehol8.dat
1 7 -30 -108.26 -722.08 -1 0 0 0 -0.38 1 0 4.26 0.09 axlehol8.dat
1 7 -30 -107.85 -726.04 -1 0 0 0 -0.43 0.99 0 4.22 0.1 axlehol8.dat
1 7 -30 -107.4 -730.02 -1 0 0 0 -0.47 0.99 0 4.22 0.11 axlehol8.dat
1 7 -30 -106.91 -733.99 -1 0 0 0 -0.51 0.99 0 4.22 0.12 axlehol8.dat
1 7 -30 -106.4 -737.96 -1 0 0 0 -0.55 0.99 0 4.22 0.13 axlehol8.dat
1 7 -30 -105.88 -741.93 -1 0 0 0 -0.55 0.99 0 4.22 0.13 axlehol8.dat
1 7 -30 -105.32 -745.89 -1 0 0 0 -0.6 0.99 0 4.22 0.14 axlehol8.dat
1 7 -30 -104.72 -749.85 -1 0 0 0 -0.64 0.99 0 4.22 0.15 axlehol8.dat
1 7 -30 -104.12 -753.81 -1 0 0 0 -0.64 0.99 0 4.22 0.15 axlehol8.dat
1 7 -30 -103.47 -757.76 -1 0 0 0 -0.68 0.99 0 4.22 0.16 axlehol8.dat
1 7 -30 -102.8 -761.7 -1 0 0 0 -0.72 0.99 0 4.22 0.17 axlehol8.dat
1 7 -30 -102.12 -765.65 -1 0 0 0 -0.72 0.99 0 4.22 0.17 axlehol8.dat
1 7 -30 -101.4 -769.57 -1 0 0 0 -0.77 0.98 0 4.17 0.18 axlehol8.dat
1 7 -30 -100.68 -773.5 -1 0 0 0 -0.77 0.98 0 4.17 0.18 axlehol8.dat
1 7 -30 -99.91 -777.43 -1 0 0 0 -0.81 0.98 0 4.17 0.19 axlehol8.dat
1 7 -30 -99.11 -781.35 -1 0 0 0 -0.85 0.98 0 4.17 0.2 axlehol8.dat
1 7 -30 -98.32 -785.28 -1 0 0 0 -0.85 0.98 0 4.17 0.2 axlehol8.dat
1 7 -30 -97.48 -789.19 -1 0 0 0 -0.89 0.98 0 4.17 0.21 axlehol8.dat
1 7 -30 -96.65 -793.1 -1 0 0 0 -0.89 0.98 0 4.17 0.21 axlehol8.dat
1 7 -30 -95.77 -797.01 -1 0 0 0 -0.94 0.98 0 4.17 0.22 axlehol8.dat
1 7 -30 -94.89 -800.89 -1 0 0 0 -0.94 0.97 0 4.13 0.22 axlehol8.dat
1 7 -30 -93.97 -804.79 -1 0 0 0 -0.98 0.97 0 4.13 0.23 axlehol8.dat
1 7 -30 -93.05 -808.69 -1 0 0 0 -0.98 0.97 0 4.13 0.23 axlehol8.dat
1 7 -30 -92.09 -812.57 -1 0 0 0 -1.02 0.97 0 4.13 0.24 axlehol8.dat
1 7 -30 -91.13 -816.46 -1 0 0 0 -1.02 0.97 0 4.13 0.24 axlehol8.dat
1 7 -30 -90.12 -820.33 -1 0 0 0 -1.06 0.97 0 4.13 0.25 axlehol8.dat
1 7 -30 -89.11 -824.2 -1 0 0 0 -1.06 0.97 0 4.13 0.25 axlehol8.dat
1 7 -30 -88.06 -828.07 -1 0 0 0 -1.11 0.97 0 4.13 0.26 axlehol8.dat
1 7 -30 -86.98 -831.9 -1 0 0 0 -1.15 0.96 0 4.09 0.27 axlehol8.dat
1 7 -30 -85.9 -835.75 -1 0 0 0 -1.15 0.96 0 4.09 0.27 axlehol8.dat
1 7 -30 -84.78 -839.6 -1 0 0 0 -1.19 0.96 0 4.09 0.28 axlehol8.dat
1 7 -30 -83.66 -843.44 -1 0 0 0 -1.19 0.96 0 4.09 0.28 axlehol8.dat
1 7 -30 -82.5 -847.27 -1 0 0 0 -1.24 0.96 0 4.09 0.29 axlehol8.dat
1 7 -30 -81.3 -851.09 -1 0 0 0 -1.28 0.96 0 4.09 0.3 axlehol8.dat
1 7 -30 -80.11 -854.89 -1 0 0 0 -1.28 0.95 0 4.05 0.3 axlehol8.dat
1 7 -30 -78.87 -858.7 -1 0 0 0 -1.32 0.95 0 4.05 0.31 axlehol8.dat
1 7 -30 -77.6 -862.5 -1 0 0 0 -1.36 0.95 0 4.05 0.32 axlehol8.dat
1 7 -30 -76.32 -866.29 -1 0 0 0 -1.36 0.95 0 4.05 0.32 axlehol8.dat
1 7 -30 -75 -870.05 -1 0 0 0 -1.41 0.94 0 4 0.33 axlehol8.dat
1 7 -30 -73.64 -873.82 -1 0 0 0 -1.45 0.94 0 4 0.34 axlehol8.dat
1 7 -30 -72.24 -877.58 -1 0 0 0 -1.49 0.94 0 4 0.35 axlehol8.dat
1 7 -30 -70.84 -881.33 -1 0 0 0 -1.49 0.94 0 4 0.35 axlehol8.dat
1 7 -30 -69.39 -885.05 -1 0 0 0 -1.53 0.93 0 3.96 0.36 axlehol8.dat
1 7 -30 -67.9 -888.77 -1 0 0 0 -1.58 0.93 0 3.96 0.37 axlehol8.dat
1 7 -30 -66.38 -892.45 -1 0 0 0 -1.62 0.92 0 3.92 0.38 axlehol8.dat
1 7 -30 -64.81 -896.14 -1 0 0 0 -1.66 0.92 0 3.92 0.39 axlehol8.dat
1 7 -30 -63.2 -899.81 -1 0 0 0 -1.7 0.92 0 3.92 0.4 axlehol8.dat
1 7 -30 -61.55 -903.44 -1 0 0 0 -1.75 0.91 0 3.88 0.41 axlehol8.dat
1 7 -30 -61.59 -903.33 0 -1 0 0.43 0 0.9 -0.9 0 0.43 s\faxle5.dat
1 7 -30 -59.88 -906.94 0 -1 0 0.44 0 0.9 -0.9 0 0.44 s\faxle4.dat
1 7 -30 -58.13 -910.53 0 -1 0 0.46 0 0.89 -0.89 0 0.46 s\faxle3.dat
1 7 -30 -56.29 -914.1 0 -1 0 0.47 0 0.88 -0.88 0 0.47 s\faxle2.dat
1 7 -30 -54.34 -917.74 0 -1 0 0.49 0 0.87 -0.87 0 0.49 s\faxle1.dat
1 7 -30 -52.3205 -921.34 -1 0 0 0 -2.5 0.866 0 4.3301 0.5 stud3a.dat
0 PLIST END
| | | | | | | | | | | | | | | | | | | |
| |
| Hi Orion,
Why do we need to have the s\ in the DAT file? I'm probably showing my part
definition ignorance here. Is it because LDraw does not know to look in s\?
I'll fix the bug in LPub either way.
Kevin
In lugnet.cad.dev, Orion Pobursky writes:
> In lugnet.cad.dev, Kevin L. Clague writes:
> > In lugnet.cad, Orion Pobursky writes:
> > > I was trying to get a BOM for a model I did and LPub give me a file not
> > > found in the Parts.lst eror and quits. The particutlar error was the
> > > s/faxle parts used for the flexible axles. Here's my request:
> > >
> > > If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> > > part in the BOM and not quit? At the very least I'd like it to not quit on
> > > error.
> >
> > Orion,
> > Please provide me with an example? LPub is coded to support parts\s
> > directory.
> >
> > Kevin
> > >
> > > -Orion
>
> Even with the PLIST command, I still get a part not in PARTS.LST error
> unless I turn off the file checking. Here the example:
>
> 0 Test Axle
> 0 Name: Taxle.dat
> 0 Author: Orion Pobursky
> 0 Unofficial Model
>
> 0 PLIST BEGIN SUB 32199.dat
> 1 7 -30 -110 -690 -1 0 0 0 0 -1 0 -5 0 stud3a.dat
> 1 7 -30 -109.96 -694 0 1 0 -0.01 0 1 1 0 0.01 s\faxle1.dat
<snip>
| | | | | | | | | | | | | | | | | | | | In lugnet.cad.dev, Kevin L. Clague writes:
> Hi Orion,
>
> Why do we need to have the s\ in the DAT file? I'm probably showing my part
> definition ignorance here. Is it because LDraw does not know to look in s\?
>
> I'll fix the bug in LPub either way.
>
> Kevin
The short answer to your question is yes. Ldraw only looks in the PARTS, P,
MODELS, or current folder. Two extension folders have been added to
faciltate further separation: the PARTS/S folder is for subparts used by
parts in the PARTS folder and the P/48 folder for 48 segment hi-res primitives.
-Orion
| | | | | | | | | | | | | | | |
| |
| In lugnet.cad, Orion Pobursky writes:
> I was trying to get a BOM for a model I did and LPub give me a file not
> found in the Parts.lst eror and quits. The particutlar error was the
> s/faxle parts used for the flexible axles. Here's my request:
>
> If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> part in the BOM and not quit? At the very least I'd like it to not quit on
> error.
I've modified LPub to ignore submodel parts as well as primitives when
making PLIs and BOMs.
To address your request more specifically... LPub would have to look for
pairs of s/faxel1 through s/faxle5 and automatically substitute. I'd prefer
not to go this route.
My I offer this:
Surround the axle descriptions with:
PLIST BEGIN SUB "faxel1.ldr"
PLIST END
Then create a file called faxel1.ldr that contains the flex axle you want
with the color that you want. LPub will render that file and use it as the
part image.
In the meantime I will ponder the your request. It does have merit.
s/faxel1.dat though x/faxel5.dat are new to me. Shall I assume they are the
end pieces of sub-axels? Is it also safe to assume they are identical,
except that the name tells you the length of the axle? Are they official
sub-parts? If so, then I'll implement your request.
>
> -Orion
Kevin
| | | | | | | | | | | | | | | | | |
| |
| In lugnet.cad.dev, Kevin L. Clague wrote:
> In lugnet.cad, Orion Pobursky writes:
> > I was trying to get a BOM for a model I did and LPub give me a file not
> > found in the Parts.lst eror and quits. The particutlar error was the
> > s/faxle parts used for the flexible axles. Here's my request:
> >
> > If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> > part in the BOM and not quit? At the very least I'd like it to not quit on
> > error.
>
> I've modified LPub to ignore submodel parts as well as primitives when
> making PLIs and BOMs.
>
> To address your request more specifically... LPub would have to look for
> pairs of s/faxel1 through s/faxle5 and automatically substitute. I'd prefer
> not to go this route.
>
> My I offer this:
>
> Surround the axle descriptions with:
>
> PLIST BEGIN SUB "faxel1.ldr"
> PLIST END
>
> Then create a file called faxel1.ldr that contains the flex axle you want
> with the color that you want. LPub will render that file and use it as the
> part image.
>
> In the meantime I will ponder the your request. It does have merit.
>
> s/faxel1.dat though x/faxel5.dat are new to me. Shall I assume they are the
> end pieces of sub-axels? Is it also safe to assume they are identical,
> except that the name tells you the length of the axle? Are they official
> sub-parts? If so, then I'll implement your request.
>
> >
> > -Orion
>
> Kevin
Hi Orion,
I never got feedback from you about the PLIST BEGIN SUB solution outlined
above.
LPub recognizes parts synthesized with LSynth and tries to determine the part
being synthesized. It recognizes flexible axles and determines the length. May
I assume your axles were not generated with LSynth? Is this because of the
failings of LSynth with regard to true length, and inefficient use of primitives
and part?
As you know I've started to work on LSynth again. True length is one of the
issues that needs to be solved.
Kevin
| | | | | | | | | | | | | | | | | | | | In lugnet.cad.dev, Kevin L. Clague wrote:
> I never got feedback from you about the PLIST BEGIN SUB solution outlined
> above.
>
> LPub recognizes parts synthesized with LSynth and tries to determine the part
> being synthesized. It recognizes flexible axles and determines the length. May
> I assume your axles were not generated with LSynth? Is this because of the
> failings of LSynth with regard to true length, and inefficient use of primitives
> and part?
>
> As you know I've started to work on LSynth again. True length is one of the
> issues that needs to be solved.
The PLIST BEGIN SUB meta solution is fine. My problem was due to a lack of
knowledge regarding LPub META commands.
-Orion
| | | | | | | | | | | | | | | | In lugnet.cad, Orion Pobursky wrote:
> I was trying to get a BOM for a model I did and LPub give me a file not
> found in the Parts.lst eror and quits. The particutlar error was the
> s/faxle parts used for the flexible axles. Here's my request:
>
> If Lpub detects s/faxle1 though s/faxle5, then can it sub a flexble axle
> part in the BOM and not quit? At the very least I'd like it to not quit on
> error.
>
> -Orion
I'm adding support for s and 48 in lieu of the pathing solution Lars' will be
providing. If your flexible axle is produced by some known tool, I'm willing to
add supprt for flex axle recognition to LPub. Orion, could you email an example?
Thanks,
Kevin
| | | | | | |