Quantcast
Channel: Rhino Developer - McNeel Forum
Browsing all 8527 articles
Browse latest View live

Correct Content-Type (aka MIME type, media type) for 3dm files

Is there a convention which MIME_type to use for 3dm files? The official list maintained by IANA doesn’t include it. Other sources like this one suggest to use x-world/x-3dmf, but my suspicion is that...

View Article


Image may be NSFW.
Clik here to view.

When PointContainment returns Unset?

Hi, When PointContainment returns Unset? I am checking the point inclusion like this: PointContainment pCon0 = c.Contains(plane.ClosestPoint(pt0), plane,...

View Article


Surface and brep data of the Object

Hi everyone! If an object returns non-null data for “objref.Surface()”, is it possible to return null for “objref.Brep()” ? 2 posts - 2 participants Read full topic

View Article

Display Pipeline and DrawText

I am trying to draw text in a Display Pipeline. This much I have achieved, DrawText takes a TextEntity and a colour. However, this method only seems to draw Text at a Height of 1 and I cannot seem to...

View Article

Image may be NSFW.
Clik here to view.

Trims IsoStatus inconsistency - no South side?

I have a rectangular BrepFace and extract the trims to evalaute the IsoStatus and have noticed an unexpected result. I would expect to see all IsoStatus enums from each side of the face, however South...

View Article


Preview Image

Hi, I’m attempting to create preview images of individual pieces of geometry. Based on other posts here, I think this should work, but it doesn’t: using System; using System.IO; using System.Linq;...

View Article

Reading PlugIn Data from a 'template' 3dm file

I would like to offer the user of my plug-in the opportunity to create a template file that has preferred plug-in specific document settings and other objects already set/created. Then when they open...

View Article

Trigger function on window change

Hi everyone! I want to trigger a function when a window change event happens. For example; the user works in 2 different rhino windows and he switches between two windows, is there any event listener...

View Article


Using Eto in Rhino 5 for Windows

So I have a client who needs a plugin I have written in C# for Rhino 6 to run under Rhino 5. I use ETO for the UI - it’s a single dockable panel – is there any chance of getting this to run on Rhino 5...

View Article


Possible to run rvb in vscode?

is it possible to trick out vscode for rhinoscript like python? ty 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

How to open a specific webpage in system's default browser?

Hi everyone, I’d like to know if I could open a specific webpage by running the system’s default browser, exactly how Rhino’s “Help” command does. I know that a Rhino script like: _Run Chrome.exe will...

View Article

Comparing two numbers algorithm not working c#

Hi. I´m trying to make a simple comparison in a List with ‘n’ elements that has two different types of numbers (6 and 12) List<double> one = new List<double>(); List<double> two =...

View Article

Eto Form: hide textbox and label depending on value selected in drop down list

Hi, I have an eto form that consists of a drop down list and a few other fields as well. How would I make a textbox and label disappear depending on the option selected in the dropdown list? 1 post -...

View Article


Example from RhinoCommon cs -

SampleCsViewportPropertiesETOUI Could somebody tell me where this panel pops up. starting to see how ETO works but got crazy since unable to see the panels of this plugin. complied and installed in...

View Article

ROS2 - RHINO plugin -how to compile? is Cmake an option?

I ma trying to write a rhino plugin that uses ROS 2 code. As ROS 2 code is compiled by CMake i haven’t found an easy way to integrate it with Rhino C++ SDK. Is their a way to compile a Rhino plugin...

View Article


Collapse all layers before a GetLayer?

is there anyway to control “Expand All” and “CollapseAll” before calling GetLayer? 1 post - 1 participant Read full topic

View Article

Image may be NSFW.
Clik here to view.

What UserData method needs to be activated?

Hi all, I followed the sample program and simply replaced its properties “int Weight” and “double Density” to Point3d that are min and max corners of BoundingBox. developer.rhino3d.com Plugin User...

View Article


McNeel: what about an open source branch of the Rhino interface

I don’t know how to categorize this post. Someone else can. I don’t think I’m saying anything controversial. Rhino’s UI is clunky and feels outdated and inflexible relative to most other software. It...

View Article

Rhinoscript EnableRedraw and SetView behaviour change

Hi, I have several Rhinoscripts that are using Rhino.EnableRedraw in order to disable show what my scripts are building and improve performance. I’m also using: Rhino.Command "-_SetView ....." Now I...

View Article

Image may be NSFW.
Clik here to view.

Two "GetObject.CustomGeometryFilter" calls for each object

Hello, I would like to understand (or if this is normal) why GetObject.CustomGeometryFilter is called twice for each object? With a simple test: public class Picker : GetObject { public override bool...

View Article
Browsing all 8527 articles
Browse latest View live