LDraw.org Discussion Forums

Full Version: LDraw Pattern Creator/ LDPattern Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi,

I'm totally new to anything CAD (well, except LDraw and MLCad, but only moving bricks from A to B). I'm building some Star Wars models, but there are so many printed parts missing. I was trying to recreate the pattern for 30116pb03 (Panel 14 x 14 x 2 2/3 Quarter Saucer Top with Millennium Falcon Pattern) (yes, I know, maybe hard stuff for a beginner, but that's the part I really want) and came across all the programs like LPC and LDP. The principle is clear. Import a part, draw a lot of triangles, save, done. But there are the things between these points, that I don't get. At least not by tial and error. For example: I'll import the part 30116.dat. Fine. And now? How do I get one of the 15 facets to the right position? How do I position the background image right? When I zoom in the part, all I see is the middle. So, how do I scroll left/right or up/down? Since I'm stuck here and did not even get to the "draw a lot of triangles" point, I turned to the Sticker Generator, which was a suitable alternative (for me). I made stickers for every single facet of the part (and after 3 days work, not every sticker 100% accurate, be it in size or position), the final part and subparts being about 12 MB (!), which made the pov file quite heavy. Anyway, I really like to do it right, so anyone who has some experience with LPC or LDP could you please at least tell me, how do I get to the "draw a lot on triangles" part?

Thank you.
Hi Daniel,

If you're only interested in having the stickers on the povray model you can texture map an image file onto the right surface. I can't give you an example right now as my internet access and time is limited at the moment.

But perhaps someone else can?

If you want them in LDraw as well it's much, much harder. But doing it POV only is a thought.

Tim
If someone has the knoledge how to do this it would be nice if he'd share it. But I'd still prefer the "real" way.
If you happen to read french, see this excellent documentation by J.C. Tchang.

Nils Schmidt once said he was working on an english translation, but I'm not sure if it was ever completed. I think I remember some more recent talk about translating it (or maybe it was another document) but for some reason I can't find it right now.

As for what Tim was suggesting, see this, but it wont help much unless your only end goal is to make nice renderings of the model.
Dammit, I should have read that guide by J.C. more carefully (although google translator converts it to something like "guess what the author means"). Some of the points I mentioned are described in there. Let's see how far I can get with this...

[EDIT] I've just seen, that J.C. updated the guide today....
I'm working on a Torso Pattern. A noob question: How much triangles are too much? I'm half way through the pattern and have almost 500 triangles. And should I use quadrangles for bigger areas (or where they fit)? As I said, I've never done this before so any help is appreciated.
Daniel Görner Wrote:A noob question: How much triangles are too much? I'm half way through the pattern and have almost 500 triangles.

Daniel,
tha's not a noob question, but it depends on the pattern. There are simple patterns with less triangles/quads (like 973p09), and complex patterns with a lot more, e.g file 973pq1 is a double sided torso with 488 triangles and 2069 quads (which make whole of 4626 triangles).

What you can do is to design the bigger details (= clearly visible at normal zoom level) with more triangles/quads than smaller ones, to smooth curves for example. But that is also a point of taste, because if you do a pattern of 5000 lines, you wouldn't care about saving 20 or 50 lines, eh? Just find your best way between details and filesize, if you make a bigger one, you can "optimize" and downsize it later. If you computed your pattern (means import from bmp or bmp2dat), the size is usually very huge. That is another reason (exept from having fun ;-) ) for doing it by hand.
Thanks Chris. I'll try it and see what happens. But how do I make quads in LPC? I find options for triangles and primitives, but no quads...
As far as i know, you can't create them directly. LPC uses Philo's Rectifier tool to merge adjacent triangles to quads under some circumstances, when exporting to .dat. Personally i don't like that, because i have no control of this "optimization". It works fine on flat patterns (e.g. torso, flag), but if you project the result onto a formed surface, these quads possibly are broken back to triangles. For me that's a reason to use LDPattern, although it has only very basic functionality and some bugs...
Christian Neumann Wrote:It works fine on flat patterns (e.g. torso, flag), but if you project the result onto a formed surface, these quads possibly are broken back to triangles.
I agree with you, it maybe quite annoying. I met this problem while doing this pattern. I solved the issue by changing colors of a few triangle pairs that I wanted to be assembled together. That's a trick useful to control behaviour even in "normal" use, for example to keep symmetry in the middle of a shape issued from LDD.
Pages: 1 2 3