Jump to content
RockWare Support Forum

Replacing node values in a solid model


Molly
 Share

Recommended Posts

A client recently asked our support team if there is a way to replace null values in a solid model with 0's.

Here's one way:

1. Initialize a new solid model with all nodes set to zero, using the same dimensions as in your existing model. (Solid | Initialize)

2. Select the Solid | Filter | Replacement Filter menu option.

a. Set the Host model to the new, all-zero model.

b. Set the Donor model to your existing model.

c. Assign a new name for the output MOD file.

d. Choose Replace Host Voxels with Non-Null Donor Voxels.

When you run this, any non-null voxels in your original model will replace the corresponding zero-value node in the initialized model. Where you did have nulls, you should now have zeroes.

Molly Mayfield

RockWare Inc.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...