Shamrock script

Next
 From:  bemfarmer
11376.1 
A parametric, 3 leaf, shamrock script.

Planar does not fully fill up the interior of the curve, near the center.
Boolean and Trim do not seem to work in that area.
Tried MoI 4 and MoI 5 beta.

Placing a circle at the center, with radius greater than the planar problem area, enabled multiple trims of the narrow areas near the center of the shamrock.
Blend was then done, and join. Now planar worked for the entire revised inner area of the curve.

Still need a stem...

- Brian
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11376.2 In reply to 11376.1 
Hi Brian,

re:
> Planar does not fully fill up the interior of the curve, near the center.

It's because the curve double backs on itself abruptly near the center area.

That causes the curve to effectively be self intersecting in these cusp areas:



It would probably be good for the curve to be in 3 separate pieces instead.

- Michael
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11376.3 In reply to 11376.2 
Thank you Michael for the explanation.

Trimming and blending cured the situation.
The parametric equations yielded results which may be very slightly non-symmetric, but not enough to see without zooming way way in.
I switched to Curve factory rather than InterpCurve factory.
Maybe the parametric equations could use 1/3 the value of theta angle, rather than 2PI.
Just playing around...
I'll post a .png, as soon as I remember the image service name :-) (imbbox)
Just did a 4 leaf clover script. It has crossing curve lines with narrow separation. Trims and blends fixed it up. May post it tomorrow.

- Brian

https://imgbox.com/yJnRkPAo

image host
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11376.4 In reply to 11376.3 
A 4 leaf clover script.
This one also needs a little trimming and blending.

- Brian


https://imgbox.com/zsyIqAQe

image host
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11376.5 
Theta of 2PI was divided by 3, to produce one "heart shaped" clover, third of a leaf, a closed curve.
Rotated to top center.
moved away from the origin by a very small amount, to separate the future 3 leaf sections a little.
Circular array by 3.
Place small circle at origin.
Trim the 3 closed curves, and blend.

To make the stem, placed vertical lines at bottom blend of lower two leaf sections, and to the sides. The middle line is just to place the two side lines with a horizontal guide line.
Moved them up a tiny bit to clear the edge of the two lower leaf blend.
For the bottom of the stem, also made 3 lines at an angle, at the bottom of the future stem. The two outer lines are placed further apart than the top lines.
Blend the two outer upper lines with the two outer lower lines. Join to a curved trapezoid, and fillet lower end of stem.
Blend the trapezoid with the leaf edges, to yield one closed curve for entire shamrock with stem.
Do planar.

- Brian

https://imgbox.com/c3xCeI9H

image host

EDITED: 1 Apr 2024 by BEMFARMER

Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
11376.6 
A node assemblage, shamrocknod.nod, was created to test some angle ranges for u.

Note that if the SwRotary node is not in its default (first pole) position when the node program is saved, the SwRotary will not work. (a minor SwRotary node bug).

Theta of PI/3 yields a half curve, from +y to the origin.

Theta of 2*PI/3 yields a full closed curve. It is nicely rounded near the origin. The start point is not quite at the origin, and the midpoint is also slightly away from +Y.
This could be manually corrected...

Higher switch positions have the cusp problem, near the origin.

- Brian
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Frenchy Pilou (PILOU)
11376.7 

Pilou
Is beautiful that please without concept!
http://moiscript.weebly.com
My Moi French Site
https://schmoll8.wixsite.com/magicavox
My MagicaVoxel Gallery

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All