|
In lugnet.cad, Fredrik Glöckner writes:
> "Larry Pieniazek" <lpieniazek@mercator.com> writes:
>
> > Cool. Where can I read about scaling? It sounds like I just need to
> > take one of the ends and scale it to the length I need (in this
> > case a span of 26 studs worth of bricks from one end of the brick
> > to the other).
>
> If the ends are covered, you don't need to worry too much about the
> end points. So you can take on of the end points and scale it to your
> needs, as you say. You can start with this line:
>
> 1 16 -40 1 0 0 -20 0 1 0 0 0 0 1 76.DAT
>
> and change the "-20" to 20 times 26. That should give you a hose with
> a total length of 26 studs.
>
> Fredrik
Cool. That worked. I had to edit the MPD by hand, though, I could not just
edit the matrix values in MLCad directly.
I think I found an MLCad quirk though. With non unit scaling/rotation factors
I found that I could not move the part in the axis direction that was non
unit. That is, once I made it 520 units (20*26) long, I could move it in
perpendicular directions but not in the direction of 520 length.
That was not a showstopper, I did an "A" to rotate it, moved it so that it was
at one end point of where I wanted it in the "real" 520 length direction, then
rotated it back and voila. It rotated around that endpoint so it was where I
wanted it to be and I then just moved it around in the other two directions to
get final placement.
Thanks!
I'd like to suggest that the general problem of being able to resize things
that are linear, but indeterminate in length (rods, string, anything with a
smooth contour, but not corrogated tubing because resizing it would make the
corrugations the wrong spacing) be something that the tool be able to do at
some future point.
Hence my FUT cad.mlcad.
Appreciate the help!
++Lar
|
|
Message has 4 Replies: | | Re: tubing
|
| (...) I don't think that users would normally want to scale parts. The part you were presented with just now is probably the exception: No other parts in the LDraw library should be scaled to other sizes than the ones they come in. But then again, (...) (24 years ago, 8-Aug-00, to lugnet.cad, lugnet.cad.mlcad)
| | | Re: tubing
|
| (...) OK, I have done a similar thing in my PCC which uses yellow tubing for handrails. the tubing needs to be 14 plates high so I changed the length -20 to -14*8 by hand in the mpd to get the length right, then moved/rotated the tubing around in (...) (24 years ago, 27-Sep-00, to lugnet.cad.mlcad, lugnet.cad.dev)
| | | Re: tubing [DAT]
|
| (...) I think the "can't move in the long direction" problem would be solved if you put the modified command line in a separate dat file, then used that new file like a part. For example (and only slightly in a different direction, style-wise), you (...) (24 years ago, 28-Sep-00, to lugnet.cad.dev)
| | | Re: tubing
|
| Larry Pieniazek wrote... (...) I don't know of any problems (knock knock). If you would care to e-mail me your DAT (MPD) file, I will check it with L3Lab, L3P and POVRay. /Lars (24 years ago, 28-Sep-00, to lugnet.cad.dev, lugnet.cad.mlcad)
|
Message is in Reply To:
| | Re: tubing [DAT]
|
| (...) If the ends are covered, you don't need to worry too much about the end points. So you can take on of the end points and scale it to your needs, as you say. You can start with this line: 1 16 -40 1 0 0 -20 0 1 0 0 0 0 1 76.DAT and change the (...) (24 years ago, 7-Aug-00, to lugnet.cad)
|
20 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|