Rotate text object in a circle
@yafimski wrote: Hi, I’ve create a list of text objects in a circle, and now I want to ‘orient’ them towards the center of that circle. As inputs I have: x = text entity list from the ‘Text 3D...
View ArticleUsing a Python script or a RhinoScript to replicate a Make2D command
@jesus.murillo wrote: Hi! I’ve been trying to find a script equivalent of the Make2D command so that I could make more uses of it without the restrictions that the command has. Does such a think even...
View ArticleMesh Point different from Mesh.Vertices
@vincentfs wrote: Hi everyone, I am really confused. I have a mesh whose vertices are different from the point I can see in the UI. I got the orange points by doing the following. But the points do...
View ArticleSelecting objects by type on layer
@shuwei.zhang wrote: When I was looking at using ObjectsByLayer, I noticed there was no option to filter out the type of object. Is there another way to do this while maintaining the layer selection??...
View ArticleUserData OnDuplicate triggered when selecting
@jeffoulet wrote: Hi, When I have some object with some UserData attached to it, the OnDuplicate method is called by simply selecting the object. Is that a normal behaviour? Sample code: protected...
View ArticleMac Rhino6: ViewCaptureToFile does not work
@qiqiustc wrote: Hey, I am writing a script that outputs the current view to file. If I delete the first line of the code at below, the viewcaptureToFile works. Otherwise, the ViewCaptureToFile does...
View ArticleCreate multiple borders on the polysurface?
@rhinoceros.adv wrote: To create borders like photos I have to use the Dup Border Face and Dup Border commands Is there any way to combine those 2 commands? Capture.JPG756×391 15.3 KB Posts: 1...
View ArticleHow to move curve point in python
@hk11 wrote: Hi, I’m trying to adjust curve point by python. But I can’t make it works. Please help me, thanks! import rhinoscriptsyntax as rs import scriptcontext as sc obj = rs.GetObject(“Select a...
View ArticleAvoiding Print Pop-up Window
@andrea.settimi wrote: Hello there! I patched-up a small definition for printing a layout through python (I am fresh-new to coding in Python). Now, at the end, a pop-up window is popping up obliging...
View ArticleMesh repair in python
@Alexandre_Filiatraul wrote: Hi, Do someone know how to replicate the mesh repair wizard into a python script? In other words, I would like to repair a broken (non-manifold, faces intersections, etc.)...
View ArticleExpected IEnumerable[GeometryBase], got Brep
@Bogdan_Chipara wrote: How do I transform Breps to IEnumerable[GeometryBase] ? image.png1826×539 60.6 KB Thank you! Posts: 10 Participants: 2 Read full topic
View ArticleRhino python interpolate curve question
@k.prapasri.megan wrote: Hi, I’m trying to create an interpolate curve through a set points which I also scripted in python. import rhinoscriptsyntax as rs from math import* for i in range (0,100):...
View Article'List' Command
@portermatt33 wrote: Hi, Im currently looking to find the knot vector equations and locations of the command points and such for a Rhino surface, and I believe that the best way to do this would be...
View ArticleHow to make library to import new project
@xiix.xoox wrote: I have a piece of code and I want to reuse it by creating libraries and putting in when making new projects. Can I do that and how? When creating the installation file (* .rhi) can...
View ArticleCannot send code from vscode rhinopython to Rhino
@804301183 wrote: I’m using vscode to write scripts. But when I press F2 to run CodeSender, the Rhino doesn’t response. It just shows “Python script engine has been reset” in the Command line of...
View ArticleTrying to add a point to a pointcloud but gets error, why?
@Holo wrote: Hi guys, I am trying to do a bit more RhinoCommon stuff and keep on hitting the wall… According to the help...
View ArticleIs there a way to turn off the Cplane axis icon while a Python script runs?
@DanBayn wrote: I noticed that EnableRedraw(False) doesn’t hide the Cplane axis. Is there a specific method for doing this?...
View ArticleRhino7. Save as Rhino5, export selected to Rhino5
@leex wrote: Hi all Is there a working script that would save the project from Rhino 7 to Rhino5 And the second script that would export the selected object to Rhino5? Posts: 3 Participants: 2 Read...
View ArticleCoordinate Text block
@f35builder wrote: Does anyone know of a script that will write the XY coordinates for a point to a text block? Here is an example of what I need to do. Thanks xytext.png1140×714 9.36 KB Posts: 1...
View ArticleSQLite in C#
@flokart wrote: Hi all, how can i use SQLite in C#? Or how do i have to add the sqlite.dll assmebly to the c# script component…so i can type. Using System.Data.SQLite etc.? In python it is already...
View Article