CRhinoGet::result GetPoint from thread
@ceruti wrote: I have the problem that I can’t to use the function CRhinoGet::result GetPoint to get the point when it is called from a thread differrent main thread. The function started, but...
View ArticleCurve.Simplify not taking any options besides 0
@shwdehaan wrote: If I run curve.Simplify(64, .1, 1) on any curve, I get this message: Runtime error (TypeErrorException): Cannot convert numeric value 64 to CurveSimplifyOptions. The value must be...
View ArticleRHI Plugin
@ricardo.eira wrote: Hello, I have a problem, I make a plugin, and work well on my pc, but when the same plugin (RHP file) is installed on another pc, I have a problem with some functions that do not...
View ArticleHowto retrieve plugin specific document data
@dsw wrote: Hi i store plugin specific data in a document via the CRhinoPlugIn::WriteDocument event which works fine within the plugin. Now i have a situation where i want to read the 3dm file without...
View ArticleRetrieve filename of imported file
@Willem wrote: Hi, If a user had opened a none Rhino file (eg a stp file) The filename is displayed in the window title: How would I retrieve the info on the imported file. IS that available through...
View ArticleLast command
@ricardo.eira wrote: Hello I have this simple command on C# button: private void button3_Click(object sender, EventArgs e) { MessageBox.Show(“Command Teste”); } Why is this command not saved as last...
View ArticleRhinoCommon C# Plane equation
@savage wrote: The C# Plane constructor with four double arguments (API link) states it “Constructs a plane from an equation ax+by+cz=d.” However, it appears to actually construct a plane for...
View ArticleDuplicateEdgeCurves with index
@onrender wrote: Hi there, I would like to know how to select certain Brep edges by having their index numbers. I have found the DuplicateEdgeCurves command in Python but it duplicates all edges....
View ArticleDuplicateEdgeCurves Method for Polysurfaces [SOLVED]
@onrender wrote: Hi, I tried to use the Brep.DuplicateEdgeCurves Method (Boolean) from Rhino Common but I realized it works for Surfaces only but not for polysurfaces however in Rhino Python the...
View ArticleUnexpected results for GetModelToEarthTransform
@dave_stasiuk wrote: I am getting unexpected results from EarthAnchorPoint.GetModelToEarthTransform. Regardless of the unit system being passed into the method, it is consistently returning...
View ArticleConverting the codebase of a plug-in from Rhino.NET to Rhinocommon
@Andrew_Mole wrote: We have a plug-in which we are looking at updating for Rhino 6. It has quite a lot of code that uses Rhino.NET, and I understand that this is no longer supported, but should be...
View ArticleExporting Block instances as meshes
@saroj.k wrote: Hello, I am writing a rhino plugin to export the rhino file to my viewer, I am able to get the meshes which are polysurfaces in rhino but block instances are missing. How Can I export...
View ArticleON_BrepEdge::Evaluate
@XNurbs wrote: We use the following code to evaluate an edge: const ON_BrepEdge * prnEdge = …; ON_Interval rnCurveInterval = prnEdge->Domain(); const ON_Curve* prnCurve = ON_Curve::Cast(prnEdge) //...
View ArticleDock CRhinoTabbedDockBarDialog
@XNurbs wrote: For the CSampleObjectManagerDialog from the developer samples repository on GitHub, we would like to directly dock the dialog when creating it. I guess this could be done by changing...
View ArticleCreate TCone in c++
@wayne387315 wrote: How can I create tcone by using c++. I have already try ON_BrepCone() and ON_BrepCylinder(). However, they can not make it. Is there any function or idea that I can use to create...
View ArticleRhino/Python Commands
@awm wrote: Hi, I am new to Rhino and Python, and was hoping to understand the limits of how I can change geometry in Rhino using Python. While I was searching for what commands are available I found...
View ArticleUse subprocess to convert txt in another programm?
@flokart wrote: Hi all, i write a g code generator and need to convert .txt to .pgm There is a converter called Winxiso and i try to automate this process of. open converter paste .txt filpath click...
View ArticleExecute C# Code directly in Rhino
@jessen.ch wrote: Hello, I am wondering if there is a way to compile and run C# code directly in Rhino. I know that there’s a C# editor in Grasshopper to do this. But there’s no such an editor or...
View ArticleSurface.IsPlanar tolerance vs. surface type
@spb wrote: Here is an example where larger tolerances are required for IsPlanar to return True for a RevSurface and a SumSurface than their NurbsSurface equivalents. NurbsSurface IsPlanar(0.0001):...
View ArticleCreate my first C++ plugin for Rhino5
@15951991225 wrote: Hello everyone ! I installed VS2010, I followed the tutorial creating first C++ plugin for Rhino5. when I start to debug, It has the problem of the following picture. and I...
View Article