Converting variable to string
@juancarreras wrote: How can I convert a variable value to a string so that I can include it within the strMessage with the "print" statement to display it in the command line ?Rhino.Print...
View ArticlePlatform.python_version() fails
@fabian wrote: I stumbled across this when trying to load an external library (ifcopenshell):calling platform.python_version() fails, throwing an exception: import platform print...
View ArticleUsing Wscript object in rhinoscript
@tobias wrote: Hi scripters,I'm trying to use the WScript.Timeout function to terminate the execution of a script after a certain time (in sec) but I cant figure out how to get an instance of the...
View ArticleRS - get current plugin command
@KeithR wrote: Is it possible to get the current plugin command which is running - I am trying to collate the most used commands of my plugin. Thanks,Keith Posts: 3 Participants: 2 Read full topic
View ArticleRhino Python Editor - Connect to database
@NowMe wrote: I have been working with python scripts in rhino for a while now and got used to saving data to .CSV files or .CFG using configparser. It works for small projects but I find it a bit...
View ArticleHelp! SplitBrep issue
@daizhuo wrote: Hi, guys, I don't understand what's going wrong in ' rhinoscriptsyntax.SplitBrep (brep, cutter, delete_input=False) ', pls help me! Thanks for ur replying ! my code: import...
View ArticleRhino V6 COM-Interface and RVB
@eddi wrote: Hello,in RhV6 (Windows) access through COM-Interface and standard *.rvb is further supported ?Thanks Posts: 1 Participants: 1 Read full topic
View ArticleLoading .rmtl files and assigning materials to objects
@cyl wrote: Hi, I am looking for any hint to the following two-step task using PythonScript :1. loading an .rmtl file (as e.g. rs.Command("_RenderLoadMaterialFromFile MyMaterial.rmtl"))2. assigning...
View ArticleRunning scripts from PyCharm on Mac
@jjpr wrote: I've found a way to run Python scripts from PyCharm in Rhino for Mac. CAVEAT: This is a hack. It may not work in the future. McNeel has provided us a way to run Python scripts in Rhino...
View Article[BUG?] Rhinoscriptsyntax forgetting some functions after instaling RH6 WIP
@Angel wrote: Hi there! I've noticed how after installing the last RH06 WIP (Windows 10 here) I'm losing some rhinoscriptsyntax functions (per instance rs.GetInteger()). I don't know if it's directly...
View ArticleImage to pointcloud script not working correctly on Mac
@Helvetosaur wrote: The script below creates a color pointcloud from a bitmap image with one point=one pixel. This runs perfectly on Windows, even with fairly large numbers of pixels. However, on Mac,...
View ArticleCould use the Python object data methods
@DanBayn wrote: Hi @Alain, Any possibility of getting the following methods implemented in Python? SetObjectDataGetObjectDataDeleteObjectDataIsObjectData Or is there another way to do this for us...
View ArticleRS - open new template "Small Objects - Millimeters.3dm" ( all languages )
@KeithR wrote: is it possible to script open new template "Small Objects - Millimeters.3dm"- for all regional languages ? thanks,Keith Posts: 4 Participants: 2 Read full topic
View ArticleOpencv in Python scripts?
@francos wrote: Hello, the opencv library has some intersting features that can be useful for a Rhino's user. (photogrammetry , 3d geometry reconstruction, pose estimation etc.).I know that some...
View ArticleHow to script text objects
@cyl wrote: Hi, In order to render text, one can build text objects using cmd as cmd =...
View ArticleRs.DocumentPath() returns different results Windows-Mac
@Helvetosaur wrote: In Windows, rs.DocumentPath() returns the path plus the filename.On Mac, rs.DocumentPath() returns just the path, without the filenameThis obviously can create problems for...
View ArticleScripting rail styles
@cyl wrote: When using the graphical interface, it is possible to select styles for rail in Sweep1 (for instance "Roadlike Top")In RhinoScript, rs.AddSweep1() does not allow that style option.I tried...
View ArticleRun script with arguents
@Hughes_Tooling wrote: Is there any way to pass arguments to the main function when you run a script in Rhino. Thanks Mark. Posts: 9 Participants: 4 Read full topic
View ArticleVB Sweep2 Null Arguments
@HeadArt wrote: I've been trying to run the AddSweep2 function in RhinoVB with a fixed height. However, arrStartPt and arrEndPt are optionally required before this but seem to generate an error when...
View ArticleScripting material files .armaterial
@cyl wrote: Hi,I need to build materials files from scripts and I did not found any way for .armaterial.Rhino materials files .rmtl are XML files which can be built from scripts.Where is it possible...
View Article