Extrude from an open and non-planar Polysurface
@leex wrote: Hi guys!I wrote this macro for Extrusion. I almost completely automated the process. Except for _MoveWhat can be added in order for the "extrusion cap" to automatically moving to the...
View ArticleEto Dialog() vs Form()
@onrender wrote: Hello, Could anyone help me? I got stuck with Eto, I have found two scripts.One is the Official one from Dale; Script selection Scripting Hello, I found a demonstration video on...
View ArticleCheckedListBox vs CheckListBox
@onrender wrote: Sorry, I have just pointed out that in the System.Windows.Forms they are talking about CheckedListBox and in Rhino it is CheckListbox? Is there any particular reason why the name is...
View ArticleResults of Rhino.Geometry.Intersect.Intersection.SurfaceSurface(surfaceA,...
@MarcusStrube wrote: I have two questions about the results when intersecting surfaces: rs, curves, points = Rhino.Geometry.Intersect.Intersection.SurfaceSurface(surfaceA, surfaceB, tol) When...
View ArticleTo make another layer current, perform a task and return to the original layer
@cosmas wrote: Hey guys,The macro to change the current layer to another specific layer is! _-Layer _Current "xxxx" To do this and run the detail command (as in Layout Detail) you would…! _-Layer...
View ArticleConnecting spheres and surrounding wall at smaller minimum distances with...
@Anthony_Hamzah wrote: Hi, I am trying to connect a cluster of spheres with a wall surrounding it. However, only the closest spheres are to be connected at the following criterion: gap = cylinder wall...
View ArticleBeforeTransformObjects Event
@clement wrote: Hi @dale, i am trying to get the objects which are transformed using an BeforeTransformObjects Event handler in Rhino 5 SR12. Below code toggles the event handler: import Rhino import...
View ArticleFinite Element Analysis - element connectivities
@Peter_Novysedlak wrote: Hi there,I would like to build a small finite element code for linear elasticity problems into Rhino interface. In usual formulation of FEM, the finite elements (poly/lines,...
View ArticleHow to get size (diamater) distribution
@Eric_Gbadam wrote: I would like to create a script that will loop through the domain(see attached) and get the size (diameter/bounding box) for each shape. Any help would be appreciated. Eric...
View ArticlePython "RegistryKey" not working, How to get Rhino registry keys?
@AleksandarSM wrote: Hello, In the offline Rhino IronPython help file there is 'RegistryKey' command with example but this command is not recognized in the editor Online documentation does not contain...
View ArticlePython - changing display mode of all views
@Jack_Perry wrote: Hi, I've recently found a snippet of code online here: https://discourse.mcneel.com/t/change-all-detail-view-display-modes/36399 And I've attempted to copy the final version into my...
View ArticleHow can we do modelling works when running a 'backgroud' script?
@Jack_Zeng wrote: Hi all, I am wondering, is that possible to have a 'background script' running when we are doing some modeling works?For example, in the RhinoPythonPrimer 101, Page27, there is a...
View Articlers.OsnapMode not work in python
@Alen_Russ wrote: rs.OsnapMode( mode=256 ) is End in python help,but it doesnt work in rhino Version 5 SR13 64-bit(5.13.60913.21340, 9/13/2016)Commercial How can I do? Posts: 3 Participants: 3 Read...
View ArticlePreview order logic / Display pipelines
@PaulPoinet wrote: Hi all, I am currently developing (or trying to develop) a sort of user interface in Rhino/Grasshopper that let the user display the hierarchy of the layer table from a layer source...
View Articlers.ViewNames(return_names=True, view_type=1) in order
@socken wrote: Hi all, I don't know if this is found in any other topic.But if I'm correct the rs.ViewNames() returns the views in a list as they are created.Is there a way to sort them in the order...
View ArticleWhere can I learn ScriptContext's functions?
@RetroPost.LT wrote: Where can I learn ScriptContext's functions?I can't find it in "rhinocommon.chm" and "rhinoscript help" Posts: 2 Participants: 2 Read full topic
View ArticleCalling different functions from a single python file
@Tim_Williams wrote: Looking for a better way to do this: I'm trying to create a Toolbar Menu Dropdown with preset layers. I have about 100 of these buttons, each loading just one layer of choice....
View ArticleGetting list of delegate function names appended to an event
@clement wrote: @stevebaer, when i added my own behaviour to an event using eg. something like this: scriptcontext.doc.ReplaceRhinoObject += MyDelegateFunctionName is there a way to receive all...
View ArticleSplitMeshWithCurve - python
@Peter_Novysedlak wrote: Hi there, I am unable to find the command SplitMeshWithCurve in both rhinoscript and Rhino app. And also more basic commands and advanced commands operating with meshes...
View ArticleCameraline
@cosmas wrote: Hey guys, I have a script called Cameraline(RhV4).rvb that I got from Thomas Anagnostou’s www.rayflectar.com/Rhino/RhinoScripts-Gallery.htm a while ago, maybe a few years ago. It is...
View Article