Running MeshBooleanSplit from python
@tom_badger wrote: Hi, I am trying to perform the MeshBooleanSplit operation from a python script. When i try and run the program an error is kicked out: Message: unable to convert...
View ArticleGet object dimensions and store them in a list
@tom_badger wrote: I want to write a script that gets an objects max length,width and height. What would be the best way of going about this? Cheers, Tom Posts: 2 Participants: 2 Read full topic
View ArticleSelDup equivalent in python
@Will_Wang wrote: Pretty new to rhino python. Wonder if there is a way to eliminate duplicates. I have a recursion that essentially copies an object along three directions, like a tripod. After each...
View ArticleScript to extract wireframe
@MAD3D wrote: Hi I have this simple script to extract my wireframe, it works fine, but I want to Show surface isocurve be set to "on" in the end of the script.How can I add this? ! _Select _Pause...
View ArticlePython typo: message and title swapped in PropertyListBox
@Michael_Meyer wrote: Hi..., I am playing with Pythons userinterfaces and found that message and title are swapped in PropertyListBox: PropertyListBox(items, values, title=None, message=None) <---...
View ArticleHow to make connection between sphere and wall at certain distance with cylinder
@Anthony_Hamzah wrote: Hi guys, This question is actually related and a continuation to my previous question, which is given in the following link: Connecting spheres at smaller minimum distance with...
View ArticleText Field editing as macro
@scenografi wrote: I want to write a macro to let a objects name be extracted as a text. To do this I have tried to write a command string who uses "object name" in text field option (Fx) but i have...
View ArticleGetting points on circle circumference
@Bianchi wrote: Is there a function in rhinoscriptsyntax that lets one obtain a point on the circle (as in on the circumference of the circle)? Is it stored in the User Text attached to geometry, and...
View ArticleOffset, Perpendicular Line and Array Crv
@Igor_Krupa wrote: Hello, I’m developing some Python scripts and I need help.What I want to achieve is an script which will be a combination of Offset and ArrayCrv.For better understanding I’ll...
View ArticleHow to multiply PictureFrame texture with color value?
@Michael_Meyer wrote: Hi..., I have a PictureFrame (color and transparence texture) and want to tint it with a color value e.g. #FF0000 (red). White pixels should be multilplied by my color value and...
View ArticleSplit/ Trim solids inside a closed curve
@cosmas wrote: Hey guys, Is there a script out there that will trim anything within a closed boundary like a closed curve including solids? Or anything to one side of an open curve? Mitch, I know your...
View ArticleScript selection
@onrender wrote: Hello, I found a demonstration video on youtube that shows a pretty good user interface. Regarding the interface I have found the HtmlBox like a possible interface for python script...
View ArticlePython: How to assign attributes to existing objects?
@Michael_Meyer wrote: Hi..., sorry, me again. Can someone show me the way to assign attributes(with material) to existing objects in Python? # materials are stored in the document's material table...
View ArticleHelp with python recognizing each selected object in a list
@Noah_Medley wrote: Hi! I'm currently working on a project that has to do with generating blocks based on the number of blocks around them. I have a working script that generates the first state...
View ArticleQ : GH Python, Trimmed Surface in, Untrimmed Surface out
@lepli wrote: Hi there, I tried to sort surfaces order and append those to a new list of surfaces.Original surfaces are trimmed, but once appended, turned to be untrimmed surfaces.I guess it is...
View ArticleHow to MergeAllFaces using rhonscript Python objects?
@Darin_Williams wrote: How can one do the equivalent of -_MergeAllFaces, working with rhinoscript objects in Python? I've managed to MergeAllFaces in Python by cheating: rs.Command("-_SelAll")...
View ArticleScript/shortcut - layers with objects
@MAD3D wrote: Hi I need some tips on how can I create a shortcut in order to see only layers with objects.Notice that Rhino has this filter already but I want to be able to assign a key to it. Thanks...
View ArticleContinue macro after script
@MAD3D wrote: Hi I found this RhinoScript that creates center points for the circles, it ´s working fine, but how can I create a Rhino button to run the script and add my macro code after that? This...
View ArticleHide layers in detail with rhinocommon
@BaptisteC wrote: Hi,I didn't find any function in the RhinoscriptSyntax library that allows to toggle the layer visibility inside a detail view. I want to script the _HideLayersInDetail command...
View ArticleSurface Points by Selected with Falloff SrfNormal?
@Alen_Russ wrote: Hello, Does any command to do this function?When I have selected the points on surface, I need to move the selected points with falloff normal by surface. I have used the SoftEditSrf...
View Article