Introducing carraMeL 2005-05-16 - By nospam
Back Bonjour,
I am happy to release carraMeL, a new "plug-in" for Carrara 1,x upward.
carraMeL is released under a free, open-source license.
carraMeL is not a plug-in in the true sense. It is a Php (4,x and 5,x) script that turn a .car file into a .xml one, and vice-versa.
The script takes as input an url to a .car or a .xml file, and carraMeLize it (or decarraMeLize it). The result can be coppied and pasted in a blank .xml (or .car) file.
The resulting .xml file can be parsed with xml softwares. This gives quick access to any subcomponent of the file and advanced navigation features such as hidding/displaying complete portions of the file using the ordinary behaviours of xml softwares.
Also, this ease development of "external plug-ins" to Carrara that would manipulate the xmlized .car file instead of working inside the SDK, bringing freedom of choice regarding the programming language, lower memory impact*, and batch possibilities on many files at once. An example of such an ideal programm would be an "external plug-in" that would take all objects of a scene and return them with randomized size, or upside-down ... carraMeL itself is a good example of an "external plug-in" to Carrara.
This script was developped as a kind of "proof of concept". The php script (encoding and decoding altogether) is a mere 81 lines long and was developped in 4 hours. The resulting .xml file is only 25 % bigger than the original .car file.
This demonstrate that Eovia should (IMHO) replace the native .car file syntax by a moderner .xml format.
The "plug-in" can be accessed here : http://www.floconsdepaques.com/pressbook/tutoriaux/tuts.php (see : tutorial # 12)
OT : I take the opportunity of this release to announce that thanks to the help of the well known Harvey White (the most courteous people on Hearth), who corrected the English translation, the PHP 5 Mandelbrot Machine is now available in the Shakespear language (see absolute bottom of the tuts page).
Note : * while PHP 5 brings new XML DOM features that could have been exploited to create carraMeL, these features have a drawback : the whole XML tree has to be loaded in memory. This is not compatible with the ordinary Php configurations where the allocated memory is limited somehow. I thus decided for an "on the flow" process. Consequently, the memory footprint of carraMeL is ridiculous (a few kbytes) and constant, whatever the size of the .car file (a Gb or more if you like !).
-- Cordialement / Sincerly yours, Fran?ois Flocons de P?ques Infographie 2D et 3D - Cr��ation web - Services informatiques www.floconsdepaques.com
:= ,H: @/ .. -HH$. -===-, ;@(protected)= .=::=-,, /@(protected)$, .::::=-, $= .:;::::=, .XHHXX$:. -;;;;:::-, =HHHX$$/;;- -+/;;;:::=- =HHXX$/;:==, :+//;:::==-. . ,HHX$/;:=---, :///;;::=-,, ... +@(protected)$/;::=---,, ,///;;::=-,. ,, .$H$/::::=-,--, =/;;;::=-,, .,,. ,XH$/:==:=---==,..-/;;:::-,---,..,, ,$/;:====-- --=:--;/;:::;/==,=-,-, ./+;:=--=---,-,=;:=:/;//+$;=,/+,.,. =//:=-- --,---=;;,-;X/-:;-=:;;=, .:/;:=====----=;; .=$;::--;/X#+ . ,:;::==::==--:;;:+//+$;%#X ./%/:==:;;::::::::=++:+H$X/. :$+$%+/++//;;;;/;:/X;$+/%H$-:+; %/;/+++++/+++++/;////M$/X#/X###@(protected) ,$;::;//////+++/::;/@@(protected)@@@@(protected)$H##= :X;:=-=:;;//;;:====::/+XHM@@@; ,. $/;:=-- ---- --,,-- ---=+@#M. /+ -X$+/;::=-,,,,,--,,,,---==---+#X /, ;X;:=---,,,,,,,,,,,-,---==-;#/ ,: $/;:=--==-,,,,,.,,,-,,--==-#- , ,X$+/:====-- ----,,,,,-- ----:#X ..=;////;:,. ,X$+;::==-- ---=-- --,-- --=;@#+ .;@(protected)@@(protected):. +$+;:=========--========:/X###+ ,+H@@@@@@@@@@@@(protected)@(protected)@(protected):- :+/::====::====::::::;;/@##M// ./H@@@@@@@@@@@(protected)@(protected)@(protected)@@(protected)+; -//;::::===:;;//;;;::=.##X.= -XM@@@@@@(protected)@@(protected)@@(protected)@@(protected)#@/ ,=:;;///++///;:=-. :##= =H@@(protected)@@@@(protected)@(protected)@@(protected)@@@@(protected)#@/. .,--,,. :##- :MM@(protected)@@@(protected)@@(protected)@@@(protected)##$. :##- ,HM@(protected)@@(protected)@@(protected)@@(protected)#M: :#M- +@@@@@@(protected)@@@@@@(protected)@@(protected)#H- =MM-.XHH@(protected)@@(protected)@@@@@@(protected) -@@(protected)@@(protected)@@; -HH-=$$$$XXXXXX$$$XHXXXXHX= ,$X=-+%$%%%$X$$$$X, .$=,/+++++/+++%%++$/ /+=,:;;;/;;;/++/////: :+:.:::::::;;/;;;;//- -;: =:--====;::::;;, ,==.,---,--:====::. .==..-,,,,-=---== -=, -,.,-=-,,-- ,,, ,,..,-,,-, .,, .. .,.,,. ,, . ...,. ... . ... .
Pi��ces jointes / Post-Joint : <none>.
Welcome Yahoo Members!
http://www.eovia.com Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/Carrara/
<*> To unsubscribe from this group, send an email to: Carrara-unsubscribe@(protected)
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
|
|