True and False
@0904 wrote: Hi all, It also happens to you as I write: Call Rhino. Command (“command…”, False When I close the parentheses and press ENTER I find this: Call Rhino. Command (“command…”, Falsee) It...
View ArticleScripting service inquiry
@Mike_Burr wrote: Looking to see if anybody knows of companies or individuals are available to discuss a scripting development opportunity. Posts: 1 Participants: 1 Read full topic
View ArticleCustom surface type filter with C#
@Will_Wang wrote: image.png1467x191 30.9 KB Can anyone show me how to do this with C#? I have a list of mixed Polysurfaces and Surfaces. Wanted to get the surfaces only. I know it’s easily done with...
View ArticleGet volume of each object in a file using python
@Rebecca_Napolitano wrote: Hi! I am trying to get the volume of each block in my file (they are extrusions/polysurfaces). I have the following code: import rhinoscriptsyntax as rs tolerance = 170 #m3...
View ArticleProblem with RhinoScriptSyntax
@rani_jadhav wrote: how do i install rhinoscriptsyntax. It is showing me a error Posts: 2 Participants: 2 Read full topic
View ArticleExporting .wrl files with specific parameters
@Rebecca_Napolitano wrote: Hi! I am trying to export some blocks from rhino using python into .wrl format. I know that I can supress the diaglog box in Rhino by doing -_Export and then I can enter my...
View ArticleJoin and Group object selected with selboundary function
@Jan_Feichtinger wrote: Hello! I‘m looking for a script that is Running the following commands : selboundary Join Group ( the joined curves ) Group the closes curve and the group of joined curves It...
View ArticleRhinoCommon Curve.Fit with degree 1 curves
@Helvetosaur wrote: Hi all, Noticed this while trying to script something like FitCrv to work on a polyline. The Curve class has a Fit() method that is inherited by other subclasses, including...
View ArticlePython ExplodeBlockInstance not working as expected
@bjornsyse wrote: Hi I’m trying to use rs.ExplodeBlockInstance(object_id, explode_nested_instances=False) with this second argument to entirely flatten a block hierarchy. The documentation for this...
View ArticleRun python script on Mac from command line
@dashan.wang01 wrote: Hello guys, I really have a problem of running python script from Terminal. I have navigated to the /Applications/Rhinoceros.app/Contents/MacOS folder. But the command line below...
View ArticleAccessing all data from referenced rhino geometry
@Amartuvshin_Naranger wrote: Hello, I have been using grasshopper for quite some time and decided to learn scripting. However, it’s relatively new field for me and still lacking a lot of knowledge. I...
View ArticleOnCancelScript
@0904 wrote: Hi all, How can I cancel a command of a RVB file? I have used method: OnCancelScript But in some cases it does not work kind: rhino.AddLine rhino.GetPoint, rhino.GetPoint After the first...
View ArticleBrep preview mesh density in display conduit
@clement wrote: Hi there, when i draw a brep in a custom display conduit using args.Display.DrawBrepShaded(brep, mat) how can i control the mesh density used inside the conduit ? It does not seem to...
View ArticleQuestion of RebuildSurface in rhino script(about retrim option)
@jinwook_Kim wrote: Hi everyone, In the script, different with Rebuild surface in Rhino 5, there is no option for retrim. So I searched about this in forums, there was one topic which use command for...
View ArticleETO detect Ctrl KeyDown on button.Click event
@clement wrote: Hi @dale, @curtisw, I am trying to detect when a user clicked on a button while the CTRL key was pressed. In WinForms this can be done like this in the button.Click event: def...
View ArticleExtract Surface - Python
@onrender wrote: Hello, I would like to create a Python script that extract one planar surfaces from a 3D object. I realized that ExtractSurface requires a “face_indices” parameter that is a list or a...
View ArticleNecessary to uninstall all Python versions other than Rhino's?
@Helvetosaur wrote: Hi there, Have a problem with an installation where Python 3.6 has been installed on a computer and Rhino/Python fails to find the rhinoscriptsyntax modules. You get the message...
View ArticleExploding RhinoCommon HiddenLineDrawing segments
@Helvetosaur wrote: So once I have computed my HiddenLineDrawing, I have a collection of segments which are stored in .Segments… hdp=Rhino.Geometry.HiddenLineDrawingParameters()...
View ArticleCalculate Roll, Pitch, Yaw from a normal vector
@Nguy_n_Qui_Lam wrote: Hello everyone, I have a Fanuc Robot ARC MATE 100ic.I have a normal vector N= (0.963665164640684, 1.27688742042028E-09, 0.267113179117099). My questions is, how can I calculate...
View ArticlePrintDisplay and DisplayOrder questions
@clement wrote: Hi, i am using the DisplayOrder attribute of some hatch objects to avoid z-fighting and control the display order of overlapping hatches. So far this works fine (V5) when _PrintDisplay...
View Article