Ball

calendar_today

09.09.2022

label

Modeling

mouse

Houdini 19.5

1 Description

A sphere cut based on the distance towards two arcs.

float dist_0 = xyzdist(1, '0', v@P, int(0), vector(0.0));
float dist_1 = xyzdist(1, '1', v@P, int(0), vector(0.0));

f@dist = abs(dist_1 - dist_0);

The gap is defined by subtracting a custom width from the subtraction of both distances.

float gap = chf('gap');

v@P.y = f@dist - gap;
download

downloads

comments

comments

Leave a comment

Available formatting commands

Use Markdown commands or their HTML equivalents to add simple formatting to your comment:

Text markup
*italic*, **bold**, ~~strikethrough~~, `code` and <mark>marked text</mark>.
Lists
- Unordered item 1
- Unordered list item 2
1. Ordered list item 1
2. Ordered list item 2
Quotations
> Quoted text
Code blocks
```
// A simple code block
```
```php
// Some PHP code
phpinfo();
```
Links
[Link text](https://example.com)
Full URLs are automatically converted into links.