Closed rchive1 closed 7 months ago
No, I have no idea. There exist no documentation for stb
and ctb
files.
I was afraid of that.
Here's another portion of a .pc3 file with similar additional info between parenthesis:
media{
selection_method=2
type="
dm_orientation=1
actual_printable_bounds_llx=5.7937498093 ( P,PL%T 8_0)
actual_printable_bounds_lly=17.793750763 ( 0#/+,4"%9@)
actual_printable_bounds_urx=273.60623169 ( (+,9<4"T7@)
actual_printable_bounds_ury=198.10624695 ( 8&;#:$ <30)
number_of_copies=1
size{
name="ANSI_A_(11.00_x_8.50_Inches)
group=0
landscape_mode=TRUE
longplot_reduction=1.0
media_description{
printable_bounds_llx=5.7937498093 ( P,PL%T 8_0)
printable_bounds_lly=17.793750763 ( 0#/+,4"%9@)
printable_bounds_urx=273.60623169 ( (+,9<4"T7@)
printable_bounds_ury=198.10624695 ( 8&;#:$ <30)
printable_area=48289.9375
dimensional=TRUE
media_bounds{
urx=279.39999390 ( 8&9V<4!J5P)
ury=215.89999390 ( P,S\\:D"QW0)
}
}
}
}
I wonder if the parser should put that extra text between parenthesis into another spot in the data
dictionary so it doesn't get lost but will still parse.
Anyway, thanks for the info!
I don't see any reason to preserve this unknown data, but I added a sanitizer function to ignore this unknown appendix.
@rchive1 if this issue is solved for you, please close it
Sorry, I'm new-ish to GitHub, still.
Thank you.
This isn't a bug, exactly. I'm just trying to understand what's happening:
I'm trying to
acadctb.load()
a STB file. I get aValueError: could not convert string to float: '0.0076200000000 (+7.Z+"8V?S_LC )'
After the contents of the file get uncompressed, here is the portion at the end of the file that it can't parse:Do you know what the
(+7.Z+"8V?S_LC )
portion could mean?Thanks.