Grasshopper

algorithmic modeling for Rhino

Here is a script to generate hollow truncated octahedron.

3 parameters characterize the shape. The first must me equal to 0.5 if you need an exact truncated octahedron.  

The output of the script is a solid Brep. 

It could be transformed to a lattice in 2 ways.

1) Classical array with dx, dy, dz = 2.

2) Compact array with dx, dy = 2 and dz = 1 and a each layer with a shift of (1,1,0).

Views: 2682

Attachments:

Replies to This Discussion

Your work is really awesome, may i know how you written this programme. I need to learn this programme could you please guide me.

Thanks, it is a c# program you can double click on it and see the source. Nothing special it is geometry with symmetries rotations scales perphas!
For the more organic forms it is quad mesh with Catmull&Clark smoothing. Meshes are directly obtained with breps.
Hope it helps

I dont know how to write C# programme, could you help to learn the programme ?

I can't learn you to program.

Step one You could begin with the basics of programming there are many tutorials on c#. Google C#. You could use visual studio to learn that. C# component of grasshopper is also an option because it is very simple to program in it. But without debugger.

Second step : For grasshopper or rhino you will have to use
Rhinocommon

This is an Awesome script on C#.... the Exoskeleton and cytoskeleton might be the other option !! But can this script applied to Any BRep or Complex Solid or Mesh Geometry??? In that  case how would be the C#script working principle would be??

I am not sure I understand your question. This script could be used to generate sort of voxel objects with this procedure

It could be transformed to a lattice in 2 ways.

1) Classical array with dx, dy, dz = 2.

2) Compact array with dx, dy = 2 and dz = 1 and a each layer with a shift of (1,1,0).

Because this script is just doing a geometry, it is the same as a cube, a sphere  ... Voxel is with cube.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service