RE: Rebrickable LDCad PBG export
2020-05-01, 0:09 (This post was last modified: 2020-05-01, 0:09 by Orion Pobursky.)
2020-05-01, 0:09 (This post was last modified: 2020-05-01, 0:09 by Orion Pobursky.)
(2020-04-30, 23:53)Roland Melkert Wrote: I tried 5580 and it 'hangs' (console xhr inspection shows it fails to fetch the model from rebrickable)
It does work when using 5580-1 but it misses the hose templates (check is enabled) needed for the engine.
Minor note:
the pbg item sourceInv property is only really needed when using a template reference so you could filter those out to save bandwidth
The fail code isn't very robust. Right now there are cases where the php exits but doesn't send any error message.
Also, as noted above, the "-1" is required for now.
Templates are part of the cross ref (unless I change my mind) and that file has exactly one test entry. So, odds are, if the template box is checked nothing will happen.