Mesh Segmentation
I need to segment a mesh for laser processing. In areas with high Gaussian curvature, I plan to divide the mesh into small regions, while in areas with low Gaussian curvature, I want to create larger...
View ArticleMesh Brep Maximum Edge Length Bug
MeshingParameters.MaximumEdgeLength does not seem to prevent edges from being longer than this value. Here is an example of a model on which MaximumEdgeLength fails: meshBrepBug.3dm (1.0 MB) I have...
View ArticlePlugin Data Guidance
Is there any guidance on reading/writing a growing amount of plugin data? I’ve gone over some of the code in the samples repo →...
View ArticleXceed.Wpf.Toolkit in Rhino
Hi, Do you have any plans to upgrade the Xceed.Wpf.Toolkit in Rhino? You are using 3.6, and it creates conflict if when we use a new one. The oldest available in nuget is 3.8 and it is about 2020....
View ArticleHow to get the curves delimiting a trimmed surface?
My understanding of trimmed surfaces (from this post)is that they are defined by a surface and one or more curves that tell Rhino to hide some parts of the surface. My question is, Is there a way to...
View ArticleEto.Forms.Panel, IPanel Size does not work
sphereneRHINOPlugin.cs (6.0 KB) I desperatly trying to give my Panel a minimum initial size (When first opening) but Rhino does not get it. I uploaded my c# plugin code. I open the panel through...
View ArticleRhino C++ SDK / OpenNurbs in Package Manager
I have a Cpp lib that some of my C# Grasshopper plugin used and shared. Now I want to add support to macOS, and it seems I need to also compile it on macOS for macOS. As a windows user, this also...
View ArticleC# script - use Command-Class - best practice
// #! csharp using System; using Rhino; using Rhino.Commands; using Rhino.Geometry; using Rhino.Input; using Rhino.Input.Custom; using Rhino.DocObjects; public class AddLineCommand : Command { public...
View ArticlePlugin creation creates bad toolbar, overrides existing
A month or two ago (I’m not sure which version of R8), I was able to include a toolbar’s .rui file as a project resource and build the project into a plugin without any problems. The .rui file would...
View ArticleHow do you use the "RadioButtonList" id to switch between layers?
“xuan_xiang_win.SelectedIndexChanged” Is it wrong that I want to use this method to monitor id changes and update different layers #! python 3 # -*- coding: utf-8 -*- import Eto.Forms as ef import...
View Article[Rhino Compute] Having multiple users compute at the same time
Hi all, We’ve developed a webapp based on initial repo and on a rhino.compute server hosted on Azure, with default settings for now. I’ve been noticing that we get a lot of latency, often ending in...
View ArticleYak not respecting .NET targeting
Hi @will , I spoke to @menno at the London Dev day about an issue I am having with Yak and he recommended I tag you. I have come across an issue where Yak is not respecting the original folder layout...
View ArticleDXF group codes
Hi, I am strugling converting textile patterns formats. I would like to write a script that can convert my file to the ASTM (new AAMA) format for textile cutters. I need to know first how to properly...
View ArticleImport invalid mesh and save its data
Hi, I meet an werid problem in RhinoCommon I drag an invalid (with non-manifold vertices and edges) triangle mesh .obj file into UI to import. when I picked it, it shows pMesh->IsValid = true. I...
View ArticleConnecting GH definition to Rhino Compute server
Hello, I am testing Rhino Compute and Grasshopper definition, but I could not make the server load the GH definition. My server setup and GH definition are extremely simple. Could anyone please let me...
View ArticleImport a valid mesh turns out mesh invalid
Hi, I import a valid mesh into Rhino, but its vertex count is increased and become invalid: MeshRepair can not fix this problem, why did this happen? Here is the mesh file:...
View ArticleCurve.Offset returns null
I can’t figure out how to offset this curve using Rhino Common. When I offset it in Rhino, everything works fine, but curve.Offset fails. This file contains the curve and the direction point used...
View ArticleDisplay "(varies)" in NumericStepper
How can I display (varies) in a NumericStepper like it is done in rhino when several objects are selected that have different values. Since (varies) is a string I cannot supply it as the Value to...
View ArticleC# equivalent of Isolate
I thought this would be something really easy to dig up in a Google search but I’m not finding anything. Basically, I want to iterate through all solid polysurfaces in a model, isolate them one at a...
View ArticleVisual Studio Source warning
I am developing my own plugin using VS2022 and rhino 8. I get this warning in the beginning when I launch rhino via play button from VS: … I just click cancel and nothing happens, but it’s annoying...
View ArticleCheck what plugin version was used to create a .3dm?
Do 3dm files keep track of which plugins and their versions where used when saving a 3dm file? This is separate from using a document or user data major and minor versioning, but to do with the actual...
View ArticleDeveloping a custom curve object
I am planning to work on a custom curve object that is composed of only lines and arcs. I would like to develop something that allows for easy modification of this kind of curve, for example, moving a...
View ArticleTracking users (anonymous) shopify app embed
Hi! Not sure if this topic has already been discussed here, but here it goes: We’re looking for a way to anonymously track how users interact with our Shopify configurator. We’re currently using...
View ArticleSystem.AccessViolationException at Curve.ToNurbsCurve()
@dale @stevebaer @andyopayne I am running a rhino.compute project on Kubernetes and I am encountering the error System.AccessViolationException at Rhino.Geometry.Curve.ToNurbsCurve(). I am using...
View ArticleTransform Angles
I’m trying to get angles from a plane using either GetEulerZYZ, GetYawPitchRoll and GetQuaternion. This is to set work planes to a robot (I’m using robotdk) and at this point I don’t know which method...
View Article