MoI discussion forum
MoI discussion forum

Full Version: Spiral script 2D for setting out Corinthian capital scrolls

Show messages:  1-9  10-29  30-36

From: Frenchy Pilou (PILOU)
30 Mar 2016   [#10]
If you have some sufficient constructions points, seems a nurbs curve can pass by these ones! :)
Option By Point (not Control Points)
From: bemfarmer
30 Mar 2016   [#11] In reply to [#8]
Sorry Andy, IonicVolute is not written yet. Those were the numbers and formulas needed.
It may take an hour or three to code, after work.

Have you tried a relaxed PolySkelion script?
There are also the Galaxy spiral script and the GalacticSkelion script, but they have limited range until they make a bunch of stray lines.

-B
From: bemfarmer
30 Mar 2016   [#12]
Here is an alpha version for IonicVolute.
It works, but still needs some improvement or corrections.
I'm guessing atan may be a problem.
10 minutes to code, 10 minutes to debug, 30 minutes to fiddle.
- Brian

Edit: See post 7903.16 for updated, corrected IonicVoluteAlpha02.
From: Andy (ANDYT)
30 Mar 2016   [#13] In reply to [#11]
Ok No problem Brian

Polyskelion looks good although the transition from one spiral to the next is not as smooth as I would want so may do manually for a clean S form, each of the individual spirals created are pretty good though

Your help with this is very much appreciated

Andy
From: Andy (ANDYT)
30 Mar 2016   [#14] In reply to [#12]
Ok wow that was quick Brian

Can I make a donation for your time and effort ?

Possible improvements to the control the output

A) The spiral lines increase in distance apart smoothly, which is spot on :-) but can we control this increasing % in any uniform way ?

B) Also would it be possible to control the inner starting radius or diameter ?

The a & b values control in the script ? the size of spiral produced using the script seems to be about 25mm / 30mm - can this be increased if the maths allows or do I just need to scale up ?

atan - ? not sure what this refers to ?

This in effect will become the artist perfect set of french curves in MOI if you can devise a way to control A & B above

best wishes

Andy
From: bemfarmer
30 Mar 2016   [#15] In reply to [#14]
Hi Andy,
No donations please, this is for hobby/ fun/ occasional utility ☺
The script can likely be improved. I do not feel that I have a good understanding of the math yet, including "a" radius, "b" radius, and eye radius.
-B
From: bemfarmer
31 Mar 2016   [#16]
The IonicVoluteAlpha01 had a glaring error in the formula, bvalue instead of the correct beta.
The default parameters now re-create the volute with the "historic" proportions. The two end tangents are not horizontal.
Added a parameter for the eyeRadius, the inner end of the spiral. Renamed bvalue to bRadius.
In the event that the eyeRadius exceeds the bRadius, the bRadius is "inner" rather than "outer."
Negative values for Whorls or eyeRadius are strange. May add absolute value to them.

Next to do are sliders, counter clockwise, and start angle.

- B

Attachments:
_IonicVoluteAlpha02.zip


From: Andy (ANDYT)
31 Mar 2016   [#17] In reply to [#16]
Brian

Hey great, its working just fine thank you :-)

Look forward to the final version

Andy
From: bemfarmer
4 Apr 2016   [#18] In reply to [#17]
Here is the "final" version of the IonicVolute script.

After creating one spiral, making a second spiral, with the only change being the "offset" parameter, leads to an interesting surface or extrusion, which can be filleted.

The notes were modified, and are in the .js file. The tangent equation was substituted into the logspiral4 script, with additional modifications.

- Brian


Attachments:
_IonicVoluteAlpha03.zip

Image Attachments:
IonicVolute03Small.png 


From: bemfarmer
4 Apr 2016   [#19] In reply to [#18]
The "inside" of the spiral:


Attachments:
IonicVoluteOffset04Inverse.3dm

Image Attachments:
InsideDoubleVolute04Small.png 


From: Andy (ANDYT)
5 Apr 2016   [#20] In reply to [#18]
Great thank you Brian

The sliders are a big help to get things looking visually right for my projects

and your offset spirals look good, looking forward to playing with the script properly

I have updated my LogSpiral script to version 4

Again many thanks for all your work on this

Best wishes

Andy
From: bemfarmer
5 Apr 2016   [#21] In reply to [#20]
Thank you Andy.
- B
From: Frenchy Pilou (PILOU)
6 Apr 2016   [#22]
http://moiscript.weebly.com/geacuteomeacutetries-par-bemfarmer.html

French version


From: Marbleman
6 Apr 2016   [#23]
Awesome script

Thank you

James Elliott
From: bemfarmer
9 Apr 2016   [#24]
This trial version adds a Z axis offset, for a 3D spiral, in 3D view.
-B

Attachments:
_IonicVoluteAlpha04.zip


From: danperk (SBEECH)
9 Apr 2016   [#25] In reply to [#24]
Thanks Brian!

Off topic, sorry.
From: bemfarmer
10 Apr 2016   [#26]
Ionic volute of Giuseppe Porta Salviati (1520-1575).
There is an excellent video here:
https://www.youtube.com/watch?v=HBh04ZtnLDM

The 3 "quarter circle" arcs in the upper left are actually slightly more than quarter circles.
Intersection with the eye is not quite tangent.

Attachments:
SalviatiVolute01.3dm


From: hep
11 Apr 2016   [#27]
Hi Brian

Will it be possible to make the script use an other folder than the original "command" folder?
I am currently using a subfolder to the command folder containing the scripts i use often, here i also put new scripts for test so they are easy to find :-)
From: Michael Gibson
11 Apr 2016   [#28] In reply to [#27]
Hi hep - there are 2 different ways that scripts can be run, either as a "command" which has UI associated with it (like in this case), or as "immediate script".

For the command type those have to be located in MoI's command folder in order for MoI to run them.

- Michael
From: hep
11 Apr 2016   [#29]
Hi Michael
Thanks - i see.
that was a quick answer - I just love this program and it's forum :-)

Show messages:  1-9  10-29  30-36