Quantcast
Channel: McNeel Forum - Latest posts
Viewing all 217044 articles
Browse latest View live

My rhino is not responding

$
0
0

i have a rhino 6 onn a windows laptop core i7, and it’s been going not responding for 4 days now, i have enough storage and everytime i work on it it doesnt save and then goes not responding… i uninstalled it and reinstalled it but still did not work!


[REQ] Proper render mesh getter

$
0
0

@stevebaer @dale @pascal guys i’d like to submit a request for proper mesh getter this what I have to do in RhinoCommon becomes total nonsense to get just the render mesh could somebody tighten up some method to actually give the final render mesh of object?

Tell me guys why CreateMeshes can end up without any mesh to avoid it i went using GetRenderPrimitiveList to receive meshes after displacement but even if in v5 this works in v6 when i try to force make them RhinoViewport.DisplayMode.ShadedPipelineRequired has to be true but in v6 display modes are null and again need to look for them elsewhere and there’s no guarantee that user has Shaded mode so i can get crash and i can’t make it on my own since it needs object on C++ side and DisplayModeDescription constructor is private.

Would someone in your team be so kind to create straight forward method to get RhinoObject mesh with 100% success rate - I mean if there’s no render mesh make it and make it with modifiers like most of using people using this method would expect from render mesh - full finished render mesh without making 20 workarounds to be sure that i will end up with Mesh[] of object not null?

Ring! Help!

$
0
0

Hi Kittycatg,

as others already mentioned (at length :upside_down_face: :wink:) your problem isn’t so easy to understand. The sketch is can be interpreted in different ways.
Here is one; (the overlaps could be done with more care, I guess…)

here is a tutorial:

how to

_circle:


_pipe:

_sphere:

_plane:

_rebuild:

_gumball transform:(https://www.youtube.com/watch?v=vWPT7VEWBzo)

_sketch:

_trim:

more rebuild and gumball


_offsetSrf:

_FilletEdge:

arrayPolar + gumball:

My rhino is not responding

$
0
0

Run the SystemInfo command in Rhino after starting Rhino. Post the results here.

Cycles emissive materials interact strangely with Rhino glass

$
0
0

That is because your Cycles Emissive material has the Hide checkbox selected.

Not sure what is causing that. I’m guessing somehow shadow from the object with the glass material. I think the Cycles Emissive material should be set to ignore shadow rays.

No, I use a C# version of the material. The code for it is here: https://github.com/mcneel/RhinoCycles/blob/rhino-6.x/Shaders/RhinoFullNxt.cs

You can create your own Cycles XML materials using the GhShaderNodes Grasshopper plug-in. The GH definition I use for this is https://github.com/mcneel/RhinoCycles/blob/rhino-6.x/conversion/rhino_full_shader.gh , but you’re probably better off creating yours from scratch.

Average sun path

$
0
0

Hi limpideyessalmon,

are you sure that “amount of direct sunlight to building for a year” is the same as a single day with average sun position(multiplied with 365)?

[REQ] Proper render mesh getter

$
0
0

Works without having ever been to a shadede or rendered mode.

Here a quick Python script:

import scriptcontext as sc
import Rhino

ml = list()

for o in sc.doc.Objects:
	p = o.GetRenderMeshParameters()
	obrefs = Rhino.DocObjects.RhinoObject.GetRenderMeshes([o], True, True)
	mainmesh = Rhino.Geometry.Mesh()
	for obref in obrefs:
		obm = obref.Mesh()
		mainmesh.Append(obm)
	ml.append(mainmesh)

for m in ml:
	sc.doc.Objects.AddMesh(m)

Transforming a grid of various Geometries

$
0
0

Oh interesting. I thought the Python would have been shorter though and wanted to learn the code for the increments since I suck with coding. Thank you though! :smiley:


VisualARQ 2 - Version 2.6 released

$
0
0

Hi @Tomek_Wloga and @jerry.bakowski,

We have fixed some of the errors what you reported here:

  • Wall layer thickness on walls with windows inserted and wrappings enabled.
    image

  • Curtain wall extension to bottom objects:
    image

The missing glass partitions may be fixed as well, but we need your file in order to test it.

Regarding the missing support in the extended cells, you’re right, this feature hasn’t been implemented yet. It is working fine for the frame object, but we have yet to implement it for support. We have added it to our wish list, so I think it will probably be fixed for VisualARQ 2.7.

Here is the latest build of VisualARQ 2.6.1 for Rhino 6:
https://visualarq.s3.amazonaws.com/download/visualarq-2.6.1.13578-rhino6-setup-snapshot.msi

Please try it and let us know if ti works.

Thanks,

Enric

Cycles emissive materials interact strangely with Rhino glass

$
0
0

Thanks Nathan, I will look into those things.

If the darkening is due to the shadow rays and you change the material settings…

could you have it as a checkbox so I can use that feature when it helps me?

I might try using a texture to apply “heat gradients” to my material and then I wouldn’t need a hack (or a side-effect) to get the behavior that I want.

The emissive object that I’m modelling is glowing because it’s hot and some parts are colder than others. At least, that’s my head canon. The truth of the matter is that I lucked out with the darkening effect :wink:

Using Cycles + HDRI texture for illumination got me 90% of what I wanted with 0.001% effort. I suspect that the final 10% will take a bit more work.

Average sun path

$
0
0

What does “average” sun path mean? Average over summer and winter? Try that in Alaska!

Ladybug aside, here is a simple model for sun path. On the ‘Winter|Summer’ slider, zero is winter, 0.5 are the equinoxes and one is summer:


sun_path_2019Nov9a.gh (10.1 KB) (DEPRECATED, see below)

P.S. Sorry, I messed up instead of ‘±tilt angle’, I used ‘±tilt/2’. Fixed in version ‘b’ below:


sun_path_2019Nov9b.gh (10.1 KB)

I realize this is overly simplistic.

Modify Object Attributes (Rather Than Baking with Attributes)

$
0
0

Hi everyone ( and I guess more specifically @DavidRutten) !

I know there are gh components that can bake objects with attributes. What I want to achieve is to directly modify the object attributes from gh.python. Something like:

scriptcontext.doc.Objects.ModifyAttributes(objref, attr, False)

It seems that grasshopper only reference to geometry. So I tried to use rs.getObjects directly in GH.python, and it is of no avail.

Is there any workaround I can take? Thanks in advance!

Average sun path

$
0
0

Yes, I am.

“Sun position” can be indicated as a single line over the year, such as the line from Spring, summer, fall, and winter. So, the average energy which a building gets over the year can be calculated.

For example,

  1. Every 6 am for a year, the sun position is differentiated. But in the curvy line, the average sun position can be indicated as a point.
  2. From the point, the sunlight which a building gets can be calculated.
    -> This will be the average.
  3. Every single hours for a year, the sun position can be represented as point.
  4. So connected these means the average sun light that a building gets.

That’s what I thought.

Any comments are welcome!

Thanks in advance.

Average sun path

$
0
0

I will check it out. Thank you a lot, Joseph!

Does Serengeti (Rhino WIP) come with the 90 day evaluation license?

$
0
0

I’m thinking about buying Rhino for the subd tools it’s gonna have soon, can we try the WIP out having the R6 evaluation license? Thanks.


Average sun path

$
0
0

Please note the correction I just made in version ‘b’, above.

Export Layers to STP/STEP

$
0
0

Moved to Rhino for windows
@christian.deltaglia Welcome to thelogo
Please choose a category so your post gets indexed/tagged for quicker/appropriate response.

Rhino3dm - Python : Add object to File3dmObjectTable

$
0
0

Hi all,

I just discovered the rhino3dm package and I have issues to add objects in a File3dmObjectTable:
I want to read all the objects in my .3dm model and select the ones that are part of the layers given by the user. And then I want to get the bounding box of the objects.
For that, I decided to create a new File3dmObjectTable, to fill it with the desired objects and then apply the GetBoundingBox() method the get what I want. But when I try to use the several Add() methods to the new File3dmObjectTable I always get a TypeError on the arguments.
Does anyone know if I’m not using the methods in the right way, or is it a bug and there is a better way to have the bounding box ?

Thanks for your help!

Here is my code with the Add() method. I tryied also with the AddBrep() one.

def getObjects(model, layers):
    objects = File3dmObjectTable
    for object in model.Objects:
        if object.Attributes.LayerIndex in layers and object.Attributes.Mode == ObjectMode.Normal:
            objects.Add(object.Geometry, object.Attributes)
    return objects

it returns :

objects.Add(object.Geometry, object.Attributes)
TypeError: Add(): incompatible function arguments. The following argument types are supported:
    1. (self: rhino3dm._rhino3dm.File3dmObjectTable, geometry: rhino3dm._rhino3dm.GeometryBase, attributes: rhino3dm._rhino3dm.ObjectAttributes = None) -> object
Invoked with: <rhino3dm._rhino3dm.Brep object at 0x072C6640>, <rhino3dm._rhino3dm.ObjectAttributes object at 0x072C6620>

with the AddBrep() method:

def getObjects(model, layers):
    objects = File3dmObjectTable
    for object in model.Objects:
        if object.Attributes.LayerIndex in layers and object.Attributes.Mode == ObjectMode.Normal:
            if object.Geometry.HasBrepForm:
                objects.AddBrep(object.Geometry, object.Attributes)
    return objects

it returns :

objects.AddBrep(object.Geometry, object.Attributes)
TypeError: AddBrep(): incompatible function arguments. The following argument types are supported:
1. (self: rhino3dm._rhino3dm.File3dmObjectTable, brep: rhino3dm._rhino3dm.Brep, attributes: rhino3dm._rhino3dm.ObjectAttributes = None) -> object
Invoked with: <rhino3dm._rhino3dm.Brep object at 0x07A69620>, <rhino3dm._rhino3dm.ObjectAttributes object at 0x07A69600>

Does Serengeti (Rhino WIP) come with the 90 day evaluation license?

Missing Decal Icon in Rhino 6

$
0
0

Hello, I cannot possibly get the Decal icon to appear in the Properties panel. I saw an earlier post where it is said to be linked to render set to Vray but I don’t find this setting anywhere anyway. Could you help ?

Viewing all 217044 articles
Browse latest View live