Quantcast
Channel: Scripting - McNeel Forum
Browsing all 5745 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Compare Shapes

@ricardo.eira wrote: Hello, I need compare if one shapes exactly the same as another, same size, same curve, same diameter etc. independent of rotation I need a script that tell me How many pieces do...

View Article


Python - bring forward

@onrender wrote: Hi, Can anybody help me? I couldn’t find the visibility orders in Python. Shall I use Command for that? I would like to change the order of some groups to bring them forward. Posts: 1...

View Article


Image may be NSFW.
Clik here to view.

Ghpython importing self-created modules inconsistent

@lando.schumpich wrote: Hello everyone, i’m stuck hard on a problem with importing self-created modules in ghpython. When i run the exact same code in ‘Editpythonscript’ in Rhino and ‘ghpython’ in...

View Article

Finite line intersection, how to determine?

@Holo wrote: How can quickly I check if a curve intersects with a line that goes from A to B and only check if it intersects between A and B? The LineCurveIntersection intersects with an infinite...

View Article

rs.ComboListBox broken?

@emilio wrote: Hi all rhinoscriptsyntax.ComboListBox() looks broken here in V6. It does not show the list items import rhinoscriptsyntax as rs a = [ 'one', 'two', 'three' ] b = rs.ComboListBox( a )...

View Article


RunScript with python outside of the scripteditor

@Felix1 wrote: i try to run the export command with a pytthon script. If i running the script in debug_mode from the editor it is working fine Rhino.RhinoApp.RunScript(command, True) returns True but...

View Article

rs.Command() within custom python command not working

@joe5 wrote: I’m working on writing some custom python commands for use within Rhino 6 (version 6.2.18065.11031, 3/6/2018) and am running into an issue using the rs.Command(). For example, import...

View Article

Convert VB to Python

@gpetrica001 wrote: hi, I am trying to translate a certain code from vb to python . More precisely it is a circle packing code which can be found her :...

View Article


Associative hatch

@onrender wrote: Hi there, I am thinking what would be the best way to create a tool that provide associative hatches. (I know there is history command but would be better without it as a standalone...

View Article


V6 Bug: coerce3dpoint

@Jess wrote: Hi, this fails in Rhino V6 SR3, worked fine in V5 import string import rhinoscriptsyntax as rs line = "-1.00000000 0.00000000 0.00000000 0.00000000 1.00000000 0.00000000" list_line =...

View Article

IronPython Distribution Question

@stevebaer wrote: Hey @AndersDeleuran, @dan pointed me to a conversation you were having on the dynamo forums with respect to the IronPython distributon. Are you still seeing problems in V6 when a...

View Article

Rhinoscript for DuplicateBorder

@declan wrote: I see Rhino.DuplicateEdgeCurves, but that really functions like DupBorder and auto-selects all edge curves, I’d like to prompt the user to “Select Edge Curves” - is that possible?...

View Article

Print width of lines of a layer

@onlyforpeace wrote: Hy!!! is it possible to change print width or line type of a layer with rhinoscript V6? Posts: 3 Participants: 2 Read full topic

View Article


Modulo question

@ricardo.eira wrote: Hello Guys, I have a question, I’m trying to make a custom module with some functions, I started by doing some testing. modulo.py (287 Bytes) test.py (1.3 KB) So it is, I build a...

View Article

Scripting rhino 6 for materials?

@don wrote: Does rhino 6 work better to script materials? in python script? Is it possible to script the application of a material on à rhino object? echoes my experience that it does not work in...

View Article


Image may be NSFW.
Clik here to view.

Curve domain of reversed curve

@Holo wrote: Hi guys, I ran into a problem with a curve’s domain when the curve is reversed. if I try this example script that adds a point at the middle of the domain then the point is added to the...

View Article

Image may be NSFW.
Clik here to view.

3 or more Sphere intersection

@gpetrica001 wrote: Hi, I’m trying to write a script which basically create a 4 (or potentially 5th) sphere following a certain procedure. I know that there may be easier ways, plus given that my...

View Article


Image may be NSFW.
Clik here to view.

Python script doesn't work correctly in V6

@Hughes_Tooling wrote: I have a script that prepares curves for my wire eroder, it sets the start point and a pause point for closed curves. The script has worked fine in V5 but in V6 the start point...

View Article

RhinoScript "Rhino.ExeServiceRelease" returns 0 in SR4 RC1

@Jarek wrote: As in the subject. Seems like a bug in V6 - all works fine in V5. –jarek Posts: 1 Participants: 1 Read full topic

View Article

Debugging trick : copy guid to clipboard

@Willem wrote: Hi, I do a lot of pyhton scripting and oftentimes I have a script that while debugging halts/crashes Rhino while processing many objects. To find the culprit object I used to print the...

View Article
Browsing all 5745 articles
Browse latest View live