Jump to content

Cupcake Sprinkles?


Recommended Posts

  • Vectorworks, Inc Employee
2 hours ago, Pat Stanford said:

Another possibility would be to make the frosting as a Digital Terrain Model. Then you could use the Send to Surface command to put the sprinkles on the frosting.

I tried that.  The frosting has overhanging cliffs, depending on the degree of twisting and the depth of the ridges. I don't think the DTM is meant to handle such conditions. 

image.thumb.png.bd158d707fb9d0224fabf2b6ea578806.png

Link to comment
  • Vectorworks, Inc Employee

FWIW, the way I went about placing the sprinkles via Marionette was to generate curves from the model and getting the points on each curve by subdivision. Each sprinkle-symbol is then placed on one of those points and rotated randomly. That is why they get embedded. If there was a way to generate random points on each surface of the frosting model and getting the normal's orientation at that point, the sprinkles could be placed perpendicular to the surface and then be rotated randomly. Unfortunately I don't know of a way to do that with Marionette.

Edited by Stephan Moenninghoff
Link to comment
  • Vectorworks, Inc Employee

That worked.

Create a drape surface. U and V iteration = 100. 

Name it "test2".

Run the Marionette.

Adjust level of embedding by changing the insertion point of the symbol and the rotation values in the Marionette.

Ungroup.

Reference a different symbol and repeat.

Delete the symbol instances that are outside the icing and those that collide with others. Max. 10 minutes clean-up work.

You could try and expand the Marionette to go looking for symbols that are placed too closely to others but it's hardly worth the effort, I don't think.

Sprinkle.thumb.png.316d518846a40578b183d044d01c2324.png

Sprinkle v 2.0.vwx

  • Like 3
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...