Creating a .net API advice?
@ivelin.peychev wrote: I searched a lot but could not find a good explanation or tutorial on creating a dotnet API from scratch. I only found tutorials about Web APIs and Java Apis, things I am not...
View ArticleC#_Read from Instance Definition and Extrude Curves
@obhagwat29 wrote: Hi all, I am trying to extrude the curve from block i have few blocks and those are copied in various places for several time, I am trying to extrude the outer curves of the blocks,...
View ArticleShow/Hide Layer/Properties/etc Panels in C#?
@AxeManGa wrote: Hi. Please excuse me if this is a bit basic, but I have looked for a bit now on the forum, as well as the CS Samples and I cannot seem to find a way to easily turn off the Layers...
View ArticleTangent at kink returns zero vector
@Dani_Abalde wrote: Canvas at 12;22;01.png1604×1445 159 KB I created two nurbs curves and I joined them in rhino, and then I closed them with the Connect Curves component (bulge = 0) in GH. When I...
View Article[c++]How to Create a cage with polysurface
@wzh5033 wrote: How to Create a cage with polysurface image.png1214×576 132 KB Posts: 1 Participants: 1 Read full topic
View ArticleAccess Rhino args[] in a plugin (commandline parameters)
@pekko.kuula wrote: Hi! Rhino can be started with commandline parameters, for example Rhino.exe /nosplash /runscript="-Grasshopper" etc. Is it possible to access these parameters when a Rhino .NET...
View ArticleStoring GLOBAL Strings/Attributes/Custom Data in the RhinoDoc in C#?
@AxeManGa wrote: Hi there. I’ve used other CAD systems which allow the programmatic storage of GLOBAL document attributes. These attributes are document-specific and, therefore, I cannot simply store...
View Article[C++] Dragging a grip without calling NewObject()?
@Pablo_Garcia-Amorena wrote: Hello, I need to move a grip indirectly through an MFC slider. I’ve followed @dale’s SampleMoveGrips to do this. The problem is that it calls...
View ArticleWhat is the difference between rs.IsLine and rs.IsCurveLinear?
@onrender wrote: Hi there, I would like to know if there is any difference between the rs.IsLine and rs.IsCurveLinear python function because it seems both are the same… Posts: 2 Participants: 2 Read...
View ArticleTemporarily enable Osnap dialog
@AMG wrote: Hi. Would it be possible to create a python script that enables the Osnaps dialog temporarily by holding down a button (for example S)? When the same button is released, the dialog should...
View ArticleVector Displacement Maps with IronPython in Rhino
@pdanahy wrote: I am currently working on bringing in the Vector Displacement functions of Mudbox and Zbrush into Rhino and am encountering quite a few issues. The primary issue is in the compression...
View ArticleC4996 error of RhinoOffsetCurve()
@suc_kiet wrote: Hi; I want to offset a curve in c++ with this code: CRhinoGetObject go; go.SetCommandPrompt(L"select curve"); go.SetGeometryFilter(CRhinoGetObject::curve_object);...
View ArticleTemporarily disable selection by rectangle
@software_comas wrote: Rhino 6 SR 17 on Windows 10 I just wrote a quite complex DisplayConduit that allows user to see, select and move some points in the document. I would like to let user move...
View ArticleFree Memory of Previous Outputs of Grasshopper Component
@robin_l wrote: Hello everyone I’m working in a grasshopper plugin that uses native C++ code, which is wrapped and can be called from C# as shown in this example. The results are passed to C# as...
View ArticleLibrary to open/save .3dm files
@mcollareda wrote: Hello, I am new in Rhino. I had an overview of the developer section. I am trying to figure out what I need to start with some simple operations related to .3dm files such as: 1)...
View ArticleEvalglare source-code
@yasmimnithara wrote: hello, I would like to know about the evalglare source-code, where I find it? Posts: 3 Participants: 2 Read full topic
View ArticleHow to load Rhino Script File using C# API (Rhino 5)
@Sarath_Kithiyon wrote: Hi @dale There is any option to load Rhino Script file(.rvb) using C# API? Rhino 5 -@Sarath Posts: 1 Participants: 1 Read full topic
View ArticleIn C++ SDK, can two pointclouds be combined without resorting to...
@Terry_Chappell wrote: I use a Python script to call a DLL that uses the C++ SDK for higher performance. I have large pointclouds that I need to combine. Is there a way to do this efficiently using...
View ArticleRhino document objects are constant
@dale wrote: Question: I’ve written the following function, which appends a point to an existing Rhino point cloud object: bool AppendToRhinoPointCloudObject( unsigned int doc_runtime_sn, unsigned int...
View ArticleHow to create a new RhinoDoc
@pgs wrote: When creating a rhino python script within rhino python editor I have access to the active rhino document at all time. On the other hand, when I import RhinoCommon to CPython using...
View Article