Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Can I pay someone to write me two Python scripts that I need? Both involve selection methods

$
0
0

@jarombra wrote:

Hey, I'd like to commission two Python scripts that I need if someone can offer their services. What I need are described below:

  1. Firstly, a script that selects all objects on a layer that are intersecting with all objects of another layer. The user is prompted for each layer name. For example, let's say a cube on "Layer 01" is intersecting with a mesh on "Layer 02", and I only want to select the cube. With this script running, the user is prompted first for the layer that contains the objects they want to add to selection (e.g. Layer 01, which has a cube), but only if those objects are intersecting with a subsequently designated layer's objects (Layer 02, which has a mesh). In this example, the cube would be selected after running this script, but not the mesh of course. Let's say you had 80,000 polysurfaces on one layer that are overlapping a reference mesh on another layer, but only wanted to select the polysurfaces that touch the mesh -- that's why I need this script.

  2. The second script selects all objects that are in any way visible (from outside the extents of everything in the scene), from any direction. For example, let's say you had 27 cubes, contiguously joined as a 3 by 3 by 3 amalgamation. This script when run would add the outside 26 cubes to the selection, leaving the hidden center cube unselected.

Let me know if you are interested, and we can talk! Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles