Subject:
|
Re: LDScript Suggestions
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Thu, 3 Dec 1998 22:05:42 GMT
|
Viewed:
|
2864 times
|
| |
| |
Steve Bliss wrote:
> This is mostly for Tore, but I'll make it public in case anyone wants to
> agree/disagree.
>
> First: thank you for version 0.09. That was a very fast update!
It depends on how you look at it. :)
>
>
> The following list of suggestions is in order (more-or-less), with the
> more important suggestions first.
>
> Suggestion 1: POLYLINE statement
> One particularly tedious aspect of writing LDraw parts is writing
> polylines -- these have to be written as a series of line statements, so
> every point has to be written twice.
>
> What would be great is if LDScript had a polyline command. This command
> would accept any number of points, and generate line statements
> connecting the points. This would be subject to normal ECHOing and
> MIRRORing, of course.
I have had plans of making a variant of POLYLINE, namely LINE, with a
starting P and an ending P
Example:
LINE [<colour>] P5 P8
gives:
2 24 X5 Y5 Z5 X6 Y6 Z6
2 24 X6 Y6 Z6 X7 Y7 Z7
2 24 X7 Y7 Z7 X8 Y8 Z8
(plus ECHOes and MIRRORs)
But yes, with a given upper limit of points, I could add POLYLINE, too.
>
> Suggestion 2: Cross-lines in ECHOs
> One thing ECHO does not generate is a set of lines connecting the
> orginal points to their echoed complement. This would be a very useful
> feature.
I have thought of that, but decided not to, for two reasons:
1. It would be difficult to avoid crosslines to be doubled, since every
point currently has to be entered twice.
2. Very often, I use ECHO mode in LDS to make curved profiles go 3-D. In
those cases, the cross-lines should be of type-5. The compiler can
inpossibly distinguish between when to use type-2 and type-5 lines.
Maybe you could set a mode that generates either type-2 or type-5
cross-lines for POLYLINEs, but their rules will probably be complicated.
>
> Suggestion 3: Echo POINTS
> An alternate way of generating cross-lines in an ECHO would be to have a
> POINT command. This command would only be allowed when echoing was
> active. It would have two parameters, a color and a point. It would
> generate the line going between the point and it echo-complement.
I like this idea. You certainly got a POINT. :)
>
>
> Suggestion 4: Vector Addition
> I'd like to be able to write:
> p0 = 10 20 30
> p1 = 100 200 300
> p2 = p0+p1
>
> and have p2 set to <110, 220, 330>
That's not so easily coded, I think, but it should be very nice. It has
been
noted.
>
>
> Steve
Thanks for the suggestions,
/Tore
|
|
Message has 1 Reply: | | Re: LDScript Suggestions
|
| (...) True. (...) Hmm. I'm not sure if that would be as useful -- there'd be all the extra lines of code to get the points into the Pn list, in the right order. That would almost offset the convenience of generating the polyline in a single command. (...) (26 years ago, 4-Dec-98, to lugnet.cad)
|
Message is in Reply To:
| | LDScript Suggestions
|
| This is mostly for Tore, but I'll make it public in case anyone wants to agree/disagree. First: thank you for version 0.09. That was a very fast update! The following list of suggestions is in order (more-or-less), with the more important (...) (26 years ago, 3-Dec-98, to lugnet.cad)
|
3 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
|
|
|
|