I'm new to Mathematica and have no background whatsoever in programming, although I will teach myself soon. I was wondering if one of you programming pros could help me out. I received a code from an online source. The code is supposed to draw some form of geometry (ie: remove faces from say a cube and make a shell/pipe structure out of its edges) I was under the impression that I had to copy/paste the code in the browser and enter it for it to run. However it doesn't seem to do anything. I'm wondering if the code was meant for an old version of Mathematica, has errors in or perhaps I just don't know how to get it running. Would really appreciate if someone could help me until I get my head around Mathematica/coding.

It seems to lack of definitions of vertices, cHull, view in your code?
–
SilviaAug 4 '12 at 21:12

do you mean I needs an input object (eg: cube) and another to make the hull? hmmm i don't understand xD
–
JenAug 4 '12 at 21:23

as @cormullion said in his answer, these functions are not built-in in Mathematica, and may be defined in earlier sections of your notebook. Without details about them, it will be hard for others to know what exactly your code do..
–
SilviaAug 5 '12 at 11:13

1 Answer
1

I think that your 'online source' has given you only part of a longer Mathematica notebook. This extract is from a notebook by the great George Hart, who's an artist and Mathematica-gician. You'll find it in:

ah yes, that is what its supposed to look like. thanks for the sweet link.. I downloaded his notebook and will take a look into his other parts. I was wondering are you able to get it code to work? Do I have to include all the other parts to get this extract to work also?
–
JenAug 4 '12 at 22:41

Can anyone of you recommend me any books, tutorials, rescources so I can learn programming in Mathematica in relation to geometry and make better sense of such code I posted please?
–
JenAug 5 '12 at 0:03

Mathematica is a registered trademark of Wolfram Research, Inc. While the mark is used herein with the limited permission of Wolfram Research, Stack Exchange and this site disclaim all affiliation therewith.