The "intersection" command again


#1

Intersection command has been treated several times in the past.
In the last 2 years I think this command may have caused a Rhino crash at least 4 times a week (I know … it’s so much)
The problem is not so much the crash, but rather that it is not predictable.
I took the habit of saving the file before using intersection.
I often open an empty file where I cling the surfaces to be intersected, then copied and pasted into the initial file.
But sometimes the crash occurs equally. Often executing the command with many objects in the scene, Rhino crashes, forced exit is the only solution. Then restarting Rhino and repeating the command with the same objects, the intersection goes well …
In the past files were sent where the problem did not appear on the developer machines (not even after I restarted Rhino) or the problem was simply nodes that coincided with the intersection.
A definitive solution to this problem would be useful.
Thank you.

Simon


(John Brock) #2

Are you intersecting “bad” objects?
Command: SelBadObjects
Are you running with CheckNewObjects turned on so you know when you get a bad object and can fix it?

What problem are you trying to solve by running Intersect between many objects at one time?


#3

Hi John
No, I’m not intersecting bad objects,
I have explained badly, generally the intersection concerns 2 objects (2 surfaces or a surface and a curve) but with many other objects on the stage (in this case about 400 curves, 400 surfaces, 1 extrusion). The file can not be shared.
The aim is to obtain points or reference curves.
I attach a sample file to the last case presented yesterday (but as already written has already been done in the past without results)
Using “intersect” on these two surfaces with other objects on the scene, Rhino stuck. After a forced exit and a restart of Rhino, the command worked perfectly.
In practice (my feeling) it is as if Rhino had accumulated a limit memory amount and that the itersect command overcomes causing Rhino’s crash.

itersect.3dm (199.6 KB)

Software information

Software versions
Rhinoceros version: 5.4 WIP (5E92w)
Rhinoceros path: /Applications/RhinoWIP.app
IronPython version: 5.1.2015.131
WIP expiration: 14 luglio 2017
Language: it
macOS version: Versione 10.12.5 (Build 16F73)

Plug-ins
/Library/Frameworks/3DconnexionClient.framework/Versions/A/3DconnexionClient

Third party kernel extensions
com.logitech.manager.kernel.driver (6.40.1) C1D41FB7-7A01-38E3-A769-65B1DE65B0FD
com.3dconnexion.driver (10.4.3) CDD8E81B-F6DA-3673-B781-9AB464363E29
com.kairos.driver.DuetDisplay (2) ACE0314B-69A7-3100-9155-3B4B6C96B2EC

Hardware information

Computer hardware
Hardware model: iMac13,2
Processor: Intel Core i5-3470 CPU @ 3.20GHz
Memory: 32 GB
Architecture: Intel 64 bit

Video hardware
Graphics: NVIDIA GeForce GTX 680MX 2048 MB
Memory: 2048 MB
Screen size: 2560 x 1440
Displays: iMac (109dpi 1x)

USB devices
Apple Inc.: Bluetooth USB Host Controller
Apple Inc.: FaceTime HD Camera (Built-in)
Inateck USB to SATA3 Bridge: Inateck Generic USB Device
Lexar: WorkflowD512
GenesysLogic: USB3.0 Hub
3Dconnexion: SpaceMouse Pro

Bluetooth devices
Sconosciuto:
Apple: Apple Wireless Keyboard
Apple: Apple Wireless Trackpad

OpenGL information

OpenGL software
OpenGL version: 2.1 NVIDIA-10.17.5 355.10.05.45f01
Render version: 2.1
Shading language: 1.20
Maximum texture size: 16384 x 16384
Z-buffer depth: 24 bit
Maximum viewport size: 16384 x 16384

Implementation settings
Use texture compression: Yes

Appearance settings
Antialiasing: 2x
Mip map filtering: Nessuno
Anisotropic filtering: Nessuno


(David Cockey) #4

Are you selecting all the objects to find the intersection between two objects? If so that may be the cause of the slowness because of the very large number of possible pairs of objects which intersect.

Does Rhino for Mac have the IntersectTwoSets command? It is a command in Rhino for Windows. t can be used instead of Intersect when the objects can be separated into two sets with only intersections between objects in different sets needed. IntersectTwoSets works much quicker than Intersect for large numbers of objects.


#5

No, as I wrote the iteration is between two objects only.


#6

fwiw, i’ve had a freeze or two since the mysterious intersect freeze was thought fixed… it’s definitely happening less often than before but i still do a save just prior to running Intersect since there’s a possibility i’ll be force quitting.


(at non-mac users-- this has been going on for a few years… Intersect can freeze rhino even with very simple intersections of two objects… say, two lines… no one has been able to come up with a set of steps or a file to show the behavior (that i know of)… it appears to happen randomly and requires a force quit of Rhino to get out of it… upon relaunching, the intersect will work fine.)


#9

Yes Jeff, unfortunately it is just like that.


#10

I’ve seen that too.

Philip