MoI discussion forum
MoI discussion forum

Full Version: Enneper Surface Script

Show messages:  1-19  20-38

From: TOM (SIRTOM)
27 Sep 2017   [#20]


Hi.

The Enneper script generates curveswith very small dimensions around 1,5 mm.
Is there a way to change some numbers in the script to be able to generate curves with much larger dimension - I am currently curves with MaxRadiis around 170mm.

I achieve this by scaling, of cours, bur would be very helpful toe get the desired size directtly.

TOM


From: bemfarmer
27 Sep 2017   [#21] In reply to [#20]
Since MoI does Scale, I usually do not put in a scale.

Here is a version with a built in scale multiplier.

- Brian

The enneper curves, depending upon settings, have about 2 orders of magnitude already. (???)

Attachment revised 9/28/2017, with Update error and Scaling error fixed.

See corrected script, post 25 below.
From: TOM (SIRTOM)
28 Sep 2017   [#22] In reply to [#21]
Hey Brian thank you - thats awesome !

I may be doing something wrong as I am getting different curves
with the two scripts using the same values - see attached file.

White _
Originale Enneper script
lobes 5 Max Radius 1,15 - then scaled manually

Red
New Enneper script
lobes 5 Max Radius 1,15 -scaled with slider

Attachments:
file01.3dm


From: bemfarmer
28 Sep 2017   [#23] In reply to [#22]
Hi Tom,
That is amazing!
So my thinking must be faulty, applying scale to points. I'll have to think on it some more...

- Brian

Message 6521.24 was deleted


From: bemfarmer
28 Sep 2017   [#25]
So the problem is a very simple error, failing to place parenthesis around the equations for x and y, so that the scale applies to the whole line.
(z was correct as there was no addition, so the curves changed shape.)
- Brian

Script updated again with scaling error corrected. Updating also is corrected.

Attachments:
EnneperScale.zip


From: TOM (SIRTOM)
29 Sep 2017   [#26] In reply to [#25]
Thats it - works perfectly.

HUGE THANKS !!!
From: TOM (SIRTOM)
24 Jun 2019   [#27]

Hi,

I tried out the Ennepernode but ist does not run.

What I relalizeid ist that the node named "convert array" displays Points and Objects" whereas in the JPG posted by James the same node displays "In and Out."

An thought what I could do to get it running ?


From: bemfarmer
24 Jun 2019   [#28] In reply to [#27]
Hi Tom,

The enneper array is working here, in both MoI3 and MoI4Beta.

Maybe install Jame's latest nodeeditor extensions?

I do not understand your sentence with convert array/Points and Objects/In and Out.

- Brian
From: James (JFH)
24 Jun 2019   [#29] In reply to [#27]
Tom

I'm not sure what version of nod file you are using, but it may contain deprecated nodes.
This one (attached) however, originally dates from late 2017 and still works.
Latest NE folder can be found here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.1

Hope this helps
James
https://www.instagram.com/nodeology/

Attachments:
EnneperSimple.nod


From: TOM (SIRTOM)
25 Jun 2019   [#30] In reply to [#29]
Hi,
Thanks for helping,
I downloaded the node-file and yes, this one works !
I wonder where I had downloaded the version attached which
is different from the one recently posted.
It offers scaling options which is a feature I would be specially
helpful - but it does not work.
Could you Node Gurus take a look at it ?!
Brian, I added a screenshot to visualize what I meant.

Attachments:
enneper.jpg
enneper.nod


From: bemfarmer
25 Jun 2019   [#31] In reply to [#30]
Hi Tom,
My computer cannot open your JPG :(
Your enneper does not work on my computer either :(
It's bedtime, may look again tomorrow... :-)
- B

Message 6521.32 was deleted


From: TOM (SIRTOM)
25 Jun 2019   [#33] In reply to [#32]
Thats terrific James, thank you ! I had a look at your gallery and
am amazed about your Nodeology-skills. Do you have any background
in programming / math ?
Is there a thread collecting all the nodes available. I will have a look
at the simpler ones to understand how the system works.
As nothing seems impossible I am speculating if it would be possible
to also change the radius values of an Enneper with sliders.




PS The attachment was a scrrenshot of the node which does not work because
as you said ""MathArray" was superseded by "MathsPts"

Image Attachments:
radius.jpg 


From: James (JFH)
25 Jun 2019   [#34] In reply to [#33]
Tom,

OK, I've added Umin and Umax sliders which should do what you want.

>> Do you have any background in programming / math ? <<
A programming background would be beneficial, but not necessary (I'm not a programmer).
As far as maths go, some high school level trigonometry is really all you need.

.>> Is there a thread collecting all the nodes available. <<
"Nodebundle for playing with nodes" thread charts the development of NE, but also my own skill acquisition. If you look at my early thread posts, the examples are very rudimentary and become more sophisticated painstakingly over time.
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1

My best advice, if you want to learn NE, is to be persistent. Sometimes you find yourself at a dead-end, take a different tack, and just keep going.

Good luck
James
https://www.instagram.com/nodeology/

Attachments:
EnneperScaling.nod


From: Frenchy Pilou (PILOU)
25 Jun 2019   [#35] In reply to [#34]
<< if you want to learn NE, is to be persistent

When you say that :
- it's for make something with NE ?
- program something for NE ?
- just use a nod existing ?

Do you always update this thread ? http://moi3d.com/forum/index.php?webtag=MOI&msg=9358.1

with Enneper Surface above! ;)


From: James (JFH)
25 Jun 2019   [#36] In reply to [#35]
option (d) All of the above.....& in life, generally :)

Pilou,

Although it would be a serviceable philosophy of life, I meant specifically generating something in NE.

>> Do you always update this thread ? <<
Yes I will include any new node or changes. The nodeEditor folder here will be the same as I am using on my computer.

BTW Cool Image!
James
https://www.instagram.com/nodeology/
From: Frenchy Pilou (PILOU)
26 Jun 2019   [#37] In reply to [#36]
Perfect! :)




From: TOM (SIRTOM)
26 Jun 2019   [#38] In reply to [#34]
Thats it - fantastic ! Thank you so much James for helping out.
I would not have figured out how to get it done by myself.

Good to know that node-sorcery is available for people without
extensive programming or math background. As in any field,
mastery, I believe you, will be only accessible with lots of practice
- and pain :-)

Thank you again, very happy with your perfect noe :-) TOM

Show messages:  1-19  20-38