Getting a custom Panel in Rhino 6 (Rhino 5 method no longer works)
@PNJeffries wrote: I’m updating a Rhino 5 plugin to work in Rhino 6. As part of that, I’m using a custom panel in Rhino as a host for some WPF controls. The following code worked for this in Rhino 5:...
View ArticleForce drawing color in Rhino.NET and RhinoCommon
@lscandella wrote: Hello, in Rhino.NET I was forcing the drawing color with the code: OnColor color = new OnColor(0, 255, 0); RhUtil.RhinoApp().ActiveDoc().Properties().SetCurrentColor(color);...
View ArticleDifferent result when calling BooleanDifference vs...
@nicolaasburgers wrote: Hello! Attached is a 3dm file with 2 breps - a large and a small one. When I call BooleanDifference in the regular Rhino (v5) UI to subtract the small from the large one, it...
View ArticleEto TabPage Autoscroll?
@timkado wrote: Is there a trick to TabPages and scrolling in Eto.Forms? There is no AutoScroll like in WinForms or WPF. When I place a Scrollable control with content the application starts hanging....
View ArticleHow to add a Custom Menu to Rhino
@Lingkon wrote: Hi All, Good day to you. Recently I posted a topic pertaining to How to add a Custom Menu to Rhino? here and I found a relevant topic here, unfortunately the download links are broken....
View ArticleSurface Edge ID
@onrender wrote: Hi, I would like to store the selected surface ID and after a modification of the surface I would like to call it back. Is it possible somehow? Posts: 2 Participants: 2 Read full topic
View ArticleSend key to command line in c++
@suc_kiet wrote: Hi; In rhinocommond I cant send keys tho command line by SendKeystrokes(), how cant I do this in c++ ? who cant give me some sample? Posts: 1 Participants: 1 Read full topic
View ArticleHow to export file step using
@s.branca wrote: I want to export automaticaly a step file using Phyton. I am trying folder = rs.browsefolder() folder = folder+"\name" rs.command( “_-Export " + str(folder)+”.step"+"_Enter") i...
View ArticleC++ eto panel
@tj1 wrote: Hi, I’ve got a C++ plugin, and I’d like to include an eto panel. As far as I know, the eto panels in Rhino don’t have a C++ API, but they do have a C# API. I don’t mind including some C#...
View ArticlePopulate Html UI in Python
@onrender wrote: Hi there, Previously somebody suggested the way of Html UI. I am just curios if I pass values in Document User Text how can I populate a multi column table in HTMLBox? Additionally...
View ArticleColor the mesh form mesh vectors in C++ commond
@yyo942512 wrote: Hi~ I am trying to color the mesh, and RGB represents the three vectors of the mesh. I am trying to understand the sample program in github. I think I need to use...
View ArticleEdge interval
@XNurbs wrote: We use the following code to get the edge interval and whether the curve and the loop lying on the specified face have the same direction (sense). const ON_BrepEdge * prnEdge = …; const...
View ArticleCreate a 3D curve from a 2D curve
@XNurbs wrote: For a 2d curve whose image lies in the surface’s domain, how to create a 3D curve from it? In other words, how to create a 3D curve from the following p2DCurve and srf? ON_Curve*...
View ArticleC# Resource images import
@ricardo.eira wrote: Hello, I have some images on resouce folder on visual studio, I need import some of then for Rhino. I get this image with this command, and return true: Bitmap bitmap1 =...
View ArticleBoolean Failure in RhinoCommon
@gerryark wrote: I am going crazy to understand why this boolean operation fails Using the RhinoCommon routine Brep[] plate_with_holes = Brep.CreateBooleanDifference(Plate_w_holes, BoltList[brp],...
View ArticleObject's transform
@Bighorn wrote: Hi, Is there a way to transform an object without changing its original data? Basically, I get a final transform at each iteration and I want to apply the transform on the object and...
View ArticleExport and redraw?
@ricardo.eira wrote: I have this sample for export multiple .3dm files, and take a preview image from single obj, this code is a example for explain is not correct : doc.Views.RedrawEnabled = false;...
View ArticleHatch Patter list UI
@onrender wrote: Hi there, Similar to GetPrintWidth VB command is there one for Hatches? I already asked before but I prefer a version with graphics. Hatch pattern list Scripting Hello is there way to...
View ArticleRead Transform Matrix of block Instance in FILE3DM
@ChristopherBotha wrote: Hey All, I need to read the transform matrix of block instances with specific names in up to 26000 rhino files… I have successfully manage to read transform matrix previously,...
View ArticleHow to create the control
@XNurbs wrote: Dale, How to add the control marked in the image above? I cannot find the control in VS 2017. Posts: 1 Participants: 1 Read full topic
View Article