I have made a modified version of Rick Bono's DOME program
http://www.antiprism.com/other/dome/
These are the changes
Changes to code and build to ease building on modern systems.
Changes to POV output for compatibility with latest POV-Ray.
Added OFF output.
Adrian.
--
Adrian Rossiter
adr...@antiprism.com
http://antiprism.com/adrian
Ken
>--
>You received this message because you are subscribed to the "Geodesic Help" Google Group
>--
>To unsubscribe from this group, send email to GeodesicHelp...@googlegroups.com
>--
>To post to this group, send email to geodes...@googlegroups.com
>--
>For more options, visit http://groups.google.com/group/geodesichelp?hl=en
Hi Ken
On Thu, 27 Jan 2011, Ken G. Brown wrote:Which version of Dome did you start from? Latest I've seen are 4.8 for PC, and 4.6 for Mac. Available in synergeo files.
I started from this one
https://launchpad.net/ubuntu/+source/dome/4.80-3ubuntu1
as it came with a Makefile. I initially looked at the dome48.zip
that Taff posted, but it comes with a build for Microsoft tools.
The READMES are essentially the same, differing only in the install section. Both give the version number as 4.80.
On Thu, 27 Jan 2011, Ken G. Brown wrote:
> Which version of Dome did you start from? Latest I've seen are 4.8 for
> PC, and 4.6 for Mac. Available in synergeo files.
I started from this one
https://launchpad.net/ubuntu/+source/dome/4.80-3ubuntu1
as it came with a Makefile. I initially looked at the dome48.zip
that Taff posted, but it comes with a build for Microsoft tools.
The READMES are essentially the same, differing only in the install
section. Both give the version number as 4.80.
Adrian.
On Thu, 27 Jan 2011, Gerry in Quebec wrote:
> I get weird tetrahedral angle data from Rick Bono’s Windome program,
> version 4.80 (Beta 1). I’m referring to the values given in the output
> format option "DAT ASCII Report”. As an example, here are the face
> angles given for the symmetry triangle of a 2v, class I tetrahedron:
>
> Triangle 1: 100.54529059; 39.72735471; 39.72735471
> Triangle 2: 39.72735471; 79.45470941; 60.81793588
> Triangle 3: 60.00000000; 60.00000000; 60.00000000
> Triangle 4: 39.72735471; 39.72735471; 100.54529059
>
> Triangle 2’s angles indicate a scalene triangle. But it should be
> isosceles, identical to triangles 1 and 4. The same problem occurs at
> other frequencies of the tetrahedron. However, Windome’s VRML outputs
> (wrl files) seem to be fine visually.
The version I modified has the same problem.
The OFF output is correct
dome -pt -f2 tmp.off
off_query -I - Fa tmp.off
prints
0,100.54529058949905 39.727354705250399 39.727354705250555
1,39.727354705250249 100.54529058950023 39.727354705249532
2,59.99999999999968 60.000000000000171 60.000000000000163
3,39.727354705250221 39.72735470524988 100.54529058949993
I had a quick look at the face angle code. The problem relates
to using arcsine on the sine of the 100 degree angle. In C/C++
asin returns angles in the range [-90 degs, 90 degs]. This means
that the angle returned for asin(sin(100.5degs)) is not 100.5degs,
but 180-100.5 = 79.5degs.
I don't plan on maintaining the DOME code, but I was curious
about this, and it was easy to fix. I will probably release
an update at some stage. The output after the fix is
---------Symmetry Triangle Face Angle Data-------------
Face Face Angle #1 Face Angle #2 Face Angle #3
1 100.54529059 39.72735471 39.72735471
2 39.72735471 100.54529059 39.72735471
3 60.00000000 60.00000000 60.00000000
4 39.72735471 39.72735471 100.54529059
Dome 4.80, Copyright (C) 1995-2002 - Richard J. Bono
Dome comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See GNU General Public License for more details.