Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #3298
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!talisker.lacave.net!lacave.net!not-for-mail |
|---|---|
| From | Alessandro Barracco <bomastudio@gmail.com> |
| Newsgroups | comp.lang.ruby |
| Subject | Re: Binary file: SAT |
| Date | Thu, 21 Apr 2011 03:06:11 -0500 |
| Organization | Service de news de lacave.net |
| Lines | 73 |
| Message-ID | <2cddb6943b03d69eca28d3dffeba1374@ruby-forum.com> (permalink) |
| References | <f82185e10f19c74e1962c03aeccd4771@ruby-forum.com> <4fa8adc3b92c44287a399f6cb1aab3ff@ruby-forum.com> <e003a225f227d13a192196cfde414b7c@ruby-forum.com> <BANLkTimZvkXz=7bTAcdnwdU2AsH6MzYd8w@mail.gmail.com> |
| NNTP-Posting-Host | bristol.highgroove.com |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | Quoted-printable |
| X-Trace | talisker.lacave.net 1303373612 11200 65.111.164.187 (21 Apr 2011 08:13:32 GMT) |
| X-Complaints-To | abuse@lacave.net |
| NNTP-Posting-Date | Thu, 21 Apr 2011 08:13:32 +0000 (UTC) |
| In-Reply-To | <BANLkTimZvkXz=7bTAcdnwdU2AsH6MzYd8w@mail.gmail.com> |
| X-Received-From | This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway |
| X-Mail-Count | 381984 |
| X-Ml-Name | ruby-talk |
| X-Rubymirror | Yes |
| X-Ruby-Talk | <2cddb6943b03d69eca28d3dffeba1374@ruby-forum.com> |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.ruby:3298 |
Show key headers only | View raw
Thanx you all. I'm beginning to understand a bit....
These are the first 20 lines of the binary-block in the file:
------------------------------------------------------------------------
1
mogoo mih m o
1
_ll P/:1 [:,681 ^ 336>1<: ^ \VL ]*63;:- _nk ^ \VL mogqoo QK _mk H:; ^ /-
mo mmeogemi monn
1
n fqfffffffffffffffj:rooh n:rono
1
>,27:>;:- {rn rn _nm mnmqoqoqjgmm |
1
=0;& {m rn {rn {l {rn {rn |
1
-:9@)+r:&:r>++-6= {rn rn {rn {rn {n {k {j |
1
3*2/ {i rn {rn {rn {h {n |
1
:&:@-:961:2:1+ {rn rn _j 8-6; n _l +-6 n _k ,*-9 o _l >;5 o _k 8->; o
_f /0,+<7:<4 o _k ,+03 oqoohilhjnjnfgklfljfh _k 1+03 lo _k ;,63 o _g
93>+1:,, o _h /6'>-:> o _k 72>' o _i 8-6;>- o _j 28-6; looo _j *8-6; o
_j )8-6; o _no :1;@96:3;, |
1
):-+:'@+:2/3>+: {rn rn l o n g |
1
-:9@)+r:&:r>++-6= {rn rn {rn {rn {l {k {j |
-------------------------------------------------------------------------
It consists of pairs of lines: the first is a code (always 1), the
second is the data. I think that the latter is wrote according to the
SAT format (well to the SAB format, it's binary....).
ACIS supports two kinds of save files, SAT and SAB, which stand for
“Standard ACIS Text”
and “Standard ACIS Binary”, respectively. Although one is ASCII text and
the other is binary
data, the model data information stored in the two formats is identical
A SAB file has a .sab file extension. A SAB file uses delimiters
between elements and binary tags, without additional formatting.
The binary formats supported are:
int . . . . . . . . . . 4--byte 2s complement (as long)
long . . . . . . . . . 4--byte 2s complement
double . . . . . . . 8--byte IEEE
char . . . . . . . . . 1--byte ASCII
where “byte” is eight bits, and files are considered to be byte strings.
For multi--byte data
items, byte order normally just matches that of the processor being
used, but a specific order
may be imposed by compiling with the preprocessor macro BIG_ENDIAN or
LITTLE_ENDIAN defined.
--
Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Binary file: SAT Alessandro Barracco <bomastudio@gmail.com> - 2011-04-20 17:00 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-20 19:02 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-20 19:45 -0500
Re: Binary file: SAT Roger Braun <roger@rogerbraun.net> - 2011-04-20 21:53 -0500
Re: Binary file: SAT Alessandro Barracco <bomastudio@gmail.com> - 2011-04-21 03:06 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-21 12:25 -0500
Re: Binary file: SAT Alessandro Barracco <bomastudio@gmail.com> - 2011-04-22 04:51 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-22 13:49 -0500
Re: Binary file: SAT William Rutiser <wruyahoo05@comcast.net> - 2011-04-23 13:20 -0500
Re: Binary file: SAT 7stud -- <bbxx789_05ss@yahoo.com> - 2011-04-21 12:53 -0500
csiph-web