LDraw.org Discussion Forums
Prims Problem with LDPC/LDPE - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: LDraw Programs (https://forums.ldraw.org/forum-7.html)
+--- Forum: Parts Author Tools (https://forums.ldraw.org/forum-24.html)
+--- Thread: Prims Problem with LDPC/LDPE (/thread-23617.html)



Prims Problem with LDPC/LDPE - Johann Eisner - 2019-08-14

I don't know, if the problem already is known, so I report it.
When I export a file from LDPC to a .dat file, the prims are placed at a wrong position.
It looks like, they are mirroed at the the x and y axis.
To show what I mean, I have attached screenshots and the base files.


RE: Prims Problem with LDPC/LDPE - Philippe Hurbain - 2019-08-15

(2019-08-14, 21:01)Johann Eisner Wrote: I don't know, if the problem already is known, so I report it.
When I export a file from LDPC to a .dat file, the prims are placed at a wrong position.
It looks like, they are mirroed at the the x and y axis.
To show what I mean, I have attached screenshots and the base files.
Apart from the LDPC issue you mention (primitive managing in LDPC has always been tricky), please, please, don't use LDraw primitives there! Their only benefit is that they allow primitive substitution and better curves, but this area is so tiny that it's not worth the trouble (expecially since the larger curves nearby can't be substituted). Moreover, as you did it, this uses many rings, thus a large number of triangles to be rendered.


RE: Prims Problem with LDPC/LDPE - Willy Tschager - 2019-08-15

(2019-08-14, 21:01)Johann Eisner Wrote: I don't know, if the problem already is known, so I report it.
When I export a file from LDPC to a .dat file, the prims are placed at a wrong position.
It looks like, they are mirroed at the the x and y axis.
To show what I mean, I have attached screenshots and the base files.

I reported this to Nils some months ago. It happens mostly when you start mirroring+rotating+mirroring+... prims. A workaround is not mirroring them, but just rotating them ... ideally with a newly added prim where you copy the scale values by hand before rotation.

w.


RE: Prims Problem with LDPC/LDPE - Johann Eisner - 2019-08-15

OK. Thanks.
I only copied, moved and rotated the prims.
But as Philo said, that here prims only generate a lot of unnessacery triangles, I delete the prims and make only triangles.