Questions tagged [rhino3d]

A stand-alone, commercial NURBS-based 3-D modeling software with an extensive VBScript, .NET and C++ API. IronPython and VBS Editors are built in.

84 questions
0
votes
1 answer

Unity import camera views

I'm importing my client's 3D models to Unity from Rhino. They give me the fbx file exported from the Rhino and I can import them to Unity. Now I want to import the Camera views for a model. In Rhino they can't export the camera views as part of the…
Madhu
  • 1,209
  • 2
  • 22
  • 28
0
votes
1 answer

How to work with 3DM file

I have 3DM file which I was able to open in Rhino3D / Rhinoceros software. With this 3DM file I want to develop a model such as, http://store.nike.com/us/en_us/product/lebron-x-ps-elite-id-basketball-shoe/?piid=31819&pbid=933486182# where I can…
0
votes
1 answer

RhinoCommon SelectSubObject

I am using RhinoPython along with RhinoCommon to attempt to select mesh vertices. Everything seems to work, but highlighted disappears after an instant. Could someone explain why? For example I use the following code to select the vertices connected…
Gianpaolo
  • 11
  • 4
0
votes
1 answer

Adding faces to an existing mesh with RhinoPython

I am using RhinoPython along with RhinoCommon to attempt to add a face to an existing mesh. Everything seems to work, but the face that is created is not in the same location as the points that I picked. Could someone explain why the index numbers…
Steve Baer
  • 101
  • 4
0
votes
1 answer

Opening a geojson file in RhinoPython

I'm hoping my problem can be solved with some geojson expertise. The problem I'm having has to do with RhinoPython - the embedded IronPython engine in McNeel's Rhino 5 (more info here: http://python.rhino3d.com/). I don't think its necessary to be…
saeranv
  • 155
  • 1
  • 7
0
votes
1 answer

is python list comprehension possible inside a for loop?

consider this python list comprehension code in Rhino v.5 below: for j in range(1,3): globals()["objlist" + str(j)] = [rs.OrientObject(obj, [rs.PointCoordinates(x) for x in objlist[1:4]], [rs.PointCoordinates(x) for x in objlist[1+ j*3:4+ j*3]],…
Pav Ametvic
  • 1,727
  • 4
  • 12
  • 14
-1
votes
2 answers

Python - For loops with multiple indices

I'm trying to access multiple items in a list as they relate to one another. I would like to access list item 0 and 1, item 1 & 2. I'm familiar with for loops, but only accessing list = [A, B, C, D, E, F] etc. for i in list: print(i) print…
Jared
  • 1
-1
votes
1 answer

Export RhinoCommon mesh as an STL file

I'm trying to export a Rhino.Geometry.Mesh as an STL file with simple and straightforward approach. Tried I tried this code: public static bool ExportMeshToStl(Mesh mesh, string fileName) { if (mesh == null ||…
Megidd
  • 7,089
  • 6
  • 65
  • 142
-1
votes
1 answer

C# recursion with a collection output

I am trying to use recursive function and output a list of the resulting values. this is the code I came up with but it gives me Error (CS0161): 'Script_Instance.wrapper(int, int, Grasshopper.DataTree, System.Collections.Generic.List)': not all…
1 2 3 4 5
6