algorithmic modeling for Rhino
Hi everyone,
Upon opening of my working GH file, I got a IO message:
'.', hexadecimal value 0x00, is an invalid character. Line 11842, position 6.
what should i do?
thanks a lot!
c
Tags:
Hi cmt,
this file has been cut. It ends with a bunch of null characters instead of proper xml. There's supposed to be 129 objects in the file, but I can only find data for 80 of them.
I manually repaired the missing xml closing statements, but a lot of data is missing from this file. Ddi you make it yourself or did you download it?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Hi David,
Thank you! I did do this by myself (it's my assignment actually). I guess I probably lost some data when I unplug my portable harddrive...
You make my day now I don't have to start from scratch, thanks a lot!
By the way I am now finding my way to re-make the OMA Mahanakhon Tower in Bangkok.
I started by pixelizing a given BRep by culling, see whether the points on the pixel Grid fall within the BRep.
However, I want to improve the project by further deflecting the BRep to optimize certain conditions, (e.g. London City Hall optimize daylight conditions). In Hong Kong, there are residential towers that 'optimize' seaview and form walls that affect the microclimate in the neighborhood.
Will post if I get any progress
cmt
Ah that will explain why the file looked the way it did. When I write a new file out, I first compose the entire content in memory (one huge xml string), then I blit that data to the file. I do this to minimize the time spend interacting with the harddrive, and also to avoid having partial files if the serialization fails. However if you unplug a drive during this process, it will either result in partial file or a file padded with nulls.
I'd love to know whether Grasshopper reported this save operation as successful or failed, but I suppose you don't remember the text in the status bar after you saved it for the last time?
--
David Rutten
david@mcneel.com
Poprad, Slovakia
As far as I remember, there was a pop-up window after I shut down Rhino and Grasshopper asking me to save the unsaved ghx, which I clicked on the 'save' button on the right. I think the error occurred when I unplug the drive right after I clicked the button...
I wonder if Grasshopper could prompt me again after save is complete, I think it might help with my careless mistake!
There's a "Save successfully completed (X seconds)" message in the grasshopper status bar. But of course if you use the last-ditch save that pops up when you close Rhino that is no longer visible.
If you save the file from the Grasshopper multi-save dialog you're not supposed to be able to close that dialog until the file has been saved.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by