Webimport rhinoscriptsyntax as rs import Rhino.Geometry as rg from lattice_module import Lattice import random random.seed(0) # used this seed for early simulations 'vwvwvwvwvw' objects = rs.ObjectsByLayer('Default') rs.DeleteObjects(objects) stiffness = 0.03 # standard value 0.05 start_bonds = 5.0 pipe_radius = 0.1 frames_before = 50 frames_middle = 50 … WebOption Explicit 'Script written by Luis Quinones 'www.luisquinonesdesign.com 'Script version Wednesday, June 08, 2011 6:18:01 PM Call Main() Sub Main() Dim i For i = 0 To 360 If i = 20 Then Dim m For m = 0 To 19 Call Rhino.LayerVisible("Plines"& m,True) Next End If If i = 290 Then Dim x Dim count count = 20 For x = 0 To 19 Call Rhino.LayerVisible("Plines"& …
compas_fea - block_deepbeam
WebTo run this example, download the Rhino file mesh_planar.3dm and copy the code in the Python editor in Rhino. from compas_fea.cad import rhino from compas_fea.structure import Concrete from compas_fea.structure import ElementProperties as Properties from compas_fea.structure import GeneralStep from compas_fea.structure import PointLoads … WebNov 28, 2015 · I organize thing in Rhino by layers and I'm thinking about using GH to be able to 'rebuild' layers (I mean the objects in the layers) automatically starting from objects on other layers. Then I need to get the objects contained in a particular layer. ( That is, in Rhino scripting ObjectsByLayer () ) Is there a way in Human to do that ? making calls on iphone
compas_fea - mesh_discretise
Webfor layerName in rs.LayerNames (): rs.UnselectAllObjects () obj = rs.ObjectsByLayer (layerName) if len (obj)==0:continue rs.SelectObjects (obj) #exportFilePath = … Webimport rhinoscriptsyntax as rs pick = rs.GetCurveObject("Select curve to extend") point = rs.GetPoint("End of extension") domain = rs.CurveDomain(pick[0]) if abs(pick[4] … WebOct 5, 2010 · strLayer = rs.ObjectLayer (strObject) Py_Res = rs.ObjectsByLayer (strLayer, True) Simple baking: import rhinoscriptsyntax as rs rs.AddPoint ( (0,0,5)) Supplying non-textual arguments is something on the list. For now, only textual input is possible. - Giulio ________________________ [email protected] McNeel Europe, Barcelona making calls to mexico from usa