It may indeed be possible to extract the code. Since it appears to be
a Parametric function, of the type used in
K3dSurf. I suspect it could be written in the following fashion, Which
in this example creates a Torus.

X():(1+ 0.5*cos(u))*cos(v)
Y():0.5*sin(u)
Z():(1+ 0.5*cos(u))*sin(v)
[u]:0,  2*pi
[v]:0,  2*pi

Then it could simply be displayed in mathsurface.qhx created by the
talented "visose"

http://groups.google.com/group/grasshopper3d/browse_thread/thread/fde34cc34beb0921/b739abb7cbedf85c?hl=en&lnk=gst&q=visose#b739abb7cbedf85c

If you go: http://demonstrations.wolfram.com/RhombicSpirallohedra/

click on "show source code", followed by "show initialization code"


On Mar 14, 8:11 pm, damien_alomar <[email protected]> wrote:
> The Rhino math plugin really doesn't have an interface that you can
> work with (programing interface not UI), and since I'm rather
> unfamiliar with math lab code I'm not sure how similar they are.  So I
> don't really think you'll get very far there.
>
> Would you mind posting some of the math lab code that your looking to
> convert?  I haven't seen any, so maybe its possible to parse it some
> how.
>
> Best,
> Damien
>
> On Mar 14, 4:34 pm, Robert Thompson <[email protected]> wrote:
>
> > what about the rhino math plugin
> > maybe that would work
>
> > On Sat, Mar 14, 2009 at 9:26 PM, damien_alomar <[email protected]> wrote:
>
> > > I'd ask on the rhino plugins newsgroup for a more "exact" answer, but
> > > I don't believe that there's any way to do this currently.  I think
> > > there is a dotNET interface for Mathmatica, and so you might be able
> > > to tie into that from Rhinoscript, but as far as using math lab code
> > > in Rhinoscript, that probably won't help.
>
> > > -Damien
>
> > > On Mar 14, 3:28 pm, tomot <[email protected]> wrote:
> > > > Is there any way to link or convert the Wolfram math lab code into a
> > > > workable RhinoScript
> > > > that will allow me to create Rhombic Spirallohedra?  or perhaps there
> > > > is another way?
>
> > > >http://demonstrations.wolfram.com/RhombicSpirallohedra/
>
> > > > I'm sorry if this subject does not appear to be GH related.
>
> > > > cheers!
>
> > --
> > Robert Thompson
>
> > Beethoven Str. 7
> > 06844 Dessau-Rosslau
> > Germany
> > Mobile: 00-49-163-768-5226

Reply via email to