[Python] How to get number of columns and rows of control points
@ivelin.peychev wrote: Let’s say I grab a control point and I know the ID of the surface this control point comes from. I realized that control points don’t have UV coordinates but instead they have a...
View ArticleBoundary curve of multiple curves (open and closed)
@llindner wrote: Hi all, I am trying to automatize creating a boundary curve of a bunch of closed and open curves through a python script. I already read a thread about a similar task (RC: Create a...
View ArticleWay to select/insert all block definitions defined on x layer and change them...
@ShynnSup wrote: Hi everyone! I am currently working on a team of a couple of people, utilizing block definitions inside Rhino. I often encounter layers that I do no need, but do not get purged...
View ArticleLabel for object
@sebon wrote: I do not know if it’s possible but I’d like to get a 2d view from a 3d object with the possibility of having a label corresponding to the object as in the example messa in...
View ArticleUsing variables in Rhinoscript rs.Command()
@ckline wrote: What is the syntax for using variables in rs.Command()? Here is a sample of what I have been trying to do: import rhinoscriptsyntax as rs p1 = rs.GetPoint(“First point”) p2 =...
View ArticleNeed help with AddSweep1
@ckline wrote: I’ve written a script to extrude a curve along a path. I pick the path curve, insert a block at the start point of that curve, explode the block so it is a curve, then extrude that...
View ArticleSel crossing with python
@askj92 wrote: hi I need to select some curves. I know the curves are placed on the Xaxis. If i was drawing in rhino i would use the selcrossing command. but i cant find an alternative for it in...
View Article[Python] Live Script
@ivelin.peychev wrote: Can I make a script/command that does calculations all the time until stopped? e.g. pops up a terminal and shows the results of calculations based on some selected object in...
View Article[Python] Example using the Particle Class
@ivelin.peychev wrote: Where can I find an example using the Particle Class? https://developer.rhino3d.com/5/api/RhinoCommon/html/T_Rhino_Geometry_Particle.htm Posts: 1 Participants: 1 Read full topic
View Article[Python] Select objects from script
@ivelin.peychev wrote: Could anyone give me an example how can I select different objects in the active document? I’m not talking about GetObjed() that allows me to select something. I’m talking about...
View Article[Python] question regarding print()
@ivelin.peychev wrote: Hi, This is weird, I wonder if someone can explain it to me. Why is the print() function behavior different when using format or not? a = 1 b = 2 print("Value a: ",a)...
View ArticleSectioning/Contour through a Large Object File
@j.estevenssilva wrote: Hello There, At work we use a batch operation that calls a rhino script (rhino 6) to generate daily 2D sections out of 3D models. In general the script works very good for...
View ArticleRs.command for offsetting polyline
@sumuk wrote: Hi, Greetings!! I was working on offsetting the below cad profile image.png1190×506 4.02 KB The offset i expected was (need solution which is fully automated in python),...
View ArticleNeed help on rs.AddBox command
@avanni.gudimetla wrote: rs.AddBox function using python rhino script is not working .An error stating " unable to create brep from box " is seen. The points are seen but the box isnt happening. The...
View ArticleIronPython calculation methods
@samid wrote: Hello, do anyone know why IronPython don’t calculate given integers the proper way? For exact result I has to convert the integers to floats. Posts: 3 Participants: 3 Read full topic
View Articlers.AddEdgeSrf(curve_ids) for more than 4 edges
@satadeep.sinha93 wrote: How do I add a surface from edge curves when I have around 6 edges using function similar to rs.AddEdgeSrf(curve_ids)? @pascal Posts: 3 Participants: 2 Read full topic
View ArticlePoint cloud point selection
@powerpp wrote: Hi, I need a fast way to select points of a pointcloud. In Rhino this can be done with the tool pointcloud -> remove points. Does anyone know how to do this in python / rhino...
View ArticleBlock from external 3DM file without Insert command
@t-munemura wrote: Hi! I want to get a block from external 3DM file without Insert command in python.(Not block instance) Any idea? Posts: 1 Participants: 1 Read full topic
View Article_group with _selwindow doesnt work correct
@simonthamm wrote: I got this script createt in excel an export it by Clipboard to rhino 5. It shuld draw sqares with smal lines and text, group it an duplicate it a several times. But ist does not...
View ArticleZ axis direction of a Cplane?
@Cyver wrote: Hi all, i need to determine in wich direction is oriented my cplanes Z axis For example, i set a cplane on planar curves with Rhino.curvePlane. on pictures we have 2 similar curves, but...
View Article