[cad-linux-dev] Re: yaml-based uber-converter db format

  • From: Eric Wilhelm <ewilhelm@xxxxxxxxxxxxx>
  • To: cad-linux-dev@xxxxxxxxxxxxx
  • Date: Fri, 6 Aug 2004 15:38:52 -0500

# The following was supposedly scribed by
# Bruno Postle
# on Friday 06 August 2004 01:19 pm:

>My only objection is that this seems to assume that all lines have
>only two points:

They do only have two points, but you have drawn my attention to a grave=20
error.  I've updated the notes at=20
http://ericwilhelm.homeip.net/uber-converter/examples/

>=A0 =A0 endpoint 1:
>=A0 =A0 =A0 =A0 - 20.5447939296064
>=A0 =A0 =A0 =A0 - 9.09829239704423
>=A0 =A0 endpoint 2:
>=A0 =A0 =A0 =A0 - 18.4368488234314
>=A0 =A0 =A0 =A0 - 6.31923185945617

>The list of points is more naturally a list, which might look like
>this (or something - I haven't got YAML available to do it properly):

Right.  This was the original intent.  I'm not sure if it has been changed =
yet=20
(Chris:  did I mention this in our chat?).  (And yes, your YAML is valid.)

>=A0 =A0 points:
>=A0 =A0 =A0 =A0 -
>=A0 =A0 =A0 =A0 =A0 =A0 - 20.5447939296064
>=A0 =A0 =A0 =A0 =A0 =A0 - 9.09829239704423
>=A0 =A0 =A0 =A0 -
>=A0 =A0 =A0 =A0 =A0 =A0 - 18.4368488234314
>=A0 =A0 =A0 =A0 =A0 =A0 - 6.31923185945617

Yes, what you have here is exactly what it should have been.

Lines are, by definition, through two points.  Polylines will have more (bu=
t=20
those aren't represented in this snapshot yet.)

=2D-Eric
=2D-=20
A counterintuitive sansevieria trifasciata was once literalized guiltily.
                                        --Product of Artificial Intelligence

Other related posts: