Grasshopper

algorithmic modeling for Rhino

Hi, I made an almost same algorithm as Nik did. 

Upper is mine and below is his.

But mine couldn't make the internal skeletal rods as the pic.

I searched all day long but I couldn't find what the problem was.

Anybody could help me out...? 

Views: 753

Attachments:

Replies to This Discussion

Nik's trims the curves with an offset surface that is slightly smaller (0.2) than the original.

You are trimming your curves with the original box so nothing is getting trimmed as all the curves are inside the box.

Top tip for debugging models... Use the Data Viewer found in View>>Data Viewer. It lets you look at exactly what is in each component input and output.

I added a slightly smaller box to your model to use for the trim component

files

Attachments:

Oh thanks, 

By the way, why should I trim the curves smaller than the original object?

I started to learn Rhino and GH recently so I am sorry for asking a stupid question.

I think Nik did that to get rid of any rods that lie on the surface of the box.

If you take the output from Remove Duplicates into Curve Charge instead of the Trim output you will see the difference

Oh thanks. 

I believe my original script used a 0.2 absolute offset merely to stop the hot dogs from poking out too far into a thin shell I was also including in the Cocoon system which also accepts surfaces.

Your script is actually working! You are merely seeing an odd Grasshopper visual artifact of how preview works which is just hiding your actually successful output! Grasshopper preview often hides things inside of solids, having nothing to do with the actual geometry it is making. Once I right click to turn off preview of both your Box and Voronoi components, your inner beams are revealed:

You can also use the toolbar icon to only preview what is selected, and that too reveals your inner parts:

This mode also works to preview even components that have normal preview disabled, so it's basically a debugging tool to save time, letting you just quick single click on things to see them isolated in preview.

oh, yes, it surely works.

Plus I can debug with baking the cocoon and found it bakes good.

Thank you always . 

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service