Import obj file with python
@Alen_Russ wrote: Hi, I have one problem. I have done to save the sence of rhino5 to *.obj file with python code. import rhinoscriptsyntax as rs import Rhino def Export(): # select all objects to...
View ArticleAutomated hull conversion from STL to IGES for CFD analysis
@tavaamitava wrote: There is a need to convert ship geometry available in STL mesh format (as shown below) to a NURBS surface for Computational Fluid Dynamics study. The manual way of doing it is to...
View ArticleQuestion about lists - scaleVect
@onrender wrote: Hi, I have found a scaling tutorial on designalyze.com by Zach Downey and I got lost near the row : scaleVect = [x - sc for x in scaleVect]. What is going on here exactly? I do not...
View ArticleWeaverbird from Python
@Jess wrote: Hi Giulio @piac I'd like to use Weaverbird directly from Python. Is there an example how to use it?Or a documentation with functions, arguments etc.? Posts: 2 Participants: 2 Read full...
View ArticleNeed to redraw curve with the minimal control points of Nurbs curve from many...
@marceloarguello700 wrote: Hi, I have a set of (x y), points that extract tracing from a photo.Have more than 200 points that define a edge profile, it have some hand errors. So I want to regenerate...
View ArticlePossible to run Python script by only inputting command in Rhino-Command?
@Bianchi wrote: Main question is as title says. Is it possible to run a python script without having to go back to the script editor, but instead typing a command into the Rhino-Command text bar?...
View ArticleLaplacian kind of deformation in Rhino with SpaceMorph
@Raik wrote: Hi all,I am looking for a way to implement a laplacian deformation for meshes like the cgal-library offers it.Unless I don't want to do too much math by myself I hope there is a way this...
View ArticleMacro with message?
@MAD3D wrote: Hi Can I send a message in my macro to let the user know something?Is there a command to show some kind of message? Thanks Posts: 1 Participants: 1 Read full topic
View ArticleAngle between two 3-D vectors
@vikthor wrote: Do not run thisSorry to interrupt you. But I was in need of something like this but not runningSomeone help me anywayThanks Mcneel ' Description:' Calculates the angle between two 3-D...
View ArticleGUI for Scripts
@onrender wrote: Hi, Last time I had a question for a script that used Eto engine for the interface. https://discourse.mcneel.com/t/script-selection/42635 In the meantime I came across another Python...
View ArticleDomain of a curve
@onrender wrote: Hi, I think the documentation of CurveDomain () has not been concise. What does "domain" stand for in this context? Is it the ID of the curve? Posts: 4 Participants: 4 Read full topic
View ArticleRhino scripting or Python for this?
@MAD3D wrote: Hi I have been using Macro commands and I´m very happy with it´s simplicity, BUT I guess it has it´s limitations.I have several points in my file and I want to run the command...
View ArticleActivate Selected element Layer
@MAD3D wrote: Is there any fast solution to select some element and activate it´s Layer? Some script or something that will automatically activate the selected element layer?Thanks Posts: 1...
View ArticleReturn selected layer?
@wynott wrote: I want to make some buttons for setting layer color with one click to either a random color or some common colors I use... Like almost black (1,1,1) etc. Is there a way via script I can...
View ArticlePoint cloud vertex color
@Shimon_Regev wrote: Hi ! Does any one knows of a way /script to assign vertex color to a point cloud ? Thank youShim Posts: 7 Participants: 3 Read full topic
View ArticleAccess vRay frames list in rhinoscript/python
@Paolo_Acampora wrote: Hello everybody, I am new to Rhino and to this board, but you guys have already helped a lot with my scripts in the latest days I am using python to write a render submission...
View ArticleRhino Update code no longer working
@Jack_Perry wrote: Hi, I have been able to run my script just fine until running the Rhino update. I am using Rhino WIP and just ran the latest update. I confirmed that it was the Rhino update that...
View ArticleDisable diffuse lighting
@Jouni_Valli wrote: I'm trying to disable diffuse lighting for a material of an object in a loop and cannot seem to find the method for this. It is the tick box setting in the materials pane under...
View ArticleTXT to PY suffix
@Joseph_Culbert wrote: If I copy he text of one of Helvetosaurs PY scripts, then paste it into a Notepad and name it, how do I change the suffix from .txt to .py so it will show up in Rhino when I...
View ArticleRhino script exceptions or bug?
@onrender wrote: Hi, Today I tried to repeat a python script by Jose Sanchez on Vimeo https://vimeo.com/29321808 and I found a bug in rhino script. The script actually works with any numbers except...
View Article